I'm developing on a VARISCITE SOM DART-6UL, based on IMX6 UltraLight NXP ARm Cortex A7. I followed the tutorial written by Variscite to build image and toolchain based on Yocto Project.
All steps are ok and I flashed a SD card perfectly running.
Inside it, I put my example in its home folder and when I launch it, it works with no problem.
Now, my aim is to boot with my example directly: I can do this? How can see my app wahen system starts up?
No tutorial Or indications Or examples found about this issue.
Paolo
Hi Paolo,
If I understudy correctly, you are running Yocto Linux on i.MX6ULL.
For running a script or executable at startup, you have two options:
1. The old way is use /etc/init.d directory and create a script for running it as deamon (see: linux - How to run a shell script at startup - Stack Overflow )
2. The new way is to use /etc/systemd and create a service (see: How do I run a single command at startup using systemd? - Ask Ubuntu )
Martin
Hi Paolo
more documentation can be found on i.MX software link
or SDK2.2 for i.MX6ULL
https://www.nxp.com/webapp/Download?colCode=SDK2.2_iMX6ULL_WIN&appType=license
general linux questions can be found on web linux resources.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------