[U-Boot] [PATCH 0/2] Make sure 85xx bss doesn't start at 0x0
Stefan Roese
sr at denx.de
Tue Oct 6 18:53:05 CEST 2009
On Tuesday 06 October 2009 17:22:10 Wolfgang Denk wrote:
> > My concern was that we use __bss_start and _end to calculate the size of
> > the bss to zero out. If the bss wraps, I'd be concerned about what gets
> > cleared as _end would be truncated to a low memory address while
> > __bss_start would be a high memory address. Or other similar problems -
> > I didn't investigate what would really happen, I was just worried what
> > could happen:)
>
> So far U-Boot is actually a 32 bit boot loader; address calculations
> like this "just wrap around". So far this has not caused problems yet;
> what has caused problems is that we can have overlapping sections on
> 4xx. Also it's probably overkill that each board has it's own linker
> script.
>
> I would like to see this fixed in this process. Maybe Stefan finds
> some spare cycles to address this.
Yes, the consolidation of the 4xx linker scripts is definitely something that
should be worked on. Again, I'll put it on my to-do list. But I won't complain
if somebody else sends some patches here. ;)
Cheers,
Stefan
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de
More information about the U-Boot
mailing list