1 branch
Tree Top files
Code
Clone with HTTPS:
Clone with SSH:
56 years ago
..
README.md 2.4 KB
boot.v 7.34 KB
guest.v 2.71 KB
release-links.v 2.64 KB
release.sh 995 bytes
serial-line.v 701 bytes

Boot the packaged shell on AArch64 Vinix

Install musl and busybox-bootstrap by name into a clean test root from a signed aarch64 feed. The released AArch64 kernel uses 16 KiB pages. Use musl>=1.2.6-4 and its packaged GCC specs to build executables and shared libraries. The sysroot test checks load-segment alignment and file-offset congruence on the loader, a shared object and a dynamically linked program.

On the x86-64 Linux builder, put an AArch64 musl GCC cross toolchain and qemu-system-aarch64 on PATH. Set CROSS_COMPILE to that compiler's tool prefix and set AARCH64_EFI_CODE and AARCH64_EFI_VARS to a matching non-secure-boot AAVMF firmware pair. The harness copies the variables template to the new output directory.

v -o "$work/boot-test" tests/busybox/boot.v
"$work/boot-test" "$installed_root" "$vinix_arm64_iso" "$work/arm-guest" --aarch64-musl

The harness rebuilds the ISO with the supplied release's kernel and Limine bootloader. It uses a diskless QEMU virt machine with GICv3. The probe checks BusyBox init, shell arithmetic, applet links, uname -o, and the Vinix allocator's malloc_trim. It compares the SHA-256 of the executable and the dynamic loader printed in the guest with their installed files.

For the full release applet check, install busybox, busybox-init and their runtime dependencies into a separate root. The fixture checks the target of every path in /etc/busybox-paths.d/busybox and executes a run-parts hook.

"$work/boot-test" "$release_root" "$vinix_arm64_iso" "$work/arm-release" \
    --aarch64-fixture tests/busybox/release.sh

Verified worker runs

The 2026-11-30 AArch64 bootstrap used the 2026-11-28 Vinix release ISO, the harness at 5e65700, the musl recipe at 784ae32, and the bootstrap recipe at 6986ca6. The serial log ends with VPAC BUSYBOX GUEST PASS. Its SHA-256 is ef5efe3ac2c165bf5c7459cab4d57b383221c50029ac8471613cebf02e72d4d7. The complete image and digest manifest are in the private worker's arm/coverage/musl-r4/aarch64 directory. The operator's copy of the serial log and manifest is in ~/.local/state/vinix/ports/arm-bootstrap-wbSzWP/receipts/musl-r4/aarch64.

The x86-64 release guest from the same day verified 298 installed BusyBox links and ran the hook. Its serial log SHA-256 is 2adfdde432ff131e42dea57527fdd99946aa4608156d10887f1e5686d3bbfeb4. The corresponding worker directory is arm/coverage/release-x86_64.