blob: 90c3f2ae7004da21f99cd028751b9d5ed6e3d307 [file] [log] [blame]
Brad Bishopbec4ebc2022-08-03 09:55:16 -04001# N1SDP specific EDK2 configurations
2EDK2_BUILD_RELEASE = "0"
3EDK2_PLATFORM = "n1sdp"
4EDK2_PLATFORM_DSC = "Platform/ARM/N1Sdp/N1SdpPlatform.dsc"
5EDK2_BIN_NAME = "BL33_AP_UEFI.fd"
6
7COMPATIBLE_MACHINE = "n1sdp"
8
9# UEFI EDK2 on N1SDP is unable to detect FS2 during boot resulting in launching of
10# EDK2 shell instead of launching grub. The startup.nsh will force launching of grub
11EFIDIR = "/EFI/BOOT"
12EFI_BOOT_IMAGE = "bootaa64.efi"
13
14FILESEXTRAPATHS:prepend := "${THISDIR}/files/edk2-platforms:"
15
16SRC_URI:append = "\
17 file://add-nt-fw-config.patch;patchdir=edk2-platforms \
18"
19
20do_deploy:append() {
21 EFIPATH=$(echo "${EFIDIR}" | sed 's/\//\\/g')
22 printf 'FS2:%s\%s\n' "$EFIPATH" "${EFI_BOOT_IMAGE}" > ${DEPLOYDIR}/startup.nsh
23}