Snagboot v2.6 released: documentation, reliability, extended hardware support

SnagbootWe are pleased to announce the release of Snagboot v2.6, bringing a set of improvements that make the tool more robust, easier to use, and more versatile across platforms. For those not familiar with Snagboot, it is an open-source and generic replacement to the vendor-specific, sometimes proprietary, tools used to recover and/or reflash embedded platforms.

This new release 2.6 focuses on three main areas: documentation, reliability, and extended hardware support.

Documentation now on Read the Docs

One of the major changes in this release is the migration of the Snagboot documentation to Read the Docs. This improves accessibility, versioning, and overall usability for users looking to get started or dig deeper into advanced features.

Better error handling and testing

We have improved error reporting across the project, particularly for USB permission-related issues. Instead of generic failures, Snagboot now emits clearer and more actionable error messages, helping users diagnose problems faster.

In addition, we introduced a few preliminary unit tests across the codebase. This strengthens reliability and helps prevent regressions as the project evolves, and we hope to be able to extend this with additional tests in the future.

snagflash improvements

The snagflash tool has received several useful enhancements:

  • Compressed image support: You can now directly use compressed input files such as .wic.bz2, avoiding the need for manual decompression.
  • Refactored fastboot/U-Boot logic: Common code has been factored out, resulting in cleaner internals and improved logging.
  • Automatic fallback mechanism: When oem_run is not supported by U-Boot, Snagboot now automatically falls back to ucmd, improving compatibility across different bootloader configurations.

snagrecover enhancements

The snagrecover tool also gains important new capabilities:

  • Support for Renesas RZ/N1 platforms, expanding Snagboot’s reach into additional embedded ecosystems.
  • SoC model aliases support, including the addition of an alias for i.MX8MP, making configurations more flexible and user-friendly.
  • Improved path handling: Relative path prefixes are now properly handled with the -F option, simplifying scripting and integration.

Thanks to the contributors

Aside from Snagboot’s main developer and maintainer Romain Gantois, who works at Bootlin, we’re happy to have received contributions from François Foltete, Félix Piédallu, Joschka Seydell, Jérémie Dautheribes and Peter Korsgaard in this release:

    43  Romain Gantois
     3  Joschka Seydell
     2  François Foltete
     2  Peter Korsgaard
     1  Félix Piédallu
     1  Jérémie Dautheribes

Feedback welcome

As always, feedback and contributions are welcome. Stay tuned for future updates as we continue improving Snagboot!

Thomas Petazzoni

Author: Thomas Petazzoni

Thomas Petazzoni is Bootlin's co-owner and CEO. Thomas joined Bootlin in 2008 as a kernel and embedded Linux engineer, became CTO in 2013, and co-owner/CEO in 2021. More details...

Leave a Reply