Altera_Forum
Honored Contributor
19 years agotwo cpus, uClinux on cpu1
I've got a design with two nios2 cpus. The idea is that cpu1 runs uClinux to provide a webserver front end, whilst cpu2 is working with some custom on-chip hardware. I 've been able to get both cpus running in a simple test using two C applications made in the nios2 IDE (no operating systems). Now I'd like to get uClinux running on cpu1 and my stand alone C code on cpu2. cpu1 is similar to the std_2s60 design. I've followed Hippo's wiki and got uClinux running on a std_2s60. I then made a zImage for uClinux for cpu1. (Upon going "make linux_hwselect SYSPTF=<my two cpu .ptf>" I was able to select the correct cpu to run uClinux. ) Then, I copied the zImage to Windows, ran the nios2 shell in Windows
and tried various combinations of the form, SOPC Builder>nios2-download --device <any number> --instance <any number> -g zImage and it says that it does not know which debug module to use, or that I should try setting things up using RUN/RUN or RUN/DEBUG (presumablly in the nios2 IDE). How do I persuade the zImage go to cpu1?