No console log of application

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

No console log of application

717件の閲覧回数
dskim2
Contributor IV

I set the following settings to automatically run my application on the imx8mp custom board, but the log of the application's printf function is not displayed in the console.

When I login as root in the terminal and force the application to run, the log is displayed normally on the console.

I build Yocto version 6.1.22_2.0.0, core-image-base


What should I do?

1. auto run script file

#!/bin/sh
/home/root/application name &

 

2. copy the script file to /etc/init.d folder.

3. update-rc.d auto run script file defaults

0 件の賞賛
返信
1 返信

665件の閲覧回数
dskim2
Contributor IV

I figured out that the application was running twice.
rc.local seems to run once, but why does Application run twice?

0 件の賞賛
返信