summaryrefslogtreecommitdiffstats
path: root/meta-ti-bsp
diff options
context:
space:
mode:
Diffstat (limited to 'meta-ti-bsp')
-rw-r--r--meta-ti-bsp/README13
-rw-r--r--meta-ti-bsp/conf/machine/am62dxx-evm.conf12
-rw-r--r--meta-ti-bsp/conf/machine/include/am62axx.inc2
-rw-r--r--meta-ti-bsp/conf/machine/include/am62dxx.inc2
-rw-r--r--meta-ti-bsp/conf/machine/include/am62lxx.inc1
-rw-r--r--meta-ti-bsp/conf/machine/include/am62pxx.inc1
-rw-r--r--meta-ti-bsp/conf/machine/include/am62xx.inc1
-rw-r--r--meta-ti-bsp/conf/machine/include/j722s.inc1
-rw-r--r--meta-ti-bsp/conf/machine/include/ti-bsp.inc2
-rw-r--r--meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_26.1.6967606.bb44
-rw-r--r--meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc2
-rw-r--r--meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc3
-rw-r--r--meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2025.01.bb2
-rw-r--r--meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2026.01.bb2
-rw-r--r--meta-ti-bsp/recipes-devtools/k3conf/k3conf_git.bb2
-rw-r--r--meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_26.1.6967606.bb152
-rw-r--r--meta-ti-bsp/recipes-graphics/wayland/weston-ti-version.inc1
-rw-r--r--meta-ti-bsp/recipes-graphics/wayland/weston/0002-surface-state-Fix-assert-firing-when-subsurfaces-hav.patch47
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.12.bb2
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb2
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.18.bb4
-rw-r--r--meta-ti-bsp/recipes-security/optee/optee-client-ti-version.inc2
-rw-r--r--meta-ti-bsp/recipes-security/optee/optee-examples-ti-version.inc2
-rw-r--r--meta-ti-bsp/recipes-security/optee/optee-ftpm-ti-version.inc2
-rw-r--r--meta-ti-bsp/recipes-security/optee/optee-os-ti-version.inc4
-rw-r--r--meta-ti-bsp/recipes-security/optee/optee-test-ti-version.inc4
-rw-r--r--meta-ti-bsp/recipes-ti/initramfs/initramfs-module-netsetup/83-netsetup54
-rw-r--r--meta-ti-bsp/recipes-ti/initramfs/initramfs-module-netsetup_1.0.bb30
-rw-r--r--meta-ti-bsp/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb2
29 files changed, 362 insertions, 36 deletions
diff --git a/meta-ti-bsp/README b/meta-ti-bsp/README
index c5780531..ceff85ed 100644
--- a/meta-ti-bsp/README
+++ b/meta-ti-bsp/README
@@ -1,18 +1,19 @@
1The official OpenEmbedded/Yocto BSP layer for Texas Instruments platforms. 1The official OpenEmbedded/Yocto BSP layer for Texas Instruments platforms.
2 2
3It is hosted on http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/ with the 3The source repository is hosted at https://git.yoctoproject.org/meta-ti
4source repository at git://git.yoctoproject.org/meta-ti
5 4
6 5
7This layer depends on: 6This layer depends on:
8 7
9URI: git://git.openembedded.org/openembedded-core 8URI: https://git.openembedded.org/openembedded-core
10layers: meta
11branch: master 9branch: master
10revision: HEAD
11layers: meta
12 12
13URI: git://git.yoctoproject.org/meta-arm 13URI: https://git.yoctoproject.org/meta-arm
14layers: meta-arm
15branch: master 14branch: master
15revision: HEAD
16layers: meta-arm
16 17
17 18
18The base BSP part of meta-ti should work with different OpenEmbedded/Yocto 19The base BSP part of meta-ti should work with different OpenEmbedded/Yocto
diff --git a/meta-ti-bsp/conf/machine/am62dxx-evm.conf b/meta-ti-bsp/conf/machine/am62dxx-evm.conf
index ef9df2f7..b723d457 100644
--- a/meta-ti-bsp/conf/machine/am62dxx-evm.conf
+++ b/meta-ti-bsp/conf/machine/am62dxx-evm.conf
@@ -6,10 +6,14 @@ require conf/machine/include/am62dxx.inc
6 6
7KERNEL_DEVICETREE_PREFIX = " \ 7KERNEL_DEVICETREE_PREFIX = " \
8 ti/k3-am62d2 \ 8 ti/k3-am62d2 \
9 ti/k3-am62a7-sk-edgeai \ 9 ti/k3-am62a7-sk \
10 ti/k3-am62x-sk \ 10 ti/k3-am62x-sk-csi2 \
11 ti/k3-am62a7-sk-rpi-hdr-ehrpwm \ 11 ti/k3-am62x-sk-ecap-capture \
12 ti/k3-am62a7-sk-e3-max-opp \ 12 ti/k3-am62x-sk-eqep \
13 ti/k3-am62x-sk-hdmi \
14 ti/k3-am62x-sk-lpm \
15 ti/k3-am62x-sk-mcspi-loopback \
16 ti/k3-am62x-sk-pwm \
13" 17"
14 18
15KERNEL_DEVICETREE = "" 19KERNEL_DEVICETREE = ""
diff --git a/meta-ti-bsp/conf/machine/include/am62axx.inc b/meta-ti-bsp/conf/machine/include/am62axx.inc
index 0577ffaa..59d83c06 100644
--- a/meta-ti-bsp/conf/machine/include/am62axx.inc
+++ b/meta-ti-bsp/conf/machine/include/am62axx.inc
@@ -5,8 +5,6 @@ SOC_FAMILY:append = ":am62axx"
5 5
6MACHINE_FEATURES += "screen touchscreen" 6MACHINE_FEATURES += "screen touchscreen"
7 7
8TFA_K3_SYSTEM_SUSPEND = "1"
9
10TFA_BOARD = "lite" 8TFA_BOARD = "lite"
11OPTEEMACHINE = "k3-am62x" 9OPTEEMACHINE = "k3-am62x"
12 10
diff --git a/meta-ti-bsp/conf/machine/include/am62dxx.inc b/meta-ti-bsp/conf/machine/include/am62dxx.inc
index fc2ce4a3..7a11bb1a 100644
--- a/meta-ti-bsp/conf/machine/include/am62dxx.inc
+++ b/meta-ti-bsp/conf/machine/include/am62dxx.inc
@@ -3,7 +3,5 @@ require conf/machine/include/mc_k3r5.inc
3 3
4SOC_FAMILY:append = ":am62dxx" 4SOC_FAMILY:append = ":am62dxx"
5 5
6TFA_K3_SYSTEM_SUSPEND = "1"
7
8TFA_BOARD = "lite" 6TFA_BOARD = "lite"
9OPTEEMACHINE = "k3-am62x" 7OPTEEMACHINE = "k3-am62x"
diff --git a/meta-ti-bsp/conf/machine/include/am62lxx.inc b/meta-ti-bsp/conf/machine/include/am62lxx.inc
index 26abe479..b626119a 100644
--- a/meta-ti-bsp/conf/machine/include/am62lxx.inc
+++ b/meta-ti-bsp/conf/machine/include/am62lxx.inc
@@ -6,7 +6,6 @@ MACHINE_FEATURES += "screen"
6SERIAL_CONSOLES = "115200;ttyS0" 6SERIAL_CONSOLES = "115200;ttyS0"
7 7
8TFA_BOARD = "am62lx" 8TFA_BOARD = "am62lx"
9TFA_K3_SYSTEM_SUSPEND = "1"
10TFA_PLATFORM = "k3low" 9TFA_PLATFORM = "k3low"
11 10
12OPTEEMACHINE = "k3-am62lx" 11OPTEEMACHINE = "k3-am62lx"
diff --git a/meta-ti-bsp/conf/machine/include/am62pxx.inc b/meta-ti-bsp/conf/machine/include/am62pxx.inc
index 560334c1..6bf20ee4 100644
--- a/meta-ti-bsp/conf/machine/include/am62pxx.inc
+++ b/meta-ti-bsp/conf/machine/include/am62pxx.inc
@@ -9,7 +9,6 @@ require conf/machine/include/mesa-pvr.inc
9PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}" 9PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}"
10 10
11TFA_BOARD = "lite" 11TFA_BOARD = "lite"
12TFA_K3_SYSTEM_SUSPEND = "1"
13 12
14OPTEEMACHINE = "k3-am62x" 13OPTEEMACHINE = "k3-am62x"
15 14
diff --git a/meta-ti-bsp/conf/machine/include/am62xx.inc b/meta-ti-bsp/conf/machine/include/am62xx.inc
index 9e24898c..fc20893b 100644
--- a/meta-ti-bsp/conf/machine/include/am62xx.inc
+++ b/meta-ti-bsp/conf/machine/include/am62xx.inc
@@ -12,7 +12,6 @@ PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}"
12IMAGE_BOOT_FILES += "ti_logo_414x97_32bpp.bmp.gz" 12IMAGE_BOOT_FILES += "ti_logo_414x97_32bpp.bmp.gz"
13 13
14TFA_BOARD = "lite" 14TFA_BOARD = "lite"
15TFA_K3_SYSTEM_SUSPEND = "1"
16 15
17OPTEEMACHINE = "k3-am62x" 16OPTEEMACHINE = "k3-am62x"
18 17
diff --git a/meta-ti-bsp/conf/machine/include/j722s.inc b/meta-ti-bsp/conf/machine/include/j722s.inc
index c2732b70..097c4e24 100644
--- a/meta-ti-bsp/conf/machine/include/j722s.inc
+++ b/meta-ti-bsp/conf/machine/include/j722s.inc
@@ -9,7 +9,6 @@ require conf/machine/include/mesa-pvr.inc
9PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}" 9PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}"
10 10
11TFA_BOARD = "lite" 11TFA_BOARD = "lite"
12TFA_K3_SYSTEM_SUSPEND = "1"
13 12
14OPTEEMACHINE = "k3-am62x" 13OPTEEMACHINE = "k3-am62x"
15 14
diff --git a/meta-ti-bsp/conf/machine/include/ti-bsp.inc b/meta-ti-bsp/conf/machine/include/ti-bsp.inc
index f7e2710c..a48c4f07 100644
--- a/meta-ti-bsp/conf/machine/include/ti-bsp.inc
+++ b/meta-ti-bsp/conf/machine/include/ti-bsp.inc
@@ -43,7 +43,7 @@ BSP_BOOTLOADER_PROVIDER:bsp-ti-6_18 = "u-boot-ti-staging"
43BSP_BOOTLOADER_VERSION:bsp-ti-6_18 = "2026.01%" 43BSP_BOOTLOADER_VERSION:bsp-ti-6_18 = "2026.01%"
44 44
45BSP_ROGUE_DRIVER_PROVIDER:bsp-ti-6_18 = "ti-img-rogue-driver" 45BSP_ROGUE_DRIVER_PROVIDER:bsp-ti-6_18 = "ti-img-rogue-driver"
46BSP_ROGUE_DRIVER_VERSION:bsp-ti-6_18 = "25%" 46BSP_ROGUE_DRIVER_VERSION:bsp-ti-6_18 = "26%"
47BSP_MESA_PVR_VERSION:bsp-ti-6_18 = "24%" 47BSP_MESA_PVR_VERSION:bsp-ti-6_18 = "24%"
48 48
49# ========== 49# ==========
diff --git a/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_26.1.6967606.bb b/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_26.1.6967606.bb
new file mode 100644
index 00000000..876c3e50
--- /dev/null
+++ b/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_26.1.6967606.bb
@@ -0,0 +1,44 @@
1SUMMARY = "Kernel drivers for the PowerVR Rogue GPU found in the TI SoCs"
2HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-driver"
3LICENSE = "MIT | GPL-2.0-only"
4LIC_FILES_CHKSUM = "file://README;beginline=14;endline=19;md5=0403c7dea01a2b8232261e805325fac2"
5
6inherit module
7
8PROVIDES = "virtual/gpudriver"
9
10PACKAGE_ARCH = "${MACHINE_ARCH}"
11
12COMPATIBLE_MACHINE = "j721e|j721s2|j784s4|j742s2|am62xx|am62pxx|j722s"
13
14DEPENDS = "virtual/kernel"
15
16BRANCH = "linuxws/wrynose/k6.18/${PV}"
17
18SRC_URI = "git://git.ti.com/git/graphics/ti-img-rogue-driver.git;protocol=https;branch=${BRANCH}"
19
20SRCREV = "50e14e425cbac240b2da93fac0cfcc987a4959c3"
21
22
23TARGET_PRODUCT:j721e = "j721e_linux"
24TARGET_PRODUCT:j721s2 = "j721s2_linux"
25TARGET_PRODUCT:j784s4 = "j784s4_linux"
26TARGET_PRODUCT:j742s2 = "j784s4_linux"
27TARGET_PRODUCT:am62xx = "am62_linux"
28TARGET_PRODUCT:am62pxx = "am62p_linux"
29TARGET_PRODUCT:j722s = "j722s_linux"
30PVR_BUILD = "release"
31PVR_WS = "lws-generic"
32
33EXTRA_OEMAKE += 'KERNELDIR="${KBUILD_OUTPUT}" BUILD=${PVR_BUILD} PVR_BUILD_DIR=${TARGET_PRODUCT} WINDOW_SYSTEM=${PVR_WS}'
34
35do_compile(){
36 unset CC
37 oe_runmake
38}
39
40do_install() {
41 make -C ${STAGING_KERNEL_DIR} M=${B}/binary_${TARGET_PRODUCT}_${PVR_WS}_${PVR_BUILD}/target_aarch64/kbuild INSTALL_MOD_PATH=${D}${root_prefix} PREFIX=${STAGING_DIR_HOST} modules_install
42}
43
44RRECOMMENDS:${PN} += "ti-img-rogue-umlibs"
diff --git a/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc b/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc
index 85b73854..126c46df 100644
--- a/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc
+++ b/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc
@@ -21,7 +21,7 @@ TI_PKA_FW_VERSION = "2.1.0"
21TI_IPC_EXAMPLES_FW_VERSION = "3.52.00.01" 21TI_IPC_EXAMPLES_FW_VERSION = "3.52.00.01"
22PCM6240_FW_VERSION = "1.0.0.0" 22PCM6240_FW_VERSION = "1.0.0.0"
23 23
24TI_LINUX_FW_SRCREV ?= "9e9d50ff563f83db86d36b72cd7fb4f487d6b414" 24TI_LINUX_FW_SRCREV ?= "ec029baad8b4b147af8331a5e099ef891e5ae1f4"
25SRCREV = "${TI_LINUX_FW_SRCREV}" 25SRCREV = "${TI_LINUX_FW_SRCREV}"
26 26
27BRANCH ?= "ti-linux-firmware" 27BRANCH ?= "ti-linux-firmware"
diff --git a/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc b/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc
index 695b8b90..10697fa2 100644
--- a/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc
+++ b/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc
@@ -10,7 +10,7 @@ SRC_URI_TRUSTED_FIRMWARE_A = "git://git.trustedfirmware.org/TF-A/trusted-firmwar
10SRCBRANCH = "master" 10SRCBRANCH = "master"
11 11
12LIC_FILES_CHKSUM:am62lxx = "file://docs/license.rst;md5=6ed7bace7b0bc63021c6eba7b524039e" 12LIC_FILES_CHKSUM:am62lxx = "file://docs/license.rst;md5=6ed7bace7b0bc63021c6eba7b524039e"
13SRCREV_tfa:am62lxx = "17d2997c0e7d4549720a5d176916f5ea0f63b009" 13SRCREV_tfa:am62lxx = "bd4afc7d9dcc492b8894fe88a666c880b2fb1734"
14SRC_URI_TRUSTED_FIRMWARE_A:am62lxx = "git://github.com/TexasInstruments/arm-trusted-firmware.git;protocol=https" 14SRC_URI_TRUSTED_FIRMWARE_A:am62lxx = "git://github.com/TexasInstruments/arm-trusted-firmware.git;protocol=https"
15SRCBRANCH:am62lxx = "ti-tfa-2.14.y" 15SRCBRANCH:am62lxx = "ti-tfa-2.14.y"
16 16
@@ -28,5 +28,4 @@ TFA_INSTALL_TARGET:am62lxx = "bl31 bl1"
28EXTRA_OEMAKE += "${@ 'K3_USART=' + d.getVar('TFA_K3_USART') if d.getVar('TFA_K3_USART') else ''}" 28EXTRA_OEMAKE += "${@ 'K3_USART=' + d.getVar('TFA_K3_USART') if d.getVar('TFA_K3_USART') else ''}"
29EXTRA_OEMAKE += "${@ 'BL32_BASE=' + d.getVar('TFA_K3_BL32_BASE') if d.getVar('TFA_K3_BL32_BASE') else ''}" 29EXTRA_OEMAKE += "${@ 'BL32_BASE=' + d.getVar('TFA_K3_BL32_BASE') if d.getVar('TFA_K3_BL32_BASE') else ''}"
30EXTRA_OEMAKE += "${@ 'PRELOADED_BL33_BASE=' + d.getVar('TFA_K3_PRELOADED_BL33') if d.getVar('TFA_K3_PRELOADED_BL33') else ''}" 30EXTRA_OEMAKE += "${@ 'PRELOADED_BL33_BASE=' + d.getVar('TFA_K3_PRELOADED_BL33') if d.getVar('TFA_K3_PRELOADED_BL33') else ''}"
31EXTRA_OEMAKE += "${@ 'K3_PM_SYSTEM_SUSPEND=' + d.getVar('TFA_K3_SYSTEM_SUSPEND') if d.getVar('TFA_K3_SYSTEM_SUSPEND') else ''}"
32EXTRA_OEMAKE:append:ti-falcon = " PRELOADED_BL33_BASE=0x82000000 K3_HW_CONFIG_BASE=0x88000000" 31EXTRA_OEMAKE:append:ti-falcon = " PRELOADED_BL33_BASE=0x82000000 K3_HW_CONFIG_BASE=0x88000000"
diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2025.01.bb b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2025.01.bb
index d03cae2b..31fd341a 100644
--- a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2025.01.bb
+++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2025.01.bb
@@ -4,6 +4,6 @@ PR = "r0"
4 4
5BRANCH = "ti-u-boot-2025.01" 5BRANCH = "ti-u-boot-2025.01"
6 6
7SRCREV_uboot = "19795f63be7ee27e38b6e800ff6c88a2feaae13f" 7SRCREV_uboot = "f6338e22d2ac0777a68fb0f295f4cf1e3e63f659"
8 8
9SRC_URI += "file://0001-binman-migrate-form-pkg_resources-to-importlib.patch" 9SRC_URI += "file://0001-binman-migrate-form-pkg_resources-to-importlib.patch"
diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2026.01.bb b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2026.01.bb
index a7225293..d3a00652 100644
--- a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2026.01.bb
+++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2026.01.bb
@@ -4,4 +4,4 @@ PR = "r0"
4 4
5BRANCH = "ti-u-boot-2026.01" 5BRANCH = "ti-u-boot-2026.01"
6 6
7SRCREV_uboot = "ee3048ee0822c35312379b6e24b5c80e9a845110" 7SRCREV_uboot = "617c6fa1c50fab2acb3955b8888ec71ae7630769"
diff --git a/meta-ti-bsp/recipes-devtools/k3conf/k3conf_git.bb b/meta-ti-bsp/recipes-devtools/k3conf/k3conf_git.bb
index 3e3205ba..e33a1e91 100644
--- a/meta-ti-bsp/recipes-devtools/k3conf/k3conf_git.bb
+++ b/meta-ti-bsp/recipes-devtools/k3conf/k3conf_git.bb
@@ -10,6 +10,6 @@ PV = "0.3+git"
10COMPATIBLE_MACHINE = "k3" 10COMPATIBLE_MACHINE = "k3"
11 11
12BRANCH ?= "master" 12BRANCH ?= "master"
13SRCREV = "c50875c7c4ad112d5e632bea3301e06a0aa8669f" 13SRCREV = "eaa148f9640a047511be89f7652f8b1e93a4249c"
14 14
15SRC_URI = "git://git.ti.com/git/k3conf/k3conf.git;protocol=https;branch=${BRANCH}" 15SRC_URI = "git://git.ti.com/git/k3conf/k3conf.git;protocol=https;branch=${BRANCH}"
diff --git a/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_26.1.6967606.bb b/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_26.1.6967606.bb
new file mode 100644
index 00000000..ff631c2d
--- /dev/null
+++ b/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_26.1.6967606.bb
@@ -0,0 +1,152 @@
1SUMMARY = "Userspace libraries for PowerVR Rogue GPU on TI SoCs"
2HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-umlibs"
3LICENSE = "TI-TFL"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=7232b98c1c58f99e3baa03de5207e76f"
5
6PACKAGE_ARCH = "${MACHINE_ARCH}"
7COMPATIBLE_MACHINE = "j721e|j721s2|j784s4|j742s2|am62xx|am62pxx|j722s"
8
9BRANCH = "linuxws/wrynose/k6.18/${PV}"
10SRC_URI = "git://git.ti.com/git/graphics/ti-img-rogue-umlibs.git;protocol=https;branch=${BRANCH}"
11SRCREV = "a59e0e6b92dfee7aad046b839cf6ae644355b89d"
12
13TARGET_PRODUCT:j721e = "j721e_linux"
14TARGET_PRODUCT:j721s2 = "j721s2_linux"
15TARGET_PRODUCT:j784s4 = "j784s4_linux"
16TARGET_PRODUCT:j742s2 = "j784s4_linux"
17TARGET_PRODUCT:am62xx = "am62_linux"
18TARGET_PRODUCT:am62pxx = "am62p_linux"
19TARGET_PRODUCT:j722s = "j722s_linux"
20PVR_BUILD = "release"
21PVR_WS = "lws-generic"
22
23RDEPENDS:${PN} = " \
24 libdrm \
25 ti-img-rogue-driver \
26 ${PN}-firmware \
27"
28
29PACKAGECONFIG ?= " \
30 ${@bb.utils.contains('DISTRO_FEATURES', 'vulkan wayland', 'vulkan', '', d)} \
31 ${@bb.utils.filter('DISTRO_FEATURES', 'opengl opencl', d)} \
32"
33
34PACKAGECONFIG[opengl] = ",,,,${GLES_PACKAGES}"
35PACKAGECONFIG[vulkan] = ",,,,${VULKAN_PACKAGES}"
36PACKAGECONFIG[opencl] = ",,,,${OPENCL_PACKAGES}"
37
38def get_file_list(package_list_var, d):
39 file_list = []
40 package_list = d.getVar(package_list_var)
41 prefix = f"{d.getVar('D')}/"
42 if package_list:
43 for package in package_list.split():
44 package_file_string = d.getVar(f"FILES:{package}")
45 if package_file_string:
46 for package_file in package_file_string.split():
47 file_list.append(f"{prefix}{package_file}")
48 return " ".join(file_list)
49
50EXTRA_OEMAKE += 'BUILD=${PVR_BUILD} TARGET_PRODUCT=${TARGET_PRODUCT} WINDOW_SYSTEM=${PVR_WS}'
51
52do_configure[noexec] = "1"
53do_compile[noexec] = "1"
54do_install() {
55 oe_runmake 'DESTDIR=${D}' install
56 if ${@bb.utils.contains('PACKAGECONFIG', 'opengl', 'false', 'true', d)}; then
57 for file in ${@get_file_list('GLES_PACKAGES', d)}; do
58 rm -rf ${file}
59 done
60 fi
61 if ${@bb.utils.contains('PACKAGECONFIG', 'vulkan', 'false', 'true', d)}; then
62 for file in ${@get_file_list('VULKAN_PACKAGES', d)}; do
63 rm -rf ${file}
64 done
65 fi
66 if ${@bb.utils.contains('PACKAGECONFIG', 'opencl', 'false', 'true', d)}; then
67 for file in ${@get_file_list('OPENCL_PACKAGES', d)}; do
68 rm -rf ${file}
69 done
70 fi
71 if ${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', 'true', 'false', d)}; then
72 if [ -e ${D}/lib/firmware ]; then
73 mv ${D}/lib/firmware ${D}${nonarch_base_libdir}
74 fi
75 fi
76
77 # clean up any empty directories
78 find "${D}" -empty -type d -delete
79
80 # fix permissions
81 chown -R root:root "${D}"
82}
83
84GLES_PACKAGES = "libgles1-rogue libgles2-rogue libgles3-rogue"
85VULKAN_PACKAGES = "libvk-rogue"
86OPENCL_PACKAGES = "libopencl-rogue libopencl-rogue-tools"
87
88PACKAGES = " \
89 ${@bb.utils.contains('PACKAGECONFIG', 'opengl', d.getVar('GLES_PACKAGES'), '', d)} \
90 ${@bb.utils.contains('PACKAGECONFIG', 'vulkan', d.getVar('VULKAN_PACKAGES'), '', d)} \
91 ${@bb.utils.contains('PACKAGECONFIG', 'opencl', d.getVar('OPENCL_PACKAGES'), '', d)} \
92 ${PN}-tools \
93 ${PN}-firmware \
94 ${PN} \
95"
96
97# Inject variables so that packages don't get Debian-renamed (which would
98# remove the -rogue suffix), but don't RPROVIDEs/RCONFLICTs on the generic
99# libgl name to prevent colliding with swrast libs
100python __anonymous() {
101 suffix = ""
102 if "-native" in d.getVar("PN"):
103 suffix = "-native"
104 for p in (("vulkan", "libvk",),
105 ("gles", "libgles1", "libglesv1-cm1"),
106 ("gles", "libgles2", "libglesv2-2"),
107 ("gles", "libgles3",),
108 ("opencl", "libopencl",)):
109 mlprefix = d.getVar("MLPREFIX")
110 fullp = mlprefix + p[1] + "-rogue" + suffix
111 mlprefix = d.getVar("MLPREFIX")
112 pkgs = " " + " ".join(mlprefix + x + suffix for x in p[1:])
113 d.setVar("DEBIAN_NOAUTONAME:" + fullp, "1")
114 d.setVar("INSANE_SKIP:" + fullp, "dev-so ldflags")
115 d.appendVar("RRECOMMENDS:" + fullp, " ${MLPREFIX}ti-img-rogue-umlibs" + suffix)
116}
117
118# gles specific shared objects
119FILES:libgles1-rogue = "${libdir}/libGLESv1*.so*"
120FILES:libgles2-rogue = "${libdir}/libGLESv2*.so*"
121RDEPENDS:libgles1-rogue += "mesa-megadriver"
122RDEPENDS:libgles2-rogue += "mesa-megadriver"
123
124# vulkan specific shared objects and configs
125FILES:libvk-rogue = "${libdir}/libVK_IMG.so* ${datadir}/vulkan"
126RDEPENDS:libvk-rogue += "vulkan-loader wayland libdrm"
127
128# opencl specific shared objects and configs
129FILES:libopencl-rogue = "${libdir}/libPVROCL.so* ${sysconfdir}/OpenCL"
130RDEPENDS:libopencl-rogue += "opencl-icd-loader"
131RRECOMMENDS:libopencl-rogue += "libopencl-rogue-tools"
132FILES:libopencl-rogue-tools += "${bindir}/ocl*"
133DEBIAN_NOAUTONAME:libopencl-rogue-tools = "1"
134INSANE_SKIP:libopencl-rogue-tools = "ldflags"
135
136# optional tools and tests
137FILES:${PN}-tools = "${bindir}/"
138RDEPENDS:${PN}-tools = "python3-core libdrm ${PN}"
139INSANE_SKIP:${PN}-tools = "ldflags"
140
141# required firmware
142FILES:${PN}-firmware = "${base_libdir}/firmware/*"
143INSANE_SKIP:${PN}-firmware += "arch"
144
145# common libraries
146FILES:${PN} = "${libdir}"
147
148RRECOMMENDS:${PN} += " \
149 ${PN}-tools \
150"
151
152INSANE_SKIP:${PN} += "already-stripped dev-so ldflags"
diff --git a/meta-ti-bsp/recipes-graphics/wayland/weston-ti-version.inc b/meta-ti-bsp/recipes-graphics/wayland/weston-ti-version.inc
index 42e6b6ac..c8624f0e 100644
--- a/meta-ti-bsp/recipes-graphics/wayland/weston-ti-version.inc
+++ b/meta-ti-bsp/recipes-graphics/wayland/weston-ti-version.inc
@@ -4,4 +4,5 @@ PR:append = ".tisoc1"
4 4
5SRC_URI += " \ 5SRC_URI += " \
6 file://0001-Revert-require-GL_EXT_unpack_subimage-commit.patch \ 6 file://0001-Revert-require-GL_EXT_unpack_subimage-commit.patch \
7 file://0002-surface-state-Fix-assert-firing-when-subsurfaces-hav.patch \
7" 8"
diff --git a/meta-ti-bsp/recipes-graphics/wayland/weston/0002-surface-state-Fix-assert-firing-when-subsurfaces-hav.patch b/meta-ti-bsp/recipes-graphics/wayland/weston/0002-surface-state-Fix-assert-firing-when-subsurfaces-hav.patch
new file mode 100644
index 00000000..d370577c
--- /dev/null
+++ b/meta-ti-bsp/recipes-graphics/wayland/weston/0002-surface-state-Fix-assert-firing-when-subsurfaces-hav.patch
@@ -0,0 +1,47 @@
1From 12ecd8d4b5095c120efef76493546ead3f41ab5b Mon Sep 17 00:00:00 2001
2From: Derek Foreman <derek.foreman@collabora.com>
3Date: Wed, 27 May 2026 14:12:36 -0500
4Subject: [PATCH] surface-state: Fix assert firing when subsurfaces have no
5 views
6
7Upstream-Status: Submitted [https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/2085]
8
9I've not been able to reproduce this, but have a report that this fires
10when running Chromium on aarch64.
11
12It seems plausible that we can get here when none of the subsurfaces have
13views, and thus the flag won't be set.
14
15Let's just remove the assert.
16
17Fixes 6a280a8f
18Fixes #1117
19
20Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
21Signed-off-by: Thorsten Lannynd <t-lannynd@ti.com>
22---
23 libweston/surface-state.c | 2 --
24 1 file changed, 2 deletions(-)
25
26diff --git a/libweston/surface-state.c b/libweston/surface-state.c
27index 3c31a0aa..65dc70bb 100644
28--- a/libweston/surface-state.c
29+++ b/libweston/surface-state.c
30@@ -268,7 +268,6 @@ weston_surface_attach(struct weston_surface *surface,
31 static void
32 weston_surface_apply_subsurface_order(struct weston_surface *surface)
33 {
34- struct weston_compositor *comp = surface->compositor;
35 struct weston_subsurface *sub;
36 struct weston_view *view;
37
38@@ -279,7 +278,6 @@ weston_surface_apply_subsurface_order(struct weston_surface *surface)
39 wl_list_for_each(view, &sub->surface->views, surface_link)
40 weston_view_geometry_dirty(view);
41 }
42- weston_assert_true(comp, comp->view_list_needs_rebuild);
43 }
44
45 /* Translate pending damage in buffer co-ordinates to surface
46--
472.34.1
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.12.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.12.bb
index 0d974c0b..21baed23 100644
--- a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.12.bb
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.12.bb
@@ -10,7 +10,7 @@ BRANCH_ARM64 = "ti-linux-6.12.y"
10BRANCH = "${BRANCH_ARM64}" 10BRANCH = "${BRANCH_ARM64}"
11 11
12BRANCH_ARM32 = "ti-rt-linux-6.12.y-arm32" 12BRANCH_ARM32 = "ti-rt-linux-6.12.y-arm32"
13SRCREV_ARM32 = "62fdc7890cde3197051743120ff44162b7356cc5" 13SRCREV_ARM32 = "d7f2b5b19f14fb51ad279f76fbeedd0dfd40b69c"
14PV_ARM32 = "6.12.57+git" 14PV_ARM32 = "6.12.57+git"
15 15
16BRANCH:ti33x = "${BRANCH_ARM32}" 16BRANCH:ti33x = "${BRANCH_ARM32}"
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb
index 8a86e1d8..33972782 100644
--- a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb
@@ -21,7 +21,7 @@ S = "${UNPACKDIR}/${BB_GIT_DEFAULT_DESTSUFFIX}"
21 21
22BRANCH ?= "ti-linux-6.12.y" 22BRANCH ?= "ti-linux-6.12.y"
23 23
24SRCREV ?= "c52c5589aab8c376f975b1feb7b8746b7b6624bd" 24SRCREV ?= "4e3bcc10a5d1e9822e0ed2dad5cdd16f7cf30fe6"
25PV = "6.12.57+git" 25PV = "6.12.57+git"
26 26
27SRC_URI += "file://0001-libbpf-Fix-Wdiscarded-qualifiers-under-C23.patch" 27SRC_URI += "file://0001-libbpf-Fix-Wdiscarded-qualifiers-under-C23.patch"
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.18.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.18.bb
index 16d26a3a..306ac881 100644
--- a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.18.bb
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.18.bb
@@ -22,8 +22,8 @@ S = "${UNPACKDIR}/${BB_GIT_DEFAULT_DESTSUFFIX}"
22 22
23BRANCH ?= "ti-linux-6.18.y" 23BRANCH ?= "ti-linux-6.18.y"
24 24
25SRCREV ?= "4495407cc08e68dd65abaa542e1f13ad2ec90045" 25SRCREV ?= "4c3bfa15a22a5c6729519e730459c483c125d5db"
26PV = "6.18.13+git" 26PV = "6.18.15+git"
27 27
28KERNEL_REPRODUCIBILITY_PATCHES = " \ 28KERNEL_REPRODUCIBILITY_PATCHES = " \
29 file://0001-perf-python-Fix-compile-for-32bit-platforms.patch \ 29 file://0001-perf-python-Fix-compile-for-32bit-platforms.patch \
diff --git a/meta-ti-bsp/recipes-security/optee/optee-client-ti-version.inc b/meta-ti-bsp/recipes-security/optee/optee-client-ti-version.inc
index 68b6b262..7968f3fb 100644
--- a/meta-ti-bsp/recipes-security/optee/optee-client-ti-version.inc
+++ b/meta-ti-bsp/recipes-security/optee/optee-client-ti-version.inc
@@ -1,2 +1,2 @@
1PV = "4.9.0+git" 1PV = "4.10.0+git"
2SRCREV = "9f5e90918093c1d1cd264d8149081b64ab7ba672" 2SRCREV = "9f5e90918093c1d1cd264d8149081b64ab7ba672"
diff --git a/meta-ti-bsp/recipes-security/optee/optee-examples-ti-version.inc b/meta-ti-bsp/recipes-security/optee/optee-examples-ti-version.inc
index 6ec2a83d..eea7762f 100644
--- a/meta-ti-bsp/recipes-security/optee/optee-examples-ti-version.inc
+++ b/meta-ti-bsp/recipes-security/optee/optee-examples-ti-version.inc
@@ -1,2 +1,2 @@
1PV = "4.9.0+git" 1PV = "4.10.0+git"
2SRCREV = "934c7edb74a26e90f68024cf441073528444177f" 2SRCREV = "934c7edb74a26e90f68024cf441073528444177f"
diff --git a/meta-ti-bsp/recipes-security/optee/optee-ftpm-ti-version.inc b/meta-ti-bsp/recipes-security/optee/optee-ftpm-ti-version.inc
index 350eb9c9..b961c70f 100644
--- a/meta-ti-bsp/recipes-security/optee/optee-ftpm-ti-version.inc
+++ b/meta-ti-bsp/recipes-security/optee/optee-ftpm-ti-version.inc
@@ -1,3 +1,3 @@
1PV = "4.9.0+git" 1PV = "4.10.0+git"
2OPTEE_TA_GIT_TAG = "${@'branch=master' if d.getVar('PV') == 'git' or d.getVar('PV').endswith('+git') else 'tag=%s;nobranch=1' % d.getVar('PV')}" 2OPTEE_TA_GIT_TAG = "${@'branch=master' if d.getVar('PV') == 'git' or d.getVar('PV').endswith('+git') else 'tag=%s;nobranch=1' % d.getVar('PV')}"
3SRCREV_optee-ta = "a09269b15de635e1816fe832e26adfbfb44c5455" 3SRCREV_optee-ta = "a09269b15de635e1816fe832e26adfbfb44c5455"
diff --git a/meta-ti-bsp/recipes-security/optee/optee-os-ti-version.inc b/meta-ti-bsp/recipes-security/optee/optee-os-ti-version.inc
index db18c696..473c5282 100644
--- a/meta-ti-bsp/recipes-security/optee/optee-os-ti-version.inc
+++ b/meta-ti-bsp/recipes-security/optee/optee-os-ti-version.inc
@@ -1,2 +1,2 @@
1PV = "4.9.0+git" 1PV = "4.10.0+git"
2SRCREV = "f2a7ad0638aeff5243593b33cc56ad064cae7615" 2SRCREV = "753afbbee1682f5d16fd30e87b31058a4fd4f4b8"
diff --git a/meta-ti-bsp/recipes-security/optee/optee-test-ti-version.inc b/meta-ti-bsp/recipes-security/optee/optee-test-ti-version.inc
index 15b43063..8a8e9ac8 100644
--- a/meta-ti-bsp/recipes-security/optee/optee-test-ti-version.inc
+++ b/meta-ti-bsp/recipes-security/optee/optee-test-ti-version.inc
@@ -1,4 +1,4 @@
1FILESEXTRAPATHS:prepend := "${THISDIR}/optee-test:" 1FILESEXTRAPATHS:prepend := "${THISDIR}/optee-test:"
2 2
3PV = "4.9.0+git" 3PV = "4.10.0+git"
4SRCREV = "b27648ea8472cceceb8dda368a965c709066f7aa" 4SRCREV = "88c93e87a5c172363ee986ded036a25cafcc9d2c"
diff --git a/meta-ti-bsp/recipes-ti/initramfs/initramfs-module-netsetup/83-netsetup b/meta-ti-bsp/recipes-ti/initramfs/initramfs-module-netsetup/83-netsetup
new file mode 100644
index 00000000..8e76bac4
--- /dev/null
+++ b/meta-ti-bsp/recipes-ti/initramfs/initramfs-module-netsetup/83-netsetup
@@ -0,0 +1,54 @@
1#!/bin/sh
2# Configure network via DHCP before NFS root mount. Polls for an Ethernet
3# interface with sleep 1 per iteration to allow the Ethernet driver deferred
4# probe chain to settle after udev loads the modules.
5
6netsetup_enabled() {
7 [ "${bootparam_root}" = "/dev/nfs" ] || return 1
8 return 0
9}
10
11netsetup_run() {
12 local iface timeout devtype
13
14 # Extract interface from ip= kernel param (format: client:server:gw:mask:host:device:autoconf)
15 iface=""
16 case "${bootparam_ip}" in
17 dhcp|on|any|"")
18 ;;
19 *)
20 iface=$(echo "${bootparam_ip}" | cut -d: -f6)
21 ;;
22 esac
23
24 udevadm trigger --action=add --subsystem-match=net
25 udevadm settle --timeout=10
26
27 # Poll up to 60 seconds for an Ethernet interface (ARPHRD_ETHER = type 1).
28 msg "netsetup: waiting for ethernet interface..."
29 timeout=60
30 while [ "${timeout}" -gt 0 ]; do
31 if [ -n "${iface}" ] && [ -d "/sys/class/net/${iface}" ]; then
32 break
33 fi
34 for dev in /sys/class/net/*; do
35 [ -f "${dev}/type" ] || continue
36 devtype=$(cat "${dev}/type")
37 [ "${devtype}" = "1" ] || continue
38 iface=$(basename "${dev}")
39 break
40 done
41 [ -n "${iface}" ] && [ -d "/sys/class/net/${iface}" ] && break
42 sleep 1
43 timeout=$((timeout - 1))
44 done
45
46 if [ -z "${iface}" ] || [ ! -d "/sys/class/net/${iface}" ]; then
47 msg "netsetup: no ethernet interface found after 60s, skipping DHCP"
48 return
49 fi
50
51 msg "netsetup: configuring ${iface} via DHCP"
52
53 udhcpc -q -i "${iface}"
54}
diff --git a/meta-ti-bsp/recipes-ti/initramfs/initramfs-module-netsetup_1.0.bb b/meta-ti-bsp/recipes-ti/initramfs/initramfs-module-netsetup_1.0.bb
new file mode 100644
index 00000000..ec04ea9d
--- /dev/null
+++ b/meta-ti-bsp/recipes-ti/initramfs/initramfs-module-netsetup_1.0.bb
@@ -0,0 +1,30 @@
1SUMMARY = "initramfs support for DHCP network configuration before NFS root mount"
2
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
5
6SRC_URI = "file://83-netsetup"
7
8S = "${UNPACKDIR}"
9
10do_install() {
11 install -d ${D}/init.d
12 install -m 0755 ${UNPACKDIR}/83-netsetup ${D}/init.d/83-netsetup
13}
14
15FILES:${PN} = "/init.d/83-netsetup"
16
17RDEPENDS:${PN} = "\
18 initramfs-framework-base \
19"
20
21RDEPENDS:${PN}:append:bsp-next = " \
22 kernel-module-ti-am65-cpsw-nuss \
23 kernel-module-k3-cppi-desc-pool \
24 kernel-module-davinci-mdio \
25 kernel-module-ti-cpsw-ale \
26 kernel-module-ti-cpsw-sl \
27 kernel-module-phylink \
28 kernel-module-mdio-bitbang \
29 kernel-module-phy-gmii-sel \
30"
diff --git a/meta-ti-bsp/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb b/meta-ti-bsp/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb
index a9eff847..b4e6adff 100644
--- a/meta-ti-bsp/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb
+++ b/meta-ti-bsp/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb
@@ -23,3 +23,5 @@ RDEPENDS:${PN} += "\
23 initramfs-module-nfsrootfs \ 23 initramfs-module-nfsrootfs \
24 nfs-utils-mount \ 24 nfs-utils-mount \
25" 25"
26
27RDEPENDS:${PN}:append:bsp-next = " initramfs-module-netsetup"