Skip to content

A/B OTA Updates: Recover Automatically from Failed Upgrades

A single-partition OTA bricks on power loss. A/B writes the new system into the other slot and only flips the boot flag after verification.

What A/B buys you

  • Layout: boot_a/boot_b, system_a/system_b, plus a misc/slot metadata partition the bootloader can read;
  • Flow: write the target slot from the running system, verify hashes, set the slot with successful=false, reboot into it;
  • Confirm: a userspace service marks successful=true once the new system is healthy, otherwise the next boot rolls back.

Cap the retry counter — after three failed attempts stay on the old slot and report, rather than ping-ponging between two broken builds.

Related products: X88 PRO 14 box, HS89 T19 media player. Datasheets, firmware and SDKs are free at the Hugsun Documentation Center; for selection advice or volume pricing, talk to us.

Talk to an engineer

Need selection advice, samples or a volume quote?

Tell us your scenario and target volume — you will get selection advice, lead time and pricing within one business day.

  • Free selection & feasibility review
  • Sample / evaluation board support
  • ODM / OEM customization