From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Tue, 5 May 2009 05:12:09 -0400 Subject: [U-Boot] What mkimage arguments for standalone AVR32 app? In-Reply-To: <49FFFF10.1090505@jespervestergaard.dk> References: <49FFFF10.1090505@jespervestergaard.dk> Message-ID: <200905050512.09903.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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