Altera_Forum
Honored Contributor
16 years agoUsing EPCS on power up for uClinux
Hi,
I have problems using the epcs as the boot device for the zimage file made with uclinux - the SW . i have followed the instructions here : http://www.nioswiki.com/operatingsystems/uclinux/flashprogrammer i have stratix II custom board and i am using quartus 7.2. my nios CPU has epcs controller, sdram and more. the reset address points to the epcs controller. my design already worked without trying to boot from epcs ( meaning downloading via nios2-download and nios2-terminal). after i program the epcs with the .flash files i am generating from the sof and the zimage as described in the nioswiki guide, nothing happens and the cpu isn't working when i power-up the board. the SOF file is working on the board but the OS (zimage file) isn't doing what it needs to do. 1. how can i debug this procedure? 2.boot loader file - the nios wiki tells you to use the boot=$SOPC_KIT_NIOS2/components/altera_nios2/boot_loader_cfi.srec but i don't understand how could it not be changed after each compilation. I mean - isn't this file dependent on my design?? 3. shouldn't I change nothing on the design in my uClinux kernel? 4. what is the purpose of the file : epcs_controller_boot_rom.hex ? Thanks, Erez