[U-Boot-Users] help: images in example directory are invalid
Wolfgang Denk
wd at denx.de
Thu Sep 30 17:18:48 CEST 2004
Re your subject: No, they are not.
In message <1096540775.5348.38.camel at mhpajh5c> you wrote:
>
> 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".
What makes you think that a stand-alone application should have a
valid header? Did you use mkimage to build it?
> 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).
Of course.
> Can anyone explain why u-boot is building invalid images?
These are vaid images. They just don't have a U-Boot image header as
you didn't add one.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
He who hesitates is not only lost, but miles from the next exit.
More information about the U-Boot
mailing list