Forum Discussion
Altera_Forum
Honored Contributor
20 years agokernel init problem
Hi We have developed our own board with an Altera Stratix II and NIOS II Standard CPU. We download the kernel (2.6.16.11) to the SDRAM (32MB) using nios2-download, and nios2-terminal gives us t...
Altera_Forum
Honored Contributor
20 years agoyes, it is irq related.
Note, the interrupt vector (ie, exception vector) should be in uClinux program memory, ie sdram. Note in Linux, irq 0 used to be auto-detected and that is not supported in Nios II, so you should not use irq 0 for your devices. Only timer_0 may use irq 0. so you have to update in sopc builder, change exception vector to sdram. and assign irq of smc91111 to non-zero value. Then regenerate the new sof. see, http://nioswiki.jot.com/wikihome/operating...ms/%c2%b5clinux (http://nioswiki.jot.com/wikihome/operatingsystems/%c2%b5clinux)