Skip to contentSkip to conversation

Updates to support UNPACKDIR

PATCH In review Ryan Eatmon 1 participant 7 messages May 31, 2024 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

v3 cover Updates to support UNPACKDIR

These are the patches needed to support the change to UNPACKDIR. I am not going to list what changed from v2 to v3 because it was pretty much a full throw out and redo once things solidified, but I still wanted to call this v3 since it is my third attempt.

Ryan Eatmon (2):
recipes: Update to UNPACKDIR for files going into WORKDIR
recipes: Switch away from S = WORKDIR

 meta-ti-bsp/recipes-bsp/vis-fw/vis_01.50.07.15.bb    |  3 ++-
 meta-ti-bsp/recipes-core/udev/eudev_%.bbappend       |  4 ++--
 meta-ti-bsp/recipes-kernel/linux/setup-defconfig.inc |  2 +-
 meta-ti-bsp/recipes-ti/ipc/ti-ipc_git.bb             | 12 ++++++------
 .../recipes-ti/beagleboard/beaglebone-capes.bb       |  4 ++--
 meta-ti-extras/recipes-ti/beagleboard/gadget-init.bb | 10 +++++-----
 .../recipes-ti/devtools/ti-cgt-pru_2.3.3.bb          |  8 ++++----
 meta-ti-extras/recipes-ti/devtools/ti-cgt6x_8.3.2.bb |  2 +-
 meta-ti-extras/recipes-ti/includes/ti-unpack.inc     |  4 ++--
 9 files changed, 25 insertions(+), 24 deletions(-)
Signature · 1 line
2.17.1
#1 lore raw

PATCH v3 1/2 conf: machine: Fallback to software rendering

While we are working to finish our kernel migration 6.6, we are falling aback to software rendering for platforms that do not currently have a solution for GPU drivers (namely the boards that use SGX).

---
 meta-ti-bsp/conf/machine/include/am65xx.inc   | 2 +-
 meta-ti-bsp/conf/machine/include/omap-a15.inc | 2 +-
 meta-ti-bsp/conf/machine/include/ti33x.inc    | 2 +-
 meta-ti-bsp/conf/machine/include/ti43x.inc    | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
meta-ti-bsp/conf/machine/include/am65xx.inc +1 -1
index 80a7744a..48b89638 100644
@@ -4,7 +4,7 @@ SOC_FAMILY:append = ":am65xx"
 MACHINE_FEATURES += "screen touchscreen gpu"
 
 require conf/machine/include/mesa-pvr.inc
-PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-sgx-ddk-km"
+PREFERRED_PROVIDER_virtual/gpudriver ?= ""
 
 KERNEL_DEVICETREE_PREFIX = "ti/k3-am654"
 
meta-ti-bsp/conf/machine/include/omap-a15.inc +1 -1
index a875713f..9ca41403 100644
@@ -13,7 +13,7 @@ PREFERRED_PROVIDER_u-boot ?= "u-boot-ti-staging"
 
 # Graphics providers and variables
 require conf/machine/include/mesa-pvr.inc
-PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-sgx-ddk-km"
+PREFERRED_PROVIDER_virtual/gpudriver ?= ""
 PVR_DISPLAY_CONTROLLER_ALIAS ?= "omapdrm"
 
 KERNEL_IMAGETYPE = "zImage"
meta-ti-bsp/conf/machine/include/ti33x.inc +1 -1
index b0ed1c69..6fd65b2d 100644
@@ -14,7 +14,7 @@ PREFERRED_PROVIDER_u-boot ?= "u-boot-ti-staging"
 
 # Graphics providers and variables
 require conf/machine/include/mesa-pvr.inc
-PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-sgx-ddk-km"
+PREFERRED_PROVIDER_virtual/gpudriver ?= ""
 PVR_DISPLAY_CONTROLLER_ALIAS ?= "tilcdc"
 
 KERNEL_IMAGETYPE = "zImage"
meta-ti-bsp/conf/machine/include/ti43x.inc +1 -1
index 17ca5240..0a3ef4c3 100644
@@ -14,7 +14,7 @@ PREFERRED_PROVIDER_u-boot ?= "u-boot-ti-staging"
 
 # Graphics providers and variables
 require conf/machine/include/mesa-pvr.inc
-PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-sgx-ddk-km"
+PREFERRED_PROVIDER_virtual/gpudriver ?= ""
 PVR_DISPLAY_CONTROLLER_ALIAS ?= "omapdrm"
 
 KERNEL_IMAGETYPE = "zImage"
Signature · 1 line
2.17.1
#2 lore raw

PATCH v3 1/2 recipes: Update to UNPACKDIR for files going into WORKDIR

In reply to Ryan Eatmon

For recipes that have file:// in SRC_URI, the files are placed into WORKDIR. Moving forward [1], that directory will be UNPACKDIR and eventually move to somewhere other than WORKDIR. So update all references to WORKDIR that are looking for these file to use UNPACKDIR instead.

[1] https://git.openembedded.org/openembedded-core/commit/?id=e022d62ba917790af2121da57646271ef17c03fa

---
 meta-ti-bsp/recipes-core/udev/eudev_%.bbappend       |  4 ++--
 meta-ti-bsp/recipes-kernel/linux/setup-defconfig.inc |  2 +-
 meta-ti-bsp/recipes-ti/ipc/ti-ipc_git.bb             | 12 ++++++------
 .../recipes-ti/beagleboard/beaglebone-capes.bb       |  4 ++--
 meta-ti-extras/recipes-ti/beagleboard/gadget-init.bb | 10 +++++-----
 .../recipes-ti/devtools/ti-cgt-pru_2.3.3.bb          |  8 ++++----
 meta-ti-extras/recipes-ti/devtools/ti-cgt6x_8.3.2.bb |  2 +-
 meta-ti-extras/recipes-ti/includes/ti-unpack.inc     |  4 ++--
 8 files changed, 23 insertions(+), 23 deletions(-)
meta-ti-bsp/recipes-core/udev/eudev_%.bbappend +2 -2
index ddb1e75d..dee46cda 100644
@@ -8,6 +8,6 @@ SRC_URI:append:ti-soc = " \
 PR:append:ti-soc = ".3"
 
 do_install:append:ti-soc() {
-    install -m 0644 ${WORKDIR}/omap-tty.rules ${D}${sysconfdir}/udev/rules.d/
-    install -m 0644 ${WORKDIR}/firmware.rules ${D}${sysconfdir}/udev/rules.d/
+    install -m 0644 ${UNPACKDIR}/omap-tty.rules ${D}${sysconfdir}/udev/rules.d/
+    install -m 0644 ${UNPACKDIR}/firmware.rules ${D}${sysconfdir}/udev/rules.d/
 }
meta-ti-bsp/recipes-kernel/linux/setup-defconfig.inc +1 -1
index 8da90c79..213f6871 100644
@@ -9,7 +9,7 @@ do_configure() {
     # Always copy the defconfig file to .config to keep consistency
     # between the case where there is a real config and the in kernel
     # tree config
-    cp ${WORKDIR}/defconfig ${B}/.config
+    cp ${UNPACKDIR}/defconfig ${B}/.config
 
     scm_version=$(printf '%s%s' -g $(git -C ${S} rev-parse --verify HEAD 2>/dev/null | cut -c1-12))
 
meta-ti-bsp/recipes-ti/ipc/ti-ipc_git.bb +6 -6
index e2db6efd..11be09ea 100644
@@ -18,7 +18,7 @@ SRC_URI += "file://tiipclad-daemon.sh \
             file://0001-MmRpc-Stop-looking-for-rpmsg_rpc.h-in-the-kernel.patch \
            "
 
-CFLAGS += "-I${WORKDIR}"
+CFLAGS += "-I${UNPACKDIR}"
 
 DAEMON = "UNKNOWN"
 DAEMON:dra7xx = "lad_dra7xx"
@@ -45,18 +45,18 @@ do_install:append() {
 
     # Modify the startup scripts to point to the right
     # lad daemon executable.
-    sed -i -e "s/__LAD_DAEMON__/${DAEMON}/" ${WORKDIR}/tiipclad-daemon.sh
-    sed -i -e "s/__LAD_DAEMON__/${DAEMON}/" ${WORKDIR}/tiipclad-daemon.service
+    sed -i -e "s/__LAD_DAEMON__/${DAEMON}/" ${UNPACKDIR}/tiipclad-daemon.sh
+    sed -i -e "s/__LAD_DAEMON__/${DAEMON}/" ${UNPACKDIR}/tiipclad-daemon.service
 
     install -d ${D}${systemd_system_unitdir}
-    install -m 0644 ${WORKDIR}/tiipclad-daemon.service ${D}${systemd_system_unitdir}
+    install -m 0644 ${UNPACKDIR}/tiipclad-daemon.service ${D}${systemd_system_unitdir}
     install -d ${D}${sysconfdir}/init.d/
-    install -c -m 755 ${WORKDIR}/tiipclad-daemon.sh ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
+    install -c -m 755 ${UNPACKDIR}/tiipclad-daemon.sh ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
 }
 
 do_install:append:dra7xx() {
     install -d ${D}${sysconfdir}/modprobe.d/
-    install -c -m 644 ${WORKDIR}/omap_remoteproc.conf ${D}${sysconfdir}/modprobe.d/
+    install -c -m 644 ${UNPACKDIR}/omap_remoteproc.conf ${D}${sysconfdir}/modprobe.d/
 }
 
 PACKAGES =+ "${PN}-test"
meta-ti-extras/recipes-ti/beagleboard/beaglebone-capes.bb +2 -2
index ceefe0d6..ded1d9c0 100644
@@ -14,13 +14,13 @@ SRC_URI = "file://cape.service \
 
 do_install() {
 	install -d ${D}${base_libdir}/systemd/system/
-	install -m 0644 ${WORKDIR}/cape.service ${D}${base_libdir}/systemd/system
+	install -m 0644 ${UNPACKDIR}/cape.service ${D}${base_libdir}/systemd/system
 
 	install -d ${D}${base_libdir}/systemd/system/basic.target.wants
 	ln -sf ../cape.service ${D}${base_libdir}/systemd/system/basic.target.wants/
 
 	install -d ${D}${bindir}
-	install -m 0755 ${WORKDIR}/cape*.sh ${D}${bindir}
+	install -m 0755 ${UNPACKDIR}/cape*.sh ${D}${bindir}
 }
 
 FILES:${PN} += "${base_libdir}/systemd/system"
meta-ti-extras/recipes-ti/beagleboard/gadget-init.bb +5 -5
index 3ab00ec3..f22583c0 100644
@@ -22,19 +22,19 @@ SRC_URI = "file://storage-gadget-init.service \
 
 do_install() {
 	install -d ${D}${base_libdir}/systemd/system/basic.target.wants
-	install -m 0644 ${WORKDIR}/*.service ${D}${base_libdir}/systemd/system
+	install -m 0644 ${UNPACKDIR}/*.service ${D}${base_libdir}/systemd/system
 
-	for i in ${WORKDIR}/storage-gadget-init.service ; do
+	for i in ${UNPACKDIR}/storage-gadget-init.service ; do
 		install -m 0644 $i ${D}${base_libdir}/systemd/system
 		ln -sf ../$(basename $i) ${D}${base_libdir}/systemd/system/basic.target.wants/
 	done
 
 	install -d ${D}${sysconfdir}/udev/rules.d
-	install -m 0644 ${WORKDIR}/*.rules ${D}${sysconfdir}/udev/rules.d
-	install -m 0644 ${WORKDIR}/*.conf ${D}${sysconfdir}
+	install -m 0644 ${UNPACKDIR}/*.rules ${D}${sysconfdir}/udev/rules.d
+	install -m 0644 ${UNPACKDIR}/*.conf ${D}${sysconfdir}
 
 	install -d ${D}${bindir}
-	install -m 0755 ${WORKDIR}/*.sh ${D}${bindir}
+	install -m 0755 ${UNPACKDIR}/*.sh ${D}${bindir}
 }
 
 PACKAGES =+ "${PN}-storage ${PN}-network ${PN}-udhcpd"
meta-ti-extras/recipes-ti/devtools/ti-cgt-pru_2.3.3.bb +4 -4
index c96113fe..47bd6a51 100644
@@ -2,7 +2,7 @@ DESCRIPTION = "TI PRU Code Generation Tools"
 HOMEPAGE = "https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm"
 LICENSE = "(TI-TSPA & Thai-Open-Source-Software-Center) & BSD-3-Clause & BSL-1.0 & Hewlett-Packard & AFL-3.0 & MIT & BSD-2-Clause & PD"
 
-LIC_FILES_CHKSUM = "file://ti-cgt-pru_${PV}/PRU_Code_Generation_Tools_2.3.x_manifest.html;md5=e22f9d8240f7cca0c0aa5242d9ffa5bc"
+LIC_FILES_CHKSUM = "file://${UNPACKDIR}/ti-cgt-pru_${PV}/PRU_Code_Generation_Tools_2.3.x_manifest.html;md5=e22f9d8240f7cca0c0aa5242d9ffa5bc"
 LIC_FILES_CHKSUM:class-target = "file://usr/share/doc/ti/cgt-pru/PRU_Code_Generation_Tools_2.3.x_manifest.html;md5=e22f9d8240f7cca0c0aa5242d9ffa5bc"
 
 require recipes-ti/includes/ti-paths.inc
@@ -10,7 +10,7 @@ require recipes-ti/includes/ti-unpack.inc
 
 BINFILE = "ti_cgt_pru_${PV}_linux_installer_x86.bin"
 BINFILE_NAME = "cgt-pru-x86"
-TI_BIN_UNPK_ARGS = "--prefix ${S}"
+TI_BIN_UNPK_ARGS = "--prefix ${UNPACKDIR}"
 TI_BIN_UNPK_CMDS = ""
 
 BINFILE:class-target = "ti_cgt_pru_${PV}_armlinuxa8hf_busybox_installer.sh"
@@ -26,12 +26,12 @@ SRC_URI[cgt-pru-arm.sha256sum] = "8390cb77b46b728ce2940595b81406f76d86dfed58c212
 
 do_install() {
     install -d ${D}${TI_CGT_PRU_INSTALL_DIR_RECIPE}
-    cp -r ${S}/ti-cgt-pru_${PV}/. \
+    cp -r ${UNPACKDIR}/ti-cgt-pru_${PV}/. \
           ${D}${TI_CGT_PRU_INSTALL_DIR_RECIPE}/
 }
 
 do_install:class-target() {
-    ${WORKDIR}/${BINFILE} --prefix ${D}
+    ${UNPACKDIR}/${BINFILE} --prefix ${D}
 }
 
 FILES:${PN} += "${datadir}/ti/*"
meta-ti-extras/recipes-ti/devtools/ti-cgt6x_8.3.2.bb +1 -1
index fd34657a..1acd2f9f 100644
@@ -92,7 +92,7 @@ do_install() {
 }
 
 do_install:class-target() {
-    ${WORKDIR}/${BINFILE} --prefix ${D}
+    ${UNPACKDIR}/${BINFILE} --prefix ${D}
 }
 
 FILES:${PN} += "${datadir}/ti/*"
meta-ti-extras/recipes-ti/includes/ti-unpack.inc +2 -2
index 13068843..4cefefbf 100644
@@ -5,7 +5,7 @@
 #  TI_BIN_UNPK_ARGS   - contains the arguments to be passed to the bin file.
 #  TI_BIN_UNPK_CMDS   - contains list of commands separated with colon to be 
 #                       passed while unpacking the bin file. The keyword 
-#                       workdir expands to WORKDIR and commands are appendded
+#                       workdir expands to UNPACKDIR and commands are appendded
 #                       with '\n'. Eg. TI_BIN_UNPK_CMDS="Y:Y: qY:workdir"
 #  TI_BIN_UNPK_WDEXT  - This variable extends workdir path, if user wants to put
 #                       the output in some internal directory
@@ -30,7 +30,7 @@ python ti_bin_do_unpack() {
 
     # Change to the working directory
     save_cwd = os.getcwd()
-    workdir  = localdata.getVar('WORKDIR')
+    workdir  = localdata.getVar('UNPACKDIR')
     workdir  = bb.data.expand(workdir, localdata)
     os.chdir(workdir)
 
Signature · 1 line
2.17.1
#3 lore raw

PATCH v3 2/2 recipes: Remove DEFAULT_PREFERENCE

In reply to Ryan Eatmon

Now that are past the inital stages of our LTS migration, we can remove the DEFAULT_PREFERENCE settings that prevented these recipes from being the default.

---
 .../powervr-drivers/ti-img-rogue-driver_24.1.6554834.bb         | 2 --
 meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2024.04.bb     | 2 --
 meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_23.2.1.bb            | 2 --
 .../powervr-umlibs/ti-img-rogue-umlibs_24.1.6554834.bb          | 2 --
 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.6.bb     | 2 --
 .../recipes-kernel/linux/linux-ti-staging-systest_6.6.bb        | 2 --
 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.6.bb        | 2 --
 7 files changed, 14 deletions(-)
meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_24.1.6554834.bb +0 -2
index a1b76d27..fdb8b51d 100644
@@ -3,8 +3,6 @@ HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-driver"
 LICENSE = "MIT | GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://README;beginline=14;endline=19;md5=0403c7dea01a2b8232261e805325fac2"
 
-DEFAULT_PREFERENCE = "-1"
-
 inherit module
 
 PROVIDES = "virtual/gpudriver"
meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2024.04.bb +0 -2
index d268c8a5..fa8a790c 100644
@@ -1,7 +1,5 @@
 require u-boot-ti.inc
 
-DEFAULT_PREFERENCE = "-1"
-
 include ${@ 'recipes-bsp/u-boot/ti-extras.inc' if d.getVar('TI_EXTRAS') else ''}
 
 PR = "r0"
meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_23.2.1.bb +0 -2
index 1e66acd2..a137f452 100644
@@ -2,8 +2,6 @@
 # upstream yet. This allows us to build the shims we need without completely
 # clobbering mesa.
 
-DEFAULT_PREFERENCE = "-1"
-
 require recipes-graphics/mesa/mesa.inc
 
 SUMMARY += " (with PowerVR support for TI platforms)"
meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_24.1.6554834.bb +0 -2
index d43d1635..6d8e65ff 100644
@@ -3,8 +3,6 @@ HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-umlibs"
 LICENSE = "TI-TFL"
 LIC_FILES_CHKSUM = "file://${WORKDIR}/git/LICENSE;md5=7232b98c1c58f99e3baa03de5207e76f"
 
-DEFAULT_PREFERENCE = "-1"
-
 inherit bin_package
 
 INHIBIT_DEFAULT_DEPS = ""
meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.6.bb +0 -2
index bccd856c..3870f9be 100644
@@ -1,7 +1,5 @@
 require linux-ti-staging_6.6.bb
 
-DEFAULT_PREFERENCE = "-1"
-
 KERNEL_LOCALVERSION:append = "-rt"
 
 # Look in the generic major.minor directory for files
meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest_6.6.bb +0 -2
index 21090904..a17b744b 100644
@@ -1,7 +1,5 @@
 require linux-ti-staging_6.6.bb
 
-DEFAULT_PREFERENCE = "-1"
-
 # Look in the generic major.minor directory for files
 # This will have priority over generic non-rt path
 FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.6:"
meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.6.bb +0 -2
index 14fabb81..3adf9b7f 100644
@@ -6,8 +6,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
 inherit ti-secdev
 inherit kernel
 
-DEFAULT_PREFERENCE = "-1"
-
 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 ''}
Signature · 1 line
2.17.1
#4 lore raw

PATCH v3 2/2 recipes: Switch away from S = WORKDIR

In reply to Ryan Eatmon

Follow along with the corresponding patch in upstream. [1]

[1] https://git.openembedded.org/openembedded-core/commit/?h=master-next&id=d9328e3b0b062f0621de3d114584b44f384a1c02

---
 meta-ti-bsp/recipes-bsp/vis-fw/vis_01.50.07.15.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-ti-bsp/recipes-bsp/vis-fw/vis_01.50.07.15.bb +2 -1
index 4ec09a70..c0e2595a 100644
@@ -11,7 +11,8 @@ SRC_URI = "http://downloads.ti.com/dsps/dsps_public_sw/glsdk/vis/01_50_07_15/exp
 SRC_URI[md5sum] = "fe8b00e398fb3b7ada0c15b601867acb"
 SRC_URI[sha256sum] = "6e2aa47ae892910616ebdc96646af778af9a59ca0657716ab4fa4b24a9afae69"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 DSPAPP = "dra7-dsp1-fw-radio.xe66"
 GPPAPP = "RadioApp"
Signature · 1 line
2.17.1

A message that is not in the archive (sent off-list or not yet received): [email protected]

#6 lore raw

Re: [meta-ti][master/scarthgap][PATCH 2/2] recipes: Remove DEFAULT_PREFERENCE

Ignore this. I didn't realize this patch was still in the directory when I sent all the patches in...

Quoted 114 lines · Ryan Eatmon via lists.yoctoproject.org

Now that are past the inital stages of our LTS migration, we can remove the DEFAULT_PREFERENCE settings that prevented these recipes from being the default.

---
  .../powervr-drivers/ti-img-rogue-driver_24.1.6554834.bb         | 2 --
  meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2024.04.bb     | 2 --
  meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_23.2.1.bb            | 2 --
  .../powervr-umlibs/ti-img-rogue-umlibs_24.1.6554834.bb          | 2 --
  meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.6.bb     | 2 --
  .../recipes-kernel/linux/linux-ti-staging-systest_6.6.bb        | 2 --
  meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.6.bb        | 2 --
  7 files changed, 14 deletions(-)
meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_24.1.6554834.bb +0 -2
index a1b76d27..fdb8b51d 100644
@@ -3,8 +3,6 @@ HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-driver"
  LICENSE = "MIT | GPL-2.0-only"
  LIC_FILES_CHKSUM = "file://README;beginline=14;endline=19;md5=0403c7dea01a2b8232261e805325fac2"
 
-DEFAULT_PREFERENCE = "-1"
-
  inherit module
 
  PROVIDES = "virtual/gpudriver"
meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2024.04.bb +0 -2
index d268c8a5..fa8a790c 100644
@@ -1,7 +1,5 @@
  require u-boot-ti.inc
 
-DEFAULT_PREFERENCE = "-1"
-
  include ${@ 'recipes-bsp/u-boot/ti-extras.inc' if d.getVar('TI_EXTRAS') else ''}
 
  PR = "r0"
meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_23.2.1.bb +0 -2
index 1e66acd2..a137f452 100644
@@ -2,8 +2,6 @@
  # upstream yet. This allows us to build the shims we need without completely
  # clobbering mesa.
 
-DEFAULT_PREFERENCE = "-1"
-
  require recipes-graphics/mesa/mesa.inc
 
  SUMMARY += " (with PowerVR support for TI platforms)"
meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_24.1.6554834.bb +0 -2
index d43d1635..6d8e65ff 100644
@@ -3,8 +3,6 @@ HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-umlibs"
  LICENSE = "TI-TFL"
  LIC_FILES_CHKSUM = "file://${WORKDIR}/git/LICENSE;md5=7232b98c1c58f99e3baa03de5207e76f"
 
-DEFAULT_PREFERENCE = "-1"
-
  inherit bin_package
 
  INHIBIT_DEFAULT_DEPS = ""
meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.6.bb +0 -2
index bccd856c..3870f9be 100644
@@ -1,7 +1,5 @@
  require linux-ti-staging_6.6.bb
 
-DEFAULT_PREFERENCE = "-1"
-
  KERNEL_LOCALVERSION:append = "-rt"
 
  # Look in the generic major.minor directory for files
meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest_6.6.bb +0 -2
index 21090904..a17b744b 100644
@@ -1,7 +1,5 @@
  require linux-ti-staging_6.6.bb
 
-DEFAULT_PREFERENCE = "-1"
-
  # Look in the generic major.minor directory for files
  # This will have priority over generic non-rt path
  FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.6:"
meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.6.bb +0 -3
index 14fabb81..3adf9b7f 100644
@@ -6,8 +6,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
  inherit ti-secdev
  inherit kernel
 
-DEFAULT_PREFERENCE = "-1"
-
  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 ''}
 
 
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#17685): https://lists.yoctoproject.org/g/meta-ti/message/17685
Mute This Topic: https://lists.yoctoproject.org/mt/106415246/6551054
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS

A message that is not in the archive (sent off-list or not yet received): [email protected]

#8 lore raw

Re: [meta-ti][master/scarthgap][PATCH 1/2] conf: machine: Fallback to software rendering

Ignore this. I didn't realize this patch was still in the directory when I sent all the patches in...

Quoted 75 lines · Ryan Eatmon via lists.yoctoproject.org

While we are working to finish our kernel migration 6.6, we are falling aback to software rendering for platforms that do not currently have a solution for GPU drivers (namely the boards that use SGX).

---
  meta-ti-bsp/conf/machine/include/am65xx.inc   | 2 +-
  meta-ti-bsp/conf/machine/include/omap-a15.inc | 2 +-
  meta-ti-bsp/conf/machine/include/ti33x.inc    | 2 +-
  meta-ti-bsp/conf/machine/include/ti43x.inc    | 2 +-
  4 files changed, 4 insertions(+), 4 deletions(-)
meta-ti-bsp/conf/machine/include/am65xx.inc +1 -1
index 80a7744a..48b89638 100644
@@ -4,7 +4,7 @@ SOC_FAMILY:append = ":am65xx"
  MACHINE_FEATURES += "screen touchscreen gpu"
 
  require conf/machine/include/mesa-pvr.inc
-PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-sgx-ddk-km"
+PREFERRED_PROVIDER_virtual/gpudriver ?= ""
 
  KERNEL_DEVICETREE_PREFIX = "ti/k3-am654"
 
meta-ti-bsp/conf/machine/include/omap-a15.inc +1 -1
index a875713f..9ca41403 100644
@@ -13,7 +13,7 @@ PREFERRED_PROVIDER_u-boot ?= "u-boot-ti-staging"
 
  # Graphics providers and variables
  require conf/machine/include/mesa-pvr.inc
-PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-sgx-ddk-km"
+PREFERRED_PROVIDER_virtual/gpudriver ?= ""
  PVR_DISPLAY_CONTROLLER_ALIAS ?= "omapdrm"
 
  KERNEL_IMAGETYPE = "zImage"
meta-ti-bsp/conf/machine/include/ti33x.inc +1 -1
index b0ed1c69..6fd65b2d 100644
@@ -14,7 +14,7 @@ PREFERRED_PROVIDER_u-boot ?= "u-boot-ti-staging"
 
  # Graphics providers and variables
  require conf/machine/include/mesa-pvr.inc
-PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-sgx-ddk-km"
+PREFERRED_PROVIDER_virtual/gpudriver ?= ""
  PVR_DISPLAY_CONTROLLER_ALIAS ?= "tilcdc"
 
  KERNEL_IMAGETYPE = "zImage"
meta-ti-bsp/conf/machine/include/ti43x.inc +1 -2
index 17ca5240..0a3ef4c3 100644
@@ -14,7 +14,7 @@ PREFERRED_PROVIDER_u-boot ?= "u-boot-ti-staging"
 
  # Graphics providers and variables
  require conf/machine/include/mesa-pvr.inc
-PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-sgx-ddk-km"
+PREFERRED_PROVIDER_virtual/gpudriver ?= ""
  PVR_DISPLAY_CONTROLLER_ALIAS ?= "omapdrm"
 
  KERNEL_IMAGETYPE = "zImage"
 
 
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#17686): https://lists.yoctoproject.org/g/meta-ti/message/17686
Mute This Topic: https://lists.yoctoproject.org/mt/106415247/6551054
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS