Page MenuHomeFreeBSD

boot-test.sh: Test many boot loader combinations.
ClosedPublic

Authored by imp on Thu, Jul 2, 4:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jul 9, 12:28 PM
Unknown Object (File)
Thu, Jul 9, 9:20 AM
Unknown Object (File)
Wed, Jul 8, 10:59 PM
Unknown Object (File)
Tue, Jul 7, 9:56 PM
Unknown Object (File)
Tue, Jul 7, 4:19 AM
Unknown Object (File)
Mon, Jul 6, 8:58 PM
Unknown Object (File)
Mon, Jul 6, 12:54 AM
Unknown Object (File)
Mon, Jul 6, 12:54 AM
Subscribers

Details

Summary

This is a script that eventually will test boot with qemu all the
supproted combinations for the boot loader. There's several things that
could be done with gptboot or boot0sio (or not) that aren't tested. We
don't test the 20-odd hardware root devices we support, nor do we test
complex scenarios like RELAXED vs STRICT zfs efi booting. Nnor does it
test any memdisk scenario.

However, the scenarios we do support are included here. We test aarch64,
amd64, armv7, powerpc64, powerpc64le, and riscv64 for BIOS, UEFI, and
OpenFirmware (as appropriate) crossed with MBR and GTP crossed with lua,
4th and simple loaders. Plus some linuxboot scenarios. A total of 69
scenarios so far, with more to come. 56 of them pass right now, a
mixture of actual bugs (9) and test harness issues (4).

Sponsored by: Netflix
Assisted-by: Claude Code (Opus 4.6 and Opus 4.8(1M))

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

imp requested review of this revision.Thu, Jul 2, 4:39 PM
imp created this revision.
jhibbits added inline comments.
tools/boot/boot-test.sh
145

This should be GENERIC64LE, I think.

near final version, add lots of netbooting, though we need a lot more.

This revision was not accepted when it landed; it landed in state Needs Review.Sat, Jul 11, 7:54 PM
This revision was automatically updated to reflect the committed changes.