Forum Discussion
Altera_Forum
Honored Contributor
20 years agohow to boot form flash
Dear all Now I have a Vmlinux ,I can run it in ddram. using the "nios2-download -g vmlinux" now I want to boot it from flash . i want to know how to create a flash of file ,which can bo...
Altera_Forum
Honored Contributor
20 years agoI have reslove the problem .
<div class='quotetop'>QUOTE </div> --- Quote Start --- # Creating .flash file for the project $SOPC_KIT_NIOS2/bin/elf2flash --base=0x00000000 --end=0xffffff --reset=0x0 --inp ut=vmlinux --output=ext_vmlinux.flash --boot=$SOPC_KIT_NIOS2/components/alter a_nios2/boot_loader_cfi.srec # Programming flash with the project $SOPC_KIT_NIOS2/bin/nios2-flash-programmer --base=0x00000000 ext_vmlinux.flash[/b] --- Quote End --- thanks hippo