[U-Boot-Users] help: images in example directory are invalid

Benjamin Collar benjamin.collar at siemens.com
Thu Sep 30 12:39:35 CEST 2004


Greetings folks

As I've mentioned, u-boot is running on the board now. However, I've so
far failed to get a stand-alone application to run. For instance, when I
load hello_world.srec, then check it with iminfo, I get "bad magic
number". 

Using mkimage -l hello_world.srec, I get 'Bad Magic Number:
"hello_world.srec" is no valid image' I get the same result for
hello_world (the elf format).

Using powerpc-linux-objdump -fs hello_world.srec, I see:

hello_world.srec:     file format srec
architecture: UNKNOWN!, flags 0x00000000:

start address 0x00040004

Contents of section .sec1:
 40000 000182b0 9421ffd8 7c0802a6 429f0005  .....!..|...B...
 40010 bf610014 7fc802a6 9001002c 801efff0  .a.........,....
 40020 7c7c1b78 7fc0f214 7c832378 7c9b2378  ||.x....|.#x|.#x


Can anyone explain why u-boot is building invalid images?

Thanks
Ben

-- 
Benjamin Collar
Siemens AG
CT SE 2
Embedded Linux
089-636-53711






More information about the U-Boot mailing list