imx8mp stop m4 when app runs

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

imx8mp stop m4 when app runs

ソリューションへジャンプ
1,121件の閲覧回数
xjy198903
Contributor IV

How can I reliably stop the program running on the M4 core while executing user applications on the A53 core of the imx8mp? I need to perform some specific tests without modifying the device tree or other settings, as the M4 core automatically restarts after a reboot. This way, the M4 core can continue to operate normally when I’m not conducting tests.

0 件の賞賛
返信
1 解決策
1,027件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

For M core, you can try

echo stop > /sys/devices/platform/imx8mp-cm7/remoteproc/remoteproc0/state

 

Regards

Daniel

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,096件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi Xjy:

You  can try to use below commands.

For example,  disable CPU1

echo 0 > /sys/devices/system/cpu/cpu1/online

danielchen_0-1735732388677.png

below command to enable CPU 1

echo 1 > /sys/devices/system/cpu/cpu1/online

 

Regards

Daniel

 

 

0 件の賞賛
返信
1,092件の閲覧回数
xjy198903
Contributor IV

Hi,

I just want to stop cortex-m4 not an A53 core of imx8mp,when running services on imx8mp

0 件の賞賛
返信
1,028件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

For M core, you can try

echo stop > /sys/devices/platform/imx8mp-cm7/remoteproc/remoteproc0/state

 

Regards

Daniel

0 件の賞賛
返信