mirror of
https://github.com/blazblue547-afk/ForgeOS-ARM64.git
synced 2026-12-02 14:44:17 -05:00
Use an ARM64 Debian rootfs bootstrap because the original source-built userspace path depends on native x86_64 host runtime libraries.
2.8 KiB
2.8 KiB
ForgeOS ARM64
ForgeOS ARM64 is the 64-bit ARM/AArch64 flavor of ForgeOS. It keeps the ForgeOS
UEFI disk-image flow, Linux kernel build, Nix integration, default forge user,
and optional GNOME image path, but targets ARM64 firmware and hardware instead
of x86_64.
As of 2026-06-17, this flavor defaults to:
- Linux kernel
7.1 - ARM64 / AArch64 only
- 64-bit only
- UEFI boot through
EFI/BOOT/BOOTAA64.EFI - Debian
arm64console rootfs usingtrixie - Nix
2.34.0using the officialaarch64-linuxbinary tarball - serial console on
ttyAMA0 - optional Debian GNOME desktop rootfs
What This Repository Produces
- a ForgeOS ARM64 build pipeline
- a bootable GPT disk image with:
- an EFI system partition
- an ext4 root partition
- a direct QEMU smoke-test path using
qemu-system-aarch64 - an optional GNOME ARM64 image flavor
Quick Start
cd ForgeOS-ARM64
sudo scripts/install-deps.sh
make rootfs
make run
The default console accounts are forge and root; both use the password
forge. Nix is staged into the rootfs as the package manager, with
nix-daemon enabled after the bootstrap service registers the bundled store
closure.
To build a bootable ARM64 UEFI disk image:
cd ForgeOS-ARM64
sudo scripts/install-image-deps.sh
make image
make run-image
The disk image is written to out/forgeos-arm64-7.1.img.
To build the optional ARM64 GNOME image:
cd ForgeOS-ARM64
make gnome-image
make run-gnome
Build Notes
- The kernel is built with Linux
ARCH=arm64and defaults to the ARM64defconfigplus ForgeOS options for EFI, virtio, PL011 serial, ext4, vfat, initramfs, and common QEMUvirtdevices. - On non-AArch64 hosts, the build defaults to
CROSS_COMPILE=aarch64-linux-gnu-. - The console rootfs is bootstrapped from Debian
arm64packages withmmdebstrapor root-rundebootstrap; this avoids pretending the original x86_64-native source-built PAM/systemd/D-Bus path can cross-build safely. - GRUB is built for
arm64-efiand installed atEFI/BOOT/BOOTAA64.EFI. - The ARM64 Linux
Imageis also copied toEFI/BOOT/FORGEOS.EFIfor GRUB to load through the EFI stub. - The default QEMU path uses
qemu-system-aarch64 -machine virt. - Nix
2.34.0is staged from the officialaarch64-linuxbinary tarball.
Current Limits
- ARM64 UEFI only; BIOS and 32-bit ARM are not supported.
- The default rootfs is Debian-bootstrapped rather than source-built.
- Cross-host bootstrap of Debian
arm64packages may requireqemu-user-staticand binfmt support on the host. - Secure Boot still requires enrolling your generated local signing certificate.
- Hardware support beyond the QEMU
virtplatform depends on kernel config work for the target board or machine.
More detail is in docs/ARCHITECTURE.md. Installer usage is documented in docs/INSTALLER.md.