Skip to contentSkip to conversation

linux-ti-staging: Add 6.1 recipe

PATCH In review Andrew Davis 5 participants 9 messages Mar 14, 2023 – Mar 16, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux-ti-staging: Add 6.1 recipe

Remove all non-upstream Device Tree Overlays. We could have filtered them out like as done in mainline and next testing. The issue would be as they are added back to 6.1 and upstream we would need to conditionally re-enable each. Easier to get a clean start.

Switch to software rendering as the Rogue kernel mode driver does not build yet for kernel v6.1.

---
 meta-ti-bsp/conf/machine/am57xx-evm.conf      | 10 ----
 meta-ti-bsp/conf/machine/am62xx-evm.conf      |  1 -
 meta-ti-bsp/conf/machine/am62xx-lp-evm.conf   |  1 -
 meta-ti-bsp/conf/machine/beaglebone-ai64.conf | 51 -------------------
 meta-ti-bsp/conf/machine/dra7xx-evm.conf      |  8 ---
 meta-ti-bsp/conf/machine/include/am62xx.inc   |  2 +-
 meta-ti-bsp/conf/machine/include/am64xx.inc   |  3 --
 meta-ti-bsp/conf/machine/include/am65xx.inc   | 10 ----
 meta-ti-bsp/conf/machine/include/j721e.inc    |  2 +-
 meta-ti-bsp/conf/machine/include/j721s2.inc   |  2 +-
 meta-ti-bsp/conf/machine/include/j784s4.inc   |  2 +-
 meta-ti-bsp/conf/machine/include/ti43x.inc    |  2 -
 meta-ti-bsp/conf/machine/j721e-evm.conf       |  1 -
 meta-ti-bsp/conf/machine/j721s2-evm.conf      |  1 -
 .../linux/linux-ti-staging-6.1/defconfig      |  2 +
 .../linux/linux-ti-staging-6.1/k3/defconfig   |  2 +
 .../linux-ti-staging-6.1/omapl138/defconfig   |  1 +
 .../linux/linux-ti-staging_6.1.bb             | 36 +++++++++++++
 18 files changed, 45 insertions(+), 92 deletions(-)
 create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/defconfig
 create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/k3/defconfig
 create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/omapl138/defconfig
 create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb
meta-ti-bsp/conf/machine/am57xx-evm.conf +0 -10
index b3525a0b..7d190753 100644
@@ -13,19 +13,9 @@ KERNEL_DEVICETREE = " \
     am57xx-beagle-x15-revb1.dtb \
     am57xx-beagle-x15-revc.dtb \
     am5729-beagleboneai.dtb \
-    ${@oe.utils.conditional('PREFERRED_PROVIDER_virtual/kernel', 'linux-ti-mainline', '', 'am57xx-evm.dtb', d)} \
-    ti/am57xx-evm-common.dtbo \
-    ${@oe.utils.conditional('PREFERRED_PROVIDER_virtual/kernel', 'linux-ti-mainline', '', 'am57xx-evm-reva3.dtb', d)} \
-    ti/am57xx-evm-reva3.dtbo \
     am571x-idk.dtb \
-    ti/am571x-idk-touchscreen.dtbo \
     am572x-idk.dtb \
     am574x-idk.dtb \
-    ti/am57xx-idk-osd-lcd-common.dtbo \
-    ti/am572x-idk-touchscreen.dtbo \
-    ti/lcd-osd101t2587.dtbo \
-    ti/lcd-osd101t2045.dtbo \
-    ${@oe.utils.conditional('PREFERRED_PROVIDER_virtual/kernel', 'linux-ti-mainline', '', 'ti/ov10635.dtbo', d)} \
 "
 
 KERNEL_DEVICETREE += "${@oe.utils.conditional('ENABLE_TI_UIO_DEVICES', '1', 'am574x-idk-pru-excl-uio.dtb am572x-idk-pru-excl-uio.dtb am571x-idk-pru-excl-uio.dtb', '', d)}"
meta-ti-bsp/conf/machine/am62xx-evm.conf +0 -1
index 73859d5f..35910ff3 100644
@@ -8,7 +8,6 @@ KERNEL_DEVICETREE = " \
     ti/k3-am625-sk.dtb \
     ti/k3-am625-skeleton.dtb \
     ti/k3-am625-sk-lpmdemo.dtb \
-    ti/k3-am625-sk-csi2-ov5640.dtbo \
 "
 
 UBOOT_MACHINE = "am62x_evm_a53_defconfig"
meta-ti-bsp/conf/machine/am62xx-lp-evm.conf +0 -1
index ec9ce596..32ffaaa0 100644
@@ -8,7 +8,6 @@ KERNEL_DEVICETREE = " \
     ti/k3-am62x-lp-sk.dtb \
     ti/k3-am625-skeleton.dtb \
     ti/k3-am625-sk-lpmdemo.dtb \
-    ti/k3-am625-sk-csi2-ov5640.dtbo \
 "
 
 UBOOT_MACHINE = "am62x_lpsk_a53_defconfig"
meta-ti-bsp/conf/machine/beaglebone-ai64.conf +0 -51

58 lines not on this page · raw message

meta-ti-bsp/conf/machine/dra7xx-evm.conf +0 -8
index 813e0e06..1944792e 100644
@@ -10,18 +10,10 @@ SERIAL_CONSOLES = "115200;ttyS0"
 
 KERNEL_DEVICETREE = " \
     dra7-evm.dtb \
-    ti/dra7x-evm-osd-lcd-common.dtbo \
     dra71-evm.dtb \
-    ${@oe.utils.conditional('PREFERRED_PROVIDER_virtual/kernel', 'linux-ti-mainline', '', 'dra71-evm-nand.dtb', d)} \
-    ti/dra71-evm-lcd-auo-g101evn01.0.dtbo \
     dra72-evm.dtb \
     dra72-evm-revc.dtb \
-    ti/dra72-evm-touchscreen.dtbo \
-    ti/dra74-evm-touchscreen.dtbo \
     dra76-evm.dtb \
-    ti/dra76-evm-tfp410.dtbo \
-    ti/lcd-osd101t2045.dtbo \
-    ti/lcd-osd101t2587.dtbo \
 "
 
 UBOOT_MACHINE = "dra7xx_evm_config"
meta-ti-bsp/conf/machine/include/am62xx.inc +1 -1
index 98df24b2..c0f2adb2 100644
@@ -6,7 +6,7 @@ MACHINE_FEATURES += "screen gpu"
 SERIAL_CONSOLES = "115200;ttyS2"
 SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
 
-PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
+PREFERRED_PROVIDER_virtual/gpudriver ?= ""
 
 TFA_BOARD = "lite"
 TFA_K3_SYSTEM_SUSPEND = "1"
meta-ti-bsp/conf/machine/include/am64xx.inc +0 -3
index a2e5d673..ff7f66e3 100644
@@ -7,9 +7,6 @@ SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
 KERNEL_DEVICETREE = " \
     ti/k3-am642-evm.dtb \
     ti/k3-am642-sk.dtb \
-    ti/k3-am642-evm-icssg1-dualemac.dtbo \
-    ti/k3-am642-evm-icssg1-dualemac-mii.dtbo \
-    ti/k3-am642-evm-nand.dtbo \
 "
 
 # Default tiboot3.bin on AM64x is for SR2.0 HS-FS
meta-ti-bsp/conf/machine/include/am65xx.inc +0 -10
index 0ae00761..fef73da2 100644
@@ -10,16 +10,6 @@ PREFERRED_PROVIDER_virtual/gpudriver ?= ""
 
 KERNEL_DEVICETREE = " \
     ti/k3-am654-base-board.dtb \
-    ti/k3-am654-base-board-sr1.dtbo \
-    ti/k3-am654-gp.dtbo \
-    ti/k3-am654-idk.dtbo \
-    ti/k3-am654-idk-sr1.dtbo \
-    ti/k3-am654-sr1.dtbo \
-    ti/k3-am654-pcie-usb2.dtbo \
-    ti/k3-am654-pcie-usb3.dtbo \
-    ti/k3-am654-evm-tc358876.dtbo \
-    ti/k3-am654-evm-oldi-lcd1evm.dtbo \
-    ti/k3-am654-evm-ov5640.dtbo \
 "
 
 # On AM65x the file tiboot3.bin comes from the bootloader not ti-sci-fw
meta-ti-bsp/conf/machine/include/j721e.inc +1 -1
index 8f9c24e6..46f9564e 100644
@@ -3,7 +3,7 @@ SOC_FAMILY:append = ":j721e"
 
 MACHINE_FEATURES += "screen gpu"
 
-PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
+PREFERRED_PROVIDER_virtual/gpudriver ?= ""
 
 # On J721e the file tiboot3.bin comes from the bootloader not ti-sci-fw
 do_image_wic[mcdepends] += "mc::k3r5:virtual/bootloader:do_deploy"
meta-ti-bsp/conf/machine/include/j721s2.inc +1 -1
index 70569a16..a23aed73 100644
@@ -3,7 +3,7 @@ SOC_FAMILY:append = ":j721s2"
 
 MACHINE_FEATURES += "screen gpu"
 
-PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
+PREFERRED_PROVIDER_virtual/gpudriver ?= ""
 
 TFA_BOARD = "generic"
 
meta-ti-bsp/conf/machine/include/j784s4.inc +1 -1
index d03ee4a4..3066193b 100644
@@ -3,7 +3,7 @@ SOC_FAMILY:append = ":j784s4"
 
 MACHINE_FEATURES += "screen gpu"
 
-PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
+PREFERRED_PROVIDER_virtual/gpudriver ?= ""
 
 TFA_BOARD = "j784s4"
 
meta-ti-bsp/conf/machine/include/ti43x.inc +0 -2
index ec6d9c07..3228418e 100644
@@ -20,10 +20,8 @@ KERNEL_IMAGETYPE = "zImage"
 
 KERNEL_DEVICETREE = " \
     am437x-gp-evm.dtb \
-    ${@oe.utils.conditional('PREFERRED_PROVIDER_virtual/kernel', 'linux-ti-mainline', '', 'am437x-gp-evm-hdmi.dtb', d)} \
     am437x-sk-evm.dtb am437x-idk-evm.dtb \
     am43x-epos-evm.dtb \
-    ${@oe.utils.conditional('PREFERRED_PROVIDER_virtual/kernel', 'linux-ti-mainline', '', 'am43x-epos-evm-hdmi.dtb', d)} \
 "
 
 KERNEL_DEVICETREE += "${@oe.utils.conditional('ENABLE_TI_UIO_DEVICES', '1', 'am437x-idk-pru-excl-uio.dtb', '', d)}"
meta-ti-bsp/conf/machine/j721e-evm.conf +0 -1
index fe28e6f5..f6af3b6d 100644
@@ -9,7 +9,6 @@ SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
 
 KERNEL_DEVICETREE = " \
     ti/k3-j721e-common-proc-board.dtb \
-    ti/k3-j721e-common-proc-board-infotainment.dtbo \
     ti/k3-j721e-sk.dtb \
 "
 
meta-ti-bsp/conf/machine/j721s2-evm.conf +0 -1
index 3576414d..740036b1 100644
@@ -11,7 +11,6 @@ OPTEE_K3_USART = "0x8"
 
 KERNEL_DEVICETREE = " \
     ti/k3-j721s2-common-proc-board.dtb \
-    ti/k3-j721s2-gesi-exp-board.dtbo \
 "
 
 UBOOT_MACHINE = "j721s2_evm_a72_defconfig"
meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/defconfig new file +2 -0
new file mode 100644
index 00000000..24b53cf7
@@ -0,0 +1,2 @@
+use-kernel-config=multi_v7_defconfig
+config-fragment=kernel/configs/ti_multi_v7_prune.config
meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/k3/defconfig new file +2 -0
new file mode 100644
index 00000000..ef1d3efd
@@ -0,0 +1,2 @@
+use-kernel-config=defconfig
+config-fragment=kernel/configs/ti_arm64_prune.config
meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/omapl138/defconfig new file +1 -0
new file mode 100644
index 00000000..099493af
@@ -0,0 +1 @@
+use-kernel-config=davinci_all_defconfig
meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb new file +36 -0
new file mode 100644
index 00000000..2b2196c7
@@ -0,0 +1,36 @@
+SECTION = "kernel"
+SUMMARY = "Linux kernel for TI devices"
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
+
+inherit kernel
+
+require recipes-kernel/linux/setup-defconfig.inc
+require recipes-kernel/linux/kernel-rdepends.inc
+require recipes-kernel/linux/ti-kernel.inc
+
+DEPENDS += "gmp-native libmpc-native"
+
+# Look in the generic major.minor directory for files
+FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.1:"
+
+KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} \
+		      ${EXTRA_DTC_ARGS}"
+
+S = "${WORKDIR}/git"
+
+BRANCH = "ti-linux-6.1.y"
+
+SRCREV = "e553069c227ddeb22ac283676f7b5a6bf9d16cb8"
+PV = "v6.1+git${SRCPV}"
+
+# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
+MACHINE_KERNEL_PR:append = "b"
+PR = "${MACHINE_KERNEL_PR}"
+
+KERNEL_GIT_URI = "git://git.ti.com/git/ti-linux-kernel/ti-linux-kernel.git"
+KERNEL_GIT_PROTOCOL = "https"
+SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \
+            file://defconfig"
+
+FILES:${KERNEL_PACKAGE_NAME}-devicetree += "/${KERNEL_IMAGEDEST}/*.itb"
Signature · 1 line
2.39.2
#1 lore raw

Is there a better way of adding 6.1 without destroying the 5.10 support?
Because until we have 6.1 up and working it would be nice to have a
working kirkstone for anyone using it...

Quoted 359 lines · Andrew Davis

Remove all non-upstream Device Tree Overlays. We could have filtered them out like as done in mainline and next testing. The issue would be as they are added back to 6.1 and upstream we would need to conditionally re-enable each. Easier to get a clean start.

Switch to software rendering as the Rogue kernel mode driver does not build yet for kernel v6.1.

---
  meta-ti-bsp/conf/machine/am57xx-evm.conf      | 10 ----
  meta-ti-bsp/conf/machine/am62xx-evm.conf      |  1 -
  meta-ti-bsp/conf/machine/am62xx-lp-evm.conf   |  1 -
  meta-ti-bsp/conf/machine/beaglebone-ai64.conf | 51 -------------------
  meta-ti-bsp/conf/machine/dra7xx-evm.conf      |  8 ---
  meta-ti-bsp/conf/machine/include/am62xx.inc   |  2 +-
  meta-ti-bsp/conf/machine/include/am64xx.inc   |  3 --
  meta-ti-bsp/conf/machine/include/am65xx.inc   | 10 ----
  meta-ti-bsp/conf/machine/include/j721e.inc    |  2 +-
  meta-ti-bsp/conf/machine/include/j721s2.inc   |  2 +-
  meta-ti-bsp/conf/machine/include/j784s4.inc   |  2 +-
  meta-ti-bsp/conf/machine/include/ti43x.inc    |  2 -
  meta-ti-bsp/conf/machine/j721e-evm.conf       |  1 -
  meta-ti-bsp/conf/machine/j721s2-evm.conf      |  1 -
  .../linux/linux-ti-staging-6.1/defconfig      |  2 +
  .../linux/linux-ti-staging-6.1/k3/defconfig   |  2 +
  .../linux-ti-staging-6.1/omapl138/defconfig   |  1 +
  .../linux/linux-ti-staging_6.1.bb             | 36 +++++++++++++
  18 files changed, 45 insertions(+), 92 deletions(-)

create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/defconfig create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/k3/defconfig create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/omapl138/defconfig create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb

meta-ti-bsp/conf/machine/am57xx-evm.conf +0 -10
index b3525a0b..7d190753 100644
@@ -13,19 +13,9 @@ KERNEL_DEVICETREE = " \
      am57xx-beagle-x15-revb1.dtb \
      am57xx-beagle-x15-revc.dtb \
      am5729-beagleboneai.dtb \
-    ${@oe.utils.conditional('PREFERRED_PROVIDER_virtual/kernel', 'linux-ti-mainline', '', 'am57xx-evm.dtb', d)} \
-    ti/am57xx-evm-common.dtbo \
-    ${@oe.utils.conditional('PREFERRED_PROVIDER_virtual/kernel', 'linux-ti-mainline', '', 'am57xx-evm-reva3.dtb', d)} \
-    ti/am57xx-evm-reva3.dtbo \
      am571x-idk.dtb \
-    ti/am571x-idk-touchscreen.dtbo \
      am572x-idk.dtb \
      am574x-idk.dtb \
-    ti/am57xx-idk-osd-lcd-common.dtbo \
-    ti/am572x-idk-touchscreen.dtbo \
-    ti/lcd-osd101t2587.dtbo \
-    ti/lcd-osd101t2045.dtbo \
-    ${@oe.utils.conditional('PREFERRED_PROVIDER_virtual/kernel', 'linux-ti-mainline', '', 'ti/ov10635.dtbo', d)} \
  "
 
  KERNEL_DEVICETREE += "${@oe.utils.conditional('ENABLE_TI_UIO_DEVICES', '1', 'am574x-idk-pru-excl-uio.dtb am572x-idk-pru-excl-uio.dtb am571x-idk-pru-excl-uio.dtb', '', d)}"
meta-ti-bsp/conf/machine/am62xx-evm.conf +0 -1
index 73859d5f..35910ff3 100644
@@ -8,7 +8,6 @@ KERNEL_DEVICETREE = " \
      ti/k3-am625-sk.dtb \
      ti/k3-am625-skeleton.dtb \
      ti/k3-am625-sk-lpmdemo.dtb \
-    ti/k3-am625-sk-csi2-ov5640.dtbo \
  "
 
  UBOOT_MACHINE = "am62x_evm_a53_defconfig"
meta-ti-bsp/conf/machine/am62xx-lp-evm.conf +0 -1
index ec9ce596..32ffaaa0 100644
@@ -8,7 +8,6 @@ KERNEL_DEVICETREE = " \
      ti/k3-am62x-lp-sk.dtb \
      ti/k3-am625-skeleton.dtb \
      ti/k3-am625-sk-lpmdemo.dtb \
-    ti/k3-am625-sk-csi2-ov5640.dtbo \
  "
 
  UBOOT_MACHINE = "am62x_lpsk_a53_defconfig"
meta-ti-bsp/conf/machine/beaglebone-ai64.conf +0 -51
index 6e8c863c..10861c63 100644
@@ -17,58 +17,7 @@ KERNEL_DEVICETREE = " \
  ti/k3-j721e-beagleboneai64.dtb \
  ti/k3-j721e-beagleboneai64-no-shared-mem.dtb \
  ti/k3-j721e-common-proc-board.dtb \
-ti/k3-j721e-common-proc-board-infotainment.dtbo \
-ti/k3-j721e-cpb-csi2-ov5640.dtbo \
-ti/k3-j721e-fpdlink-cpb-fusion.dtbo \
-ti/k3-j721e-fpdlink-imx390-cm-0-0.dtbo \
-ti/k3-j721e-fpdlink-imx390-cm-0-1.dtbo \
-ti/k3-j721e-fpdlink-imx390-cm-0-2.dtbo \
-ti/k3-j721e-fpdlink-imx390-cm-0-3.dtbo \
-ti/k3-j721e-fpdlink-imx390-cm-1-0.dtbo \
-ti/k3-j721e-fpdlink-imx390-cm-1-1.dtbo \
-ti/k3-j721e-fpdlink-imx390-cm-1-2.dtbo \
-ti/k3-j721e-fpdlink-imx390-cm-1-3.dtbo \
-ti/k3-j721e-fpdlink-imx390-rcm-0-0.dtbo \
-ti/k3-j721e-fpdlink-imx390-rcm-0-1.dtbo \
-ti/k3-j721e-fpdlink-imx390-rcm-0-2.dtbo \
-ti/k3-j721e-fpdlink-imx390-rcm-0-3.dtbo \
-ti/k3-j721e-fpdlink-imx390-rcm-1-0.dtbo \
-ti/k3-j721e-fpdlink-imx390-rcm-1-1.dtbo \
-ti/k3-j721e-fpdlink-imx390-rcm-1-2.dtbo \
-ti/k3-j721e-fpdlink-imx390-rcm-1-3.dtbo \
-ti/k3-j721e-fpdlink-sk-fusion.dtbo \
-ti/k3-j721e-gesi-exp-board.dtbo \
-ti/k3-j721e-proc-board-tps65917.dtb \
-ti/k3-j721e-quad-port-eth-exp.dtbo \
-ti/k3-j721e-sk-csi2-ov5640.dtbo \
  ti/k3-j721e-sk.dtb \
-ti/k3-j721e-sk-rpi-cam-imx219.dtbo \
-ti/k3-j721e-sk-rpi-hdr-ehrpwm.dtbo \
-ti/overlays/BBAI64-CSI0-imx219.dtbo \
-ti/overlays/BBAI64-CSI1-imx219.dtbo \
-ti/overlays/BBAI64-DSI-RPi-7inch-panel.dtbo \
-ti/overlays/BBAI64-P8_37-ehrpwm5_a.dtbo \
-ti/overlays/BBAI64-P9_25-ehrpwm4_b.dtbo \
-ti/overlays/BB-I2C2-MPU6050.dtbo \
-ti/overlays/BBORG_LOAD-00A2.dtbo \
-ti/overlays/BBORG_RELAY-00A2.dtbo \
-ti/overlays/BBORG_SERVO-00A2.dtbo \
-ti/overlays/BONE-FAN.dtbo \
-ti/overlays/BONE-I2C1.dtbo \
-ti/overlays/BONE-I2C2.dtbo \
-ti/overlays/BONE-I2C3.dtbo \
-ti/overlays/BONE-LED_P8_03.dtbo \
-ti/overlays/BONE-LED_P9_11.dtbo \
-ti/overlays/BONE-PWM0.dtbo \
-ti/overlays/BONE-PWM1.dtbo \
-ti/overlays/BONE-PWM2.dtbo \
-ti/overlays/BONE-SPI0_0.dtbo \
-ti/overlays/BONE-SPI0_1.dtbo \
-ti/overlays/BONE-UART1.dtbo \
-ti/overlays/BONE-USB0-host.dtbo \
-ti/overlays/J721E-PRU-UIO-00A0.dtbo \
-ti/overlays/k3-j721e-beagleboneai64-RPi-7inch-panel.dtbo \
-ti/overlays/robotics-cape.dtbo \
  "
 
  IMAGE_BOOT_FILES += "sysfw.itb"
meta-ti-bsp/conf/machine/dra7xx-evm.conf +0 -8
index 813e0e06..1944792e 100644
@@ -10,18 +10,10 @@ SERIAL_CONSOLES = "115200;ttyS0"
 
  KERNEL_DEVICETREE = " \
      dra7-evm.dtb \
-    ti/dra7x-evm-osd-lcd-common.dtbo \
      dra71-evm.dtb \
-    ${@oe.utils.conditional('PREFERRED_PROVIDER_virtual/kernel', 'linux-ti-mainline', '', 'dra71-evm-nand.dtb', d)} \
-    ti/dra71-evm-lcd-auo-g101evn01.0.dtbo \
      dra72-evm.dtb \
      dra72-evm-revc.dtb \
-    ti/dra72-evm-touchscreen.dtbo \
-    ti/dra74-evm-touchscreen.dtbo \
      dra76-evm.dtb \
-    ti/dra76-evm-tfp410.dtbo \
-    ti/lcd-osd101t2045.dtbo \
-    ti/lcd-osd101t2587.dtbo \
  "
 
  UBOOT_MACHINE = "dra7xx_evm_config"
meta-ti-bsp/conf/machine/include/am62xx.inc +1 -1
index 98df24b2..c0f2adb2 100644
@@ -6,7 +6,7 @@ MACHINE_FEATURES += "screen gpu"
  SERIAL_CONSOLES = "115200;ttyS2"
  SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
 
-PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
+PREFERRED_PROVIDER_virtual/gpudriver ?= ""
 
  TFA_BOARD = "lite"
  TFA_K3_SYSTEM_SUSPEND = "1"
meta-ti-bsp/conf/machine/include/am64xx.inc +0 -3
index a2e5d673..ff7f66e3 100644
@@ -7,9 +7,6 @@ SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
  KERNEL_DEVICETREE = " \
      ti/k3-am642-evm.dtb \
      ti/k3-am642-sk.dtb \
-    ti/k3-am642-evm-icssg1-dualemac.dtbo \
-    ti/k3-am642-evm-icssg1-dualemac-mii.dtbo \
-    ti/k3-am642-evm-nand.dtbo \
  "
 
  # Default tiboot3.bin on AM64x is for SR2.0 HS-FS
meta-ti-bsp/conf/machine/include/am65xx.inc +0 -10
index 0ae00761..fef73da2 100644
@@ -10,16 +10,6 @@ PREFERRED_PROVIDER_virtual/gpudriver ?= ""
 
  KERNEL_DEVICETREE = " \
      ti/k3-am654-base-board.dtb \
-    ti/k3-am654-base-board-sr1.dtbo \
-    ti/k3-am654-gp.dtbo \
-    ti/k3-am654-idk.dtbo \
-    ti/k3-am654-idk-sr1.dtbo \
-    ti/k3-am654-sr1.dtbo \
-    ti/k3-am654-pcie-usb2.dtbo \
-    ti/k3-am654-pcie-usb3.dtbo \
-    ti/k3-am654-evm-tc358876.dtbo \
-    ti/k3-am654-evm-oldi-lcd1evm.dtbo \
-    ti/k3-am654-evm-ov5640.dtbo \
  "
 
  # On AM65x the file tiboot3.bin comes from the bootloader not ti-sci-fw
meta-ti-bsp/conf/machine/include/j721e.inc +1 -1
index 8f9c24e6..46f9564e 100644
@@ -3,7 +3,7 @@ SOC_FAMILY:append = ":j721e"
 
  MACHINE_FEATURES += "screen gpu"
 
-PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
+PREFERRED_PROVIDER_virtual/gpudriver ?= ""
 
  # On J721e the file tiboot3.bin comes from the bootloader not ti-sci-fw
  do_image_wic[mcdepends] += "mc::k3r5:virtual/bootloader:do_deploy"
meta-ti-bsp/conf/machine/include/j721s2.inc +1 -1
index 70569a16..a23aed73 100644
@@ -3,7 +3,7 @@ SOC_FAMILY:append = ":j721s2"
 
  MACHINE_FEATURES += "screen gpu"
 
-PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
+PREFERRED_PROVIDER_virtual/gpudriver ?= ""
 
  TFA_BOARD = "generic"
 
meta-ti-bsp/conf/machine/include/j784s4.inc +1 -1
index d03ee4a4..3066193b 100644
@@ -3,7 +3,7 @@ SOC_FAMILY:append = ":j784s4"
 
  MACHINE_FEATURES += "screen gpu"
 
-PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
+PREFERRED_PROVIDER_virtual/gpudriver ?= ""
 
  TFA_BOARD = "j784s4"
 
meta-ti-bsp/conf/machine/include/ti43x.inc +0 -2
index ec6d9c07..3228418e 100644
@@ -20,10 +20,8 @@ KERNEL_IMAGETYPE = "zImage"
 
  KERNEL_DEVICETREE = " \
      am437x-gp-evm.dtb \
-    ${@oe.utils.conditional('PREFERRED_PROVIDER_virtual/kernel', 'linux-ti-mainline', '', 'am437x-gp-evm-hdmi.dtb', d)} \
      am437x-sk-evm.dtb am437x-idk-evm.dtb \
      am43x-epos-evm.dtb \
-    ${@oe.utils.conditional('PREFERRED_PROVIDER_virtual/kernel', 'linux-ti-mainline', '', 'am43x-epos-evm-hdmi.dtb', d)} \
  "
 
  KERNEL_DEVICETREE += "${@oe.utils.conditional('ENABLE_TI_UIO_DEVICES', '1', 'am437x-idk-pru-excl-uio.dtb', '', d)}"
meta-ti-bsp/conf/machine/j721e-evm.conf +0 -1
index fe28e6f5..f6af3b6d 100644
@@ -9,7 +9,6 @@ SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
 
  KERNEL_DEVICETREE = " \
      ti/k3-j721e-common-proc-board.dtb \
-    ti/k3-j721e-common-proc-board-infotainment.dtbo \
      ti/k3-j721e-sk.dtb \
  "
 
meta-ti-bsp/conf/machine/j721s2-evm.conf +0 -1
index 3576414d..740036b1 100644
@@ -11,7 +11,6 @@ OPTEE_K3_USART = "0x8"
 
  KERNEL_DEVICETREE = " \
      ti/k3-j721s2-common-proc-board.dtb \
-    ti/k3-j721s2-gesi-exp-board.dtbo \
  "
 
  UBOOT_MACHINE = "j721s2_evm_a72_defconfig"
meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/defconfig new file +2 -0
new file mode 100644
index 00000000..24b53cf7
@@ -0,0 +1,2 @@
+use-kernel-config=multi_v7_defconfig
+config-fragment=kernel/configs/ti_multi_v7_prune.config
meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/k3/defconfig new file +2 -0
new file mode 100644
index 00000000..ef1d3efd
@@ -0,0 +1,2 @@
+use-kernel-config=defconfig
+config-fragment=kernel/configs/ti_arm64_prune.config
meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/omapl138/defconfig new file +1 -0
new file mode 100644
index 00000000..099493af
@@ -0,0 +1 @@
+use-kernel-config=davinci_all_defconfig
meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb new file +36 -0
new file mode 100644
index 00000000..2b2196c7
@@ -0,0 +1,36 @@
+SECTION = "kernel"
+SUMMARY = "Linux kernel for TI devices"
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
+
+inherit kernel
+
+require recipes-kernel/linux/setup-defconfig.inc
+require recipes-kernel/linux/kernel-rdepends.inc
+require recipes-kernel/linux/ti-kernel.inc
+
+DEPENDS += "gmp-native libmpc-native"
+
+# Look in the generic major.minor directory for files
+FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.1:"
+
+KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} \
+		      ${EXTRA_DTC_ARGS}"
+
+S = "${WORKDIR}/git"
+
+BRANCH = "ti-linux-6.1.y"
+
+SRCREV = "e553069c227ddeb22ac283676f7b5a6bf9d16cb8"
+PV = "v6.1+git${SRCPV}"
+
+# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
+MACHINE_KERNEL_PR:append = "b"
+PR = "${MACHINE_KERNEL_PR}"
+
+KERNEL_GIT_URI = "git://git.ti.com/git/ti-linux-kernel/ti-linux-kernel.git"
+KERNEL_GIT_PROTOCOL = "https"
+SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \
+            file://defconfig"
+
+FILES:${KERNEL_PACKAGE_NAME}-devicetree += "/${KERNEL_IMAGEDEST}/*.itb"
Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS
#2 lore raw
Quoted 5 lines · Ryan Eatmon

Is there a better way of adding 6.1 without destroying the 5.10 support?
 Because until we have 6.1 up and working it would be nice to have a
working kirkstone for anyone using it...

Want to hear from denys as well based on past migration history.

IMO, there was a window during early migration at 5.10 phase where we limited features to get the initial baseline ready and added overlays over the time when kernel added the same.

Its ok to limit GPU to sw rendering and add the initial kernel 6.1 support and switch to hwa once gpu ddk km and um migration to 6.1 kernel happens. (Randolph , pitch in)

Quoted 345 lines · Andrew Davis
Quoted 341 lines

Remove all non-upstream Device Tree Overlays. We could have filtered them out like as done in mainline and next testing. The issue would be as they are added back to 6.1 and upstream we would need to conditionally re-enable each. Easier to get a clean start.

Switch to software rendering as the Rogue kernel mode driver does not build yet for kernel v6.1.

---
  meta-ti-bsp/conf/machine/am57xx-evm.conf      | 10 ---- meta-ti-bsp/conf/machine/am62xx-evm.conf      |  1 - meta-ti-bsp/conf/machine/am62xx-lp-evm.conf   |  1 - meta-ti-bsp/conf/machine/beaglebone-ai64.conf | 51 ------------------- meta-ti-bsp/conf/machine/dra7xx-evm.conf      |  8 ---

  meta-ti-bsp/conf/machine/include/am62xx.inc   |  2 +-
  meta-ti-bsp/conf/machine/include/am64xx.inc   |  3 --
  meta-ti-bsp/conf/machine/include/am65xx.inc   | 10 ----

  meta-ti-bsp/conf/machine/include/j721e.inc    |  2 +- meta-ti-bsp/conf/machine/include/j721s2.inc   |  2 +- meta-ti-bsp/conf/machine/include/j784s4.inc   |  2 +- meta-ti-bsp/conf/machine/include/ti43x.inc    |  2 - meta-ti-bsp/conf/machine/j721e-evm.conf       |  1 - meta-ti-bsp/conf/machine/j721s2-evm.conf      |  1 - .../linux/linux-ti-staging-6.1/defconfig      |  2 + .../linux/linux-ti-staging-6.1/k3/defconfig   |  2 + .../linux-ti-staging-6.1/omapl138/defconfig   |  1 + .../linux/linux-ti-staging_6.1.bb             | 36 +++++++++++++

  18 files changed, 45 insertions(+), 92 deletions(-)

  create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/defconfig create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/k3/defconfig create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/omapl138/defconfig create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb

meta-ti-bsp/conf/machine/am57xx-evm.conf +0 -10
index b3525a0b..7d190753 100644
@@ -13,19 +13,9 @@ KERNEL_DEVICETREE = " \
       am57xx-beagle-x15-revb1.dtb \
       am57xx-beagle-x15-revc.dtb \
       am5729-beagleboneai.dtb \
-    ${@oe.utils.conditional('PREFERRED_PROVIDER_virtual/kernel', 
 'linux-ti-mainline', '', 'am57xx-evm.dtb', d)} \
-    ti/am57xx-evm-common.dtbo \
-    ${@oe.utils.conditional('PREFERRED_PROVIDER_virtual/kernel', 
 'linux-ti-mainline', '', 'am57xx-evm-reva3.dtb', d)} \
-    ti/am57xx-evm-reva3.dtbo \
       am571x-idk.dtb \
-    ti/am571x-idk-touchscreen.dtbo \
       am572x-idk.dtb \
       am574x-idk.dtb \
-    ti/am57xx-idk-osd-lcd-common.dtbo \
-    ti/am572x-idk-touchscreen.dtbo \
-    ti/lcd-osd101t2587.dtbo \
-    ti/lcd-osd101t2045.dtbo \
-    ${@oe.utils.conditional('PREFERRED_PROVIDER_virtual/kernel', 
 'linux-ti-mainline', '', 'ti/ov10635.dtbo', d)} \

  "
  KERNEL_DEVICETREE += "${@oe.utils.conditional('ENABLE_TI_UIO_DEVICES', '1', 'am574x-idk-pru-excl-uio.dtb am572x-idk-pru-excl-uio.dtb am571x-idk-pru-excl-uio.dtb', '', d)}"

meta-ti-bsp/conf/machine/am62xx-evm.conf +0 -1
index 73859d5f..35910ff3 100644
@@ -8,7 +8,6 @@ KERNEL_DEVICETREE = " \
       ti/k3-am625-sk.dtb \
       ti/k3-am625-skeleton.dtb \
       ti/k3-am625-sk-lpmdemo.dtb \
-    ti/k3-am625-sk-csi2-ov5640.dtbo \

  "
  UBOOT_MACHINE = "am62x_evm_a53_defconfig"

meta-ti-bsp/conf/machine/am62xx-lp-evm.conf +0 -1
index ec9ce596..32ffaaa0 100644
@@ -8,7 +8,6 @@ KERNEL_DEVICETREE = " \
       ti/k3-am62x-lp-sk.dtb \
       ti/k3-am625-skeleton.dtb \
       ti/k3-am625-sk-lpmdemo.dtb \
-    ti/k3-am625-sk-csi2-ov5640.dtbo \

  "
  UBOOT_MACHINE = "am62x_lpsk_a53_defconfig"

meta-ti-bsp/conf/machine/beaglebone-ai64.conf +0 -51
index 6e8c863c..10861c63 100644
@@ -17,58 +17,7 @@ KERNEL_DEVICETREE = " \
   ti/k3-j721e-beagleboneai64.dtb \
   ti/k3-j721e-beagleboneai64-no-shared-mem.dtb \
   ti/k3-j721e-common-proc-board.dtb \
-ti/k3-j721e-common-proc-board-infotainment.dtbo \
-ti/k3-j721e-cpb-csi2-ov5640.dtbo \
-ti/k3-j721e-fpdlink-cpb-fusion.dtbo \
-ti/k3-j721e-fpdlink-imx390-cm-0-0.dtbo \
-ti/k3-j721e-fpdlink-imx390-cm-0-1.dtbo \
-ti/k3-j721e-fpdlink-imx390-cm-0-2.dtbo \
-ti/k3-j721e-fpdlink-imx390-cm-0-3.dtbo \
-ti/k3-j721e-fpdlink-imx390-cm-1-0.dtbo \
-ti/k3-j721e-fpdlink-imx390-cm-1-1.dtbo \
-ti/k3-j721e-fpdlink-imx390-cm-1-2.dtbo \
-ti/k3-j721e-fpdlink-imx390-cm-1-3.dtbo \
-ti/k3-j721e-fpdlink-imx390-rcm-0-0.dtbo \
-ti/k3-j721e-fpdlink-imx390-rcm-0-1.dtbo \
-ti/k3-j721e-fpdlink-imx390-rcm-0-2.dtbo \
-ti/k3-j721e-fpdlink-imx390-rcm-0-3.dtbo \
-ti/k3-j721e-fpdlink-imx390-rcm-1-0.dtbo \
-ti/k3-j721e-fpdlink-imx390-rcm-1-1.dtbo \
-ti/k3-j721e-fpdlink-imx390-rcm-1-2.dtbo \
-ti/k3-j721e-fpdlink-imx390-rcm-1-3.dtbo \
-ti/k3-j721e-fpdlink-sk-fusion.dtbo \
-ti/k3-j721e-gesi-exp-board.dtbo \
-ti/k3-j721e-proc-board-tps65917.dtb \
-ti/k3-j721e-quad-port-eth-exp.dtbo \
-ti/k3-j721e-sk-csi2-ov5640.dtbo \
   ti/k3-j721e-sk.dtb \
-ti/k3-j721e-sk-rpi-cam-imx219.dtbo \
-ti/k3-j721e-sk-rpi-hdr-ehrpwm.dtbo \
-ti/overlays/BBAI64-CSI0-imx219.dtbo \
-ti/overlays/BBAI64-CSI1-imx219.dtbo \
-ti/overlays/BBAI64-DSI-RPi-7inch-panel.dtbo \
-ti/overlays/BBAI64-P8_37-ehrpwm5_a.dtbo \
-ti/overlays/BBAI64-P9_25-ehrpwm4_b.dtbo \
-ti/overlays/BB-I2C2-MPU6050.dtbo \
-ti/overlays/BBORG_LOAD-00A2.dtbo \
-ti/overlays/BBORG_RELAY-00A2.dtbo \
-ti/overlays/BBORG_SERVO-00A2.dtbo \
-ti/overlays/BONE-FAN.dtbo \
-ti/overlays/BONE-I2C1.dtbo \
-ti/overlays/BONE-I2C2.dtbo \
-ti/overlays/BONE-I2C3.dtbo \
-ti/overlays/BONE-LED_P8_03.dtbo \
-ti/overlays/BONE-LED_P9_11.dtbo \
-ti/overlays/BONE-PWM0.dtbo \
-ti/overlays/BONE-PWM1.dtbo \
-ti/overlays/BONE-PWM2.dtbo \
-ti/overlays/BONE-SPI0_0.dtbo \
-ti/overlays/BONE-SPI0_1.dtbo \
-ti/overlays/BONE-UART1.dtbo \
-ti/overlays/BONE-USB0-host.dtbo \
-ti/overlays/J721E-PRU-UIO-00A0.dtbo \
-ti/overlays/k3-j721e-beagleboneai64-RPi-7inch-panel.dtbo \
-ti/overlays/robotics-cape.dtbo \

  "
  IMAGE_BOOT_FILES += "sysfw.itb"

meta-ti-bsp/conf/machine/dra7xx-evm.conf +0 -8
index 813e0e06..1944792e 100644
@@ -10,18 +10,10 @@ SERIAL_CONSOLES = "115200;ttyS0"
   KERNEL_DEVICETREE = " \
       dra7-evm.dtb \
-    ti/dra7x-evm-osd-lcd-common.dtbo \
       dra71-evm.dtb \
-    ${@oe.utils.conditional('PREFERRED_PROVIDER_virtual/kernel', 
 'linux-ti-mainline', '', 'dra71-evm-nand.dtb', d)} \
-    ti/dra71-evm-lcd-auo-g101evn01.0.dtbo \
       dra72-evm.dtb \
       dra72-evm-revc.dtb \
-    ti/dra72-evm-touchscreen.dtbo \
-    ti/dra74-evm-touchscreen.dtbo \
       dra76-evm.dtb \
-    ti/dra76-evm-tfp410.dtbo \
-    ti/lcd-osd101t2045.dtbo \
-    ti/lcd-osd101t2587.dtbo \

  "
  UBOOT_MACHINE = "dra7xx_evm_config"

meta-ti-bsp/conf/machine/include/am62xx.inc +0 -0
index 98df24b2..c0f2adb2 100644
@@ -6,7 +6,7 @@ MACHINE_FEATURES += "screen gpu"

  SERIAL_CONSOLES = "115200;ttyS2"
  SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"

meta-ti-bsp/conf/machine/include/am62xx.inc +1 -1
-PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
+PREFERRED_PROVIDER_virtual/gpudriver ?= ""

  TFA_BOARD = "lite"
  TFA_K3_SYSTEM_SUSPEND = "1"

meta-ti-bsp/conf/machine/include/am64xx.inc +0 -3
index a2e5d673..ff7f66e3 100644
@@ -7,9 +7,6 @@ SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
   KERNEL_DEVICETREE = " \
       ti/k3-am642-evm.dtb \
       ti/k3-am642-sk.dtb \
-    ti/k3-am642-evm-icssg1-dualemac.dtbo \
-    ti/k3-am642-evm-icssg1-dualemac-mii.dtbo \
-    ti/k3-am642-evm-nand.dtbo \

  "
  # Default tiboot3.bin on AM64x is for SR2.0 HS-FS

meta-ti-bsp/conf/machine/include/am65xx.inc +0 -10
index 0ae00761..fef73da2 100644
@@ -10,16 +10,6 @@ PREFERRED_PROVIDER_virtual/gpudriver ?= ""
   KERNEL_DEVICETREE = " \
       ti/k3-am654-base-board.dtb \
-    ti/k3-am654-base-board-sr1.dtbo \
-    ti/k3-am654-gp.dtbo \
-    ti/k3-am654-idk.dtbo \
-    ti/k3-am654-idk-sr1.dtbo \
-    ti/k3-am654-sr1.dtbo \
-    ti/k3-am654-pcie-usb2.dtbo \
-    ti/k3-am654-pcie-usb3.dtbo \
-    ti/k3-am654-evm-tc358876.dtbo \
-    ti/k3-am654-evm-oldi-lcd1evm.dtbo \
-    ti/k3-am654-evm-ov5640.dtbo \

  "
  # On AM65x the file tiboot3.bin comes from the bootloader not ti-sci-fw

meta-ti-bsp/conf/machine/include/j721e.inc +0 -0
index 8f9c24e6..46f9564e 100644
@@ -3,7 +3,7 @@ SOC_FAMILY:append = ":j721e"

  MACHINE_FEATURES += "screen gpu"

meta-ti-bsp/conf/machine/include/j721e.inc +1 -1
-PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
+PREFERRED_PROVIDER_virtual/gpudriver ?= ""

  # On J721e the file tiboot3.bin comes from the bootloader not ti-sci-fw do_image_wic[mcdepends] += "mc::k3r5:virtual/bootloader:do_deploy"

meta-ti-bsp/conf/machine/include/j721s2.inc +0 -0
index 70569a16..a23aed73 100644
@@ -3,7 +3,7 @@ SOC_FAMILY:append = ":j721s2"

  MACHINE_FEATURES += "screen gpu"

meta-ti-bsp/conf/machine/include/j721s2.inc +1 -1
-PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
+PREFERRED_PROVIDER_virtual/gpudriver ?= ""

  TFA_BOARD = "generic"

meta-ti-bsp/conf/machine/include/j784s4.inc +0 -0
index d03ee4a4..3066193b 100644
@@ -3,7 +3,7 @@ SOC_FAMILY:append = ":j784s4"

  MACHINE_FEATURES += "screen gpu"

meta-ti-bsp/conf/machine/include/j784s4.inc +1 -1
-PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
+PREFERRED_PROVIDER_virtual/gpudriver ?= ""

  TFA_BOARD = "j784s4"

meta-ti-bsp/conf/machine/include/ti43x.inc +0 -2
index ec6d9c07..3228418e 100644
@@ -20,10 +20,8 @@ KERNEL_IMAGETYPE = "zImage"
   KERNEL_DEVICETREE = " \
       am437x-gp-evm.dtb \
-    ${@oe.utils.conditional('PREFERRED_PROVIDER_virtual/kernel', 
 'linux-ti-mainline', '', 'am437x-gp-evm-hdmi.dtb', d)} \
       am437x-sk-evm.dtb am437x-idk-evm.dtb \
       am43x-epos-evm.dtb \
-    ${@oe.utils.conditional('PREFERRED_PROVIDER_virtual/kernel', 
 'linux-ti-mainline', '', 'am43x-epos-evm-hdmi.dtb', d)} \

  "
  KERNEL_DEVICETREE += "${@oe.utils.conditional('ENABLE_TI_UIO_DEVICES', '1', 'am437x-idk-pru-excl-uio.dtb', '', d)}"

meta-ti-bsp/conf/machine/j721e-evm.conf +0 -1
index fe28e6f5..f6af3b6d 100644
@@ -9,7 +9,6 @@ SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
   KERNEL_DEVICETREE = " \
       ti/k3-j721e-common-proc-board.dtb \
-    ti/k3-j721e-common-proc-board-infotainment.dtbo \
       ti/k3-j721e-sk.dtb \

  "

meta-ti-bsp/conf/machine/j721s2-evm.conf +0 -1
index 3576414d..740036b1 100644
@@ -11,7 +11,6 @@ OPTEE_K3_USART = "0x8"
   KERNEL_DEVICETREE = " \
       ti/k3-j721s2-common-proc-board.dtb \
-    ti/k3-j721s2-gesi-exp-board.dtbo \

  "
  UBOOT_MACHINE = "j721s2_evm_a72_defconfig"

meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/defconfig new file +2 -0
new file mode 100644
index 00000000..24b53cf7
@@ -0,0 +1,2 @@
+use-kernel-config=multi_v7_defconfig
+config-fragment=kernel/configs/ti_multi_v7_prune.config
meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/k3/defconfig new file +2 -0
new file mode 100644
index 00000000..ef1d3efd
@@ -0,0 +1,2 @@
+use-kernel-config=defconfig
+config-fragment=kernel/configs/ti_arm64_prune.config
(quoted diff) +0 -0
new file mode 100644
index 00000000..099493af

b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/omapl138/defconfig

meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/omapl138/defconfig new file +1 -0
@@ -0,0 +1 @@
+use-kernel-config=davinci_all_defconfig
meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb new file +27 -0
new file mode 100644
index 00000000..2b2196c7
@@ -0,0 +1,36 @@
+SECTION = "kernel"
+SUMMARY = "Linux kernel for TI devices"
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
+
+inherit kernel
+
+require recipes-kernel/linux/setup-defconfig.inc
+require recipes-kernel/linux/kernel-rdepends.inc
+require recipes-kernel/linux/ti-kernel.inc
+
+DEPENDS += "gmp-native libmpc-native"
+
+# Look in the generic major.minor directory for files
+FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.1:"
+
+KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} \
+              ${EXTRA_DTC_ARGS}"
+
+S = "${WORKDIR}/git"
+
+BRANCH = "ti-linux-6.1.y"
+
+SRCREV = "e553069c227ddeb22ac283676f7b5a6bf9d16cb8"
+PV = "v6.1+git${SRCPV}"
+
+# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a 

rebuild

meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb new file +4 -0
+MACHINE_KERNEL_PR:append = "b"
+PR = "${MACHINE_KERNEL_PR}"
+
+KERNEL_GIT_URI = 

"git://git.ti.com/git/ti-linux-kernel/ti-linux-kernel.git"

meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb new file +2 -0
+KERNEL_GIT_PROTOCOL = "https"
+SRC_URI += 

"${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \
+            file://defconfig"

meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb new file +2 -0
+
+FILES:${KERNEL_PACKAGE_NAME}-devicetree += "/${KERNEL_IMAGEDEST}/*.itb"
#7 lore raw
In reply to Andrew Davis

Review

Quoted 2 lines · Andrew Davis via lists.yoctoproject.org
(quoted diff) +1 -1
-PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
+PREFERRED_PROVIDER_virtual/gpudriver ?= ""

For future reference, you can just comment out these lines. The variable being unset and equal to empty string should yield the same result.

#3 lore raw
In reply to Bajjuri, Praneeth
Quoted 11 lines · Praneeth
Quoted 4 lines · Ryan Eatmon

Is there a better way of adding 6.1 without destroying the 5.10 support?  Because until we have 6.1 up and working it would be nice to have a working kirkstone for anyone using it...

Want to hear from denys as well based on past migration history.

IMO, there was a window during early migration at 5.10 phase where we limited features to get the initial baseline ready and added overlays over the time when kernel added the same.

Yes, this will be a major regression for existing customers using meta-ti on Kirkstone!

In the past, Yocto migration was better aligned with the BSP migration and both would happen at about the same time every year. So, the new BSP would be available in the new Yocto branch and there was a choice of using an old branch with stable and feature-complete BSP, or a new, but unstable and initially incomplete branch. That provided extra freedom and flexibility to start completely from scratch in the new branch...

That has changed a bit recently with 5.4 -> 5.10 migration happening in Dunfell couple of years ago. And this time around 5.10 -> 6.1 in Kirkstone. Both branches are Yocto LTS with many active users having some expectation of stability.

In Dunfell, initial 5.10 recipe was added in mid-January 2021:
https://git.yoctoproject.org/meta-ti/commit/?id=874ff0d7f9f31703e0a71a9f5d968051b77c2df0

It broke things for many people and I suggested marking it to not be used as the default:
https://git.yoctoproject.org/meta-ti/commit/?id=6496a0edeb8a84bfb1b9e13ec58814ea5babcde7

Three months later, by mid-April 2021 the change was reverted and 5.10 got promoted to the default:
https://git.yoctoproject.org/meta-ti/commit/?id=7793303e6c1543e5058bf1a7e83ea72f3a45c079

Although I'd argue it was a bit too soon, as lots of DTBs/DTBOs still had to be removed from machine configs:
https://git.yoctoproject.org/meta-ti/commit/?id=8b206b32ec181624b929aa7f998f26ed99e140a7
https://git.yoctoproject.org/meta-ti/commit/?id=fb0a0ddd25d4308152ce8243e00b444cbb5d565d
https://git.yoctoproject.org/meta-ti/commit/?id=9ea50db095f91bad7c9b2f643347dc25be6e10dd
https://git.yoctoproject.org/meta-ti/commit/?id=ad28c5878171ef5b364f6bc9d8a5de514731964b
https://git.yoctoproject.org/meta-ti/commit/?id=ba0ddc5ae9ebf9777d31283f272e4ed518e1f514
https://git.yoctoproject.org/meta-ti/commit/?id=43bf0f36a3ac62cc3378688358ba704a27b501ce
https://git.yoctoproject.org/meta-ti/commit/?id=8bdfe1413c00e0c55132989dafcf8d91827999c3

Quoted 4 lines

Remove all non-upstream Device Tree Overlays. We could have filtered them out like as done in mainline and next testing. The issue would be as they are added back to 6.1 and upstream we would need to conditionally re-enable each. Easier to get a clean start.

I'd say we set DEFAULT_PREFERENCE = "-1" and, indeed, use automatic filtering of DT files similar to mainline/next recipes, until 6.1 mostly catches up and have majority of them integrated...

Signature · 1 line
Denys
#4 lore raw
Quoted 7 lines · Denys Dmytriyenko
Quoted 6 lines · Praneeth
Quoted 4 lines · Ryan Eatmon

Is there a better way of adding 6.1 without destroying the 5.10 support?  Because until we have 6.1 up and working it would be nice to have a working kirkstone for anyone using it...

Quoted 9 lines
Quoted 5 lines

Want to hear from denys as well based on past migration history.

IMO, there was a window during early migration at 5.10 phase where we limited features to get the initial baseline ready and added overlays over the time when kernel added the same.

Yes, this will be a major regression for existing customers using meta-ti on Kirkstone!

Kirkstone is not productized yet, I know it is late but that is the reality, customers should see Kirkstone as a preview until then.

Quoted 7 lines

In the past, Yocto migration was better aligned with the BSP migration and both would happen at about the same time every year. So, the new BSP would be available in the new Yocto branch and there was a choice of using an old branch with stable and feature-complete BSP, or a new, but unstable and initially incomplete branch. That provided extra freedom and flexibility to start completely from scratch in the new branch...

Quoted 5 lines

That has changed a bit recently with 5.4 -> 5.10 migration happening in Dunfell couple of years ago. And this time around 5.10 -> 6.1 in Kirkstone. Both branches are Yocto LTS with many active users having some expectation of stability.

Dunfell should use 5.10, Kirkstone should use the newer kernel, I don't see the need to support both kernels on Kirkstone, especially if it will just be temporary anyway. The juggling of both kernels during the migration will slow us down, better to move fast here to get Kirkstone users back up and running on the latest kernel.

Quoted 22 lines

In Dunfell, initial 5.10 recipe was added in mid-January 2021:
https://git.yoctoproject.org/meta-ti/commit/?id=874ff0d7f9f31703e0a71a9f5d968051b77c2df0

It broke things for many people and I suggested marking it to not be used as the default:
https://git.yoctoproject.org/meta-ti/commit/?id=6496a0edeb8a84bfb1b9e13ec58814ea5babcde7

Three months later, by mid-April 2021 the change was reverted and 5.10 got promoted to the default:
https://git.yoctoproject.org/meta-ti/commit/?id=7793303e6c1543e5058bf1a7e83ea72f3a45c079

Although I'd argue it was a bit too soon, as lots of DTBs/DTBOs still had to be removed from machine configs:
https://git.yoctoproject.org/meta-ti/commit/?id=8b206b32ec181624b929aa7f998f26ed99e140a7
https://git.yoctoproject.org/meta-ti/commit/?id=fb0a0ddd25d4308152ce8243e00b444cbb5d565d
https://git.yoctoproject.org/meta-ti/commit/?id=9ea50db095f91bad7c9b2f643347dc25be6e10dd
https://git.yoctoproject.org/meta-ti/commit/?id=ad28c5878171ef5b364f6bc9d8a5de514731964b
https://git.yoctoproject.org/meta-ti/commit/?id=ba0ddc5ae9ebf9777d31283f272e4ed518e1f514
https://git.yoctoproject.org/meta-ti/commit/?id=43bf0f36a3ac62cc3378688358ba704a27b501ce
https://git.yoctoproject.org/meta-ti/commit/?id=8bdfe1413c00e0c55132989dafcf8d91827999c3

Quoted 9 lines
Quoted 4 lines

Remove all non-upstream Device Tree Overlays. We could have filtered them out like as done in mainline and next testing. The issue would be as they are added back to 6.1 and upstream we would need to conditionally re-enable each. Easier to get a clean start.

I'd say we set DEFAULT_PREFERENCE = "-1" and, indeed, use automatic filtering of DT files similar to mainline/next recipes, until 6.1 mostly catches up and have majority of them integrated...

Automatic filtering will not work, there are also DTBs that are not overlays that are not upstream either. In other cases DTB names have changed. We would need to maintain a list for each 5.10, 6.1, mainline, and next kernels. That multiplied by each MACHINE.

Populating KERNEL_DEVICETREE based on what the kernel actually builds seems like the only reasonable solution today.

Andrew

#5 lore raw
Quoted 14 lines · Andrew Davis
Quoted 13 lines · Denys Dmytriyenko
Quoted 11 lines · Praneeth
Quoted 4 lines · Ryan Eatmon

Is there a better way of adding 6.1 without destroying the 5.10 support?   Because until we have 6.1 up and working it would be nice to have a working kirkstone for anyone using it...

Want to hear from denys as well based on past migration history.

IMO, there was a window during early migration at 5.10 phase where we limited features to get the initial baseline ready and added overlays over the time when kernel added the same.

Quoted 6 lines
Quoted 3 lines

Yes, this will be a major regression for existing customers using meta-ti on Kirkstone!

Kirkstone is not productized yet, I know it is late but that is the reality, customers should see Kirkstone as a preview until then.

While in principle I agree that we have not claimed that kirkstone is ready, it has not stopped some people from looking ahead into kirkstone and even master.

Quoted 13 lines
Quoted 7 lines

In the past, Yocto migration was better aligned with the BSP migration and both would happen at about the same time every year. So, the new BSP would be available in the new Yocto branch and there was a choice of using an old branch with stable and feature-complete BSP, or a new, but unstable and initially incomplete branch. That provided extra freedom and flexibility to start completely from scratch in the new branch...

Quoted 5 lines

That has changed a bit recently with 5.4 -> 5.10 migration happening in Dunfell couple of years ago. And this time around 5.10 -> 6.1 in Kirkstone. Both branches are Yocto LTS with many active users having some expectation of stability.

Quoted 5 lines

Dunfell should use 5.10, Kirkstone should use the newer kernel, I don't see the need to support both kernels on Kirkstone, especially if it will just be temporary anyway. The juggling of both kernels during the migration will slow us down, better to move fast here to get Kirkstone users back up and running on the latest kernel.

As we continue to keep master more in mind and up to date with things going forward, this topic will continue to come up. We cannot just nuke what is working to get something new going. I think the best approach would be to not break the previous kernel in favor of the new kernel. We need to figure out a way to support both during the transition.

Quoted 37 lines
Quoted 22 lines

In Dunfell, initial 5.10 recipe was added in mid-January 2021:
https://git.yoctoproject.org/meta-ti/commit/?id=874ff0d7f9f31703e0a71a9f5d968051b77c2df0

It broke things for many people and I suggested marking it to not be used as the default:
https://git.yoctoproject.org/meta-ti/commit/?id=6496a0edeb8a84bfb1b9e13ec58814ea5babcde7

Three months later, by mid-April 2021 the change was reverted and 5.10 got promoted to the default:
https://git.yoctoproject.org/meta-ti/commit/?id=7793303e6c1543e5058bf1a7e83ea72f3a45c079

Although I'd argue it was a bit too soon, as lots of DTBs/DTBOs still had to be removed from machine configs:
https://git.yoctoproject.org/meta-ti/commit/?id=8b206b32ec181624b929aa7f998f26ed99e140a7
https://git.yoctoproject.org/meta-ti/commit/?id=fb0a0ddd25d4308152ce8243e00b444cbb5d565d
https://git.yoctoproject.org/meta-ti/commit/?id=9ea50db095f91bad7c9b2f643347dc25be6e10dd
https://git.yoctoproject.org/meta-ti/commit/?id=ad28c5878171ef5b364f6bc9d8a5de514731964b
https://git.yoctoproject.org/meta-ti/commit/?id=ba0ddc5ae9ebf9777d31283f272e4ed518e1f514
https://git.yoctoproject.org/meta-ti/commit/?id=43bf0f36a3ac62cc3378688358ba704a27b501ce
https://git.yoctoproject.org/meta-ti/commit/?id=8bdfe1413c00e0c55132989dafcf8d91827999c3

Quoted 9 lines
Quoted 4 lines

Remove all non-upstream Device Tree Overlays. We could have filtered them out like as done in mainline and next testing. The issue would be as they are added back to 6.1 and upstream we would need to conditionally re-enable each. Easier to get a clean start.

I'd say we set DEFAULT_PREFERENCE = "-1" and, indeed, use automatic filtering of DT files similar to mainline/next recipes, until 6.1 mostly catches up and have majority of them integrated...

Automatic filtering will not work, there are also DTBs that are not overlays that are not upstream either. In other cases DTB names have changed. We would need to maintain a list for each 5.10, 6.1, mainline, and next kernels. That multiplied by each MACHINE.

Quoted 4 lines

Populating KERNEL_DEVICETREE based on what the kernel actually builds seems like the only reasonable solution today.

Andrew

The problem is that yocto supports the idea of multiple kernels, but has only a single KERNEL_DEVICETREE for a given platform. And in addition to that issue, the KERNEL_DEVICETREE is used in a few recipes and so we cannot just move where this is defined into the kernel where it make sense. We might need to think of a new way of handling this that can solve the issue in the most flexible manner.

Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS
#6 lore raw
Quoted 41 lines · Ryan Eatmon
Quoted 14 lines · Andrew Davis
Quoted 13 lines · Denys Dmytriyenko
Quoted 11 lines · Praneeth
Quoted 4 lines · Ryan Eatmon

Is there a better way of adding 6.1 without destroying the 5.10 support?   Because until we have 6.1 up and working it would be nice to have a working kirkstone for anyone using it...

Want to hear from denys as well based on past migration history.

IMO, there was a window during early migration at 5.10 phase where we limited features to get the initial baseline ready and added overlays over the time when kernel added the same.

Quoted 6 lines
Quoted 3 lines

Yes, this will be a major regression for existing customers using meta-ti on Kirkstone!

Kirkstone is not productized yet, I know it is late but that is the reality, customers should see Kirkstone as a preview until then.

While in principle I agree that we have not claimed that kirkstone is ready, it has not stopped some people from looking ahead into kirkstone and even master.

Quoted 13 lines
Quoted 12 lines

In the past, Yocto migration was better aligned with the BSP migration and both would happen at about the same time every year. So, the new BSP would be available in the new Yocto branch and there was a choice of using an old branch with stable and feature-complete BSP, or a new, but unstable and initially incomplete branch. That provided extra freedom and flexibility to start completely from scratch in the new branch...

That has changed a bit recently with 5.4 -> 5.10 migration happening in Dunfell couple of years ago. And this time around 5.10 -> 6.1 in Kirkstone. Both branches are Yocto LTS with many active users having some expectation of stability.

Quoted 7 lines
Quoted 5 lines

Dunfell should use 5.10, Kirkstone should use the newer kernel, I don't see the need to support both kernels on Kirkstone, especially if it will just be temporary anyway. The juggling of both kernels during the migration will slow us down, better to move fast here to get Kirkstone users back up and running on the latest kernel.

As we continue to keep master more in mind and up to date with things going forward, this topic will continue to come up.  We cannot just nuke what is working to get something new going.  I think the best approach would be to not break the previous kernel in favor of the new kernel. We need to figure out a way to support both during the transition.

This is transitory phase, I am not aware of any customer needing 5.10 and kirkstone.

Dont see any strong reason to keep this combination continued .

Till the transition completes including all features/overlays added ,

developers can still continue their work on pre merged commitsha and start staging their work/posting them.

Quoted 56 lines
Quoted 48 lines
Quoted 33 lines

In Dunfell, initial 5.10 recipe was added in mid-January 2021:
https://git.yoctoproject.org/meta-ti/commit/?id=874ff0d7f9f31703e0a71a9f5d968051b77c2df0

It broke things for many people and I suggested marking it to not be used as the default:
https://git.yoctoproject.org/meta-ti/commit/?id=6496a0edeb8a84bfb1b9e13ec58814ea5babcde7

Three months later, by mid-April 2021 the change was reverted and 5.10 got promoted to the default:
https://git.yoctoproject.org/meta-ti/commit/?id=7793303e6c1543e5058bf1a7e83ea72f3a45c079

Although I'd argue it was a bit too soon, as lots of DTBs/DTBOs still had to be removed from machine configs:
https://git.yoctoproject.org/meta-ti/commit/?id=8b206b32ec181624b929aa7f998f26ed99e140a7

https://git.yoctoproject.org/meta-ti/commit/?id=fb0a0ddd25d4308152ce8243e00b444cbb5d565d

https://git.yoctoproject.org/meta-ti/commit/?id=9ea50db095f91bad7c9b2f643347dc25be6e10dd

https://git.yoctoproject.org/meta-ti/commit/?id=ad28c5878171ef5b364f6bc9d8a5de514731964b

https://git.yoctoproject.org/meta-ti/commit/?id=ba0ddc5ae9ebf9777d31283f272e4ed518e1f514

https://git.yoctoproject.org/meta-ti/commit/?id=43bf0f36a3ac62cc3378688358ba704a27b501ce

https://git.yoctoproject.org/meta-ti/commit/?id=8bdfe1413c00e0c55132989dafcf8d91827999c3

Quoted 9 lines
Quoted 4 lines

Remove all non-upstream Device Tree Overlays. We could have filtered them out like as done in mainline and next testing. The issue would be as they are added back to 6.1 and upstream we would need to conditionally re-enable each. Easier to get a clean start.

I'd say we set DEFAULT_PREFERENCE = "-1" and, indeed, use automatic filtering of DT files similar to mainline/next recipes, until 6.1 mostly catches up and have majority of them integrated...

Automatic filtering will not work, there are also DTBs that are not overlays that are not upstream either. In other cases DTB names have changed. We would need to maintain a list for each 5.10, 6.1, mainline, and next kernels. That multiplied by each MACHINE.

Quoted 4 lines

Populating KERNEL_DEVICETREE based on what the kernel actually builds seems like the only reasonable solution today.

Andrew

The problem is that yocto supports the idea of multiple kernels, but has only a single KERNEL_DEVICETREE for a given platform.  And in addition to that issue, the KERNEL_DEVICETREE is used in a few recipes and so we cannot just move where this is defined into the kernel where it make sense.  We might need to think of a new way of handling this that can solve the issue in the most flexible manner.

#8 lore raw
In reply to Andrew Davis

meta-ti-bsp/conf/machine/beaglebone-ai64.conf

Quoted 86 lines · Andrew Davis via lists.yoctoproject.org

Remove all non-upstream Device Tree Overlays. We could have filtered them out like as done in mainline and next testing. The issue would be as they are added back to 6.1 and upstream we would need to conditionally re-enable each. Easier to get a clean start.

Switch to software rendering as the Rogue kernel mode driver does not build yet for kernel v6.1.

---
 meta-ti-bsp/conf/machine/am57xx-evm.conf      | 10 ----
 meta-ti-bsp/conf/machine/am62xx-evm.conf      |  1 -
 meta-ti-bsp/conf/machine/am62xx-lp-evm.conf   |  1 -
 meta-ti-bsp/conf/machine/beaglebone-ai64.conf | 51 -------------------
 meta-ti-bsp/conf/machine/dra7xx-evm.conf      |  8 ---
 meta-ti-bsp/conf/machine/include/am62xx.inc   |  2 +-
 meta-ti-bsp/conf/machine/include/am64xx.inc   |  3 --
 meta-ti-bsp/conf/machine/include/am65xx.inc   | 10 ----
 meta-ti-bsp/conf/machine/include/j721e.inc    |  2 +-
 meta-ti-bsp/conf/machine/include/j721s2.inc   |  2 +-
 meta-ti-bsp/conf/machine/include/j784s4.inc   |  2 +-
 meta-ti-bsp/conf/machine/include/ti43x.inc    |  2 -
 meta-ti-bsp/conf/machine/j721e-evm.conf       |  1 -
 meta-ti-bsp/conf/machine/j721s2-evm.conf      |  1 -
 .../linux/linux-ti-staging-6.1/defconfig      |  2 +
 .../linux/linux-ti-staging-6.1/k3/defconfig   |  2 +
 .../linux-ti-staging-6.1/omapl138/defconfig   |  1 +
 .../linux/linux-ti-staging_6.1.bb             | 36 +++++++++++++
 18 files changed, 45 insertions(+), 92 deletions(-)
 create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/defconfig
 create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/k3/defconfig
 create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/omapl138/defconfig
 create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb
meta-ti-bsp/conf/machine/am57xx-evm.conf +0 -10
index b3525a0b..7d190753 100644
@@ -13,19 +13,9 @@ KERNEL_DEVICETREE = " \
     am57xx-beagle-x15-revb1.dtb \
     am57xx-beagle-x15-revc.dtb \
     am5729-beagleboneai.dtb \
-    ${@oe.utils.conditional('PREFERRED_PROVIDER_virtual/kernel', 'linux-ti-mainline', '', 'am57xx-evm.dtb', d)} \
-    ti/am57xx-evm-common.dtbo \
-    ${@oe.utils.conditional('PREFERRED_PROVIDER_virtual/kernel', 'linux-ti-mainline', '', 'am57xx-evm-reva3.dtb', d)} \
-    ti/am57xx-evm-reva3.dtbo \
     am571x-idk.dtb \
-    ti/am571x-idk-touchscreen.dtbo \
     am572x-idk.dtb \
     am574x-idk.dtb \
-    ti/am57xx-idk-osd-lcd-common.dtbo \
-    ti/am572x-idk-touchscreen.dtbo \
-    ti/lcd-osd101t2587.dtbo \
-    ti/lcd-osd101t2045.dtbo \
-    ${@oe.utils.conditional('PREFERRED_PROVIDER_virtual/kernel', 'linux-ti-mainline', '', 'ti/ov10635.dtbo', d)} \
 "
 
 KERNEL_DEVICETREE += "${@oe.utils.conditional('ENABLE_TI_UIO_DEVICES', '1', 'am574x-idk-pru-excl-uio.dtb am572x-idk-pru-excl-uio.dtb am571x-idk-pru-excl-uio.dtb', '', d)}"
meta-ti-bsp/conf/machine/am62xx-evm.conf +0 -1
index 73859d5f..35910ff3 100644
@@ -8,7 +8,6 @@ KERNEL_DEVICETREE = " \
     ti/k3-am625-sk.dtb \
     ti/k3-am625-skeleton.dtb \
     ti/k3-am625-sk-lpmdemo.dtb \
-    ti/k3-am625-sk-csi2-ov5640.dtbo \
 "
 
 UBOOT_MACHINE = "am62x_evm_a53_defconfig"
meta-ti-bsp/conf/machine/am62xx-lp-evm.conf +0 -1
index ec9ce596..32ffaaa0 100644
@@ -8,7 +8,6 @@ KERNEL_DEVICETREE = " \
     ti/k3-am62x-lp-sk.dtb \
     ti/k3-am625-skeleton.dtb \
     ti/k3-am625-sk-lpmdemo.dtb \
-    ti/k3-am625-sk-csi2-ov5640.dtbo \
 "
 
 UBOOT_MACHINE = "am62x_lpsk_a53_defconfig"
meta-ti-bsp/conf/machine/beaglebone-ai64.conf +0 -0
index 6e8c863c..10861c63 100644

Please drop this section - beaglebone-ai64 uses own linux-bb.org 5.10 kernel and won't be affected by the new 6.1 recipe addition.

Quoted 275 lines
meta-ti-bsp/conf/machine/beaglebone-ai64.conf +0 -51
@@ -17,58 +17,7 @@ KERNEL_DEVICETREE = " \
 ti/k3-j721e-beagleboneai64.dtb \
 ti/k3-j721e-beagleboneai64-no-shared-mem.dtb \
 ti/k3-j721e-common-proc-board.dtb \
-ti/k3-j721e-common-proc-board-infotainment.dtbo \
-ti/k3-j721e-cpb-csi2-ov5640.dtbo \
-ti/k3-j721e-fpdlink-cpb-fusion.dtbo \
-ti/k3-j721e-fpdlink-imx390-cm-0-0.dtbo \
-ti/k3-j721e-fpdlink-imx390-cm-0-1.dtbo \
-ti/k3-j721e-fpdlink-imx390-cm-0-2.dtbo \
-ti/k3-j721e-fpdlink-imx390-cm-0-3.dtbo \
-ti/k3-j721e-fpdlink-imx390-cm-1-0.dtbo \
-ti/k3-j721e-fpdlink-imx390-cm-1-1.dtbo \
-ti/k3-j721e-fpdlink-imx390-cm-1-2.dtbo \
-ti/k3-j721e-fpdlink-imx390-cm-1-3.dtbo \
-ti/k3-j721e-fpdlink-imx390-rcm-0-0.dtbo \
-ti/k3-j721e-fpdlink-imx390-rcm-0-1.dtbo \
-ti/k3-j721e-fpdlink-imx390-rcm-0-2.dtbo \
-ti/k3-j721e-fpdlink-imx390-rcm-0-3.dtbo \
-ti/k3-j721e-fpdlink-imx390-rcm-1-0.dtbo \
-ti/k3-j721e-fpdlink-imx390-rcm-1-1.dtbo \
-ti/k3-j721e-fpdlink-imx390-rcm-1-2.dtbo \
-ti/k3-j721e-fpdlink-imx390-rcm-1-3.dtbo \
-ti/k3-j721e-fpdlink-sk-fusion.dtbo \
-ti/k3-j721e-gesi-exp-board.dtbo \
-ti/k3-j721e-proc-board-tps65917.dtb \
-ti/k3-j721e-quad-port-eth-exp.dtbo \
-ti/k3-j721e-sk-csi2-ov5640.dtbo \
 ti/k3-j721e-sk.dtb \
-ti/k3-j721e-sk-rpi-cam-imx219.dtbo \
-ti/k3-j721e-sk-rpi-hdr-ehrpwm.dtbo \
-ti/overlays/BBAI64-CSI0-imx219.dtbo \
-ti/overlays/BBAI64-CSI1-imx219.dtbo \
-ti/overlays/BBAI64-DSI-RPi-7inch-panel.dtbo \
-ti/overlays/BBAI64-P8_37-ehrpwm5_a.dtbo \
-ti/overlays/BBAI64-P9_25-ehrpwm4_b.dtbo \
-ti/overlays/BB-I2C2-MPU6050.dtbo \
-ti/overlays/BBORG_LOAD-00A2.dtbo \
-ti/overlays/BBORG_RELAY-00A2.dtbo \
-ti/overlays/BBORG_SERVO-00A2.dtbo \
-ti/overlays/BONE-FAN.dtbo \
-ti/overlays/BONE-I2C1.dtbo \
-ti/overlays/BONE-I2C2.dtbo \
-ti/overlays/BONE-I2C3.dtbo \
-ti/overlays/BONE-LED_P8_03.dtbo \
-ti/overlays/BONE-LED_P9_11.dtbo \
-ti/overlays/BONE-PWM0.dtbo \
-ti/overlays/BONE-PWM1.dtbo \
-ti/overlays/BONE-PWM2.dtbo \
-ti/overlays/BONE-SPI0_0.dtbo \
-ti/overlays/BONE-SPI0_1.dtbo \
-ti/overlays/BONE-UART1.dtbo \
-ti/overlays/BONE-USB0-host.dtbo \
-ti/overlays/J721E-PRU-UIO-00A0.dtbo \
-ti/overlays/k3-j721e-beagleboneai64-RPi-7inch-panel.dtbo \
-ti/overlays/robotics-cape.dtbo \
 "
 
 IMAGE_BOOT_FILES += "sysfw.itb"
meta-ti-bsp/conf/machine/dra7xx-evm.conf +0 -8
index 813e0e06..1944792e 100644
@@ -10,18 +10,10 @@ SERIAL_CONSOLES = "115200;ttyS0"
 
 KERNEL_DEVICETREE = " \
     dra7-evm.dtb \
-    ti/dra7x-evm-osd-lcd-common.dtbo \
     dra71-evm.dtb \
-    ${@oe.utils.conditional('PREFERRED_PROVIDER_virtual/kernel', 'linux-ti-mainline', '', 'dra71-evm-nand.dtb', d)} \
-    ti/dra71-evm-lcd-auo-g101evn01.0.dtbo \
     dra72-evm.dtb \
     dra72-evm-revc.dtb \
-    ti/dra72-evm-touchscreen.dtbo \
-    ti/dra74-evm-touchscreen.dtbo \
     dra76-evm.dtb \
-    ti/dra76-evm-tfp410.dtbo \
-    ti/lcd-osd101t2045.dtbo \
-    ti/lcd-osd101t2587.dtbo \
 "
 
 UBOOT_MACHINE = "dra7xx_evm_config"
meta-ti-bsp/conf/machine/include/am62xx.inc +1 -1
index 98df24b2..c0f2adb2 100644
@@ -6,7 +6,7 @@ MACHINE_FEATURES += "screen gpu"
 SERIAL_CONSOLES = "115200;ttyS2"
 SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
 
-PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
+PREFERRED_PROVIDER_virtual/gpudriver ?= ""
 
 TFA_BOARD = "lite"
 TFA_K3_SYSTEM_SUSPEND = "1"
meta-ti-bsp/conf/machine/include/am64xx.inc +0 -3
index a2e5d673..ff7f66e3 100644
@@ -7,9 +7,6 @@ SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
 KERNEL_DEVICETREE = " \
     ti/k3-am642-evm.dtb \
     ti/k3-am642-sk.dtb \
-    ti/k3-am642-evm-icssg1-dualemac.dtbo \
-    ti/k3-am642-evm-icssg1-dualemac-mii.dtbo \
-    ti/k3-am642-evm-nand.dtbo \
 "
 
 # Default tiboot3.bin on AM64x is for SR2.0 HS-FS
meta-ti-bsp/conf/machine/include/am65xx.inc +0 -10
index 0ae00761..fef73da2 100644
@@ -10,16 +10,6 @@ PREFERRED_PROVIDER_virtual/gpudriver ?= ""
 
 KERNEL_DEVICETREE = " \
     ti/k3-am654-base-board.dtb \
-    ti/k3-am654-base-board-sr1.dtbo \
-    ti/k3-am654-gp.dtbo \
-    ti/k3-am654-idk.dtbo \
-    ti/k3-am654-idk-sr1.dtbo \
-    ti/k3-am654-sr1.dtbo \
-    ti/k3-am654-pcie-usb2.dtbo \
-    ti/k3-am654-pcie-usb3.dtbo \
-    ti/k3-am654-evm-tc358876.dtbo \
-    ti/k3-am654-evm-oldi-lcd1evm.dtbo \
-    ti/k3-am654-evm-ov5640.dtbo \
 "
 
 # On AM65x the file tiboot3.bin comes from the bootloader not ti-sci-fw
meta-ti-bsp/conf/machine/include/j721e.inc +1 -1
index 8f9c24e6..46f9564e 100644
@@ -3,7 +3,7 @@ SOC_FAMILY:append = ":j721e"
 
 MACHINE_FEATURES += "screen gpu"
 
-PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
+PREFERRED_PROVIDER_virtual/gpudriver ?= ""
 
 # On J721e the file tiboot3.bin comes from the bootloader not ti-sci-fw
 do_image_wic[mcdepends] += "mc::k3r5:virtual/bootloader:do_deploy"
meta-ti-bsp/conf/machine/include/j721s2.inc +1 -1
index 70569a16..a23aed73 100644
@@ -3,7 +3,7 @@ SOC_FAMILY:append = ":j721s2"
 
 MACHINE_FEATURES += "screen gpu"
 
-PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
+PREFERRED_PROVIDER_virtual/gpudriver ?= ""
 
 TFA_BOARD = "generic"
 
meta-ti-bsp/conf/machine/include/j784s4.inc +1 -1
index d03ee4a4..3066193b 100644
@@ -3,7 +3,7 @@ SOC_FAMILY:append = ":j784s4"
 
 MACHINE_FEATURES += "screen gpu"
 
-PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
+PREFERRED_PROVIDER_virtual/gpudriver ?= ""
 
 TFA_BOARD = "j784s4"
 
meta-ti-bsp/conf/machine/include/ti43x.inc +0 -2
index ec6d9c07..3228418e 100644
@@ -20,10 +20,8 @@ KERNEL_IMAGETYPE = "zImage"
 
 KERNEL_DEVICETREE = " \
     am437x-gp-evm.dtb \
-    ${@oe.utils.conditional('PREFERRED_PROVIDER_virtual/kernel', 'linux-ti-mainline', '', 'am437x-gp-evm-hdmi.dtb', d)} \
     am437x-sk-evm.dtb am437x-idk-evm.dtb \
     am43x-epos-evm.dtb \
-    ${@oe.utils.conditional('PREFERRED_PROVIDER_virtual/kernel', 'linux-ti-mainline', '', 'am43x-epos-evm-hdmi.dtb', d)} \
 "
 
 KERNEL_DEVICETREE += "${@oe.utils.conditional('ENABLE_TI_UIO_DEVICES', '1', 'am437x-idk-pru-excl-uio.dtb', '', d)}"
meta-ti-bsp/conf/machine/j721e-evm.conf +0 -1
index fe28e6f5..f6af3b6d 100644
@@ -9,7 +9,6 @@ SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
 
 KERNEL_DEVICETREE = " \
     ti/k3-j721e-common-proc-board.dtb \
-    ti/k3-j721e-common-proc-board-infotainment.dtbo \
     ti/k3-j721e-sk.dtb \
 "
 
meta-ti-bsp/conf/machine/j721s2-evm.conf +0 -1
index 3576414d..740036b1 100644
@@ -11,7 +11,6 @@ OPTEE_K3_USART = "0x8"
 
 KERNEL_DEVICETREE = " \
     ti/k3-j721s2-common-proc-board.dtb \
-    ti/k3-j721s2-gesi-exp-board.dtbo \
 "
 
 UBOOT_MACHINE = "j721s2_evm_a72_defconfig"
meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/defconfig new file +2 -0
new file mode 100644
index 00000000..24b53cf7
@@ -0,0 +1,2 @@
+use-kernel-config=multi_v7_defconfig
+config-fragment=kernel/configs/ti_multi_v7_prune.config
meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/k3/defconfig new file +2 -0
new file mode 100644
index 00000000..ef1d3efd
@@ -0,0 +1,2 @@
+use-kernel-config=defconfig
+config-fragment=kernel/configs/ti_arm64_prune.config
meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.1/omapl138/defconfig new file +1 -0
new file mode 100644
index 00000000..099493af
@@ -0,0 +1 @@
+use-kernel-config=davinci_all_defconfig
meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb new file +36 -0
new file mode 100644
index 00000000..2b2196c7
@@ -0,0 +1,36 @@
+SECTION = "kernel"
+SUMMARY = "Linux kernel for TI devices"
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
+
+inherit kernel
+
+require recipes-kernel/linux/setup-defconfig.inc
+require recipes-kernel/linux/kernel-rdepends.inc
+require recipes-kernel/linux/ti-kernel.inc
+
+DEPENDS += "gmp-native libmpc-native"
+
+# Look in the generic major.minor directory for files
+FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.1:"
+
+KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} \
+		      ${EXTRA_DTC_ARGS}"
+
+S = "${WORKDIR}/git"
+
+BRANCH = "ti-linux-6.1.y"
+
+SRCREV = "e553069c227ddeb22ac283676f7b5a6bf9d16cb8"
+PV = "v6.1+git${SRCPV}"
+
+# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
+MACHINE_KERNEL_PR:append = "b"
+PR = "${MACHINE_KERNEL_PR}"
+
+KERNEL_GIT_URI = "git://git.ti.com/git/ti-linux-kernel/ti-linux-kernel.git"
+KERNEL_GIT_PROTOCOL = "https"
+SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \
+            file://defconfig"
+
+FILES:${KERNEL_PACKAGE_NAME}-devicetree += "/${KERNEL_IMAGEDEST}/*.itb"
Signature · 1 line
2.39.2