Forum Discussion
Hi,
Any updates from your side regarding the boot copier?
Regards,
Kelly
- Junki3 years ago
New Contributor
I have checked this link, but I still don't understand in detail.
Does that mean it's not possible to copy NIOS application from DDR to OCRAM using Memcpy based Boot Copier?
I hope that copying from DDR can be realized by the following method.
・Set the NIOS Reset Vector to DDR address, and Exception Vector to OCRAM.
・On NIOS Ⅱ SBT, set all Linker Region Names to OCRAM (.text, .data, .bss, .exceptions, etc.)
・Generate .flash file with "elf2flash" on NIOS command shell
・Save .flash file in DDR and load from NIOS processor.
・Boot Copier starts, NIOS application is copied from DDR to OCRAM and executed.*If Boot Copier cannot be used, it is necessary to insert my original loader into the NIOS Reset Vector.
I'm aware that alt_load should be enabled in this case. (However, unfortunately .text cannot be copied to OCRAM)