How to automatically run an executable?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to automatically run an executable?

763 Views
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 Replies

613 Views
cgong
Contributor II

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

613 Views
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 Kudos