* [meta-atmel] automatic bootloaders generation
@ 2014-05-12 15:52 Marco
0 siblings, 0 replies; only message in thread
From: Marco @ 2014-05-12 15:52 UTC (permalink / raw)
To: yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 311 bytes --]
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
[-- Attachment #2: 0001-Added-bootloaders-to-the-recipe-of-every-machine.patch --]
[-- Type: text/x-patch, Size: 3454 bytes --]
From cc08f5529a08498b07482f80cd0d99a391af034d Mon Sep 17 00:00:00 2001
From: Marco Cavallini <m.cavallini@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.cavallini@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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-05-12 15:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-12 15:52 [meta-atmel] automatic bootloaders generation Marco
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.