The build runs natively on arm64 since 2026-11-18: setup no longer installs
qemu-user-static and aarch64-binutils (and refuses a non-aarch64 host),
GATEWAY.conf drops PRODUCT_WANTS_CROSS, build no longer asks tools for an
xtools set, finish no longer moves one aside, and mk-image.sh no longer
sets up xtools or removes qemu. The pilot command, which timed ports
before the first full build, goes too.
Gateways are migrated with the shell commands in RELEASE.md, as
ApolloGuardian was, instead of migrate-device.sh; that includes the
custom mirror for a proxy that is not on 443 inside the LAN, and the
major upgrade's UPGRADE_RELEASE.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Makefile: read the FreeBSD release from tools' config/<series>/build.conf
and derive the compiler target and package ABI from it, version the
package <release>_<commit count>, take libxml2 from our own packages
set instead of pkg.FreeBSD.org, clone the NXP sources from the Forgejo
mirrors, and drop the image target (release/build.sh replaces it)
- +MANIFEST: ABI from the series, new maintainer and www
- GATEWAY.conf: annotate mono-gateway as coming from the OPNsense
repository; fail the image build if the package is missing
- mk-image.sh: remove the amd64 qemu binary setup_xtools leaves behind
- 20-kernel-update: drop the 26.1.3 guard; check room on the FAT
partition, copy and verify the new kernel before replacing the old
one, keep kernel.old, restore it on failure, retry at next shutdown
- 01-mono-modules: log modules that fail to load instead of hiding it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Replace gpart (which enforces 128 GPT entries = 17KB) with a Python
script that creates a 4-entry GPT table fitting in 1.5KB. This keeps
the entire partition table below 4KB, leaving the 4KB-32MB region free
for LS1046A boot firmware (BL2, FIP, U-Boot env, FMan microcode, DTB).
The boot partition starts at sector 65536 (32MB), matching the existing
GATEWAY.conf ARM_FAT_SIZE setting. FreeBSD's kernel reads 4-entry GPTs
without issue — the 128-entry minimum only applies to gpart create.
Replace the two-step flow (make arm-5G → UFS image → mk-zfs-image.sh
converts to ZFS) with mk-image.sh that sources opnsense-build's common.sh
and creates a GPT + ZFS image directly. The script is temporarily swapped
in as arm.sh so the opnsense-build Makefile passes all the correct arguments
without requiring any upstream modifications.
Remove mk-zfs-image.sh (superseded) and the -zfs filename suffix since ZFS
is now the only image format.