Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
21 years ago

Problems while booting uClinux..

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.

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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