M4 Cortex firmware stops working after Mender integration on Apalis iMX8QM

hello community i’ ve already posted the same problem in toradex community

i need your help to understand mender changes made on u-boot so i can i know where ‘s the conflict is coming from and why integrating this latter cause the corruption of the cortex m4 binary

Hi @rania,

Thanks for reaching out! The Mender integration definitely should not interfere with the M4 at all. From the linked post I gather that it works on BSP 6.7 (without Mender) and fails on BSP 6.2 (with Mender), correct?

So the two things to check:

  • does it work on vanilla BSP 6.2, without Mender? If no, then the BSP revision breaks/fixes something. If yes, then it is Mender :-/
  • after that, try bumping the Mender integration to BSP 6.7. That should be very straightforward, please ping here if you hit any problems. Then, repeat test.

Greetz,
Josef