mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-05-07 04:58:57 +00:00
arm: new recipes for EDK2
Rework the EDK2 recipes to allow for multiple versions, and create a recipe for the latest version. This will allow for BSPs using the older version to continue to function while waiting to be upgraded. Also, rework the n1sdp recipe to use the 201911 recipe, but overwrite everything with its unique git trees. Change-Id: I96869191bcf896ea17304d2ccf93da58605c72a1 Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
@@ -33,6 +33,7 @@ PREFERRED_VERSION_scp-firmware ?= "2.7%"
|
||||
|
||||
#UEFI EDK2 firmware
|
||||
EXTRA_IMAGEDEPENDS += "virtual/uefi-firmware"
|
||||
PREFERRED_VERSION_edk2-firmware ?= "201911%"
|
||||
|
||||
#grub-efi
|
||||
EFI_PROVIDER ?= "grub-efi"
|
||||
|
||||
@@ -1,12 +1,7 @@
|
||||
EDK2_SRC_URI = "git://git.linaro.org/landing-teams/working/arm/edk2.git"
|
||||
EDK2_PLATFORMS_SRC_URI = "git://git.linaro.org/landing-teams/working/arm/edk2-platforms.git"
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
||||
|
||||
SRC_URI += "file://initialise.patch"
|
||||
|
||||
# TAGS and commit ID as per N1SDP-2020.03.26 release
|
||||
SRCREV_edk2 = "3ff8a6bffabad761279817252014d59b6069d68a"
|
||||
SRCREV_edk2-platforms = "d9d32e6c8b7456d21ce365486ac563b6be36c20d"
|
||||
|
||||
# N1SDP specific EDK2 configurations
|
||||
EDK2_BUILD_RELEASE = "0"
|
||||
EDK2_PLATFORM = "n1sdp"
|
||||
@@ -16,8 +11,6 @@ EDK2_ARCH = "AARCH64"
|
||||
|
||||
COMPATIBLE_MACHINE = "n1sdp"
|
||||
|
||||
PV = "201908+git${SRCPV}"
|
||||
|
||||
# UEFI EDK2 on N1SDP is unable to detect FS2 during boot resulting in launching of
|
||||
# EDK2 shell instead of launching grub. The startup.nsh will force launching of grub
|
||||
EFIDIR = "/EFI/BOOT"
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
EDK2_SRC_URI = "git://git.linaro.org/landing-teams/working/arm/edk2.git"
|
||||
EDK2_PLATFORMS_SRC_URI = "git://git.linaro.org/landing-teams/working/arm/edk2-platforms.git"
|
||||
|
||||
# TAGS and commit ID as per N1SDP-2020.03.26 release
|
||||
SRCREV_edk2 = "3ff8a6bffabad761279817252014d59b6069d68a"
|
||||
SRCREV_edk2-platforms = "d9d32e6c8b7456d21ce365486ac563b6be36c20d"
|
||||
|
||||
require edk2-firmware-n1sdp.inc
|
||||
@@ -0,0 +1,7 @@
|
||||
# Include machine specific configurations for UEFI EDK2
|
||||
|
||||
MACHINE_EDK2_REQUIRE ?= ""
|
||||
|
||||
MACHINE_EDK2_REQUIRE_sgi575 = "edk2-firmware-sgi575.inc"
|
||||
|
||||
require ${MACHINE_EDK2_REQUIRE}
|
||||
-4
@@ -1,11 +1,7 @@
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
||||
|
||||
# Include machine specific configurations for UEFI EDK2
|
||||
|
||||
MACHINE_EDK2_REQUIRE ?= ""
|
||||
|
||||
MACHINE_EDK2_REQUIRE_n1sdp = "edk2-firmware-n1sdp.inc"
|
||||
MACHINE_EDK2_REQUIRE_sgi575 = "edk2-firmware-sgi575.inc"
|
||||
MACHINE_EDK2_REQUIRE_fvp-base = "edk2-firmware-fvp-base.inc"
|
||||
|
||||
require ${MACHINE_EDK2_REQUIRE}
|
||||
-3
@@ -20,9 +20,6 @@ SRC_URI = "\
|
||||
${EDK2_PLATFORMS_SRC_URI};name=edk2-platforms;destsuffix=edk2/edk2-platforms;nobranch=1 \
|
||||
"
|
||||
|
||||
PV = "202008+git${SRCPV}"
|
||||
SRCREV_edk2 ?= "06dc822d045c2bb42e497487935485302486e151"
|
||||
SRCREV_edk2-platforms ?= "7aab81a35aef7b295e73d7d6dfd528cc812790ed"
|
||||
SRCREV_FORMAT = "edk2_edk2-platforms"
|
||||
|
||||
EDK2_BUILD_RELEASE ?= "1"
|
||||
@@ -0,0 +1,5 @@
|
||||
SRCREV_edk2 ?= "bd85bf54c268204c7a698a96f3ccd96cd77952cd"
|
||||
SRCREV_edk2-platforms ?= "46df7b29afeb846ee664e48949f9c8161abf1f2f"
|
||||
|
||||
require edk2-firmware.inc
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
SRCREV_edk2 ?= "06dc822d045c2bb42e497487935485302486e151"
|
||||
SRCREV_edk2-platforms ?= "7aab81a35aef7b295e73d7d6dfd528cc812790ed"
|
||||
|
||||
require edk2-firmware.inc
|
||||
@@ -0,0 +1,4 @@
|
||||
SRCREV_edk2 ?= "872f953262d68a11da7bc2fb3ded16df234b8700"
|
||||
SRCREV_edk2-platforms ?= "46df7b29afeb846ee664e48949f9c8161abf1f2f"
|
||||
|
||||
require edk2-firmware.inc
|
||||
Reference in New Issue
Block a user