From: Alexandre Belloni Date: Tue, 19 May 2015 14:21:48 +0000 (+0200) Subject: configs: rename atmel_xplained_defconfig X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bb7628b30c124bcc93a32bd6798913a30678b6fc;p=buildroot.git configs: rename atmel_xplained_defconfig For consistency, rename atmel_xplained_defconfig to atmel_sama5d3_xplained_mmc_defconfig as this configuration supports booting the sama5d3 Xplained with an MMC card (as opposed to the NAND flash). Signed-off-by: Alexandre Belloni Signed-off-by: Thomas Petazzoni --- diff --git a/board/atmel/xplained/readme.txt b/board/atmel/xplained/readme.txt index 63744dde9c..7919c606e8 100644 --- a/board/atmel/xplained/readme.txt +++ b/board/atmel/xplained/readme.txt @@ -10,19 +10,19 @@ web site. Note that the default Buildroot configuration is prepared to boot from an SD card: the first stage bootloader, second stage bootloader, kernel image and root filesystem are all located on the SD card. Some -adjustements in the bootloader configuration will be needed to boot -from NAND flash. +adjustments in the bootloader configuration will be needed to boot +from NAND flash, see board/atmel/nandflash.txt Configuring and building Buildroot ---------------------------------- - make atmel_xplained_defconfig + make atmel_sama5d3_xplained_mmc_defconfig make Preparing the SD card --------------------- -The SD card must be partitionned with at least two partitions: one +The SD card must be partitioned with at least two partitions: one FAT16 partition for the bootloaders, kernel image and Device Tree blob, and one ext4 partition for the root filesystem. To partition the SD card: diff --git a/configs/atmel_sama5d3_xplained_mmc_defconfig b/configs/atmel_sama5d3_xplained_mmc_defconfig new file mode 100644 index 0000000000..087f4fa8e2 --- /dev/null +++ b/configs/atmel_sama5d3_xplained_mmc_defconfig @@ -0,0 +1,26 @@ +# Architecture +BR2_arm=y +BR2_cortex_a5=y + +# Toolchain configuration +BR2_ARM_EABIHF=y +BR2_KERNEL_HEADERS_VERSION=y +BR2_DEFAULT_KERNEL_VERSION="3.18.8" +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18=y + +# Kernel configuration +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.18.8" +BR2_LINUX_KERNEL_DEFCONFIG="sama5" +BR2_LINUX_KERNEL_ZIMAGE=y +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d3_xplained" + +# First/second stage bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BOARDNAME="sama5d3_xplained_mmc" +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2015.01" +BR2_TARGET_UBOOT_FORMAT_IMG=y +BR2_TARGET_UBOOT_SPL=y diff --git a/configs/atmel_xplained_defconfig b/configs/atmel_xplained_defconfig deleted file mode 100644 index 087f4fa8e2..0000000000 --- a/configs/atmel_xplained_defconfig +++ /dev/null @@ -1,26 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a5=y - -# Toolchain configuration -BR2_ARM_EABIHF=y -BR2_KERNEL_HEADERS_VERSION=y -BR2_DEFAULT_KERNEL_VERSION="3.18.8" -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18=y - -# Kernel configuration -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.18.8" -BR2_LINUX_KERNEL_DEFCONFIG="sama5" -BR2_LINUX_KERNEL_ZIMAGE=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d3_xplained" - -# First/second stage bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="sama5d3_xplained_mmc" -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2015.01" -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_SPL=y