Branch: refs/heads/master Home: https://github.com/tianocore/edk2 Commit: fe6b6feca7b6012278a432226a56f0836ad1c457 https://github.com/tianocore/edk2/commit/fe6b6feca7b6012278a432226a56f0836ad1c457 Author: Xianglai Li <lixiang...@loongson.cn> Date: 2024-09-12 (Thu, 12 Sep 2024)
Changed paths: M OvmfPkg/LoongArchVirt/LoongArchVirt.fdf.inc Log Message: ----------- OvmfPkg/LoongArchVirt: Modify loongarch uefi firmware size 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 <maob...@loongson.cn> Cc: Chao Li <lic...@loongson.cn> Signed-off-by: Xianglai Li <lixiang...@loongson.cn> To unsubscribe from these emails, change your notification settings at https://github.com/tianocore/edk2/settings/notifications _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits