please find attached patches for - automatic bootloaders generation https://github.com/linux4sam/meta-atmel/pull/16
Ciao -- Marco Cavallini | KOAN sas | Bergamo - Italia embedded and real-time software engineering Phone:+39-035-255.235 - Fax:+39-178-22.39.748 http://www.KoanSoftware.com
>From cc08f5529a08498b07482f80cd0d99a391af034d Mon Sep 17 00:00:00 2001 From: Marco Cavallini <m.cavall...@koansoftware.com> Date: Mon, 12 May 2014 17:32:24 +0200 Subject: [meta-atmel 1/2] Added bootloaders to the recipe of every machine * Include file with * EXTRA_IMAGEDEPENDS += "at91bootstrap u-boot" Signed-off-by: Marco Cavallini <m.cavall...@koansoftware.com> --- conf/machine/at91sam9rlek.conf | 1 + conf/machine/at91sam9x5ek.conf | 1 + conf/machine/include/bootloaders.inc | 2 ++ conf/machine/sama5d3_xplained.conf | 8 +------- conf/machine/sama5d3xek.conf | 1 + 5 files changed, 6 insertions(+), 7 deletions(-) create mode 100644 conf/machine/include/bootloaders.inc diff --git a/conf/machine/at91sam9rlek.conf b/conf/machine/at91sam9rlek.conf index 6ed6f81..4a41b19 100644 --- a/conf/machine/at91sam9rlek.conf +++ b/conf/machine/at91sam9rlek.conf @@ -3,6 +3,7 @@ #@DESCRIPTION: Machine configuration for Atmel's evaluation board require conf/machine/include/tune-arm926ejs.inc +require conf/machine/include/bootloaders.inc MACHINE_FEATURES = "kernel26 apm alsa ext2 ext3 usbgadget screen touchscreen ppp" diff --git a/conf/machine/at91sam9x5ek.conf b/conf/machine/at91sam9x5ek.conf index 5308536..de5598a 100644 --- a/conf/machine/at91sam9x5ek.conf +++ b/conf/machine/at91sam9x5ek.conf @@ -3,6 +3,7 @@ #@DESCRIPTION: Machine configuration for Atmel's evaluation board require conf/machine/include/tune-arm926ejs.inc +require conf/machine/include/bootloaders.inc MACHINE_FEATURES = "kernel26 apm alsa ext2 ext3 usbhost usbgadget screen camera can touchscreen ppp" KERNEL_DEVICETREE = "${S}/arch/arm/boot/dts/at91sam9g25ek.dts \ diff --git a/conf/machine/include/bootloaders.inc b/conf/machine/include/bootloaders.inc new file mode 100644 index 0000000..162b7a1 --- /dev/null +++ b/conf/machine/include/bootloaders.inc @@ -0,0 +1,2 @@ +# Add bootloaders to the images of every machine +EXTRA_IMAGEDEPENDS += "at91bootstrap u-boot" diff --git a/conf/machine/sama5d3_xplained.conf b/conf/machine/sama5d3_xplained.conf index dcbcedb..24fe2a2 100644 --- a/conf/machine/sama5d3_xplained.conf +++ b/conf/machine/sama5d3_xplained.conf @@ -3,6 +3,7 @@ #@DESCRIPTION: Machine configuration for Atmel's evaluation board require conf/machine/include/tune-cortexa5.inc +require conf/machine/include/bootloaders.inc MACHINE_FEATURES = "kernel26 apm alsa ext2 ext3 usbhost usbgadget screen camera can touchscreen ppp wifi" KERNEL_DEVICETREE = " \ @@ -34,10 +35,3 @@ UBI_VOLNAME = "rootfs" UBOOT_MACHINE = "sama5d3xek_nandflash_config" UBOOT_ENTRYPOINT = "0x20008000" UBOOT_LOADADDRESS = "0x20008000" - -EXTRA_IMAGEDEPENDS += "at91bootstrap u-boot-at91" - -module_autoload_atmel_usba_udc = "atmel_usba_udc" -module_autoload_g_serial = "g_serial" - -ROOTFS_POSTPROCESS_COMMAND += "sama5d3_xplained_rootfs_postprocess; " diff --git a/conf/machine/sama5d3xek.conf b/conf/machine/sama5d3xek.conf index 65487be..07d967d 100644 --- a/conf/machine/sama5d3xek.conf +++ b/conf/machine/sama5d3xek.conf @@ -3,6 +3,7 @@ #@DESCRIPTION: Machine configuration for Atmel's evaluation board require conf/machine/include/tune-cortexa5.inc +require conf/machine/include/bootloaders.inc MACHINE_FEATURES = "kernel26 apm alsa ext2 ext3 usbhost usbgadget screen camera can touchscreen ppp" KERNEL_DEVICETREE = " \ -- 1.8.4
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto