readme.txt 950 B

12345678910111213141516171819202122232425262728293031323334
  1. The aarch64_efi_defconfig allows to build a minimal Linux system that
  2. can boot on all AArch64 servers providing an EFI firmware and ACPI.
  3. Building and booting
  4. ====================
  5. $ make aarch64_efi_defconfig
  6. $ make
  7. The file output/images/disk.img is a complete disk image that can be
  8. booted, it includes the grub2 bootloader, Linux kernel and root
  9. filesystem.
  10. Testing under Qemu
  11. ==================
  12. This image can also be tested using Qemu:
  13. qemu-system-aarch64 \
  14. -M virt \
  15. -cpu cortex-a57 \
  16. -m 512 \
  17. -nographic \
  18. -bios </path/to/QEMU_EFI.fd> \
  19. -drive file=output/images/disk.img,if=none,format=raw,id=hd0 \
  20. -device virtio-blk-device,drive=hd0 \
  21. -netdev user,id=eth0 \
  22. -device virtio-net-device,netdev=eth0
  23. Note that </path/to/QEMU_EFI.fd> needs to point to a valid aarch64 UEFI
  24. firmware image for qemu.
  25. It may be provided by your distribution as a edk2-aarch64 or AAVMF
  26. package, in path such as /usr/share/edk2/aarch64/QEMU_EFI.fd .