Add support for building Snagboot
Status from this message: Applied to 2025.02.x and 2025.08.x, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | support/testing/infra: improve run_cmd_on_host() to show stdout/stderrsupport/ | +14 | 2 replies | |
| 2/11 | support/testing/infra/basetest.py: add BRHostPkgTest classsupport/ | +22 | 0 replies | |
| 3/11 | package/python-crccheck: new packageDEVELOPERS package/ package/ +1 more | +31 | 0 replies | |
| 4/11 | support/testing/tests/package/test_python_serial.py: new test caseDEVELOPERS support/ | +13 | 0 replies | |
| 5/11 | package/python-tftpy: add host variantpackage/ support/ | +10 | 1 reply | |
| 6/11 | package/python-pyusb: enable host variantDEVELOPERS package/ support/ | +12 | 0 replies | |
| 7/11 | package/python-xmodem: add host variantDEVELOPERS package/ support/ | +11 | 0 replies | |
| 8/11 | package/python-appdirs: add host variantpackage/ | +1 | 0 replies | |
| 9/11 | package/python-fs: new packageDEVELOPERS package/ package/ +1 more | +31 | 0 replies | |
| 10/11 | package/python-pyfatfs: new packageDEVELOPERS package/ package/ +2 more | +121 | 0 replies | |
| 11/11 | package/snagboot: new packageDEVELOPERS package/ package/ +3 more | +59 | 3 replies |
Reviews trailers per patch
1 of 11 patches has a Reviewed-by or Acked-by.
| Patch | Colin Foster |
|---|---|
| 1/11 | |
| 2/11 | |
| 3/11 | |
| 4/11 | |
| 5/11 | R-b |
| 6/11 | |
| 7/11 | |
| 8/11 | |
| 9/11 | |
| 10/11 | |
| 11/11 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Buildroot] [PATCH 00/11] Add support for building Snagboot
Hello,
Snagboot <https://github.com/bootlin/snagboot/> is an open-source and platform-agnostic tool to recover and reflash embedded platforms, replacing vendor-specific tools by a single unified tool.
This patch series aims at allowing to build Snagboot for the host as part of a Buildroot build, so that a Buildroot user can use Snagboot after the build to recover/reflash an embedded platform.
Snagboot requires a number of dependencies, which is why we are adding python-crccheck, python-fs and python-pyfatfs as new packages, and also enabling host variants for the existing python-tftpy, python-pyusb, python-xmodem and python-appdirs packages.
Since we're adding so many host Python packages, we thought it would be a good idea to test them, but our runtime testing infrastructure wasn't really convenient to test host packages. The first two patches therefore propose some improvements to the testing infrastructure, which are then use by the remaining patches to make sure we at least minimally test that host Python packages work.
Let me know what you think!
Thomas
Thomas Petazzoni (11):
support/testing/infra: improve run_cmd_on_host() to show stdout/stderr support/testing/infra/basetest.py: add BRHostPkgTest class package/python-crccheck: new package support/testing/tests/package/test_python_serial.py: new test case package/python-tftpy: add host variant package/python-pyusb: enable host variant package/python-xmodem: add host variant package/python-appdirs: add host variant package/python-fs: new package
package/python-pyfatfs: new package
package/snagboot: new package
DEVELOPERS | 11 ++++ package/Config.in.host | 1 + package/python-appdirs/python-appdirs.mk | 1 + package/python-crccheck/python-crccheck.hash | 4 ++ package/python-crccheck/python-crccheck.mk | 15 ++++++ package/python-fs/python-fs.hash | 5 ++ package/python-fs/python-fs.mk | 15 ++++++ ...oject.toml-relax-version-constraints.patch | 45 ++++++++++++++++ package/python-pyfatfs/python-pyfatfs.hash | 4 ++ package/python-pyfatfs/python-pyfatfs.mk | 17 ++++++ package/python-pyusb/python-pyusb.mk | 2 + package/python-tftpy/python-tftpy.mk | 1 + package/python-xmodem/python-xmodem.mk | 1 + package/snagboot/Config.in.host | 8 +++ package/snagboot/snagboot.hash | 3 ++ package/snagboot/snagboot.mk | 29 ++++++++++ support/testing/infra/__init__.py | 19 +++++-- support/testing/infra/basetest.py | 22 ++++++++ .../tests/package/test_python_crccheck.py | 10 ++++ .../testing/tests/package/test_python_fs.py | 9 ++++ .../tests/package/test_python_pyfatfs.py | 53 +++++++++++++++++++ .../tests/package/test_python_pyusb.py | 9 ++++ .../tests/package/test_python_serial.py | 12 +++++ .../tests/package/test_python_tftpy.py | 9 ++++ .../tests/package/test_python_xmodem.py | 9 ++++ .../testing/tests/package/test_snagboot.py | 16 ++++++ 26 files changed, 325 insertions(+), 5 deletions(-) create mode 100644 package/python-crccheck/python-crccheck.hash create mode 100644 package/python-crccheck/python-crccheck.mk create mode 100644 package/python-fs/python-fs.hash create mode 100644 package/python-fs/python-fs.mk create mode 100644 package/python-pyfatfs/0001-pyproject.toml-relax-version-constraints.patch create mode 100644 package/python-pyfatfs/python-pyfatfs.hash create mode 100644 package/python-pyfatfs/python-pyfatfs.mk create mode 100644 package/snagboot/Config.in.host create mode 100644 package/snagboot/snagboot.hash create mode 100644 package/snagboot/snagboot.mk create mode 100644 support/testing/tests/package/test_python_crccheck.py create mode 100644 support/testing/tests/package/test_python_fs.py create mode 100644 support/testing/tests/package/test_python_pyfatfs.py create mode 100644 support/testing/tests/package/test_python_pyusb.py create mode 100644 support/testing/tests/package/test_python_serial.py create mode 100644 support/testing/tests/package/test_python_xmodem.py create mode 100644 support/testing/tests/package/test_snagboot.py
Signature · 6 lines
2.51.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot