On 08/02/2010 01:35 PM, Hollis Blanchard wrote: >> Of those archs, only 2 actually use the return value of load_uimage >> to decide where to place blobs. PPC and MB. MB doesn't want any >> magic applied to the return value. That leaves us with _ONE_ single >> arch that needs magic that IMO is broken. You are trying to guess the >> size of the loaded image's .bss area by adding a 16th of the uimage size? > > Accounting for BSS hardly counts as "magic", I think. :)
A 1/16 factor is not "accounting", it's guessing i.e. magic. I'm not sure why the u-image format doesn't include the size of the bss, but my guess is that it's expecting the kernel to zero its bss segment at startup. File a bug with either the kernel and/or the u-boot project if you like. r~