Skip to contentSkip to conversation

ti-sgx-ddk-km: update srcrev to pick latest

PATCH In review praneeth 2 participants 3 messages Jan 7, 2022 – Jan 13, 2022

lore
Share & tools
lore

praneeth

author
#0 lore raw

PATCH 1/1 ti-sgx-ddk-km: update srcrev to pick latest

From: Praneeth Bajjuri <[email protected]>

Update the srcrev to pick the latest of ti-img-sgx/1.17.4948957/k5.10.

commit eaa9fcd3acff ("km: support OpenEmbedded hardfp toolchain w/o -gnueabihf suffix") is not picked up on the sdk-ddk-km repo already, hence removing the patch from here.

commit eda7780bfd52 ("Fix driver config for 5.10 kernel") fixes graphics init failures on sgx platforms

---
 ...mbedded-hardfp-toolchain-w-o-gnueabi.patch | 34 -------------------
 .../ti-sgx-ddk-km_1.17.4948957.bb             |  8 ++---
 2 files changed, 3 insertions(+), 39 deletions(-)
 delete mode 100644 recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0001-km-support-OpenEmbedded-hardfp-toolchain-w-o-gnueabi.patch
recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0001-km-support-OpenEmbedded-hardfp-toolchain-w-o-gnueabi.patch deleted +0 -34
deleted file mode 100644
index 15105eac..00000000
@@ -1,34 +0,0 @@
-From 755632b4f3a40996a12bc7816a9839af7112040a Mon Sep 17 00:00:00 2001
-From: Denys Dmytriyenko <[email protected]>
-Date: Mon, 9 Sep 2019 17:05:48 -0400
-Subject: [PATCH] km: support OpenEmbedded hardfp toolchain w/o -gnueabihf
- suffix
-
-Signed-off-by: Denys Dmytriyenko <[email protected]>
----
- eurasia_km/eurasiacon/build/linux2/config/compiler.mk | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/eurasia_km/eurasiacon/build/linux2/config/compiler.mk b/eurasia_km/eurasiacon/build/linux2/config/compiler.mk
-index dead2f9..2ba3e5e 100644
---- a/eurasia_km/eurasiacon/build/linux2/config/compiler.mk
-+++ b/eurasia_km/eurasiacon/build/linux2/config/compiler.mk
-@@ -68,12 +68,12 @@ define calculate-compiler-preferred-target
-   ifneq ($$(filter aarch64-%,$$($(1)_compiler_preferred_target)),)
-    $(1)_compiler_preferred_target := aarch64-linux-gnu
-   endif
-+  ifneq ($$(filter arm-%-gnueabihf arm-oe-linux-gnueabi arm-poky-linux-gnueabi,$$($(1)_compiler_preferred_target)),)
-+   $(1)_compiler_preferred_target := arm-linux-gnueabihf
-+  endif
-   ifneq ($$(filter arm-%-gnueabi armv7a-cros-linux-gnueabi armv7hl-redhat-linux-gnueabi,$$($(1)_compiler_preferred_target)),)
-    $(1)_compiler_preferred_target := arm-linux-gnueabi
-   endif
--  ifneq ($$(filter arm-%-gnueabihf,$$($(1)_compiler_preferred_target)),)
--   $(1)_compiler_preferred_target := arm-linux-gnueabihf
--  endif
-  endif
- endef
- 
--- 
-2.7.4
-
recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb +3 -5
index e21ccc7f..a1b0765c 100644
@@ -9,7 +9,7 @@ REQUIRED_MACHINE_FEATURES = "gpu"
 
 COMPATIBLE_MACHINE = "pandaboard|beagleboard|ti33x|ti43x|omap-a15|k3"
 
-MACHINE_KERNEL_PR_append = "x"
+MACHINE_KERNEL_PR_append = "y"
 PR = "${MACHINE_KERNEL_PR}"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -20,13 +20,11 @@ PROVIDES = "virtual/gpudriver"
 
 BRANCH = "ti-img-sgx/${PV}/k5.10"
 
-SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch=${BRANCH} \
-    file://0001-km-support-OpenEmbedded-hardfp-toolchain-w-o-gnueabi.patch \
-"
+SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch=${BRANCH}"
 
 S = "${WORKDIR}/git"
 
-SRCREV = "62f31de3ceed156bff32abb3dd03693a02df117e"
+SRCREV = "eda7780bfd5277e16913c9bc0b0e6892b4e79063"
 
 TARGET_PRODUCT_omap-a15 = "jacinto6evm"
 TARGET_PRODUCT_ti33x = "ti335x"
Signature · 1 line
2.17.1
#1 lore raw

Is this a duplicate?
https://lists.yoctoproject.org/g/meta-ti/topic/master_patch/87869018

Quoted 89 lines · On Fri, Jan 07, 2022 at 05:56:08PM -0600, [email protected] wrote:

From: Praneeth Bajjuri <[email protected]>

Update the srcrev to pick the latest of ti-img-sgx/1.17.4948957/k5.10.

commit eaa9fcd3acff ("km: support OpenEmbedded hardfp toolchain w/o -gnueabihf suffix") is not picked up on the sdk-ddk-km repo already, hence removing the patch from here.

commit eda7780bfd52 ("Fix driver config for 5.10 kernel") fixes graphics init failures on sgx platforms

---
 ...mbedded-hardfp-toolchain-w-o-gnueabi.patch | 34 -------------------
 .../ti-sgx-ddk-km_1.17.4948957.bb             |  8 ++---
 2 files changed, 3 insertions(+), 39 deletions(-)
 delete mode 100644 recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0001-km-support-OpenEmbedded-hardfp-toolchain-w-o-gnueabi.patch
recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0001-km-support-OpenEmbedded-hardfp-toolchain-w-o-gnueabi.patch deleted +0 -34
deleted file mode 100644
index 15105eac..00000000
@@ -1,34 +0,0 @@
-From 755632b4f3a40996a12bc7816a9839af7112040a Mon Sep 17 00:00:00 2001
-From: Denys Dmytriyenko <[email protected]>
-Date: Mon, 9 Sep 2019 17:05:48 -0400
-Subject: [PATCH] km: support OpenEmbedded hardfp toolchain w/o -gnueabihf
- suffix
-
-Signed-off-by: Denys Dmytriyenko <[email protected]>
----
- eurasia_km/eurasiacon/build/linux2/config/compiler.mk | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/eurasia_km/eurasiacon/build/linux2/config/compiler.mk b/eurasia_km/eurasiacon/build/linux2/config/compiler.mk
-index dead2f9..2ba3e5e 100644
---- a/eurasia_km/eurasiacon/build/linux2/config/compiler.mk
-+++ b/eurasia_km/eurasiacon/build/linux2/config/compiler.mk
-@@ -68,12 +68,12 @@ define calculate-compiler-preferred-target
-   ifneq ($$(filter aarch64-%,$$($(1)_compiler_preferred_target)),)
-    $(1)_compiler_preferred_target := aarch64-linux-gnu
-   endif
-+  ifneq ($$(filter arm-%-gnueabihf arm-oe-linux-gnueabi arm-poky-linux-gnueabi,$$($(1)_compiler_preferred_target)),)
-+   $(1)_compiler_preferred_target := arm-linux-gnueabihf
-+  endif
-   ifneq ($$(filter arm-%-gnueabi armv7a-cros-linux-gnueabi armv7hl-redhat-linux-gnueabi,$$($(1)_compiler_preferred_target)),)
-    $(1)_compiler_preferred_target := arm-linux-gnueabi
-   endif
--  ifneq ($$(filter arm-%-gnueabihf,$$($(1)_compiler_preferred_target)),)
--   $(1)_compiler_preferred_target := arm-linux-gnueabihf
--  endif
-  endif
- endef
- 
--- 
-2.7.4
-
recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb +3 -5
index e21ccc7f..a1b0765c 100644
@@ -9,7 +9,7 @@ REQUIRED_MACHINE_FEATURES = "gpu"
 
 COMPATIBLE_MACHINE = "pandaboard|beagleboard|ti33x|ti43x|omap-a15|k3"
 
-MACHINE_KERNEL_PR_append = "x"
+MACHINE_KERNEL_PR_append = "y"
 PR = "${MACHINE_KERNEL_PR}"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -20,13 +20,11 @@ PROVIDES = "virtual/gpudriver"
 
 BRANCH = "ti-img-sgx/${PV}/k5.10"
 
-SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch=${BRANCH} \
-    file://0001-km-support-OpenEmbedded-hardfp-toolchain-w-o-gnueabi.patch \
-"
+SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch=${BRANCH}"
 
 S = "${WORKDIR}/git"
 
-SRCREV = "62f31de3ceed156bff32abb3dd03693a02df117e"
+SRCREV = "eda7780bfd5277e16913c9bc0b0e6892b4e79063"
 
 TARGET_PRODUCT_omap-a15 = "jacinto6evm"
 TARGET_PRODUCT_ti33x = "ti335x"
Signature · 1 line
2.17.1
Signature · 4 lines
Regards,
Denys Dmytriyenko <[email protected]>
PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964
Fingerprint: 25FC E4A5 8A72 2F69 1186  6D76 4209 0272 9A92 C964
author
#2 lore raw
Quoted 2 lines · Denys Dmytriyenko

Is this a duplicate?
https://lists.yoctoproject.org/g/meta-ti/topic/master_patch/87869018

Its a similar patch for dunfell branch.

dunfell had only *OpenEmbedded-hardfp-toolchain-w-o-gnueabi.patch instead of 2 patches on master.

hence made a updated one for dunfell.

Quoted 93 lines · On Fri, Jan 07, 2022 at 05:56:08PM -0600, [email protected] wrote:
Quoted 89 lines

From: Praneeth Bajjuri <[email protected]>

Update the srcrev to pick the latest of ti-img-sgx/1.17.4948957/k5.10.

commit eaa9fcd3acff ("km: support OpenEmbedded hardfp toolchain w/o -gnueabihf suffix") is not picked up on the sdk-ddk-km repo already, hence removing the patch from here.

commit eda7780bfd52 ("Fix driver config for 5.10 kernel") fixes graphics init failures on sgx platforms

---
  ...mbedded-hardfp-toolchain-w-o-gnueabi.patch | 34 -------------------
  .../ti-sgx-ddk-km_1.17.4948957.bb             |  8 ++---
  2 files changed, 3 insertions(+), 39 deletions(-)

delete mode 100644 recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0001-km-support-OpenEmbedded-hardfp-toolchain-w-o-gnueabi.patch

recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0001-km-support-OpenEmbedded-hardfp-toolchain-w-o-gnueabi.patch deleted +0 -34
deleted file mode 100644
index 15105eac..00000000
@@ -1,34 +0,0 @@
-From 755632b4f3a40996a12bc7816a9839af7112040a Mon Sep 17 00:00:00 2001
-From: Denys Dmytriyenko <[email protected]>
-Date: Mon, 9 Sep 2019 17:05:48 -0400
-Subject: [PATCH] km: support OpenEmbedded hardfp toolchain w/o -gnueabihf
- suffix
-
-Signed-off-by: Denys Dmytriyenko <[email protected]>
----
- eurasia_km/eurasiacon/build/linux2/config/compiler.mk | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/eurasia_km/eurasiacon/build/linux2/config/compiler.mk b/eurasia_km/eurasiacon/build/linux2/config/compiler.mk
-index dead2f9..2ba3e5e 100644
---- a/eurasia_km/eurasiacon/build/linux2/config/compiler.mk
-+++ b/eurasia_km/eurasiacon/build/linux2/config/compiler.mk
-@@ -68,12 +68,12 @@ define calculate-compiler-preferred-target
-   ifneq ($$(filter aarch64-%,$$($(1)_compiler_preferred_target)),)
-    $(1)_compiler_preferred_target := aarch64-linux-gnu
-   endif
-+  ifneq ($$(filter arm-%-gnueabihf arm-oe-linux-gnueabi arm-poky-linux-gnueabi,$$($(1)_compiler_preferred_target)),)
-+   $(1)_compiler_preferred_target := arm-linux-gnueabihf
-+  endif
-   ifneq ($$(filter arm-%-gnueabi armv7a-cros-linux-gnueabi armv7hl-redhat-linux-gnueabi,$$($(1)_compiler_preferred_target)),)
-    $(1)_compiler_preferred_target := arm-linux-gnueabi
-   endif
--  ifneq ($$(filter arm-%-gnueabihf,$$($(1)_compiler_preferred_target)),)
--   $(1)_compiler_preferred_target := arm-linux-gnueabihf
--  endif
-  endif
- endef
-
---
-2.7.4
-
recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb +3 -5
index e21ccc7f..a1b0765c 100644
@@ -9,7 +9,7 @@ REQUIRED_MACHINE_FEATURES = "gpu"
 
  COMPATIBLE_MACHINE = "pandaboard|beagleboard|ti33x|ti43x|omap-a15|k3"
 
-MACHINE_KERNEL_PR_append = "x"
+MACHINE_KERNEL_PR_append = "y"
  PR = "${MACHINE_KERNEL_PR}"
 
  PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -20,13 +20,11 @@ PROVIDES = "virtual/gpudriver"
 
  BRANCH = "ti-img-sgx/${PV}/k5.10"
 
-SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch=${BRANCH} \
-    file://0001-km-support-OpenEmbedded-hardfp-toolchain-w-o-gnueabi.patch \
-"
+SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch=${BRANCH}"
 
  S = "${WORKDIR}/git"
 
-SRCREV = "62f31de3ceed156bff32abb3dd03693a02df117e"
+SRCREV = "eda7780bfd5277e16913c9bc0b0e6892b4e79063"
 
  TARGET_PRODUCT_omap-a15 = "jacinto6evm"
  TARGET_PRODUCT_ti33x = "ti335x"
Signature · 1 line
2.17.1