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++
12748 Discussions

How to compile/load uClinux to 2s60 demo board?

Altera_Forum
Honored Contributor II
1,526 Views

I just downloaded the latest distribution of uClinux and installed it on my pc. I am also running into the same problem as a few others have -- namely there is no "linux" subdirectory in the ..\altera\kits\nios2\examples\verilog\niosII_stratixII_2s60_ES directory. 

 

One other "issue" though is that when I get to the point of trying to configure the kernel, I right click on the created project and I don't see the "Configure Kernel" option. 

 

I have Quartus II 4.2 service pack# 1 loaded, with the Nios 1.1 distribution. 

 

Thanks, 

Bob
0 Kudos
6 Replies
Altera_Forum
Honored Contributor II
774 Views

Bob, 

 

I've asked the same question a time ago, and in the meantime I figured 

it out myself. 

 

Make a copy of the EP2S60 full featured directory and start the SOPC builder 

in this directory. Add a CF component to the design and compile the design. 

 

You can use the new ptf file to compile the Filesystem and Kenel. 

 

It already works with my EP2S60 board.  

 

Good luck ... 

 

Digi
0 Kudos
Altera_Forum
Honored Contributor II
774 Views

BTW seen that problem more than one time... 

 

Try to start the IDE from within SOPC builder.  

Sometimes this helps ... 

 

Digi
0 Kudos
Altera_Forum
Honored Contributor II
774 Views

I have also got a STRATIX II board. 

 

Yust run quartus en open a example desing. 

Then run SOPC builder ( double click on the symbol block ) then add / remove components a you like. 

then run sopc builder and exit. Quartus ask to update the block, do that.  

Then compile your compleet desing with quartus. You see that your *.sof file ha been changed. 

 

Now used this new desing for reference when you create a new kernell/filesytem in the IDE program
0 Kudos
Altera_Forum
Honored Contributor II
774 Views

I must be doing something extremly wrong.... 

 

I copied over the full_featured structure into a "linux_full_featured" directory. 

Tried then to set up cf...but noticed that the ext_flash was already defined in 

the system. 

 

Tried to rebuild and then come into the NIOS IDE. Still cannot select/right click 

on my "kernel" design and get the Configure Kernel option to display. 

 

I'm wondering if I need to contact Altera directly about this. Not thrilled to 

contact Microtronix about it; seems that they want $300/incident to look at this...
0 Kudos
Altera_Forum
Honored Contributor II
774 Views

Bob, 

 

the extern flash is the AM29LV128 mounted on your development kit board. 

The CF component is needed for the external sandisk compact flash card. 

 

Digi
0 Kudos
Altera_Forum
Honored Contributor II
774 Views

To configure the kernel, make sure you're in the Navigator perspective in the Nios II IDE. Look for tabs along the bottom of the tree view on the left side of the window. You're probably in the C/C++ Projects perspective now.

0 Kudos
Reply