[U-Boot] [PATCH 0/2] Make sure 85xx bss doesn't start at 0x0

Peter Tyser ptyser at xes-inc.com
Tue Oct 6 17:20:30 CEST 2009


On Tue, 2009-10-06 at 17:04 +0200, Wolfgang Denk wrote:
> Dear Kumar Gala,
> 
> In message <1DE23DE0-B901-4E15-845C-43889EE0B178 at kernel.crashing.org> you wrote:
> > 
> ...
> > > But bss is NOLOAD, and the actual location in the flash is just a
> > > fiction - we never use anything of this but the start address.
> > 
> > Where is BSS on 44x boards?  I dont see any reason we shouldn't be  
> > able to put it at the same location.
> 
> Um... maybe Stefan should explain this.  I don't want to have to ;-)

The 44x boards look the same as 85xx used to be - the bss is the last
section in the ELF, but it has the downside that the code in the bootpg
will be zeroed out along with the bss if the U-Boot image is near its
maximum size and the bss overlaps the bootpg.  Kumar prevented this
(whether he meant to or not:) by putting the bss after the entire U-Boot
image.

Best,
Peter



More information about the U-Boot mailing list