Tool/software:
I used the following command to control M core, and found that the stop command did not take effect, and the start command indicated that the device was busy
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
I used the following command to control M core, and found that the stop command did not take effect, and the start command indicated that the device was busy
Hello Bu,
The Linux remoteproc driver uses graceful shutdown. Basically, it only shuts down a remote core after the remote core sends an ACK that the remote core is in a safe state to shut down. However, that does require that the remote core includes code to handle and respond to a shutdown request.
For more information, please refer to the AM62x Academy:
Multicore > Booting and Disabling Processor Cores > Graceful shutdown
https://dev.ti.com/tirex/explore/node?node=A__AXsPVjrUN0EAU1ezb.8iuQ__AM62-ACADEMY__uiYMDcq__LATEST
Regards,
Nick
May I ask which part of the code should be included in the M core to achieve remote power on/off? Currently, I have a need for the m core to initialize and configure and then restart. How can this be achieved? I want to know the two methods of restarting it through linux and which commands it can run to restart it by itself
Hello Bu,
If you are asking about the MCU+ code to enable graceful shutdown, please refer to the link in my previous response, section "MCU+ code to enable graceful shutdown"
AM62x Academy:
Multicore > Booting and Disabling Processor Cores > Graceful shutdown
https://dev.ti.com/tirex/explore/node?node=A__AXsPVjrUN0EAU1ezb.8iuQ__AM62-ACADEMY__uiYMDcq__LATEST
One option is you could program the M4 to send Linux an RPMsg if it needs Linux to restart the M4 and potentially load new firmware into the M4F.
Regards,
Nick