Forum Discussion
Altera_Forum
Honored Contributor
16 years agoI successfully programmed SOF in EPCS and zImage in CFI Flash ! The board starts uClinux without any JTAG cable at powerup :-)
I tried your method to program CFI flash under FTP but I changed some commands... ------------------------------------------------------------------ elf2flash --base=0x00000000 --end=0x1ffffff --reset=0x0 --input=zImage --output=zImage.flash --boot=$SOPC_KIT_NIOS2/components/altera_nios2/boot_loader_cfi.srec nios2-linux-uclibc-objcopy -Isrec -O binary zImage.flash zImage.bin # then copy zImage.bin to uClinux FTP with FileZilla for example telnet 192.168.0.xxx root cd home/ftp flash_eraseall /dev/mtd1 cp zImage.bin /dev/mtd1 sync # finally master reboot and enjoy ! ------------------------------------------------------------------ Thanks for your help Hippo you're the best :D