Hi Yuen,
Put this in the command line

init=/bin/myapp

But this will run myapp and NOTHING ELSE.

If you want "normal" linux and myapp then either place
/bin/myapp &
in /etc/rc
or
make an entry in inittab.

(look at the boa eaxmple )

The modifications to /etc/rc should be made in the vendors/target
directory so that they are added to the system during a
make romfs.

tale a look at http://www.ucdot.org for some documentation.

Regards
  Phil Wilshire


Yuen Chi Chuen wrote:
> Dear all,
>  
> I already wrote an executable file and want uClinux runs it immediately 
> after bootup. Could any expert here provide some hints for me?
>  
> Thanks a a lot,
> YUEN Chi Chuen
> 
> _______________________________________
> YM - 離線訊息
> 就算你沒有上網,你的朋友仍可以留下訊息給你,當你上網時就能立即看到,任何 
> 說話都冇走失。
> http://messenger.yahoo.com.hk
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev@uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev@uclinux.org
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev

_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to