Forum Discussion
Altera_Forum
Honored Contributor
20 years agowhoops... with regard to flash loading... it depends on how the board component for your development board is laid out. But the basic idea is:
(1) nios2-elf-objcopy -O binary vmlinux vmlinux.bin (2) bin2flash --input=vmlinux.bin --output=vmlinux.flash --base=0xXXXXXXXX --offset=0x0 (3) nios2-flash-programmer --sof=YYYY --input=vmlinux.flash --base=0xXXXXXXXX I'm doing a lot of this from the top of my head.... but that's the basic idea. 0xXXXXXXXX should be the base address of the flash component in your board component (i.e. altera_nios_dev_board_stratix_1s10 for a Stratix 1s10) YYYY represents the sof file within the component/system directory for the board component (i.e. altera_nios_dev_board_stratix_1s10/system/altera_nios_dev_board_stratix_1s10.sof) I can double check the commands later on... but it'll give you an idea of what's required.