Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHi Scott,
A strange problem, so annoyed. In Nios SDK Shell, I type command you say under my u-boot directory. $elf2flash --base=0x0 --end=0x1fffff --input=u-boot --output=u-boot.flash --flash=U20 Respond : elf2flash: No reset address provided on the command line, and none found in the ELF file Then, I add. $elf2flash --base=0x0 --end=0x1fffff --input=u-boot --output=u-boot.flash --flash=U20 --reset=0x0 Respond: elf2flash: Boot copier file name required, error generating Flash file, exiting I redo, add $elf2flash --base=0x0 --end=0x1fffff --input=u-boot --output=u-boot.flash --flash=U20 --reset=0x0 --boot=$SOPC_KIT_NIOS2/components/altera_nios2/boot_loader_cfi.srec Respond: elf2flash: read error: File not found: c:/altera/kits/nios2/component/altera_nios2/boot_loader_cfi.srec elf2flash: Error reading boot copier Does elf2flash need all parameters? My path C:\altera\kits\nios2\components\altera_nios2\boot_loader_cfi.srec is right, but elf2flash can not find the file. Why? LiangYi