> What parameters should be used for mkimage to generate the correct type
> of img file for uboot to load and execute assuming these specified addresses?
Assuming your application entry point is the at the start of your uncompressed
binary image:
$ mkimage -A nios2 -O linux -T kernel -C none -a 0x01000000 -e 0x01000000
-n "MyApp v0.1 2005-02-22" -d MyApp.bin MyApp.img
Basically, you're just telling u-boot that your image is a linux kernel -- that fact
that it's not really a kernel doesn't matter. When bootm is executed it will copy
the image data to the load address then jump to the entry point after disabling interrupts (and a few other things).
If you want to use compression, you can compress your binary file using
gzip:
$ gzip -c MyApp.bin >> MyApp.gz
Then use "-C gzip" with mkimage and the compressed file (-d MyApp.gz). bootm
will then decompress as it copies from flash.
Regards,
--Scott