All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] configs: update config for Atmel SAMA5D3 Xplained board
@ 2015-03-05  3:36 Ryan Barnett
  2015-03-05 11:30 ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: Ryan Barnett @ 2015-03-05  3:36 UTC (permalink / raw)
  To: buildroot

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.

Signed-off-by: Ryan Barnett <ryanbarnett3@gmail.com>
---
 board/atmel/xplained/readme.txt  |  4 ++--
 configs/atmel_xplained_defconfig | 16 +++++++---------
 2 files changed, 9 insertions(+), 11 deletions(-)

diff --git a/board/atmel/xplained/readme.txt b/board/atmel/xplained/readme.txt
index e29a116..63744dd 100644
--- a/board/atmel/xplained/readme.txt
+++ b/board/atmel/xplained/readme.txt
@@ -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
 
diff --git a/configs/atmel_xplained_defconfig b/configs/atmel_xplained_defconfig
index 8c06489..087f4fa 100644
--- a/configs/atmel_xplained_defconfig
+++ b/configs/atmel_xplained_defconfig
@@ -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
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] configs: update config for Atmel SAMA5D3 Xplained board
  2015-03-05  3:36 [Buildroot] [PATCH 1/1] configs: update config for Atmel SAMA5D3 Xplained board Ryan Barnett
@ 2015-03-05 11:30 ` Thomas Petazzoni
  2015-03-05 12:43   ` Alexandre Belloni
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2015-03-05 11:30 UTC (permalink / raw)
  To: buildroot

Dear Ryan Barnett,

On Wed,  4 Mar 2015 21:36:30 -0600, Ryan Barnett wrote:
> 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.
> 
> Signed-off-by: Ryan Barnett <ryanbarnett3@gmail.com>
> ---
>  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
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] configs: update config for Atmel SAMA5D3 Xplained board
  2015-03-05 11:30 ` Thomas Petazzoni
@ 2015-03-05 12:43   ` Alexandre Belloni
  0 siblings, 0 replies; 3+ messages in thread
From: Alexandre Belloni @ 2015-03-05 12:43 UTC (permalink / raw)
  To: buildroot

On 05/03/2015 at 12:30:54 +0100, Thomas Petazzoni wrote :
> Dear Ryan Barnett,
> 
> On Wed,  4 Mar 2015 21:36:30 -0600, Ryan Barnett wrote:
> > 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.
> > 
> > Signed-off-by: Ryan Barnett <ryanbarnett3@gmail.com>
> > ---
> >  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

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


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-05 12:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-05  3:36 [Buildroot] [PATCH 1/1] configs: update config for Atmel SAMA5D3 Xplained board Ryan Barnett
2015-03-05 11:30 ` Thomas Petazzoni
2015-03-05 12:43   ` Alexandre Belloni

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.