Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
21 years ago

NIOS II/uCLinux Platform Simulator

Hi

I am working on NIOS-II/uClinux Platform Simulator, but as I have no suitable hardware to test the uCLinux image I am not sure where the problem is, either in Simulator or in the Image. I downloaded the linux distri from this website, wrote the simulator based on the Altera documentation, but I can not get the Linux fully working. The boot process works so far but when interrupts are enabled on the timer interrupt the executions goes crazy.

So all works (if interrupts) disabled in simulator. If interrupts are enabled then a few (random number) interrupts are processed ok, but then PC gets corrupted value from stack. This happens usually in free_page() function.

If somebody could send me a "good known working" NIOS II uCLinux image (with the info about load addresses and timer/uart base addresses) I would be able to check the Simulator better.

thanks

Antti

http://uclinux.openchip.org (http://uclinux.openchip.org)
No RepliesBe the first to reply