[U-Boot-Users] 0x40000 vs 0x40004

Charles Krinke ckrinke at istor.com
Wed Feb 14 20:50:33 CET 2007


I have a friend with a test program that used to be in ppcboot and is
now moving to uboot. With some compilations on some computers he gets
his /examples/hello_world starting at 0x40000 and on others it starts at
0x40004.

The first 4 bytes appear to be a magic number which is either 0x18220 or
0x18300 depending on ppcboot or uboot and old or newer toolchain.

The question is:

"What file controls the addition (or deletion) of this 4 byte magic
number at the beginning of "hello_world?"

Charles




More information about the U-Boot mailing list