Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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

HostBuildsFloor
Linuxx86_64, aarch64, i686 (glibc), musl, riscv64 plannedglibc 2.17
Windowsx86_64, ARM64, x86Windows 10
macOSARM64, Intel, universal .dmgmacOS 12
AndroidARM64, x86_64 APK; TermuxAndroid 8
ChromeOSAndroid 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.