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 | |
Andrew Geissler | 2edf064 | 2023-09-11 08:24:07 -0400 | [diff] [blame] | 14 | FILESEXTRAPATHS:prepend := "${THISDIR}/files/n1sdp:" |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 15 | SRC_URI:append = "\ |
Patrick Williams | 8dd6848 | 2022-10-04 07:57:18 -0500 | [diff] [blame] | 16 | file://0001-Platform-ARM-N1sdp-Add-support-to-parse-NT_FW_CONFIG.patch;patchdir=edk2-platforms \ |
Andrew Geissler | 2edf064 | 2023-09-11 08:24:07 -0400 | [diff] [blame] | 17 | file://0002-Platform-ARM-N1Sdp-Modify-the-IRQ-ID-of-Debug-UART-a.patch;patchdir=edk2-platforms \ |
| 18 | file://0003-Silicon-ARM-NeoverseN1Soc-Enable-SCP-QSPI-flash-regi.patch;patchdir=edk2-platforms \ |
| 19 | file://0004-Platform-ARM-N1Sdp-NOR-flash-library-for-N1Sdp.patch;patchdir=edk2-platforms \ |
| 20 | file://0005-Platform-ARM-N1Sdp-NOR-flash-Dxe-Driver-for-N1Sdp.patch;patchdir=edk2-platforms \ |
| 21 | file://0006-Platform-ARM-N1Sdp-Persistent-storage-for-N1Sdp.patch;patchdir=edk2-platforms \ |
| 22 | file://0007-Platform-ARM-N1Sdp-Enable-FaultTolerantWrite-Dxe-dri.patch;patchdir=edk2-platforms \ |
| 23 | file://0008-Platform-ARM-N1Sdp-manually-poll-QSPI-status-bit-aft.patch;patchdir=edk2-platforms \ |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 24 | " |
| 25 | |
| 26 | do_deploy:append() { |
| 27 | EFIPATH=$(echo "${EFIDIR}" | sed 's/\//\\/g') |
| 28 | printf 'FS2:%s\%s\n' "$EFIPATH" "${EFI_BOOT_IMAGE}" > ${DEPLOYDIR}/startup.nsh |
| 29 | } |