1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-05-30 00:21:17 +00:00

arm-bsp: Build UEFI EDK2 firmware for N1SDP

- Add bbappend recipe to configure N1SDP specifics
- Enable UEFI EDK2 firmware build for N1SDP.
- Update machine conf to add dependency
  for EDK2 firmware components

Change-Id: I89d41c176f31bce6f1df7f3b3a7cd624b46c05e1
Issue-Id: PLATFORMS-3134
Signed-off-by: Khasim Syed Mohammed <khasim.mohammed@arm.com>
Reviewed-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Khasim Mohammed
2020-06-10 17:08:41 +01:00
committed by Jon Mason
parent 7df67747d5
commit d7487f96d9
3 changed files with 29 additions and 0 deletions
+3
View File
@@ -27,3 +27,6 @@ PREFERRED_PROVIDER_virtual/trusted-firmware-a ?= "trusted-firmware-a"
PREFERRED_VERSION_trusted-firmware-a ?= "2.2%"
EXTRA_IMAGEDEPENDS += "virtual/trusted-firmware-a"
#UEFI EDK2 firmware
EXTRA_IMAGEDEPENDS += "virtual/uefi-firmware"
@@ -0,0 +1,19 @@
SRC_URI = "\
git://git.linaro.org/landing-teams/working/arm/edk2.git;name=edk2;destsuffix=${S}/edk2;nobranch=1 \
git://git.linaro.org/landing-teams/working/arm/edk2-platforms.git;name=edk2-platforms;destsuffix=${S}/edk2/edk2-platforms;nobranch=1 \
"
# TAGS and commit ID as per N1SDP-2020.03.26 release
SRCREV_edk2 = "3ff8a6bffabad761279817252014d59b6069d68a"
SRCREV_edk2-platforms = "b6bfc4417ff13168d69c4cbf2338f62c89c82dfd"
# N1SDP specific EDK2 configurations
EDK2_BUILD_RELEASE = "0"
EDK2_PLATFORM = "n1sdp"
EDK2_PLATFORM_DSC = "N1SdpPkg/N1SdpPlatform.dsc"
EDK2_BIN_NAME = "BL33_AP_UEFI.fd"
EDK2_ARCH = "AARCH64"
COMPATIBLE_MACHINE = "n1sdp"
PV ?= "201908+git${SRCPV}"
@@ -0,0 +1,7 @@
# Include machine specific configurations for UEFI EDK2
MACHINE_EDK2_REQUIRE ?= ""
MACHINE_EDK2_REQUIRE_n1sdp = "edk2-firmware-n1sdp.inc"
require ${MACHINE_EDK2_REQUIRE}