meta-arm.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] arm/edk2-firmware: upgrade to 202105
@ 2021-10-15 16:34 Jon Mason
  2021-10-15 16:34 ` [PATCH 2/2] arm-bsp/n1sdp: remove explicit preferred edk2-firmware version Jon Mason
  0 siblings, 1 reply; 2+ messages in thread
From: Jon Mason @ 2021-10-15 16:34 UTC (permalink / raw)
  To: meta-arm; +Cc: Ross Burton

From: Ross Burton <ross.burton@arm.com>

Change-Id: I3ea527d820f410a774ff5494c9a02c434913f550
Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 ...re_202102.bbappend => edk2-firmware_%.bbappend} |  0
 .../n1sdp/Configuration-Manager-for-N1SDP.patch    |  8 ++++----
 meta-arm/recipes-bsp/uefi/edk2-firmware_202102.bb  |  4 ----
 meta-arm/recipes-bsp/uefi/edk2-firmware_202105.bb  |  4 ++++
 meta-arm/recipes-bsp/uefi/sbsa-acs/shell.patch     | 14 +++-----------
 meta-arm/recipes-bsp/uefi/sbsa-acs_3.0.bb          |  2 +-
 6 files changed, 12 insertions(+), 20 deletions(-)
 rename meta-arm-bsp/recipes-bsp/uefi/{edk2-firmware_202102.bbappend => edk2-firmware_%.bbappend} (100%)
 delete mode 100644 meta-arm/recipes-bsp/uefi/edk2-firmware_202102.bb
 create mode 100644 meta-arm/recipes-bsp/uefi/edk2-firmware_202105.bb

diff --git a/meta-arm-bsp/recipes-bsp/uefi/edk2-firmware_202102.bbappend b/meta-arm-bsp/recipes-bsp/uefi/edk2-firmware_%.bbappend
similarity index 100%
rename from meta-arm-bsp/recipes-bsp/uefi/edk2-firmware_202102.bbappend
rename to meta-arm-bsp/recipes-bsp/uefi/edk2-firmware_%.bbappend
diff --git a/meta-arm-bsp/recipes-bsp/uefi/files/n1sdp/Configuration-Manager-for-N1SDP.patch b/meta-arm-bsp/recipes-bsp/uefi/files/n1sdp/Configuration-Manager-for-N1SDP.patch
index c5bc9a0..d74371e 100644
--- a/meta-arm-bsp/recipes-bsp/uefi/files/n1sdp/Configuration-Manager-for-N1SDP.patch
+++ b/meta-arm-bsp/recipes-bsp/uefi/files/n1sdp/Configuration-Manager-for-N1SDP.patch
@@ -4043,16 +4043,16 @@ diff --git a/Platform/ARM/N1Sdp/N1SdpPlatform.dsc b/Platform/ARM/N1Sdp/N1SdpPlat
 index 1b46eb2734..b59a563806 100644
 --- a/Platform/ARM/N1Sdp/N1SdpPlatform.dsc
 +++ b/Platform/ARM/N1Sdp/N1SdpPlatform.dsc
-@@ -22,6 +22,8 @@
-   BUILD_NUMBER                   = 1
+@@ -23,6 +23,8 @@
  
  !include Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc
+ !include MdePkg/MdeLibs.dsc.inc
 +!include DynamicTablesPkg/DynamicTables.dsc.inc
 +!include Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManager.dsc.inc
  
  [LibraryClasses.common]
    ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
-@@ -152,6 +154,9 @@
+@@ -153,6 +155,9 @@
    gArmPlatformTokenSpaceGuid.PcdCoreCount|2
    gArmPlatformTokenSpaceGuid.PcdClusterCount|2
  
@@ -4062,7 +4062,7 @@ index 1b46eb2734..b59a563806 100644
    # Runtime Variable storage
    gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
    gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvModeEnable|TRUE
-@@ -211,6 +216,10 @@
+@@ -212,6 +217,10 @@
        BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
    }
  
diff --git a/meta-arm/recipes-bsp/uefi/edk2-firmware_202102.bb b/meta-arm/recipes-bsp/uefi/edk2-firmware_202102.bb
deleted file mode 100644
index 1352922..0000000
--- a/meta-arm/recipes-bsp/uefi/edk2-firmware_202102.bb
+++ /dev/null
@@ -1,4 +0,0 @@
-SRCREV_edk2           ?= "ef91b07388e1c0a50c604e5350eeda98428ccea6"
-SRCREV_edk2-platforms ?= "2620e05c6fade20ef5e1ba69280d09f9e2b3eff6"
-
-require edk2-firmware.inc
diff --git a/meta-arm/recipes-bsp/uefi/edk2-firmware_202105.bb b/meta-arm/recipes-bsp/uefi/edk2-firmware_202105.bb
new file mode 100644
index 0000000..e3c3d9f
--- /dev/null
+++ b/meta-arm/recipes-bsp/uefi/edk2-firmware_202105.bb
@@ -0,0 +1,4 @@
+SRCREV_edk2           ?= "e1999b264f1f9d7230edf2448f757c73da567832"
+SRCREV_edk2-platforms ?= "86984c17d562fc60a6dabbc3a479d79163656a0c"
+
+require edk2-firmware.inc
diff --git a/meta-arm/recipes-bsp/uefi/sbsa-acs/shell.patch b/meta-arm/recipes-bsp/uefi/sbsa-acs/shell.patch
index 0cbbb47..2f56547 100644
--- a/meta-arm/recipes-bsp/uefi/sbsa-acs/shell.patch
+++ b/meta-arm/recipes-bsp/uefi/sbsa-acs/shell.patch
@@ -7,20 +7,12 @@ diff --git a/ShellPkg/ShellPkg.dsc b/ShellPkg/ShellPkg.dsc
 index c42bc9464a..ea21f07a31 100644
 --- a/ShellPkg/ShellPkg.dsc
 +++ b/ShellPkg/ShellPkg.dsc
-@@ -20,6 +20,8 @@
-   SKUID_IDENTIFIER               = DEFAULT
- 
+@@ -24,2 +24,4 @@
  [LibraryClasses.common]
 +  SbsaValLib|ShellPkg/Application/sbsa-acs/val/SbsaValLib.inf
 +  SbsaPalLib|ShellPkg/Application/sbsa-acs/platform/pal_uefi/SbsaPalLib.inf
    UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
-   UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
-   UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
-@@ -83,6 +85,7 @@
-   # Build all the libraries when building this package.
-   # This helps developers test changes and how they affect the package.
+@@ -88,2 +90,3 @@
    #
-+  ShellPkg/Application/sbsa-acs/uefi_app/SbsaAvs.inf 
++  ShellPkg/Application/sbsa-acs/uefi_app/SbsaAvs.inf
    ShellPkg/Library/UefiShellLib/UefiShellLib.inf
-   ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.inf
-   ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
diff --git a/meta-arm/recipes-bsp/uefi/sbsa-acs_3.0.bb b/meta-arm/recipes-bsp/uefi/sbsa-acs_3.0.bb
index 14f6606..fa7f6d7 100644
--- a/meta-arm/recipes-bsp/uefi/sbsa-acs_3.0.bb
+++ b/meta-arm/recipes-bsp/uefi/sbsa-acs_3.0.bb
@@ -1,4 +1,4 @@
-require recipes-bsp/uefi/edk2-firmware_202102.bb
+require recipes-bsp/uefi/edk2-firmware_202105.bb
 
 PROVIDES:remove = "virtual/uefi-firmware"
 
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH 2/2] arm-bsp/n1sdp: remove explicit preferred edk2-firmware version
  2021-10-15 16:34 [PATCH 1/2] arm/edk2-firmware: upgrade to 202105 Jon Mason
@ 2021-10-15 16:34 ` Jon Mason
  0 siblings, 0 replies; 2+ messages in thread
From: Jon Mason @ 2021-10-15 16:34 UTC (permalink / raw)
  To: meta-arm; +Cc: Ross Burton

From: Ross Burton <ross.burton@arm.com>

Whilst we have just one version of edk2-firmware, there is no reason to
select a preferred version.

Change-Id: I816de3b7dbcfc543307c792bcd16a5d69f5f4f2d
Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta-arm-bsp/conf/machine/n1sdp.conf | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta-arm-bsp/conf/machine/n1sdp.conf b/meta-arm-bsp/conf/machine/n1sdp.conf
index 7e265ba..288d760 100644
--- a/meta-arm-bsp/conf/machine/n1sdp.conf
+++ b/meta-arm-bsp/conf/machine/n1sdp.conf
@@ -32,7 +32,6 @@ EXTRA_IMAGEDEPENDS += "virtual/control-processor-firmware"
 
 #UEFI EDK2 firmware
 EXTRA_IMAGEDEPENDS += "virtual/uefi-firmware"
-PREFERRED_VERSION_edk2-firmware ?= "202102%"
 
 #grub-efi
 EFI_PROVIDER ?= "grub-efi"
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-26 14:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-15 16:34 [PATCH 1/2] arm/edk2-firmware: upgrade to 202105 Jon Mason
2021-10-15 16:34 ` [PATCH 2/2] arm-bsp/n1sdp: remove explicit preferred edk2-firmware version Jon Mason

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).