mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/4] test: py: add FIT image boot test
@ 2025-06-12  8:55 Ahmad Fatoum
  2025-06-12  8:56 ` [PATCH 1/4] ci: pytest: mount virtfs with signed FIT image into VMs Ahmad Fatoum
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Ahmad Fatoum @ 2025-06-12  8:55 UTC (permalink / raw)
  To: barebox

This series assembles a FIT image with a compressed barebox, an
uncompressed device tree and a small initramfs.

Then the newly introduced test_fit.py checks that it can be booted
and device tree is fixed up with command line, initrd location,
generic and custom fixups.

It already caught a regression in next that broke initrd loading on
ARM64 & RISC-V and it can also detect the FIT image compression
regression in v2025.05.0 that was fixed by Stefan recently.


Ahmad Fatoum (4):
  ci: pytest: mount virtfs with signed FIT image into VMs
  test: py: add FIT boot test
  ci: pytest: multi_v8_defconfig: pass --runxfail
  ci: container: add device-tree-compiler

 .github/testfs/multi_v7_defconfig-gzipped.its | 57 +++++++++++++++++
 .github/testfs/multi_v8_defconfig-gzipped.its | 57 +++++++++++++++++
 .github/workflows/test-labgrid-pytest.yml     | 22 ++++++-
 scripts/generate_testfs.sh                    | 26 ++++++++
 test/Containerfile                            |  1 +
 test/arm/virt@multi_v7_defconfig.yaml         |  1 +
 test/arm/virt@multi_v8_defconfig.yaml         |  1 +
 test/py/helper.py                             | 15 +++++
 test/py/test_fit.py                           | 63 +++++++++++++++++++
 9 files changed, 242 insertions(+), 1 deletion(-)
 create mode 100644 .github/testfs/multi_v7_defconfig-gzipped.its
 create mode 100644 .github/testfs/multi_v8_defconfig-gzipped.its
 create mode 100755 scripts/generate_testfs.sh
 create mode 100644 test/py/test_fit.py

-- 
2.39.5




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-06-17  7:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-12  8:55 [PATCH 0/4] test: py: add FIT image boot test Ahmad Fatoum
2025-06-12  8:56 ` [PATCH 1/4] ci: pytest: mount virtfs with signed FIT image into VMs Ahmad Fatoum
2025-06-12  8:56 ` [PATCH 2/4] test: py: add FIT boot test Ahmad Fatoum
2025-06-12  8:56 ` [PATCH 3/4] ci: pytest: multi_v8_defconfig: pass --runxfail Ahmad Fatoum
2025-06-12  8:56 ` [PATCH 4/4] ci: container: add device-tree-compiler Ahmad Fatoum
2025-06-17  7:29 ` [PATCH 0/4] test: py: add FIT image boot test Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox