mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-10-15 05:17:14 +00:00
arm-bsp/n1sdp: add support for startup.nsh file
UEFI EDK2 on N1SDP is unable to detect FS2 during boot resulting in launching of EDK2 shell instead of launching grub. The startup.nsh will force launching of grub. Change-Id: I90426f2883251b7cc5fd4aa453ccfd606640d3bd Signed-off-by: Khasim Syed Mohammed <khasim.mohammed@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
1 parent
7611e8cf4a
commit
e4e060a063
1 file changed
+10
@@ -17,3 +17,13 @@ EDK2_ARCH = "AARCH64"
|
||||
COMPATIBLE_MACHINE = "n1sdp"
|
||||
|
||||
PV = "201908+git${SRCPV}"
|
||||
|
||||
# UEFI EDK2 on N1SDP is unable to detect FS2 during boot resulting in launching of
|
||||
# EDK2 shell instead of launching grub. The startup.nsh will force launching of grub
|
||||
EFIDIR = "/EFI/BOOT"
|
||||
EFI_BOOT_IMAGE = "bootaa64.efi"
|
||||
|
||||
do_deploy_append() {
|
||||
EFIPATH=$(echo "${EFIDIR}" | sed 's/\//\\/g')
|
||||
printf 'FS2:%s\%s\n' "$EFIPATH" "${EFI_BOOT_IMAGE}" > ${DEPLOYDIR}/startup.nsh
|
||||
}
|
||||
Reference in new issue
Block a user