[yocto] Run application at system boot

Vineeth Karumanchi vineethchowz.chowdary at xilinx.com
Mon Mar 5 00:45:40 PST 2018


Hi ,

On 12/05/2017 07:51 PM, Laurentiu-Cristian Duca wrote:
> Hello yocto community,
> 
>    I want to know a few things
> about how to configure yocto such that
> - a simple application (let's say a hello world C program
> from a new recipe) is run at boot time.

use update-rc.d class

INITSCRIPT_NAME = "myapp-init"
INITSCRIPT_PARAM = "start 99 S ."

and also install your app in init.d

Thanks
VIneeth

> - run a kernel module from a simple recipe at boot time
> and automatically build its "/dev/hello" interface file
> (which normally is done by hand using mknod).
> 
>    I appreciate any hint, example or tutorial regarding this questions.
> 
> Thank you very much,
> Laurentiu
> 




More information about the yocto mailing list