Forum Discussion
Altera_Forum
Honored Contributor
20 years agoThe previous steps to generate flash file was wrong. I will tell you about that later. Let first run it in ram.
Built the kernel with jtag uart. with minimal config first. and minimal rootfs. cp ~/download/kernel.config .config make ..... hwselect SYSPTF=....../nios_0.ptf make ..... menuconfig change Device drivers--> Char devices -> serial drivers --> unselect Nios serial support, select Altera JTAG UART support and support for console on Altera JTAG UART exit and save make ..... There is no need to do strip. (if nios2-terminal is open, close nios2-terminal with control-C.) Use Quartus to download the DE2_NET.sof to the board. Open a nios2 sdk shell, (there is no need to open two sdk shell, one is OK). run "nios2-download -g vmlinux" (the nios2 does not run yet, it will wait for jtag uart on nios2-terminal) then run "nios2-terminal"