Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 1 | # N1SDP specific EDK2 configurations |
| 2 | EDK2_BUILD_RELEASE = "0" |
| 3 | EDK2_PLATFORM = "n1sdp" |
| 4 | EDK2_PLATFORM_DSC = "Platform/ARM/N1Sdp/N1SdpPlatform.dsc" |
| 5 | EDK2_BIN_NAME = "BL33_AP_UEFI.fd" |
| 6 | |
| 7 | COMPATIBLE_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 |
| 11 | EFIDIR = "/EFI/BOOT" |
| 12 | EFI_BOOT_IMAGE = "bootaa64.efi" |
| 13 | |
| 14 | FILESEXTRAPATHS:prepend := "${THISDIR}/files/edk2-platforms:" |
| 15 | |
| 16 | SRC_URI:append = "\ |
| 17 | file://add-nt-fw-config.patch;patchdir=edk2-platforms \ |
| 18 | " |
| 19 | |
| 20 | do_deploy:append() { |
| 21 | EFIPATH=$(echo "${EFIDIR}" | sed 's/\//\\/g') |
| 22 | printf 'FS2:%s\%s\n' "$EFIPATH" "${EFI_BOOT_IMAGE}" > ${DEPLOYDIR}/startup.nsh |
| 23 | } |