imx8mp stop m4 when app runs

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx8mp stop m4 when app runs

Jump to solution
1,111 Views
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 Kudos
Reply
1 Solution
1,017 Views
danielchen
NXP TechSupport
NXP TechSupport

For M core, you can try

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

 

Regards

Daniel

View solution in original post

0 Kudos
Reply
3 Replies
1,086 Views
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 Kudos
Reply
1,082 Views
xjy198903
Contributor IV

Hi,

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

0 Kudos
Reply
1,018 Views
danielchen
NXP TechSupport
NXP TechSupport

For M core, you can try

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

 

Regards

Daniel

0 Kudos
Reply