Embedded devices are often expected to run a single application(maybe a Kiosk) forever. Such applications have to be started immediately after or just before logging in to the device.
This article guides you to launch your application on eSOMiMX6 start-up.
For launching an application on start-up, the run levels and RC scripts have to be configured.
rc script contains start-up instructions for a program. These scripts are executed automatically at system start-up every time.
The run level is nothing but a mode of operation in the OS(run level 0 stands for Shut down while run level 6 stands for the reboot ). The eSOMiMX6 device contains few scripts that run at the startup of the current run level.
Each run level has few scripts in its dedicated directory(rcX.d where X is between 0 to 6) that will be executed after entering into that run level. The application you wanna execute at the startup shall be mentioned in such a script.
Now reboot the device. Your application gets executed at start-up.
Please refer our previous article How to build, deploy and run Qt applications on eSOMiIMX6 devices to run the application on eSOMiMX6 devices at the start-up.
Please visit our developer website to know get step by step instructions to launch an application at startup on the eSOMiMX6 device(s).
For further assistance and queries get in touch with sales@e-consystems.com
Try eSOM++ startup application on eSOMiMX6
Qt-QML-Build-Deploy-Run-Steps Application Guide