2412405_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

2412405_en-US

2412405_en-US

SWUpdate A/B OTA with U-Boot on i.MX8M Plus

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

Current Progress

  • 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.

Questions

Could you please guide me on the recommended NXP approach for:

  1. A/B rootfs partition layout.

  2. U-Boot bootcount/bootlimit based rollback.

  3. SWUpdate integration with U-Boot environment.

  4. Correct fw_env.config / libubootenv configuration.

  5. Signed .swu package verification.

  6. Anti-rollback/version protection.

  7. 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.

i.MX 8M | i.MX 8M Mini | i.MX 8M NanoYocto Project
Tags (1)
No ratings
Version history
Last update:
13 hours ago
Updated by: