imx6ull-based Variscite SOM: how to boot my app?

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

imx6ull-based Variscite SOM: how to boot my app?

1,800 次查看
paolosantini
Contributor III

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

标记 (1)
2 回复数

1,531 次查看
martinolejar-b4
NXP Employee
NXP Employee

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

1,531 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Paolo

more documentation can be found on i.MX software link

i.MX Software|NXP 

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!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复