Skip to contentSkip to conversation

automatic bootloaders generation

meta-atmel Marco 1 participant 1 message May 12, 2014 Arm/Microchip (AT91) SoC support

lore
Share & tools
lore

Marco

author
#0 lore raw

please find attached patches for

- automatic bootloaders generation
https://github.com/linux4sam/meta-atmel/pull/16

Ciao

Signature · 4 lines
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 <[email protected]>
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"

---
 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
conf/machine/at91sam9rlek.conf +1 -0
index 6ed6f81..4a41b19 100644
@@ -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"
 
conf/machine/at91sam9x5ek.conf +1 -0
index 5308536..de5598a 100644
@@ -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 \
conf/machine/include/bootloaders.inc new file +2 -0
new file mode 100644
index 0000000..162b7a1
@@ -0,0 +1,2 @@
+# Add bootloaders to the images of every machine
+EXTRA_IMAGEDEPENDS += "at91bootstrap u-boot"
conf/machine/sama5d3_xplained.conf +1 -7
index dcbcedb..24fe2a2 100644
@@ -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; "
conf/machine/sama5d3xek.conf +1 -0
index 65487be..07d967d 100644
@@ -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 = " \
Signature · 1 line
1.8.4