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

Hello World on uclinux

Altera_Forum
Honored Contributor II
1,632 Views

Hello anyone 

 

Now I have install uClinux on my cyclone board. Now I would make a Hello world program running on my cyclone board under uCLinux.  

 

How do I that?? 

 

Best regards 

Jimmi Wolff
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
907 Views

Are you using the Nios II Linux Distribution? If you are, basic instructions can be found within the Quick Start Guide starting on Page 21. In short 

 

(1) you need to compile uClibc against your current kernel project 

 

(2) you then need to write up your C code and an appropriate Makefile in a sub-directory within ...altera/kits/nios2/examples/software/linux/apps 

 

---  

 

Take a look at ...altera/kits/nios2/examples/software/linux/apps/samples/hello as an example. Instructions for building the apps are in the quick start guide. 

 

Application development under Nios II Linux is currently being integrated into Eclipse and will be made available in our next release and will simplify the process of building individual apps.
0 Kudos
Reply