My name is Toan. I'm using iMX6UL-evk with kernel 4.14.98. And I trying to start application fast much as possible. Currently, I use crontab to start app and it is started after system boot up. It's took about 27 seconds. But I wanna much faster. So how can I boot app before system boot up ? Does it possible ?
Thank you so much.
Solved! Go to Solution.
At which point do you want to start your application, after u-boot or after Linux console come?
To run an application on system boot, you need to write the custom systemd service as Linux kernel 4.14.98 uses systemd init/service manager.
You can refer this link to write a custom systemd service.
Hope this will help you.
Thank you for your reply.
I wanna start my application before login user show up and as early as possible. Does it possible if I wanna start after u-boot ?
Note: I tried follow Use systemd to Start a Linux Service at Boot | Linode . It's working good but starting time is the same with I use crontab.