Platforms
Two questions not to mix. A host is the system Bonk runs on: it needs a binary. A target is the image Bonk writes: it needs a bootable image and the right write mode, no binary.
Build principle
One binary per architecture and libc, never per distribution. The package is only a wrapper: the same aarch64 glibc binary works in a deb, an rpm or an archive on any distribution with an equal or newer glibc.
- glibc is only forward compatible: the floor is fixed at build time and checked.
- A static musl binary runs on any libc but has no window: it is built without the gui feature.
- Never target-cpu=native nor AVX2.
Hosts
| Host | Builds | Floor |
|---|---|---|
| Linux | x86_64, aarch64, i686 (glibc), musl, riscv64 planned | glibc 2.17 |
| Windows | x86_64, ARM64, x86 | Windows 10 |
| macOS | ARM64, Intel, universal .dmg | macOS 12 |
| Android | ARM64, x86_64 APK; Termux | Android 8 |
| ChromeOS | Android application; Linux build in Crostini |
The command line is the common base on every host; the window is added where it is possible. A host counts as covered when list, write and verify work there.
Targets
- x86_64 in BIOS and UEFI; Secure Boot depends on the image’s loader.
- The vault in BIOS and UEFI, ARM64 in UEFI; RISC-V 64 with package 11.
- No Windows and no BIOS on RISC-V.
- An architecture is offered for a system only if its publisher ships an official image for it.
Support levels of images: N1 boot checked at each release (Debian, Ubuntu LTS, Fedora, Arch); N2 compatible through raw write; N3 no guarantee.
Non-functional requirements
Write speed at least 90 percent of dd with 4 MiB blocks; a smooth window during a write; a binary of 25 MB at most; update of Bonk by notification only.