[U-Boot] BSS footprint of FAT very high - SPL issues

Wolfgang Denk wd at denx.de
Tue Feb 1 09:00:29 CET 2011


Dear Albert ARIBAUD,

In message <4D47B20B.5040104 at free.fr> you wrote:
> 
> > variables occupy space in the U-Boot binary? If they do, then *that*
> > must be fixed rather than allocating a fixed address for them. In ARM
> > achitectures, the linker file makes sure the BSS is at the end of the
> > image and is not loadable, so the ELF to bin conversion just skips them.
> > Maybe the linker file you're using here does not do this?
>
> Answering myself: after reading Vaibhav's answer, I should amend my
> question aboce. Seems like the issue is the SPL has a BSS in IRAM, or in
> whatever memory it lands in. In that case, there's indeed no fix except
> putting the buffers in DRAM.

well, there _is_ an obvious fix: put the BSS inS DRAM where we have
sufficient room for it.

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
The idea of male and female are universal constants.
	-- Kirk, "Metamorphosis", stardate 3219.8


More information about the U-Boot mailing list