ti-sgx-ddk-km: Fix build with kernel 5.10 and musl support
PATCH v2 1/1 ti-sgx-ddk-km: Fix build with kernel 5.10 and musl support
This adds a patch to fix runtime problems loading the kernel module with kernel 5.10
Adds support to build with musl targets
Add yoe to recognised OE distributions
---
v2: Add upstream status to patches
...mbedded-hardfp-toolchain-w-o-gnueabi.patch | 20 +++++++++---- ...02-Fix-driver-config-for-5.10-kernel.patch | 29 +++++++++++++++++++ .../ti-sgx-ddk-km_1.17.4948957.bb | 1 + .../libgles/ti-sgx-ddk-um_1.17.4948957.bb | 1 + 4 files changed, 46 insertions(+), 5 deletions(-) create mode 100644 recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0002-Fix-driver-config-for-5.10-kernel.patch
recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0001-km-support-OpenEmbedded-hardfp-toolchain-w-o-gnueabi.patch +15 -5
@@ -1,23 +1,33 @@ -From 755632b4f3a40996a12bc7816a9839af7112040a Mon Sep 17 00:00:00 2001 +From a1c191a020f6eebc9a94b641be1fca7885fc9dd2 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 +Subject: [PATCH 1/2] km: support OpenEmbedded hardfp toolchain w/o -gnueabihf suffix +OE toolchains are not having armhf in its name but they still are armhf +ABI, teach this to sgx module build system + +recognize musleabi in tuples as well + +Add yoe distro support + +Upstream-Status: Pending + Signed-off-by: Denys Dmytriyenko <[email protected]> +Signed-off-by: Khem Raj <[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 +index dead2f9..1b5f090 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)),) ++ 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)),) + $(1)_compiler_preferred_target := arm-linux-gnueabihf + endif ifneq ($$(filter arm-%-gnueabi armv7a-cros-linux-gnueabi armv7hl-redhat-linux-gnueabi,$$($(1)_compiler_preferred_target)),)
@@ -30,5 +40,5 @@ index dead2f9..2ba3e5e 100644 endef -- -2.7.4 +2.34.1
recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0002-Fix-driver-config-for-5.10-kernel.patch new file +29 -0
@@ -0,0 +1,29 @@ +From 57c3aafacde126786077afa7bfc07ec261acffaf Mon Sep 17 00:00:00 2001 +From: Paul Barker <[email protected]> +Date: Wed, 27 Oct 2021 10:34:32 +0100 +Subject: [PATCH 2/2] Fix driver config for 5.10 kernel + +See https://github.com/openpvrsgx-devgroup/linux_openpvrsgx/issues/3. + +Upstream-Status: Pending +Ref: BSP-66 +Signed-off-by: Paul Barker <[email protected]> +--- + eurasia_km/eurasiacon/build/linux2/config/core.mk | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/eurasia_km/eurasiacon/build/linux2/config/core.mk b/eurasia_km/eurasiacon/build/linux2/config/core.mk +index 3f27926..18d515a 100644 +--- a/eurasia_km/eurasiacon/build/linux2/config/core.mk ++++ b/eurasia_km/eurasiacon/build/linux2/config/core.mk +@@ -590,6 +590,7 @@ ifneq ($(BUFFERCLASS_MODULE),) + $(eval $(call BothConfigMake,BUFFERCLASS_MODULE,$(BUFFERCLASS_MODULE))) + endif + ++PVR_LINUX_MEM_AREA_USE_VMAP = 1 + ifneq ($(strip $(KERNELDIR)),) + PVR_LINUX_MEM_AREA_POOL_MAX_PAGES ?= 0 + ifneq ($(PVR_LINUX_MEM_AREA_POOL_MAX_PAGES),0) +-- +2.34.1 +
recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb +1 -0
@@ -22,6 +22,7 @@ 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 \ + file://0002-Fix-driver-config-for-5.10-kernel.patch \ " S = "${WORKDIR}/git"
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +1 -0
@@ -32,6 +32,7 @@ inherit update-rc.d PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 virtual/libgbm" DEPENDS += "libdrm udev wayland wayland-protocols libffi expat" +DEPENDS:append:libc-musl = " gcompat" RDEPENDS:${PN} += "libdrm libdrm-omap udev wayland wayland-protocols libffi expat" RPROVIDES:${PN} = "libegl libgles1 libgles2 libgbm"
Signature · 1 line
2.34.1
Quoted 9 lines · Khem Raj
This adds a patch to fix runtime problems loading the kernel module with kernel 5.10
Adds support to build with musl targets
Add yoe to recognised OE distributions
Signed-off-by Khem Raj <[email protected]>Cc Denys Dmytriyenko <[email protected]>
Quoted 2 lines
---
v2: Add upstream status to patches
Thanks! Although I wonder if the first patch should be treated as "Inappropriate [OE-specific]", as it was there for few years already and does actually add support for OE-specific toolchains...
Quoted 118 lines
...mbedded-hardfp-toolchain-w-o-gnueabi.patch | 20 +++++++++---- ...02-Fix-driver-config-for-5.10-kernel.patch | 29 +++++++++++++++++++ .../ti-sgx-ddk-km_1.17.4948957.bb | 1 + .../libgles/ti-sgx-ddk-um_1.17.4948957.bb | 1 + 4 files changed, 46 insertions(+), 5 deletions(-) create mode 100644 recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0002-Fix-driver-config-for-5.10-kernel.patchrecipes-bsp/powervr-drivers/ti-sgx-ddk-km/0001-km-support-OpenEmbedded-hardfp-toolchain-w-o-gnueabi.patch +15
-5@@ -1,23 +1,33 @@ -From 755632b4f3a40996a12bc7816a9839af7112040a Mon Sep 17 00:00:00 2001 +From a1c191a020f6eebc9a94b641be1fca7885fc9dd2 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 +Subject: [PATCH 1/2] km: support OpenEmbedded hardfp toolchain w/o -gnueabihf suffix +OE toolchains are not having armhf in its name but they still are armhf +ABI, teach this to sgx module build system + +recognize musleabi in tuples as well + +Add yoe distro support + +Upstream-Status: Pending + Signed-off-by: Denys Dmytriyenko <[email protected]> +Signed-off-by: Khem Raj <[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 +index dead2f9..1b5f090 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)),) ++ 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)),) + $(1)_compiler_preferred_target := arm-linux-gnueabihf + endif ifneq ($$(filter arm-%-gnueabi armv7a-cros-linux-gnueabi armv7hl-redhat-linux-gnueabi,$$($(1)_compiler_preferred_target)),)@@ -30,5 +40,5 @@ index dead2f9..2ba3e5e 100644 endef -- -2.7.4 +2.34.1recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0002-Fix-driver-config-for-5.10-kernel.patch new file +29
-0@@ -0,0 +1,29 @@ +From 57c3aafacde126786077afa7bfc07ec261acffaf Mon Sep 17 00:00:00 2001 +From: Paul Barker <[email protected]> +Date: Wed, 27 Oct 2021 10:34:32 +0100 +Subject: [PATCH 2/2] Fix driver config for 5.10 kernel + +See https://github.com/openpvrsgx-devgroup/linux_openpvrsgx/issues/3. + +Upstream-Status: Pending +Ref: BSP-66 +Signed-off-by: Paul Barker <[email protected]> +--- + eurasia_km/eurasiacon/build/linux2/config/core.mk | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/eurasia_km/eurasiacon/build/linux2/config/core.mk b/eurasia_km/eurasiacon/build/linux2/config/core.mk +index 3f27926..18d515a 100644 +--- a/eurasia_km/eurasiacon/build/linux2/config/core.mk ++++ b/eurasia_km/eurasiacon/build/linux2/config/core.mk +@@ -590,6 +590,7 @@ ifneq ($(BUFFERCLASS_MODULE),) + $(eval $(call BothConfigMake,BUFFERCLASS_MODULE,$(BUFFERCLASS_MODULE))) + endif + ++PVR_LINUX_MEM_AREA_USE_VMAP = 1 + ifneq ($(strip $(KERNELDIR)),) + PVR_LINUX_MEM_AREA_POOL_MAX_PAGES ?= 0 + ifneq ($(PVR_LINUX_MEM_AREA_POOL_MAX_PAGES),0) +-- +2.34.1 +recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb +1
-0@@ -22,6 +22,7 @@ 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 \ + file://0002-Fix-driver-config-for-5.10-kernel.patch \ " S = "${WORKDIR}/git"recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +1
-0@@ -32,6 +32,7 @@ inherit update-rc.d PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 virtual/libgbm" DEPENDS += "libdrm udev wayland wayland-protocols libffi expat" +DEPENDS:append:libc-musl = " gcompat" RDEPENDS:${PN} += "libdrm libdrm-omap udev wayland wayland-protocols libffi expat" RPROVIDES:${PN} = "libegl libgles1 libgles2 libgbm"Signature · 1 line
2.34.1
Quoted 4 lines · Denys Dmytriyenko
Quoted 3 lines · Khem Raj
This adds a patch to fix runtime problems loading the kernel module with kernel 5.10
Quoted 8 lines
Quoted 6 lines
Adds support to build with musl targets
Add yoe to recognised OE distributions
Signed-off-by Khem Raj <[email protected]>Cc Denys Dmytriyenko <[email protected]>Reviewed-by Denys Dmytriyenko <[email protected]>
this fix is now present here:
https://git.ti.com/cgit/graphics/omap5-sgx-ddk-linux/commit/?h=ti-img-sgx/1.17.4948957/k5.10&id=eda7780bfd5277e16913c9bc0b0e6892b4e79063
Quoted 132 lines
Quoted 4 lines
---
v2: Add upstream status to patchesThanks! Although I wonder if the first patch should be treated as "Inappropriate [OE-specific]", as it was there for few years already and does actually add support for OE-specific toolchains...
Quoted 122 lines
...mbedded-hardfp-toolchain-w-o-gnueabi.patch | 20 +++++++++---- ...02-Fix-driver-config-for-5.10-kernel.patch | 29 +++++++++++++++++++ .../ti-sgx-ddk-km_1.17.4948957.bb | 1 + .../libgles/ti-sgx-ddk-um_1.17.4948957.bb | 1 + 4 files changed, 46 insertions(+), 5 deletions(-)create mode 100644
recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0002-Fix-driver-config-for-5.10-kernel.patchrecipes-bsp/powervr-drivers/ti-sgx-ddk-km/0001-km-support-OpenEmbedded-hardfp-toolchain-w-o-gnueabi.patch +15
-5@@ -1,23 +1,33 @@ -From 755632b4f3a40996a12bc7816a9839af7112040a Mon Sep 17 00:00:00 2001 +From a1c191a020f6eebc9a94b641be1fca7885fc9dd2 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 +Subject: [PATCH 1/2] km: support OpenEmbedded hardfp toolchain w/o -gnueabihf suffix +OE toolchains are not having armhf in its name but they still are armhf +ABI, teach this to sgx module build system + +recognize musleabi in tuples as well + +Add yoe distro support + +Upstream-Status: Pending + Signed-off-by: Denys Dmytriyenko <[email protected]> +Signed-off-by: Khem Raj <[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 +index dead2f9..1b5f090 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)),) ++ 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)),) + $(1)_compiler_preferred_target := arm-linux-gnueabihf + endif ifneq ($$(filter arm-%-gnueabi armv7a-cros-linux-gnueabi armv7hl-redhat-linux-gnueabi,$$($(1)_compiler_preferred_target)),)@@ -30,5 +40,5 @@ index dead2f9..2ba3e5e 100644 endef -- -2.7.4 +2.34.1recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0002-Fix-driver-config-for-5.10-kernel.patch new file +29
-0@@ -0,0 +1,29 @@ +From 57c3aafacde126786077afa7bfc07ec261acffaf Mon Sep 17 00:00:00 2001 +From: Paul Barker <[email protected]> +Date: Wed, 27 Oct 2021 10:34:32 +0100 +Subject: [PATCH 2/2] Fix driver config for 5.10 kernel + +See https://github.com/openpvrsgx-devgroup/linux_openpvrsgx/issues/3. + +Upstream-Status: Pending +Ref: BSP-66 +Signed-off-by: Paul Barker <[email protected]> +--- + eurasia_km/eurasiacon/build/linux2/config/core.mk | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/eurasia_km/eurasiacon/build/linux2/config/core.mk b/eurasia_km/eurasiacon/build/linux2/config/core.mk +index 3f27926..18d515a 100644 +--- a/eurasia_km/eurasiacon/build/linux2/config/core.mk ++++ b/eurasia_km/eurasiacon/build/linux2/config/core.mk +@@ -590,6 +590,7 @@ ifneq ($(BUFFERCLASS_MODULE),) + $(eval $(call BothConfigMake,BUFFERCLASS_MODULE,$(BUFFERCLASS_MODULE))) + endif + ++PVR_LINUX_MEM_AREA_USE_VMAP = 1 + ifneq ($(strip $(KERNELDIR)),) + PVR_LINUX_MEM_AREA_POOL_MAX_PAGES ?= 0 + ifneq ($(PVR_LINUX_MEM_AREA_POOL_MAX_PAGES),0) +-- +2.34.1 +recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb +1
-0@@ -22,6 +22,7 @@ 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 \ + file://0002-Fix-driver-config-for-5.10-kernel.patch \ " S = "${WORKDIR}/git"recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +1
-0@@ -32,6 +32,7 @@ inherit update-rc.d PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 virtual/libgbm" DEPENDS += "libdrm udev wayland wayland-protocols libffi expat" +DEPENDS:append:libc-musl = " gcompat" RDEPENDS:${PN} += "libdrm libdrm-omap udev wayland wayland-protocols libffi expat" RPROVIDES:${PN} = "libegl libgles1 libgles2 libgbm"Signature · 1 line
2.34.1
A message that is not in the archive (sent off-list or not yet received): [email protected]
This one is also missing from master.
Quoted 144 lines · Denys Dmytriyenko
Quoted 9 lines · Khem Raj
This adds a patch to fix runtime problems loading the kernel module with kernel 5.10
Adds support to build with musl targets
Add yoe to recognised OE distributions
Signed-off-by Khem Raj <[email protected]>Cc Denys Dmytriyenko <[email protected]>Reviewed-by Denys Dmytriyenko <[email protected]>Quoted 2 lines
---
v2: Add upstream status to patchesThanks! Although I wonder if the first patch should be treated as "Inappropriate [OE-specific]", as it was there for few years already and does actually add support for OE-specific toolchains...
Quoted 118 lines
...mbedded-hardfp-toolchain-w-o-gnueabi.patch | 20 +++++++++---- ...02-Fix-driver-config-for-5.10-kernel.patch | 29 +++++++++++++++++++ .../ti-sgx-ddk-km_1.17.4948957.bb | 1 + .../libgles/ti-sgx-ddk-um_1.17.4948957.bb | 1 + 4 files changed, 46 insertions(+), 5 deletions(-) create mode 100644 recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0002-Fix-driver-config-for-5.10-kernel.patchrecipes-bsp/powervr-drivers/ti-sgx-ddk-km/0001-km-support-OpenEmbedded-hardfp-toolchain-w-o-gnueabi.patch +15
-5@@ -1,23 +1,33 @@ -From 755632b4f3a40996a12bc7816a9839af7112040a Mon Sep 17 00:00:00 2001 +From a1c191a020f6eebc9a94b641be1fca7885fc9dd2 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 +Subject: [PATCH 1/2] km: support OpenEmbedded hardfp toolchain w/o -gnueabihf suffix +OE toolchains are not having armhf in its name but they still are armhf +ABI, teach this to sgx module build system + +recognize musleabi in tuples as well + +Add yoe distro support + +Upstream-Status: Pending + Signed-off-by: Denys Dmytriyenko <[email protected]> +Signed-off-by: Khem Raj <[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 +index dead2f9..1b5f090 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)),) ++ 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)),) + $(1)_compiler_preferred_target := arm-linux-gnueabihf + endif ifneq ($$(filter arm-%-gnueabi armv7a-cros-linux-gnueabi armv7hl-redhat-linux-gnueabi,$$($(1)_compiler_preferred_target)),)@@ -30,5 +40,5 @@ index dead2f9..2ba3e5e 100644 endef -- -2.7.4 +2.34.1recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0002-Fix-driver-config-for-5.10-kernel.patch new file +29
-0@@ -0,0 +1,29 @@ +From 57c3aafacde126786077afa7bfc07ec261acffaf Mon Sep 17 00:00:00 2001 +From: Paul Barker <[email protected]> +Date: Wed, 27 Oct 2021 10:34:32 +0100 +Subject: [PATCH 2/2] Fix driver config for 5.10 kernel + +See https://github.com/openpvrsgx-devgroup/linux_openpvrsgx/issues/3. + +Upstream-Status: Pending +Ref: BSP-66 +Signed-off-by: Paul Barker <[email protected]> +--- + eurasia_km/eurasiacon/build/linux2/config/core.mk | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/eurasia_km/eurasiacon/build/linux2/config/core.mk b/eurasia_km/eurasiacon/build/linux2/config/core.mk +index 3f27926..18d515a 100644 +--- a/eurasia_km/eurasiacon/build/linux2/config/core.mk ++++ b/eurasia_km/eurasiacon/build/linux2/config/core.mk +@@ -590,6 +590,7 @@ ifneq ($(BUFFERCLASS_MODULE),) + $(eval $(call BothConfigMake,BUFFERCLASS_MODULE,$(BUFFERCLASS_MODULE))) + endif + ++PVR_LINUX_MEM_AREA_USE_VMAP = 1 + ifneq ($(strip $(KERNELDIR)),) + PVR_LINUX_MEM_AREA_POOL_MAX_PAGES ?= 0 + ifneq ($(PVR_LINUX_MEM_AREA_POOL_MAX_PAGES),0) +-- +2.34.1 +recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb +1
-0@@ -22,6 +22,7 @@ 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 \ + file://0002-Fix-driver-config-for-5.10-kernel.patch \ " S = "${WORKDIR}/git"recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +1
-0@@ -32,6 +32,7 @@ inherit update-rc.d PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 virtual/libgbm" DEPENDS += "libdrm udev wayland wayland-protocols libffi expat" +DEPENDS:append:libc-musl = " gcompat" RDEPENDS:${PN} += "libdrm libdrm-omap udev wayland wayland-protocols libffi expat" RPROVIDES:${PN} = "libegl libgles1 libgles2 libgbm"Signature · 1 line
2.34.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