How to automatically run an executable?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to automatically run an executable?

1,469 次查看
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,319 次查看
cgong
Contributor II

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

1,319 次查看
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 项奖励
回复