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

How to set up uClinux autorun

Altera_Forum
Honored Contributor II
1,098 Views

Hi, all! 

im following instructions from nioswiki to run uClinux noMMU on FPGA EP3SL150F1152c3 

i've done it.  

 

now i have a problem to set up autorun. 

i have a script, and i want to start it automaticaly after uClinux's start. 

i know i should add to /etc/rc way to my script. but this way is bad for me 'cause i have uClinux in RAM. 

so i need to edit rc before(or while) compiling kernel to zImage 

how should i make it?
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
357 Views

The rc file in the image comes from vendors/Altera/rc 

Most of the rest of /etc is in there too. 

Replace Altera with your vendor if you made your own directory.
0 Kudos
Altera_Forum
Honored Contributor II
357 Views

Ou, thanx a lot!

0 Kudos
Reply