Hi NXP Team,
I am implementing OTA on i.MX8M Plus LPDDR4 EVK using:
Yocto Wrynose
Linux 6.18.20
U-Boot 2026.04
SWUpdate 2026.05.1
SWUpdate integrated successfully into Yocto.
Successfully generated .swu packages.
SWUpdate package installation is working.
Hardware compatibility checking is working.
Successfully updated /etc/ota-version using SWUpdate.
rawfile handler is working.
Now I want to implement production-level A/B OTA with automatic rollback and signed updates.
Could you please guide me on the recommended NXP approach for:
A/B rootfs partition layout.
U-Boot bootcount/bootlimit based rollback.
SWUpdate integration with U-Boot environment.
Correct fw_env.config / libubootenv configuration.
Signed .swu package verification.
Anti-rollback/version protection.
Secure Boot + SWUpdate integration.
Currently, the OTA update completes, but SWUpdate reports:
Cannot initialize environment from /etc/fw_env.config Cannot persistently store update state
Is there an NXP reference design, application note, or example for SWUpdate + A/B + U-Boot rollback + signed OTA on i.MX8M Plus?
Thanks.