Make sure 85xx bss doesn't start at 0x0
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 2 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 2 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [U-Boot] [PATCH 0/2] Make sure 85xx bss doesn't start at 0x0
Quoted 7 lines · On Tuesday 06 October 2009 17:22:10 Wolfgang Denk wrote:
Quoted 6 lines
My concern was that we use
__bss_startand_endto calculate the size of the bss to zero out. If the bss wraps, I'd be concerned about what gets cleared as_endwould be truncated to a low memory address while__bss_startwould be a high memory address. Or other similar problems - I didn't investigate what would really happen, I was just worried what could happen:)
Quoted 8 lines
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