[U-Boot] What mkimage arguments for standalone AVR32 app?

Mike Frysinger vapier at gentoo.org
Tue May 5 11:12:09 CEST 2009


On Tuesday 05 May 2009 04:55:44 Jesper Vestergaard wrote:
> mkimage -A avr32 -O u-boot -T standalone -C none -a 0x11000000 -e
> 0x11000000 -n "myapp" -d test.bin test_uboot.bin

the entry/load addresses need to match reality.  you cant pick them out of the 
air without properly setting them everywhere.

you also didnt say how you compiled/linked the standalone code ... you must be 
sure to not use any files/libraries/toolchain that expect an operating system 
(like Linux).

> ICnova> tftp 11000000 test_uboot.bin
> ICnova> bootm 11000000
>    Load Address: 11000000
>    Entry Point:  11000000

you shoulud not load (tftp) the bootable image to the same address that it 
will be uncompressing to (load address).

really you should read doc/README.standalone and the simple examples in 
examples/ instead of trying random commands.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090505/ca226833/attachment.pgp 


More information about the U-Boot mailing list