imx8mp stop m4 when app runs

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

imx8mp stop m4 when app runs

跳至解决方案
1,101 次查看
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,007 次查看
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,076 次查看
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,072 次查看
xjy198903
Contributor IV

Hi,

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

0 项奖励
回复
1,008 次查看
danielchen
NXP TechSupport
NXP TechSupport

For M core, you can try

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

 

Regards

Daniel

0 项奖励
回复