1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-01-12 01:20:20 +00:00

Compare commits

...

15 Commits

Author SHA1 Message Date
LCPD Automation Script
0353868b3f CI/CD Auto-Merger: cicd.scarthgap.202507311300
Updated the value(s) for:
  ti-linux-fw: TI_LINUX_FW_SRCREV
  u-boot-ti-staging_2025.01: SRCREV
  linux-ti-staging-rt_6.12: SRCREV_ARM32
  linux-ti-staging_6.12: SRCREV

Changelogs:
  ti-linux-fw: https://git.ti.com/cgit/processor-firmware/ti-linux-firmware/log/?qt=range&q=f59a711599249ecac75fea38b7a15ef9137d650d..e89a348f4618a26812fb353a04ed9532ef890a2f
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=3bcfad6cee95403f7f62dd9d871cc3ea948c0761..743712b9ee4b33cc9739a3cbeb5a8f14ae2ccf35
  linux-ti-staging-rt_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=b5ee9420d81f46861c4f0a172154e477feda1980..60431d6c0e260d0b9404bcf325368a88daeef9ca
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=72f48d59b8f087fa0dd1f1e8c2c0b5bc0baa537c..ce4785d01a0b962c7d9cb12f56dbae02514213eb

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-07-31 13:00:45 -05:00
Beleswar Padhi
1668db068a ti-pka-fw: Add a recipe to package prebuilt PKA firmware
Add a recipe to install the PKA firmware in root filesystem needed by
sa2_ul driver for PKA operations across all K3 platforms.

Signed-off-by: Beleswar Padhi <b-padhi@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-31 08:56:04 -05:00
Andrew Davis
bce130af30 recipes-graphics: Add weston fix for SGX from meta-arago
This change is needed due to the SGX driver, any distro, not just Arago,
using a TI SoC with SGX will need this fix, so it should go in meta-ti.

Signed-off-by: Andrew Davis <afd@ti.com>
Acked-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-31 08:42:43 -05:00
Denys Dmytriyenko
3fd4674264 meta-ti-bsp: convert DTB prefix matching into class
Convert devicetree prefix matching functionality into a generic
class that can be used by the kernel and wic images. That way
dynamically generated KERNEL_DEVICETREE list will be the same
when populating /boot dir of rootfs and/or FAT boot partition
of a wic image.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-25 16:08:55 -05:00
Denys Dmytriyenko
5e8eca8bfd meta-ti-bsp: generalize non-vendored DEVICETREE_FILES
Automatically generate non-vendored DTBs list in DEVICETREE_FILES from
vendored KERNEL_DEVICETREE list for all platforms to use.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-25 16:08:55 -05:00
Denys Dmytriyenko
62aeca5cda meta-ti-bsp: move KERNEL_DTBVENDORED settings
Move KERNEL_DTBVENDORED settings from the kernel to ti-soc.inc
in the config scope.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-25 16:08:55 -05:00
Hari Nagalla
74831fc037 pru-icss_git.bb: update to PSSP v6.5.0
update to PSSP release v6.5.0. This release is compatible to linux
v6.12 and other fixes for RP message size.

Signed-off-by: Hari Nagalla <hnagalla@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-24 17:06:38 -05:00
Denys Dmytriyenko
7c0618f403 beaglebone-ai64: restore removed TI_VXE_VXD_DRIVER:bsp-bb_org-6_6
During recent removal of 6.1 BSPs, TI_VXE_VXD_DRIVER:bsp-bb_org-6_6
setting for BB.org 6.6 BSP was accidentally removed - restore it.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-24 17:06:38 -05:00
Ryan Eatmon
39dd961d4a check_yocto_rules: Add new rule for recent change
- The UBOOT_VERSION bbappend does not need a guard since we are
modifying our own layer.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-24 08:57:04 -05:00
Ryan Eatmon
cdd972a714 gadget-init: Add missing SUMMARY
Every recipe should have a SUMMARY and that can only be 72 characters at
most.  This recipes had a DESCRIPTION and not SUMMARY.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-24 08:57:04 -05:00
Ryan Eatmon
30eaf25b07 conf: machine: am64xx: Cleanup assignment whitespace
A recent change in bitbake requires that all variable assignments have
whitespace between the variable, the operator and the value.

FOO = "1"

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-24 08:57:04 -05:00
LCPD Automation Script
3e69ce3af0 CI/CD Auto-Merger: cicd.scarthgap.202507240533
Updated the value(s) for:
  atf: SRCREV_tfa:am62lxx

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-07-24 05:33:37 -05:00
LCPD Automation Script
4b943f75bf CI/CD Auto-Merger: cicd.scarthgap.202507231325
Updated the value(s) for:
  ti-linux-fw: TI_DM_FW_VERSION,TI_LINUX_FW_SRCREV
  atf: SRCREV_tfa:am62lxx
  u-boot-ti-staging_2025.01: SRCREV
  k3conf: SRCREV
  linux-ti-staging-rt_6.12: SRCREV_ARM32
  linux-ti-staging_6.12: SRCREV

Changelogs:
  ti-linux-fw: https://git.ti.com/cgit/processor-firmware/ti-linux-firmware/log/?qt=range&q=604d03d4f20727f5f9173d7db1e427cfbdd17022..f59a711599249ecac75fea38b7a15ef9137d650d
  u-boot-ti-staging_2025.01: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?qt=range&q=c199d231a1477137f1b04e794e309af1eeb4c3dd..3bcfad6cee95403f7f62dd9d871cc3ea948c0761
  k3conf: https://git.ti.com/cgit/k3conf/k3conf/log/?qt=range&q=b537524cde12bf24a799f6b087b1bc6263bad87d..6034420195cf763c9470fb2113810695e5e37a23
  linux-ti-staging-rt_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=36c7ff7f60e71677601505976d915286923be488..b5ee9420d81f46861c4f0a172154e477feda1980
  linux-ti-staging_6.12: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?qt=range&q=e6ed2862fe19bd0c8901ecfaa15a3805209d40bd..72f48d59b8f087fa0dd1f1e8c2c0b5bc0baa537c

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
2025-07-23 13:25:46 -05:00
Denys Dmytriyenko
124615e20d ti-kernel-devicetree-prefix: use shared kernel sources for prefix match
Handle devicetree prefix matching inside the shared kernel sources
tree, instead of ${S}. From the kernel recipe perspective, ${S} is
just a symlink to the shared kernel sources. But since the new FIT
image wrapper is a separate recipe now, it has its own different
${S}. To enable FIT image wrapper to support devicetree prefix
matching, it also needs to access the same shared kernel sources.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-23 08:48:29 -05:00
Denys Dmytriyenko
8cd5589bba beagle-bsp: unset KERNEL_DEVICETREE_PREFIX
Beagle machines define both static KERNEL_DEVICETREE list and dynamic
KERNEL_DEVICETREE_PREFIX matching. But BB.org kernel recipes only use
the static list, while TI kernel recipes use dynamic prefix matching
by default.

Since devicetree lists now need to be used outside of the kernel
build, specifically for the new FIT processing wrapper, explicitly
unset KERNEL_DEVICETREE_PREFIX to disable dynamic devicetree prefix
matching, when BB.org BSPs are selected.

This way both kernel build and FIT image wrapper will have the same
list of DTBs to handle, based on the BSP selection.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-23 08:48:29 -05:00
25 changed files with 176 additions and 35 deletions

View File

@@ -17,7 +17,8 @@
"skip_files" : [
"meta-ti-bsp/recipes-core/udev/eudev_%.bbappend",
"meta-ti-bsp/recipes-devtools/binutils/binutils-cross-canadian_%.bbappend",
"meta-ti-bsp/recipes-security/optee/optee-%.bbappend"
"meta-ti-bsp/recipes-security/optee/optee-%.bbappend",
"meta-ti-bsp/dynamic-layers/openembedded-layer/recipes-bsp/u-boot/u-boot-ti-%.bbappend"
]
},
"GUARD-2" : {

View File

@@ -27,3 +27,8 @@ ti/k3-j721e-sk.dtb \
"
MACHINE_GUI_CLASS = "bigscreen"
# TI has moved a driver out of its kernel tree and into an out of tree module.
# We need to not include that for older kernels since the module is still in
# the kernel.
TI_VXE_VXD_DRIVER:bsp-bb_org-6_6 = ""

View File

@@ -14,6 +14,7 @@ BSP_KERNEL_PROVIDER:bsp-bb_org-6_12 = "linux-bb.org"
BSP_KERNEL_VERSION:bsp-bb_org-6_12 = "6.12.%"
BSP_BOOTLOADER_PROVIDER:bsp-bb_org-6_12 = "u-boot-bb.org"
BSP_BOOTLOADER_VERSION:bsp-bb_org-6_12 = "2025.%"
KERNEL_DEVICETREE_PREFIX:bsp-bb_org-6_12 = ""
BSP_SGX_DRIVER_PROVIDER:bsp-bb_org-6_12 = "ti-sgx-ddk-km"
BSP_SGX_DRIVER_VERSION:bsp-bb_org-6_12 = "1.17%"
@@ -36,6 +37,7 @@ BSP_KERNEL_PROVIDER:bsp-bb_org-6_6 = "linux-bb.org"
BSP_KERNEL_VERSION:bsp-bb_org-6_6 = "6.6.%"
BSP_BOOTLOADER_PROVIDER:bsp-bb_org-6_6 = "u-boot-bb.org"
BSP_BOOTLOADER_VERSION:bsp-bb_org-6_6 = "2024.%"
KERNEL_DEVICETREE_PREFIX:bsp-bb_org-6_6 = ""
BSP_SGX_DRIVER_PROVIDER:bsp-bb_org-6_6 = "ti-sgx-ddk-km"
BSP_SGX_DRIVER_VERSION:bsp-bb_org-6_6 = "1.17%"

View File

@@ -1,4 +1,4 @@
# Generate list of DTBs from the kernel source
def get_dtbs_from_kernel(dts_dir, dts_prefix):
import os
import glob
@@ -18,6 +18,8 @@ def get_dtbs_from_kernel(dts_dir, dts_prefix):
matches.append(filename)
return ' '.join(matches)
# Generate list of "merged" DTBs from the kernel source
# It is TI custom feature to merge DTB overlays into a single DTB
def get_merge_dtbs_from_kernel(dts_dir, dts_pattern):
import os
matches = []
@@ -33,10 +35,9 @@ def get_merge_dtbs_from_kernel(dts_dir, dts_pattern):
matches.append(pattern)
return ' '.join(matches)
KERNEL_DEVICETREE_DTBMERGE ?= ""
KERNEL_DEVICETREE = " \
${@get_dtbs_from_kernel('${S}/arch/${ARCH}/boot/dts/', '${KERNEL_DEVICETREE_PREFIX}')} \
${@get_merge_dtbs_from_kernel('${S}/arch/${ARCH}/boot/dts/', '${KERNEL_DEVICETREE_DTBMERGE}')} \
${@get_dtbs_from_kernel('${STAGING_KERNEL_DIR}/arch/${ARCH}/boot/dts/', '${KERNEL_DEVICETREE_PREFIX}')} \
${@get_merge_dtbs_from_kernel('${STAGING_KERNEL_DIR}/arch/${ARCH}/boot/dts/', '${KERNEL_DEVICETREE_DTBMERGE}')} \
"
do_image_wic[depends] += "virtual/kernel:do_shared_workdir"

View File

@@ -35,4 +35,4 @@ OPTEEMACHINE = "k3-am64x"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "prueth-fw pruhsr-fw prusw-fw"
TI_WKS_BOOTLOADER_APPEND="console=ttyS2,115200n8"
TI_WKS_BOOTLOADER_APPEND = "console=ttyS2,115200n8"

View File

@@ -40,6 +40,7 @@ UBI_VOLNAME = "rootfs"
# List common SoC features, may need to add touchscreen for specific machines
MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 alsa pci optee-ftpm"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "ti-pka-fw"
IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"

View File

@@ -19,15 +19,13 @@ UBOOT_ARCH = "arm"
UBOOT_ENTRYPOINT = "0x80008000"
UBOOT_LOADADDRESS = "0x80008000"
DEVICETREE_FILE = "${@(d.getVar('KERNEL_DEVICETREE') or "").replace("ti/omap/","").replace("ti/","")}"
# Generate an extlinux.conf file
UBOOT_EXTLINUX = "1"
UBOOT_EXTLINUX_ROOT = "root=PARTUUID=${uuid}"
UBOOT_EXTLINUX_BOOT_FILES = " \
extlinux.conf;extlinux/extlinux.conf \
${KERNEL_IMAGETYPE} \
${DEVICETREE_FILE} \
${DEVICETREE_FILES} \
"
SPL_BINARY = "MLO"

View File

@@ -11,3 +11,19 @@ UBOOT_RD_ENTRYPOINT = "0x84000000"
# TI platforms all use devicetrees with overlays
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-devicetree"
# Tell the kernel class to install the DTBs in the same directory structure as
# the kernel
KERNEL_DTBDEST = "${KERNEL_IMAGEDEST}/dtb"
KERNEL_DTBVENDORED = "1"
# Also build a non-vendored list w/o dir structure
DEVICETREE_FILES = "${@' '.join([os.path.basename(f) for f in d.getVar("KERNEL_DEVICETREE").split()])}"
KERNEL_DEVICETREE_DTBMERGE ?= ""
# Dynamically build DTBs list based on prefix matching
CLASS_DEVICETREE_PREFIX = "${@ 'ti-devicetree-prefix' if d.getVar('KERNEL_DEVICETREE_PREFIX') else ''}"
KERNEL_CLASSES += "${CLASS_DEVICETREE_PREFIX}"
IMAGE_CLASSES += "${CLASS_DEVICETREE_PREFIX}"

View File

@@ -64,8 +64,6 @@ UBOOT_MACHINE = "am335x_evm_config"
UBOOT_ENTRYPOINT = "0x80008000"
UBOOT_LOADADDRESS = "0x80008000"
DEVICETREE_FILE = "${@(d.getVar('KERNEL_DEVICETREE') or "").replace("ti/omap/","")}"
# Generate an extlinux.conf file
UBOOT_EXTLINUX = "1"
UBOOT_EXTLINUX_ROOT = "root=PARTUUID=${uuid}"
@@ -73,7 +71,7 @@ UBOOT_EXTLINUX_KERNEL_ARGS = "rootwait rw earlycon"
UBOOT_EXTLINUX_BOOT_FILES = " \
extlinux.conf;extlinux/extlinux.conf \
${KERNEL_IMAGETYPE} \
${DEVICETREE_FILE} \
${DEVICETREE_FILES} \
"
SPL_BINARY = "MLO"

View File

@@ -37,15 +37,13 @@ UBOOT_MACHINE = "am43xx_evm_config"
UBOOT_ENTRYPOINT = "0x80008000"
UBOOT_LOADADDRESS = "0x80008000"
DEVICETREE_FILE = "${@(d.getVar('KERNEL_DEVICETREE') or "").replace("ti/omap/","")}"
# Generate an extlinux.conf file
UBOOT_EXTLINUX = "1"
UBOOT_EXTLINUX_ROOT = "root=PARTUUID=${uuid}"
UBOOT_EXTLINUX_BOOT_FILES = " \
extlinux.conf;extlinux/extlinux.conf \
${KERNEL_IMAGETYPE} \
${DEVICETREE_FILE} \
${DEVICETREE_FILES} \
"
SPL_BINARY = "MLO"

View File

@@ -14,12 +14,13 @@ GOODIX_FW_VERSION = "1.0.0.0"
CADENCE_MHDP_FW_VERSION = "2.1.0"
IMG_DEC_FW_VERSION = "1.0"
CNM_WAVE521_FW_VERSION = "1.0.8"
TI_DM_FW_VERSION = "11.00.09"
TI_DM_FW_VERSION = "11.01.09"
TI_SYSFW_VERSION = "11.01.05"
TI_HSM_DEMO_FW_VERSION = "11.00.09"
TAD5212_FW_VERSION = "1.0.0.0"
TI_PKA_FW_VERSION = "2.1.0"
TI_LINUX_FW_SRCREV ?= "604d03d4f20727f5f9173d7db1e427cfbdd17022"
TI_LINUX_FW_SRCREV ?= "e89a348f4618a26812fb353a04ed9532ef890a2f"
SRCREV = "${TI_LINUX_FW_SRCREV}"
BRANCH ?= "ti-linux-firmware"

View File

@@ -0,0 +1,23 @@
SUMMARY = "PKA prebuilt binary firmware image"
LICENSE = "TI-TFL & INSIDE Secure"
LIC_FILES_CHKSUM = "file://LICENCE.pka_fw;md5=dc20391b287874f0dce069cf87917206"
COMPATIBLE_MACHINE = "k3"
require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
PV = "${TI_PKA_FW_VERSION}"
PR = "${INC_PR}.0"
PKA_FW_DIR = "ti-pka"
INSTALL_PKA_FW_DIR = "${nonarch_base_libdir}/firmware"
PKA_FW_NAME = "eip29t2_2.1.0.bin"
do_install() {
# Install Firmware
install -d ${D}${INSTALL_PKA_FW_DIR}
install -m 0644 ${S}/${PKA_FW_DIR}/${PKA_FW_NAME} ${D}/${INSTALL_PKA_FW_DIR}/${PKA_FW_NAME}
}

View File

@@ -8,7 +8,7 @@ SRC_URI_TRUSTED_FIRMWARE_A = "git://git.trustedfirmware.org/TF-A/trusted-firmwar
SRCBRANCH = "master"
LIC_FILES_CHKSUM:am62lxx = "file://docs/license.rst;md5=1118e32884721c0be33267bd7ae11130"
SRCREV_tfa:am62lxx = "c7583e555f0c7152a54e9ccac492dffddc4e3db0"
SRCREV_tfa:am62lxx = "ed89d963b00e8dbdb91cea87e1ba43db0a64fba9"
SRC_URI_TRUSTED_FIRMWARE_A:am62lxx = "git://github.com/TexasInstruments/arm-trusted-firmware.git;protocol=https"
SRCBRANCH:am62lxx = "ti-master"

View File

@@ -6,4 +6,4 @@ PR = "r0"
BRANCH = "ti-u-boot-2025.01"
SRCREV = "c199d231a1477137f1b04e794e309af1eeb4c3dd"
SRCREV = "743712b9ee4b33cc9739a3cbeb5a8f14ae2ccf35"

View File

@@ -10,7 +10,7 @@ PV = "0.3+git"
COMPATIBLE_MACHINE = "k3"
BRANCH ?= "master"
SRCREV = "b537524cde12bf24a799f6b087b1bc6263bad87d"
SRCREV = "6034420195cf763c9470fb2113810695e5e37a23"
SRC_URI = "git://git.ti.com/git/k3conf/k3conf.git;protocol=https;branch=${BRANCH}"

View File

@@ -0,0 +1,7 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/weston:"
PR:append = ".ti-soc1"
SRC_URI += " \
file://0001-Revert-require-GL_EXT_unpack_subimage-commit.patch \
"

View File

@@ -0,0 +1,95 @@
From 5a05e5b66dd3831a9c9c2b3f64bd42419d9ade2d Mon Sep 17 00:00:00 2001
From: Denys Dmytriyenko <denys@konsulko.com>
Date: Thu, 6 Jul 2023 01:48:41 +0000
Subject: [PATCH] Revert require GL_EXT_unpack_subimage commit
This reverts commit 593d5af43a8e2c2a3371088fa7ae430d0517c82d.
That commit removed support for GPU drivers without GL_EXT_unpack_subimage
which SGX does not support. Add back support for GPUs without this
extension.
Upstream-Status: Inappropriate [specific to TI SGX]
Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
---
libweston/renderer-gl/gl-renderer-internal.h | 2 ++
libweston/renderer-gl/gl-renderer.c | 29 ++++++++++++++++----
2 files changed, 26 insertions(+), 5 deletions(-)
diff --git a/libweston/renderer-gl/gl-renderer-internal.h b/libweston/renderer-gl/gl-renderer-internal.h
index 5032035..85616c9 100644
--- a/libweston/renderer-gl/gl-renderer-internal.h
+++ b/libweston/renderer-gl/gl-renderer-internal.h
@@ -160,6 +160,8 @@ struct gl_renderer {
PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC create_platform_window;
bool has_platform_base;
+ bool has_unpack_subimage;
+
PFNEGLBINDWAYLANDDISPLAYWL bind_display;
PFNEGLUNBINDWAYLANDDISPLAYWL unbind_display;
PFNEGLQUERYWAYLANDBUFFERWL query_buffer;
diff --git a/libweston/renderer-gl/gl-renderer.c b/libweston/renderer-gl/gl-renderer.c
index ccb41e6..38a0e0c 100644
--- a/libweston/renderer-gl/gl-renderer.c
+++ b/libweston/renderer-gl/gl-renderer.c
@@ -2106,6 +2106,7 @@ gl_renderer_flush_damage(struct weston_surface *surface,
{
const struct weston_testsuite_quirks *quirks =
&surface->compositor->test_data.test_quirks;
+ struct gl_renderer *gr = get_renderer(surface->compositor);
struct gl_surface_state *gs = get_surface_state(surface);
struct gl_buffer_state *gb = gs->buffer;
struct weston_paint_node *pnode;
@@ -2152,6 +2153,24 @@ gl_renderer_flush_damage(struct weston_surface *surface,
glActiveTexture(GL_TEXTURE0);
+ if (!gr->has_unpack_subimage) {
+ wl_shm_buffer_begin_access(buffer->shm_buffer);
+ for (j = 0; j < gs->buffer->num_textures; j++) {
+ glBindTexture(GL_TEXTURE_2D, gs->buffer->textures[j]);
+ glTexImage2D(GL_TEXTURE_2D, 0,
+ gs->buffer->gl_format[j],
+ gs->buffer->pitch / pixel_format_hsub(buffer->pixel_format, j),
+ buffer->height / pixel_format_vsub(buffer->pixel_format, j),
+ 0,
+ gl_format_from_internal(gs->buffer->gl_format[j]),
+ gs->buffer->gl_pixel_type,
+ data + gs->buffer->offset[j]);
+ }
+ wl_shm_buffer_end_access(buffer->shm_buffer);
+
+ goto done;
+ }
+
if (gb->needs_full_upload || quirks->gl_force_full_upload) {
glPixelStorei(GL_UNPACK_SKIP_PIXELS_EXT, 0);
glPixelStorei(GL_UNPACK_SKIP_ROWS_EXT, 0);
@@ -4169,11 +4188,9 @@ gl_renderer_setup(struct weston_compositor *ec)
else
ec->read_format = pixel_format_get_info(DRM_FORMAT_ABGR8888);
- if (gr->gl_version < gr_gl_version(3, 0) &&
- !weston_check_egl_extension(extensions, "GL_EXT_unpack_subimage")) {
- weston_log("GL_EXT_unpack_subimage not available.\n");
- return -1;
- }
+ if (gr->gl_version >= gr_gl_version(3, 0) ||
+ weston_check_egl_extension(extensions, "GL_EXT_unpack_subimage"))
+ gr->has_unpack_subimage = true;
if (gr->gl_version >= gr_gl_version(3, 0) ||
weston_check_egl_extension(extensions, "GL_EXT_texture_type_2_10_10_10_REV"))
@@ -4268,6 +4285,8 @@ gl_renderer_setup(struct weston_compositor *ec)
gr_gl_version_minor(gr->gl_version));
weston_log_continue(STAMP_SPACE "read-back format: %s\n",
ec->read_format->drm_format_name);
+ weston_log_continue(STAMP_SPACE "wl_shm sub-image to texture: %s\n",
+ gr->has_unpack_subimage ? "yes" : "no");
weston_log_continue(STAMP_SPACE "glReadPixels supports y-flip: %s\n",
yesno(gr->has_pack_reverse));
weston_log_continue(STAMP_SPACE "wl_shm 10 bpc formats: %s\n",

View File

@@ -0,0 +1,4 @@
WESTON_TI_VERSION = ""
WESTON_TI_VERSION:ti-soc = "${BPN}-ti-version.inc"
require ${WESTON_TI_VERSION}

View File

@@ -2,8 +2,6 @@ require linux-ti-mainline_git.bb
SUMMARY = "Linux-next kernel for TI devices"
include ${@ 'recipes-kernel/linux/ti-kernel-devicetree-prefix.inc' if d.getVar('KERNEL_DEVICETREE_PREFIX') else ''}
# 6.6.0-rc3+ version
SRCREV = "6465e260f48790807eef06b583b38ca9789b6072"
PV = "6.6.0-rc3+git"

View File

@@ -10,7 +10,7 @@ BRANCH_ARM64 = "ti-linux-6.12.y"
BRANCH = "${BRANCH_ARM64}"
BRANCH_ARM32 = "ti-rt-linux-6.12.y-arm32"
SRCREV_ARM32 = "36c7ff7f60e71677601505976d915286923be488"
SRCREV_ARM32 = "60431d6c0e260d0b9404bcf325368a88daeef9ca"
PV_ARM32 = "6.12.35+git"
BRANCH:ti33x = "${BRANCH_ARM32}"

View File

@@ -8,7 +8,6 @@ inherit kernel
require recipes-kernel/linux/setup-defconfig.inc
require recipes-kernel/linux/ti-kernel.inc
include ${@ 'recipes-kernel/linux/ti-kernel-devicetree-prefix.inc' if d.getVar('KERNEL_DEVICETREE_PREFIX') else ''}
include ${@ 'recipes-kernel/linux/ti-extras.inc' if d.getVar('TI_EXTRAS') else ''}
DEPENDS += "gmp-native libmpc-native"
@@ -23,7 +22,7 @@ S = "${WORKDIR}/git"
BRANCH ?= "ti-linux-6.12.y"
SRCREV ?= "e6ed2862fe19bd0c8901ecfaa15a3805209d40bd"
SRCREV ?= "ce4785d01a0b962c7d9cb12f56dbae02514213eb"
PV = "6.12.35+git"
# Special configuration for remoteproc/rpmsg IPC modules

View File

@@ -8,7 +8,6 @@ inherit kernel
require recipes-kernel/linux/setup-defconfig.inc
require recipes-kernel/linux/ti-kernel.inc
include ${@ 'recipes-kernel/linux/ti-kernel-devicetree-prefix.inc' if d.getVar('KERNEL_DEVICETREE_PREFIX') else ''}
include ${@ 'recipes-kernel/linux/ti-extras.inc' if d.getVar('TI_EXTRAS') else ''}
DEPENDS += "gmp-native libmpc-native"

View File

@@ -1,8 +1,3 @@
# Tell the kernel class to install the DTBs in the same directory structure as
# the kernel.
KERNEL_DTBDEST = "${KERNEL_IMAGEDEST}/dtb"
KERNEL_DTBVENDORED = "1"
KERNEL_GIT_URI ?= "git://git.ti.com/git/ti-linux-kernel/ti-linux-kernel.git"
KERNEL_GIT_PROTOCOL ?= "https"
KERNEL_GIT_BRANCH ?= "branch=${BRANCH}"

View File

@@ -8,9 +8,9 @@ inherit update-alternatives
BRANCH = "master"
SRC_URI = "git://git.ti.com/git/pru-software-support-package/pru-software-support-package.git;protocol=https;branch=${BRANCH}"
SRCREV = "00a5efa5157feb84cb2e4bf50b481f7082acca82"
SRCREV = "5584926fa3721274e61c5473593cfb7f9f4284d4"
PV = "6.3.0"
PV = "6.5.0"
require recipes-ti/includes/ti-paths.inc

View File

@@ -1,4 +1,4 @@
DESCRIPTION = "Units to initialize usb gadgets"
SUMMARY = "Units to initialize usb gadgets"
PR = "r19"