Browse Source
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>pull/273/head
committed by
Gerd Hoffmann
6 changed files with 50 additions and 3 deletions
@ -0,0 +1,31 @@ |
|||
{ |
|||
"description": "UEFI firmware for loongarch64", |
|||
"interface-types": [ |
|||
"uefi" |
|||
], |
|||
"mapping": { |
|||
"device": "flash", |
|||
"executable": { |
|||
"filename": "@DATADIR@/edk2-loongarch64-code.fd", |
|||
"format": "raw" |
|||
}, |
|||
"nvram-template": { |
|||
"filename": "@DATADIR@/edk2-loongarch64-vars.fd", |
|||
"format": "raw" |
|||
} |
|||
}, |
|||
"targets": [ |
|||
{ |
|||
"architecture": "loongarch64", |
|||
"machines": [ |
|||
"virt*" |
|||
] |
|||
} |
|||
], |
|||
"features": [ |
|||
|
|||
], |
|||
"tags": [ |
|||
|
|||
] |
|||
} |
|||
Loading…
Reference in new issue