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

Problems while booting uClinux..

Altera_Forum
Honored Contributor II
1,276 Views

Hi, 

 

I want to start own uClinux application automatically when my cyclone board start up. Somehow uclinux initialization doesn't read /etc/rc file where application startup script is. I have been used min-romdifk.flash file in flashing the onboard flash, because I don't have OS Support Board with my Microtronix Cyclone Dev Board.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
571 Views

Hello CoolMan, 

 

Can you post your /etc/rc file? When you say 'doesn't read it' what do you mean? 

 

Is it possible that your /etc/rc file is in "DOS" format? That is, if you made changes under Cygwin and saved it how did your editor treat the file. If it is in "DOS" format (i.e. CR/LF) you'll definitely have problems. You can run 'dos2unix' on it just to be safe (check the file size before and after -- if it's smaller after running this utility it was in "DOS" format). 

 

mike
0 Kudos
Reply