Building
All A64Core components are built from source using standard LLVM/Clang and Xcode toolchains.
A64CorePkg (UEFI Bootloader)
Requires Linux or macOS with LLVM/Clang (clang, lld, llvm-objcopy, llvm-ar), make, python3, git, and uuid-dev (on Debian/Ubuntu). ./build.sh automatically initializes the required minimal ThirdParty/edk2 submodules.
git clone https://github.com/A64Core/A64CorePkg.git
cd A64CorePkg
./build.sh release # Build Bootstrap.efi, A64Core.efi, AcApfsDxe.efi
./build.sh test # Run host unit tests
./build.sh fmt-check # Check clang-format complianceOutputs are written to Build/A64CorePkg/<TARGET>_CLANGDWARF/AARCH64/. Set CLANGDWARF_BIN to override the LLVM binary directory.
A64CoreMonitor (EL2 Monitor)
Requires Linux or macOS with LLVM/Clang (clang, ld.lld, llvm-objcopy, llvm-readelf, clang-format) and make.
git clone https://github.com/A64Core/A64CoreMonitor.git
cd A64CoreMonitor
make # Build build/A64CoreMonitor.bin
make fmt-check # Check code formattingDeploy build/A64CoreMonitor.bin to EFI/AC/Monitor/A64CoreMonitor.bin on the ESP.
When EL2 USB debug is enabled, attach LLDB or GDB over the host bridge:
python3 tools/usb_gdb_bridge.pyKernel Extensions
Each kext repository builds an arm64e kernel extension on macOS using Xcode / Command Line Tools:
git clone https://github.com/A64Core/<KextRepo>.git
cd <KextRepo>
make # Build build/<KextRepo>.kext
make fmt-check # Check code formattingRepositories with host unit tests (AcMemVfs, AcUsbHidQuirks, AcUserPatcher) also support:
make test