Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHere is the script I use to copy the kernel into the FLASH on a Cyclone 1c12 eval board.
# Creating .flash file for the project, include routine to copy to RAM $SOPC_KIT_NIOS2/bin/elf2flash --base=0x00000000 --end=0x3fffff --reset=0x0 --input=vmlinux --output=vmlinux.flash --boot=$SOPC_KIT_NIOS2/components/altera_nios2/boot_loader_cfi.srec # Programming flash with the project $SOPC_KIT_NIOS2/bin/nios2-flash-programmer --base=0x00000000 vmlinux.flash