summaryrefslogtreecommitdiffstats
path: root/EdkModulePkg/Bus/Pci/PciBus/Dxe/LightPciBus.msa
diff options
context:
space:
mode:
authorXianglai Li <lixianglai@loongson.cn>2024-09-11 16:58:53 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-09-12 13:25:43 +0000
commitfe6b6feca7b6012278a432226a56f0836ad1c457 (patch)
treeae15206d17245ae4196e5d7ef1fba5c706ecdde1 /EdkModulePkg/Bus/Pci/PciBus/Dxe/LightPciBus.msa
parent1197fb3383ddbe53d764cb9b3583c1738ac62a18 (diff)
downloadedk2-master.tar.gz
edk2-master.tar.bz2
edk2-master.zip
OvmfPkg/LoongArchVirt: Modify loongarch uefi firmware sizeHEADmaster
After the loongarch flash block size is changed from 128K to 256K, qemu requires that the UEFI firmware size be aligned with the flash block size(256K). Otherwise, the firmware cannot be loaded, Use the following code to resolve the old firmware loading problem: mv QEMU_EFI.fd QEMU_EFI.fd-bak cat QEMU_EFI.fd-bak /dev/zero | head -c 16m > ./QEMU_EFI.fd mv QEMU_VARS.fd QEMU_VARS.fd-bak cat QEMU_VARS.fd-bak /dev/zero | head -c 16m > ./QEMU_VARS.fd For the new firmware, we refer to other architecture UEFI and set the UEFI firmware size to align with the flash block size(256K). So for this patch, we set the UEFI firmware size to 256K alignment. Cc: Bibo Mao <maobibo@loongson.cn> Cc: Chao Li <lichao@loongson.cn> Signed-off-by: Xianglai Li <lixianglai@loongson.cn>
Diffstat (limited to 'EdkModulePkg/Bus/Pci/PciBus/Dxe/LightPciBus.msa')
0 files changed, 0 insertions, 0 deletions