Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 Discussions

NIOS II/uCLinux Platform Simulator

Altera_Forum
Honored Contributor II
1,063 Views

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)
0 Kudos
0 Replies
Reply