[U-Boot] ALERT! >90% of all board configurations BROKEN

Wolfgang Denk
2010-10-25T22:07:12Z

Dear Reinhard Meyer,

In message <4CC5E865.70003@emk-elektronik.de> you wrote:
>
> Grep-ing for CONFIG_SYS_GBL_DATA_SIZE in *.[chsS] Makefile *.ld it
> seems to me that with "ELF-reloc" active that define is not used
> anywhere at least in ARM.

Are you sure? My very first smaple sees:

"arch/arm/cpu/arm926ejs/start.S"

346 /* Set up the stack */
347 stack_setup:
348 ldr r0, _TEXT_BASE /* upper 128 KiB: relocated uboot */
349 sub sp, r0, #128 /* leave 32 words for abort-stack */
350 #ifndef CONFIG_PRELOADER
351 sub r0, r0, #CONFIG_SYS_MALLOC_LEN /* malloc area */
352 sub r0, r0, #CONFIG_SYS_GBL_DATA_SIZE /* bdinfo */

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
There is a multi-legged creature crawling on your shoulder.
-- Spock, "A Taste of Armageddon", stardate 3193.9