diff options
author | Xianglai Li <lixianglai@loongson.cn> | 2024-07-24 10:22:45 +0800 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2024-09-17 10:26:26 +0200 |
commit | b883fb93dba24ce3c53551a5abf6b2f477312535 (patch) | |
tree | a7472a95c3b4ca439090848cc8b75c8b98dc18b0 /docs | |
parent | 065e2ecf79cdf7da94542caab2b847de57035d8c (diff) | |
download | qemu-b883fb93dba24ce3c53551a5abf6b2f477312535.zip qemu-b883fb93dba24ce3c53551a5abf6b2f477312535.tar.gz qemu-b883fb93dba24ce3c53551a5abf6b2f477312535.tar.bz2 |
roms: Support compile the efi bios for loongarch
Added loongarch UEFI BIOS support to compiled scripts.
UEFI code images require 16M alignment, flash images require
16M alignment, under the loongarch architecture.This is agreed
upon when the firmware is loaded in QEMU under Loongarch.
The naming of UEFI under loongarch refers to the x86 and arm naming methods,
and the UEFI image names in x86 and arm are:
edk2-i386-code.fd
edk2-i386-vars.fd
edk2-arm-code.fd
edk2-arm-vars.fd
So on loongarch, we named it:
edk2-loongarch64-code.fd
edk2-loongarch64-vars.fd
Signed-off-by: Xianglai Li <lixianglai@loongson.cn>
Message-ID: <20240724022245.1317884-1-lixianglai@loongson.cn>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/system/loongarch/virt.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/system/loongarch/virt.rst b/docs/system/loongarch/virt.rst index 06d034b..172fba0 100644 --- a/docs/system/loongarch/virt.rst +++ b/docs/system/loongarch/virt.rst @@ -64,7 +64,7 @@ Note: You need get the latest cross-tools at https://github.com/loongson/build-t (3) Build BIOS: - See: https://github.com/tianocore/edk2-platforms/tree/master/Platform/Loongson/LoongArchQemuPkg#readme + See: https://github.com/tianocore/edk2/tree/master/OvmfPkg/LoongArchVirt#readme Note: To build the release version of the bios, set --buildtarget=RELEASE, the bios file path: Build/LoongArchQemu/RELEASE_GCC5/FV/QEMU_EFI.fd |