How to automatically run an executable?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to automatically run an executable?

1,472件の閲覧回数
cgong
Contributor II

I have built my first imx8qxp image with "hello world" in Yocto framework. After boot from SD card or eMMC, I can execute the executable in /usr/bin manually. How can it be run automatically?

2 返答(返信)

1,322件の閲覧回数
cgong
Contributor II

I found the solution by using systemd: Use systemd to Start a Linux Service at Boot 

1,322件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Chad,

For run automatically you need to create an script and put it on the kernel start point.

Regards

0 件の賞賛
返信