[U-Boot] [PATCH v4] AT91SAM9*: Change kernel address in dataflash to match u-boot's size

Wolfgang Denk wd at denx.de
Sun Apr 8 22:06:41 CEST 2012


Dear Alexandre Belloni,

In message <1333909023-6725-1-git-send-email-alexandre.belloni at piout.net> you wrote:
> On at91sam platforms, u-boot grew larger than the allocated size in
> dataflash, the layout was:
> bootstrap  0x00000000
> ubootenv   0x00004200
> uboot      0x00008400
> kernel     0x00042000
> 
> u-boot with the defconfig doesn't seem to fit in 0x42000 - 0x8400 =
> 0x39C00 bytes anymore.
> 
> Now, the layout is:
> bootstrap  0x00000000
> ubootenv   0x00004200
> uboot      0x00008400
> kernel     0x00084000

Where are these odd sizes like

>  #define CONFIG_ENV_SIZE		0x4200

coming from?  Has a size of 0x4200 any special maning on these
systems?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Intel told us the Pentium would have "RISK" features...


More information about the U-Boot mailing list