i.MX8M Mini (Nitrogen 8) - Mender and Scarthgap Integration

Hi Josef,

Thanks for the info! In my original setup I had also used Boundary’s patch from Kirkstone to try the integration with Scarthgap.

And yes it seems there is something going on during the boot.src, specifically during the run_mender setup. I followed this thread, as it seemed relevant to the errors I was getting. In doing so, I saw that there is a failure when switching partitions.

=> print mender_saveenv_canary
## Error: "mender_saveenv_canary" not defined
=> run mender_setup
Saving Environment to MMC... MMC partition switch failed
MMC partition switch failed
Failed (1)
=> print mender_saveenv_canary
mender_saveenv_canary=1

So, mender_setup fails because it is not able to switch the partitions, more likely at the saveenv command.