I’ve created a custom image to flash my iMX6 with Easy Installer. I’ve added a “u_boot_env” entry in the JSON config file, that links to a text file, to init u-boot environment variables during setup.
The install procedure terminates without error. When I start the system, I get an environment CRC error from u-boot, and the boot don’t actually start. Also, my custom environment variables aren’t there (i.e. no bootcmd variable).
So far I’ve managed to let everything work by running “saveenv” from u-boot (after this, I can restart and the CRC error disappears; still, my environment variables aren’t there, so the system won’t boot), restarting the board in “recovery” mode (Easy Installer starts) and re-installing my custom image. That way, on the next start, u-boot has the correct variables and the system boots correctly.
Any idea why I’m getting this behavior? And how to avoid this tedious double-install procedure?