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.
已解决! 转到解答。
For M core, you can try
echo stop > /sys/devices/platform/imx8mp-cm7/remoteproc/remoteproc0/state
Regards
Daniel
Hi Xjy:
You can try to use below commands.
For example, disable CPU1
echo 0 > /sys/devices/system/cpu/cpu1/online
below command to enable CPU 1
echo 1 > /sys/devices/system/cpu/cpu1/online
Regards
Daniel