Developer experience programming the M4 on the iMX8MM

Hi @samuelous,

For now, TorizonCore Builder does not support modifying the u-boot environment variables.

To change that, we have two options:

  1. First, create a custom TorizonCore build with Yocto. This can be hard if you’ve never worked with Yocto before. There is an example on this thread: Bitbake recipe to modify u-boot-default-env or boot.scr

  2. Second, edit the u-boot environment file manually. Note that you only need to edit this file once, since you can use the same TorizonCore image to flash all of your modules. If you download an image from our feeds and extract the file, you will see the file inside called u-boot-initial-env-sd. This file can be edited to include the variables related to the Cortex-M, as described here: How to load compiled binaries into Cortex-M | Toradex Developer Center

Let me know if you have any questions.

Best Regards,
Hiago.