UBI on Zephyr

Unsorted Block Images (UBI) is a volume management layer for raw flash devices running Zephyr RTOS. It provides wear-leveling, bad block management, and multiple logical volumes on a single flash partition — similar to what LVM does for block devices.

Note

Release status: v1.0.0. The library API and the on-flash format (plain and secure) are stable; breaking changes require a major version bump. CI, coverage, and metrics badges live on the repository README. See the CHANGELOG for the full release history.


Where to start

Pick the card that matches what you came here to do.

📖 New here?

Understand what UBI is and whether it fits your project.

🔧 Want to integrate?

Build, configure, and write your first volume.

🏗 How does it work?

Read the design — plain UBI and Secure UBI explained.

📚 Looking up details?

Reference material for implementers and auditors.