gokrazy / tools

this repository contains the gok CLI tool of gokrazy
https://gokrazy.org
BSD 3-Clause "New" or "Revised" License
50 stars 26 forks source link

Add arm64 uefi support, bump systemd third_party #36

Closed damdo closed 2 years ago

damdo commented 2 years ago

This PR:

The packages come from the arch linux package registries:

I successfully tested this with a qemu arm64 machine with the following config :

# note: I had to build the drive.img with -serial_console="ttyAMA0,115200"
qemu-system-aarch64 \
  -name gokrazy-arm64 \
  -m 3G \
  -smp $(nproc) \
  -M virt,highmem=off \
  -cpu cortex-a72 \
  -nographic \
  -netdev user,id=net0,hostfwd=tcp::8080-:80,hostfwd=tcp::2222-:22 \
  -device e1000,netdev=net0 \
  -drive file=drive.img,format=raw \
  -bios /usr/share/qemu-efi-aarch64/QEMU_EFI.fd

This is partly related to the discussion at: https://github.com/gokrazy/gokrazy/issues/129

stapelberg commented 2 years ago

Thank you!