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 agoit is really strange.
how do you run the kernel? do you use nios2-download? Or, is cache flushed properly in the boot loader? if it crashes, will it fail at the same place? check the kernel link script, and the link map output. check the required align of different sections. check if there are (junk) dos2unix in the make scripts. I did find problems in cpu_idle loop of arch/nios2nommu/kernel/process.c for new kernels. I follow those codes of SH / MIPS to fix the problem.