Well thanks for all the replies, one final question, now that U-boot is all fine and working well. I've got it using dhcp to download a file to sdram and can then put that into flash with no problems, the question is over how to format and encode it up so that uboot can correctly boot it.
Let's say it is a normal elf image (not linux, just plain nios). And my reset vectors are at
0x01000020
sdram goes from 0x01000000, uboot gets loaded and runs from 0x01C00000
now when i run dhcp I specify a download address of 0x01100000 (i.e clear of the interrupt trampoline).
what i want to do is then flash this image (which I've done with no problems). and then later load and execute it using the bootm command, now the elf image is compiled to run at 0x01000000 with interrupts obviously at 0x01000020. So the
question is 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?
Regards,...