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

uClinux build questions

Altera_Forum
Honored Contributor II
1,145 Views

To start off, I'm just new to build uClinux environment, so been learning curve but getting there. I followed instructions: 

http://www.nioswiki.com/installnios2linux 

 

but what I noticed when doing a make is that the userland programs aren't ready to compile. i.e. it is looking for build-busybox and the directory is really busybox, same for agetty and boa. Where do you tell it which userland programs you want to compile, and any idea why they don't 'just work' ?  

 

We had this environment setup before on older code, and normally we would do a 'make romfs' after getting the toolchain setup, but that's where I get stuck. 

 

Pointers? 

 

Thanks! 

Dan
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
389 Views

Once you have all the tools installed, the instructions to build uClinux without MMU are here: http://www.nioswiki.com/operatingsystems/uclinux/uclinuxdist 

If you are using an MMU the instructions are here: http://www.nioswiki.com/linux 

You need to check "Customize Application/Library Settings" (or "Customize Vendor/User Settings" in some versions) in menuconfig to choose userland applications. You just do 'make' to build everything.
0 Kudos
Reply