blob: 629ea04947f2b8c503c52e0dee4029379f20379c [file] [log] [blame]
Patrick Williams8dd68482022-10-04 07:57:18 -05001# Align with N1SDP-2022.06.22 release
2SRCREV_edk2 = "b24306f15daa2ff8510b06702114724b33895d3c"
3SRCREV_edk2-platforms = "fdaf4eb69a8b6839aecf6d3bdd938aa5c34a8a17"
4PV .= "+git${SRCPV}"
5
Brad Bishopbec4ebc2022-08-03 09:55:16 -04006# N1SDP specific EDK2 configurations
7EDK2_BUILD_RELEASE = "0"
8EDK2_PLATFORM = "n1sdp"
9EDK2_PLATFORM_DSC = "Platform/ARM/N1Sdp/N1SdpPlatform.dsc"
10EDK2_BIN_NAME = "BL33_AP_UEFI.fd"
11
12COMPATIBLE_MACHINE = "n1sdp"
13
14# UEFI EDK2 on N1SDP is unable to detect FS2 during boot resulting in launching of
15# EDK2 shell instead of launching grub. The startup.nsh will force launching of grub
16EFIDIR = "/EFI/BOOT"
17EFI_BOOT_IMAGE = "bootaa64.efi"
18
19FILESEXTRAPATHS:prepend := "${THISDIR}/files/edk2-platforms:"
20
21SRC_URI:append = "\
Patrick Williams8dd68482022-10-04 07:57:18 -050022 file://0001-Platform-ARM-N1sdp-Add-support-to-parse-NT_FW_CONFIG.patch;patchdir=edk2-platforms \
23 file://0002-Platform-ARM-N1Sdp-Fix-RemoteDdrSize-cast.patch;patchdir=edk2-platforms \
24 file://0003-Platform-ARM-N1Sdp-Modify-the-IRQ-ID-of-Debug-UART-a.patch;patchdir=edk2-platforms \
Brad Bishopbec4ebc2022-08-03 09:55:16 -040025"
26
27do_deploy:append() {
28 EFIPATH=$(echo "${EFIDIR}" | sed 's/\//\\/g')
29 printf 'FS2:%s\%s\n' "$EFIPATH" "${EFI_BOOT_IMAGE}" > ${DEPLOYDIR}/startup.nsh
30}