Skip to contentSkip to conversation

configs: update config for Atmel SAMA5D3 Xplained board

PATCH New Ryan Barnett 3 participants 3 messages Mar 5, 2015 Arm/Microchip (AT91) SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs: update config for Atmel SAMA5D3 Xplained board

Update configuration to use the 3.18.8 kernel and update U-Boot to 2015.01. With the switch to 2015.01. use the U-Boot SPL image for the first stage bootloader instead of the at91bootstrap. The U-Boot SPL requires that the U-Boot image format be u-boot.img in order to load from the SD card.

---
 board/atmel/xplained/readme.txt  |  4 ++--
 configs/atmel_xplained_defconfig | 16 +++++++---------
 2 files changed, 9 insertions(+), 11 deletions(-)
board/atmel/xplained/readme.txt +2 -2
index e29a116..63744dd 100644
@@ -52,8 +52,8 @@ sudo mount /dev/mmcblk0p2 /media/rootfs
 Copy the bootloaders, kernel image and Device Tree blob to the first
 partition:
 
-cp output/images/sama5d3_xplained-sdcardboot-uboot-3.6.2.bin /media/boot/boot.bin
-cp output/images/u-boot.bin /media/boot/u-boot.bin
+cp output/images/uboot-spl.bin /media/boot/boot.bin
+cp output/images/u-boot.img /media/boot/u-boot.img
 cp output/images/zImage /media/boot/zImage
 cp output/images/at91-sama5d3_xplained.dtb /media/boot/at91-sama5d3_xplained.dtb
 
configs/atmel_xplained_defconfig +7 -9
index 8c06489..087f4fa 100644
@@ -5,24 +5,22 @@ BR2_cortex_a5=y
 # Toolchain configuration
 BR2_ARM_EABIHF=y
 BR2_KERNEL_HEADERS_VERSION=y
-BR2_DEFAULT_KERNEL_VERSION="3.15"
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_15=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.15"
+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 stage bootloader
-BR2_TARGET_AT91BOOTSTRAP3=y
-BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d3_xplainedsd_uboot"
-
-# Second stage bootloader
+# 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="2014.04"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2015.01"
+BR2_TARGET_UBOOT_FORMAT_IMG=y
+BR2_TARGET_UBOOT_SPL=y
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 configs: update config for Atmel SAMA5D3 Xplained board

Dear Ryan Barnett,

Quoted 11 lines · Ryan Barnett

Update configuration to use the 3.18.8 kernel and update U-Boot to 2015.01. With the switch to 2015.01. use the U-Boot SPL image for the first stage bootloader instead of the at91bootstrap. The U-Boot SPL requires that the U-Boot image format be u-boot.img in order to load from the SD card.

---
 board/atmel/xplained/readme.txt  |  4 ++--
 configs/atmel_xplained_defconfig | 16 +++++++---------
 2 files changed, 9 insertions(+), 11 deletions(-)

I've tested this on HW, and applied, thanks!

Now that there is a sama5d4 Xplained board, maybe we should rename this defconfig, and the board directory to sama5d3-xplained or something like that.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#2 lore raw

PATCH 1/1 configs: update config for Atmel SAMA5D3 Xplained board

Quoted 15 lines · Thomas Petazzoni

Dear Ryan Barnett,

Quoted 11 lines · Ryan Barnett

Update configuration to use the 3.18.8 kernel and update U-Boot to 2015.01. With the switch to 2015.01. use the U-Boot SPL image for the first stage bootloader instead of the at91bootstrap. The U-Boot SPL requires that the U-Boot image format be u-boot.img in order to load from the SD card.

---
 board/atmel/xplained/readme.txt  |  4 ++--
 configs/atmel_xplained_defconfig | 16 +++++++---------
 2 files changed, 9 insertions(+), 11 deletions(-)
Quoted 3 lines

I've tested this on HW, and applied, thanks!

Now that there is a sama5d4 Xplained board, maybe we should rename this

The sama5d4 Xplained real name is actually sama5d4 Xplained Ultra. That would probably be different enough, unless Linux starts running on the MCUs.

Signature · 3 lines
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com