Description
The start address of an Intel-format hex file can be changed using the nios2-elf-objcopy utility included in Nios II EDS. To change the start address, you must use the "--change-addresses" attribute with the start address you require. For example:
nios2-elf-objcopy --change-addresses 0x300000 <inputfile>.hex <outputfile>.hex
In the resulting hex file <outputfile>.hex, the addresses of all the data will be offset from the new start address of 0x300000.