专注虚拟化性能优化,硬件显卡网卡虚拟加速,面向容器的轻量虚拟化开发 永远的Linux Geeker!
分类: 虚拟化
2019-01-25 05:09:56
1. Download and compiler the QEMU after 2.2
git clone
2. Build a aarch64-softmmu
3. Get EDK2 cod
git clone
4. setup a cross compiler enviroment
5. build in UEFI code directory
source edksetup.sh
export GCC48_AARCH64_PREFIX=aarch64-linux-gnu-make -C BaseTools
build -a AARCH64 -t GCC48 -p ArmVirtPkg/ArmVirtQemu.dsc
6. you will fied firmware image from below
Build/ArmVirtQemu-AARCH64/DEBUG_GCC48/FV/QEMU_EFI.fd
7. UEFI Secure Boot
build -a AARCH64 -t GCC48 -p ArmVirtPkg/ArmVirtQemu.dsc \
-D SECURE_BOOT_ENABLE