From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Tyser Date: Tue, 06 Oct 2009 10:20:30 -0500 Subject: [U-Boot] [PATCH 0/2] Make sure 85xx bss doesn't start at 0x0 In-Reply-To: <20091006150409.0FB97F15B3E@gemini.denx.de> References: <1254783670-21301-1-git-send-email-ptyser@xes-inc.com> <20091006073212.F1E664C021@gemini.denx.de> <1254830475.22896.43.camel@ptyser-laptop> <20091006140136.E9EE51824EB6@gemini.denx.de> <1DE23DE0-B901-4E15-845C-43889EE0B178@kernel.crashing.org> <20091006150409.0FB97F15B3E@gemini.denx.de> Message-ID: <1254842430.24664.2014.camel@localhost.localdomain> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, 2009-10-06 at 17:04 +0200, Wolfgang Denk wrote: > Dear Kumar Gala, > > In message <1DE23DE0-B901-4E15-845C-43889EE0B178@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