the sys clk timer should be a full featured timer.
the kernel will program the timer period.
first try if it works without hires timer.
then you need to modify the perl scripts called from arch/nios2nommu/scripts/
hwselect.pl .
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=16893)</div>
--- Quote End ---
I change sys_clk_timer location in sopc builder (moved up) and now my timer irq is 0 ie same as sys_clk_timer.
I think which ever timer we will specify first in sopc builder will become timer0.
but but but
Still I am facing the crash....
If I reduce size of my filesystem (removing some files or remove devices support) and booting comes upto busybox prompt# but once I do "ls" system hangs.....
I know if further I reduce kernel elf size, it will boot properly as earlier.
Some memory figures
--------------------------
My vmlinux (elf executable) size is coming something around 13 MB
also vmlinux.srec (srec) size is coming around 5 MB
For downloading vmlinux into sdram I am using "nios2-download -g vmlinux" command. Once download completes it gives me 1802 KB download confirmation.
SDRAM is 16MB.
Hippo is it ok with respect to nios memory requirments for running kernel. You are more experienced person among us : )
Heing, how big is your kernel size can you share with us ???
Any idea where to head from here !!!!
Ankur