[U-Boot] [PATCH 1/7] dm: at91: Correct text base for snapper9260

Andreas Bießmann andreas.devel at googlemail.com
Thu Oct 23 07:07:48 CEST 2014


Dear Simon,

On 06.10.14 20:14, Simon Glass wrote:
> The value should be 0x23f00000. Fix it.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org> ---
> 
> include/configs/snapper9260.h | 2 +- 1 file changed, 1 
> insertion(+), 1 deletion(-)
> 
> diff --git a/include/configs/snapper9260.h 
> b/include/configs/snapper9260.h index 1ebee71..adb09c2 100644 --- 
> a/include/configs/snapper9260.h +++ b/include/configs/snapper9260.h
> @@ -15,7 +15,7 @@ #include <asm/hardware.h> #include
> <linux/sizes.h>
> 
> -#define CONFIG_SYS_TEXT_BASE		0x20000000 +#define 
> CONFIG_SYS_TEXT_BASE		0x23f00000

I wonder why this is required. It depends on the first stage loader
snapper9260 uses and I guess the first value is the right one used in
the factory programmed loader.
Nevertheless other at91 boards use 0x21f00000 due to relocation issues
on boards with less RAM. It seems the snapper9260 has just 64MiB of
RAM, this means just 1MiB of space for relocated u-boot, malloc arena,
... This was exactly the reason for other at91 boards to switch to
0x21f00000 as base address.

Best regards

Andreas Bießmann


More information about the U-Boot mailing list