Forum Discussion

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

How to set up uClinux autorun

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?

2 Replies

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

    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.