imx8m-plus isp systemd service synchronization

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

imx8m-plus isp systemd service synchronization

247件の閲覧回数
malik_cisse
Senior Contributor I

English translation:

Hello,

We are using a systemd service that starts an ISP-based video pipeline. The script looks like this:

[Unit]
Description=My user application
Requires=imx8-isp.service
After=imx8-isp.service
StartLimitIntervalSec=300
StartLimitBurst=3
[Service]
ExecStartPre=/bin/sleep 10
ExecStart=/usr/bin/run-my-qt-app.sh
Restart=always
[Install]
WantedBy=multi-user.target

We would now like to get rid of the "sleep 10" command, which was added because the isp.service does not communicate its "readiness" to systemd.

This is because the isp daemon (isp_media_server) is blocking.

One idea would be to replace the "sleep 10" command with a "isp_media_server" process check script that regularly checks for the existence of the process. However, in my opinion this is not the best way to do it.

Do you have any feedback on this?

Thank you very much,

0 件の賞賛
返信
1 返信

238件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

The issue is because the ISP requieres at least 10msec to enable, i guess if you want faster you can avoid other peripherals.

Regards

 

0 件の賞賛
返信