Forum Discussion
Altera_Forum
Honored Contributor
16 years agoFlash programming for DE2-70
Hello Friends, This is a common problem here in the forum. However, Ihaven't been able to make heads nor tails out of it. I'm trying to program the sof file by EPCS and the OS in the CFI Fla...
Altera_Forum
Honored Contributor
16 years agoHi hippo,
I made the modifications you suggested in /linux-2.6/arch/nios2/kernel/config.c after that- make
- make linux image
- nios2-configure-sof /home/pancho/nuevos/DE2_70_cinco/DE2_70_NET.sof
- sof2flash --epcs --input=/home/pancho/nuevos/DE2_70_cinco/DE2_70_NET.sof --output=standard.flash
- nios2-flash-programmer --epcs --base=0x00e05800 standard.flash
- elf2flash --base=0x00000000 --end=0x007fffff --reset=0x0 --input=/home/pancho/nios2-linux/uClinux-dist/images/zImage --output=ext_flash.flash --boot=/opt/altera8.1/nios2eds/components/altera_nios2/boot_loader_cfi.srec
- nios2-flash-programmer --base=0x00000000 ext_flash.flash
$ nios2-terminal
nios2-terminal: connected to hardware target using JTAG UART on cable
nios2-terminal: "USB-Blaster ", device 1, instance 0
nios2-terminal: (Use the IDE stop button or Ctrl-C to terminate)
Nothing. I am trying to see the console via JTAG UART because I will use the UART for other purposes. Is this possible? How does the boot loader know that it has to load the OS specifically in SDRAM 1? where do I specify it? Because there is on-chip mem and two SDRAMs, as well as one SSRAM.