diff options
3 files changed, 2 insertions, 78 deletions
diff --git a/recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0001-km-support-OpenEmbedded-hardfp-toolchain-w-o-gnueabi.patch b/recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0001-km-support-OpenEmbedded-hardfp-toolchain-w-o-gnueabi.patch deleted file mode 100644 index 4f71ea9d..00000000 --- a/recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0001-km-support-OpenEmbedded-hardfp-toolchain-w-o-gnueabi.patch +++ /dev/null | |||
@@ -1,44 +0,0 @@ | |||
1 | From a1c191a020f6eebc9a94b641be1fca7885fc9dd2 Mon Sep 17 00:00:00 2001 | ||
2 | From: Denys Dmytriyenko <denys@ti.com> | ||
3 | Date: Mon, 9 Sep 2019 17:05:48 -0400 | ||
4 | Subject: [PATCH 1/2] km: support OpenEmbedded hardfp toolchain w/o -gnueabihf | ||
5 | suffix | ||
6 | |||
7 | OE toolchains are not having armhf in its name but they still are armhf | ||
8 | ABI, teach this to sgx module build system | ||
9 | |||
10 | recognize musleabi in tuples as well | ||
11 | |||
12 | Add yoe distro support | ||
13 | |||
14 | Upstream-Status: Pending | ||
15 | |||
16 | Signed-off-by: Denys Dmytriyenko <denys@ti.com> | ||
17 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
18 | --- | ||
19 | eurasia_km/eurasiacon/build/linux2/config/compiler.mk | 6 +++--- | ||
20 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
21 | |||
22 | diff --git a/eurasia_km/eurasiacon/build/linux2/config/compiler.mk b/eurasia_km/eurasiacon/build/linux2/config/compiler.mk | ||
23 | index dead2f9..1b5f090 100644 | ||
24 | --- a/eurasia_km/eurasiacon/build/linux2/config/compiler.mk | ||
25 | +++ b/eurasia_km/eurasiacon/build/linux2/config/compiler.mk | ||
26 | @@ -68,12 +68,12 @@ define calculate-compiler-preferred-target | ||
27 | ifneq ($$(filter aarch64-%,$$($(1)_compiler_preferred_target)),) | ||
28 | $(1)_compiler_preferred_target := aarch64-linux-gnu | ||
29 | endif | ||
30 | + ifneq ($$(filter arm-%-gnueabihf arm-oe-linux-gnueabi arm-poky-linux-gnueabi arm-yoe-linux-gnueabi arm-oe-linux-musleabi arm-poky-linux-musleabi arm-yoe-linux-musleabi,$$($(1)_compiler_preferred_target)),) | ||
31 | + $(1)_compiler_preferred_target := arm-linux-gnueabihf | ||
32 | + endif | ||
33 | ifneq ($$(filter arm-%-gnueabi armv7a-cros-linux-gnueabi armv7hl-redhat-linux-gnueabi,$$($(1)_compiler_preferred_target)),) | ||
34 | $(1)_compiler_preferred_target := arm-linux-gnueabi | ||
35 | endif | ||
36 | - ifneq ($$(filter arm-%-gnueabihf,$$($(1)_compiler_preferred_target)),) | ||
37 | - $(1)_compiler_preferred_target := arm-linux-gnueabihf | ||
38 | - endif | ||
39 | endif | ||
40 | endef | ||
41 | |||
42 | -- | ||
43 | 2.34.1 | ||
44 | |||
diff --git a/recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0002-Fix-driver-config-for-5.10-kernel.patch b/recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0002-Fix-driver-config-for-5.10-kernel.patch deleted file mode 100644 index 1f097909..00000000 --- a/recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0002-Fix-driver-config-for-5.10-kernel.patch +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | From 57c3aafacde126786077afa7bfc07ec261acffaf Mon Sep 17 00:00:00 2001 | ||
2 | From: Paul Barker <paul.barker@sancloud.com> | ||
3 | Date: Wed, 27 Oct 2021 10:34:32 +0100 | ||
4 | Subject: [PATCH 2/2] Fix driver config for 5.10 kernel | ||
5 | |||
6 | See https://github.com/openpvrsgx-devgroup/linux_openpvrsgx/issues/3. | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | Ref: BSP-66 | ||
10 | Signed-off-by: Paul Barker <paul.barker@sancloud.com> | ||
11 | --- | ||
12 | eurasia_km/eurasiacon/build/linux2/config/core.mk | 1 + | ||
13 | 1 file changed, 1 insertion(+) | ||
14 | |||
15 | diff --git a/eurasia_km/eurasiacon/build/linux2/config/core.mk b/eurasia_km/eurasiacon/build/linux2/config/core.mk | ||
16 | index 3f27926..18d515a 100644 | ||
17 | --- a/eurasia_km/eurasiacon/build/linux2/config/core.mk | ||
18 | +++ b/eurasia_km/eurasiacon/build/linux2/config/core.mk | ||
19 | @@ -590,6 +590,7 @@ ifneq ($(BUFFERCLASS_MODULE),) | ||
20 | $(eval $(call BothConfigMake,BUFFERCLASS_MODULE,$(BUFFERCLASS_MODULE))) | ||
21 | endif | ||
22 | |||
23 | +PVR_LINUX_MEM_AREA_USE_VMAP = 1 | ||
24 | ifneq ($(strip $(KERNELDIR)),) | ||
25 | PVR_LINUX_MEM_AREA_POOL_MAX_PAGES ?= 0 | ||
26 | ifneq ($(PVR_LINUX_MEM_AREA_POOL_MAX_PAGES),0) | ||
27 | -- | ||
28 | 2.34.1 | ||
29 | |||
diff --git a/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb b/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb index e6247e08..5657408f 100644 --- a/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb +++ b/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb | |||
@@ -20,14 +20,11 @@ PROVIDES = "virtual/gpudriver" | |||
20 | 20 | ||
21 | BRANCH = "ti-img-sgx/${PV}/k5.10" | 21 | BRANCH = "ti-img-sgx/${PV}/k5.10" |
22 | 22 | ||
23 | SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch=${BRANCH} \ | 23 | SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch=${BRANCH}" |
24 | file://0001-km-support-OpenEmbedded-hardfp-toolchain-w-o-gnueabi.patch \ | ||
25 | file://0002-Fix-driver-config-for-5.10-kernel.patch \ | ||
26 | " | ||
27 | 24 | ||
28 | S = "${WORKDIR}/git" | 25 | S = "${WORKDIR}/git" |
29 | 26 | ||
30 | SRCREV = "62f31de3ceed156bff32abb3dd03693a02df117e" | 27 | SRCREV = "eda7780bfd5277e16913c9bc0b0e6892b4e79063" |
31 | 28 | ||
32 | TARGET_PRODUCT:omap-a15 = "jacinto6evm" | 29 | TARGET_PRODUCT:omap-a15 = "jacinto6evm" |
33 | TARGET_PRODUCT:ti33x = "ti335x" | 30 | TARGET_PRODUCT:ti33x = "ti335x" |