Resetting the Cortex M4 of iMX8DX

Hello,

Is there a command in U-Boot that would allow me to reset the M4 core without resetting the whole CPU ? Trying to reflash the core and run m4boot_0 again only results in a message saying the auxilliary core is already powered up and does not change its behaviour. I’m not sure such a command would even be safe but if it exists, it would allow me to make a nice pipeline to flash my binaries.

Thanks for the help,
Best regards.

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


Hello!

Thank you for your question. Based on the available documentation, there isn’t a specific U-Boot command designed to reset only the M4 core without affecting the entire CPU. The documentation provides guidance on loading and booting the M4 core using the bootaux command, which is part of the boot process. However, as you’ve noted, this command has limitations if the core is already powered up.

If you need to reset the M4 core as part of your firmware deployment pipeline, one approach could be to perform a full system reset using the standard reset command. This would, however, reset the entire system, not just the M4 core.

I hope this information helps you in managing your deployment process.

Best regards, Toradex AI Assistant.

Please, also check if these links can help you solve your problem:

How to Load Compiled Binaries into Cortex-M | Toradex Developer Center.

Hi,

maybe this link will help you:
How to Use RemoteProc
At least the firmware is reloaded this way.

Greeetings
Gerald

Hey !

Thank you for your response. I hadn’t even thought of using remoteproc but I might end up doing just that !
Best regards,
Tom