[Buildroot] [PATCH v2 3/3] configs: add defconfig for Atmel AT91SAM9260-EK Nand Flash Boot

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed May 1 21:14:52 UTC 2013


Dear Fabio Porcedda,

On Wed, 17 Apr 2013 09:41:43 +0200, Fabio Porcedda wrote:
> This is a configuration that provides a basic setup for generating
> bootable nandflash images:
> - at91bootstrap
> - barebox
> - kernel
> - rootfs
> 
> Signed-off-by: Fabio Porcedda <fabio.porcedda at gmail.com>
> ---
>  .../linux-ARM-at91-enable-nand-ubifs-boot.patch    | 44 ++++++++++++++++++++++

I think we generally prefer to store a kernel defconfig, rather than a
patch against one of the intree kernel defconfigs.


> diff --git a/configs/at91sam9260eknf_defconfig b/configs/at91sam9260eknf_defconfig
> new file mode 100644
> index 0000000..5d26798
> --- /dev/null
> +++ b/configs/at91sam9260eknf_defconfig
> @@ -0,0 +1,15 @@
> +BR2_arm=y
> +BR2_PREFER_STATIC_LIB=y

This shouldn't be in a defconfig.

> +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS=y
> +BR2_PACKAGE_HOST_SAM_BA=y
> +BR2_TARGET_ROOTFS_UBIFS=y
> +BR2_TARGET_ROOTFS_UBI=y
> +BR2_TARGET_AT91BOOTSTRAP=y
> +BR2_TARGET_AT91BOOTSTRAP_BOARD="at91sam9260ek"
> +BR2_TARGET_AT91BOOTSTRAP_NANDFLASH=y
> +BR2_TARGET_BAREBOX=y
> +BR2_TARGET_BAREBOX_BOARD_DEFCONFIG="at91sam9260ek"
> +BR2_LINUX_KERNEL=y
> +BR2_LINUX_KERNEL_PATCH="board/atmel/at91sam9260ek"
> +BR2_LINUX_KERNEL_DEFCONFIG="at91sam9260"
> +BR2_LINUX_KERNEL_ZIMAGE=y

Thanks!

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com


More information about the buildroot mailing list