[U-Boot] ppc_4xx-objcopy: u-boot.bin: Bad value

Wolfgang Denk wd at denx.de
Sat Nov 21 17:52:35 CET 2009


Dear "alan A. A",

Please keep the list on Cc: (re-added).

In message <COL123-W25AD9B8538C84F0BB9C44E9EA00 at phx.gbl> you wrote:
> 
> > Which board is this? And which tool chain are you using?
>
> This is a STBx25xx board and it is not included in the mainline U-Boot tree.

...which means that we don;t see the code and thus cannot help you.

> I am using the standard ELDK tool chain, and i have successfully ported to U-Boot 1.3.2
> but i want to have the latest U-Boot on this board.

U-Boot 1.3.2 is more on a year old. You really should use current code
instead.

> Ok, i have noticed that u-boot is greater than 4GB and this is the error message i am getting:
>
> ppc_4xx-objcopy -O srec u-boot u-boot.srec
> ppc_4xx-objcopy --gap-fill=0xff -O binary u-boot u-boot.bin
> ppc_4xx-objcopy: u-boot.bin: Bad value
> ppc_4xx-objcopy: u-boot.bin: No space left on device
> make: *** [u-boot.bin] Error 1

So the address counter wrpas around  at  the  end  of  the  (32  bit)
memory,  which  means  your image is too big and/or your TEXT_BASE is
too high - you might want to check your memory  map  in  genral,  and
especially  the  setting  of TEXT_BASE in your board/<name>/config.mk
file.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Disc space - the final frontier!


More information about the U-Boot mailing list