Skip to contentSkip to conversation

conf: machine: beagleplay/beaglebone-ai64: Set KERNEL_DEVICETREE_PREFIX

PATCH In review Ryan Eatmon 2 participants 3 messages Apr 4, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 conf: machine: beagleplay/beaglebone-ai64: Set KERNEL_DEVICETREE_PREFIX

Set the KERNEL_DEVICETREE_PREFIX so that, when using the various TI kernel recipes, the "correct" DTB files are pulled in depending on what is available in that kernel source.

---
 meta-ti-bsp/conf/machine/beaglebone-ai64.conf | 4 ++++
 meta-ti-bsp/conf/machine/beagleplay.conf      | 5 +++++
 2 files changed, 9 insertions(+)
meta-ti-bsp/conf/machine/beaglebone-ai64.conf +4 -0
index 8ec52bba..a9be4d13 100644
@@ -13,6 +13,10 @@ UBOOT_MACHINE = "j721e_evm_a72_config"
 # under meta-ti-bsp/recipes-bsp/u-boot/ for more details.
 UBOOT_CONFIG_FRAGMENTS = "j721e_beagleboneai64_a72.config"
 
+KERNEL_DEVICETREE_PREFIX = " \
+    ti/k3-j721e \
+"
+
 KERNEL_DEVICETREE = " \
 ti/k3-j721e-beagleboneai64.dtb \
 ti/k3-j721e-common-proc-board.dtb \
meta-ti-bsp/conf/machine/beagleplay.conf +5 -0
index 75e62afd..65c14333 100644
@@ -28,6 +28,11 @@ UBOOT_CONFIG_FRAGMENTS = "am625_beagleplay_a53.config"
 PREFERRED_PROVIDER_virtual/bootloader = "u-boot-bb.org"
 PREFERRED_PROVIDER_u-boot = "u-boot-bb.org"
 
+KERNEL_DEVICETREE_PREFIX = " \
+    ti/k3-am625 \
+    ti/k3-am62x-sk \
+"
+
 KERNEL_DEVICETREE = " \
 ti/k3-am625-beagleplay.dtb \
 ti/k3-am625-beagleplay-csi2-ov5640.dtbo \
Signature · 1 line
2.17.1
#1 lore raw
Quoted 15 lines · Ryan Eatmon

Set the KERNEL_DEVICETREE_PREFIX so that, when using the various TI kernel recipes, the "correct" DTB files are pulled in depending on what is available in that kernel source.

---
  meta-ti-bsp/conf/machine/beaglebone-ai64.conf | 4 ++++
  meta-ti-bsp/conf/machine/beagleplay.conf      | 5 +++++
  2 files changed, 9 insertions(+)
meta-ti-bsp/conf/machine/beaglebone-ai64.conf +0 -0
index 8ec52bba..a9be4d13 100644

meta-ti-bsp/conf/machine/beaglebone-ai64.conf UBOOT_MACHINE = "j721e_evm_a72_config" · line 22

Quoted 10 lines
meta-ti-bsp/conf/machine/beaglebone-ai64.conf +4 -0
@@ -13,6 +13,10 @@ UBOOT_MACHINE = "j721e_evm_a72_config"
  # under meta-ti-bsp/recipes-bsp/u-boot/ for more details.
  UBOOT_CONFIG_FRAGMENTS = "j721e_beagleboneai64_a72.config"
 
+KERNEL_DEVICETREE_PREFIX = " \
+    ti/k3-j721e \
+"
+
  KERNEL_DEVICETREE = " \
  ti/k3-j721e-beagleboneai64.dtb \
  ti/k3-j721e-common-proc-board.dtb \

Can we remove these overlays now ?

ti/k3-j721e-beagleboneai64-dsi-rpi-7inch-panel.dtbo \
ti/k3-j721e-evm-csi2-ov5640.dtbo \
ti/k3-j721e-evm-fusion.dtbo \
ti/k3-j721e-evm-gesi-exp-board.dtbo \
ti/k3-j721e-evm-pcie0-ep.dtbo \
ti/k3-j721e-evm-quad-port-eth-exp.dtbo \
ti/k3-j721e-evm-virt-mac-client.dtbo \
ti/k3-j721e-sk-csi2-ov5640.dtbo \
ti/k3-j721e-sk-csi2-rpi-imx219.dtbo \
ti/k3-j721e-sk-fusion.dtbo \
ti/k3-j721e-sk-rpi-hdr-ehrpwm.dtbo \

Quoted 6 lines
meta-ti-bsp/conf/machine/beagleplay.conf +0 -0
index 75e62afd..65c14333 100644
@@ -28,6 +28,11 @@ UBOOT_CONFIG_FRAGMENTS = "am625_beagleplay_a53.config"
  PREFERRED_PROVIDER_virtual/bootloader = "u-boot-bb.org"

meta-ti-bsp/conf/machine/beagleplay.conf UBOOT_CONFIG_FRAGMENTS = "am625_beagleplay_a53.config" · line 38

Quoted 10 lines
meta-ti-bsp/conf/machine/beagleplay.conf +5 -0
  PREFERRED_PROVIDER_u-boot = "u-boot-bb.org"
 
+KERNEL_DEVICETREE_PREFIX = " \
+    ti/k3-am625 \
+    ti/k3-am62x-sk \
+"
+
  KERNEL_DEVICETREE = " \
  ti/k3-am625-beagleplay.dtb \
  ti/k3-am625-beagleplay-csi2-ov5640.dtbo \

similar here. Can we remove the following overlays

ti/k3-am625-beagleplay-csi2-ov5640.dtbo \
ti/k3-am625-beagleplay-csi2-tevi-ov5640.dtbo \
ti/k3-am625-beagleplay-lincolntech-lcd185-panel.dtbo \
ti/k3-am625-sk-dmtimer-pwm.dtbo \
ti/k3-am625-sk-ecap-capture.dtbo \
ti/k3-am625-sk-lincolntech-lcd185-panel.dtbo \
ti/k3-am625-sk-mcspi-loopback.dtbo \
ti/k3-am625-sk-microtips-mf101hie-panel.dtbo \
ti/k3-am625-sk-microtips-mf103hie-lcd2.dtbo \
ti/k3-am625-sk-pwm.dtbo \
ti/k3-am625-sk-rpi-hdr-ehrpwm.dtbo \
ti/k3-am62x-sk-csi2-imx219.dtbo \
ti/k3-am62x-sk-csi2-ov5640.dtbo \
ti/k3-am62x-sk-csi2-tevi-ov5640.dtbo \
ti/k3-am62x-sk-csi2-v3link-fusion.dtbo \
ti/k3-am62x-sk-eqep.dtbo \
ti/k3-am62x-sk-hdmi-audio.dtbo \
ti/k3-am62x-sk-lpm-wkup-sources.dtbo \
ti/k3-am62x-sk-mcan.dtbo \

#2 lore raw
Quoted 22 lines · Praneeth
Quoted 19 lines · Ryan Eatmon

Set the KERNEL_DEVICETREE_PREFIX so that, when using the various TI kernel recipes, the "correct" DTB files are pulled in depending on what is available in that kernel source.

---
  meta-ti-bsp/conf/machine/beaglebone-ai64.conf | 4 ++++ meta-ti-bsp/conf/machine/beagleplay.conf      | 5 +++++

  2 files changed, 9 insertions(+)
meta-ti-bsp/conf/machine/beaglebone-ai64.conf +0 -0
index 8ec52bba..a9be4d13 100644
@@ -13,6 +13,10 @@ UBOOT_MACHINE = "j721e_evm_a72_config"
   # under meta-ti-bsp/recipes-bsp/u-boot/ for more details.

  UBOOT_CONFIG_FRAGMENTS = "j721e_beagleboneai64_a72.config" +KERNEL_DEVICETREE_PREFIX = " \
+    ti/k3-j721e \

Quoted 8 lines
Quoted 5 lines

+"
+
  KERNEL_DEVICETREE = " \
  ti/k3-j721e-beagleboneai64.dtb \
  ti/k3-j721e-common-proc-board.dtb \

Can we remove these overlays now ?

These are from the beagle kernel, not ours.

Quoted 51 lines

ti/k3-j721e-beagleboneai64-dsi-rpi-7inch-panel.dtbo \
ti/k3-j721e-evm-csi2-ov5640.dtbo \
ti/k3-j721e-evm-fusion.dtbo \
ti/k3-j721e-evm-gesi-exp-board.dtbo \
ti/k3-j721e-evm-pcie0-ep.dtbo \
ti/k3-j721e-evm-quad-port-eth-exp.dtbo \
ti/k3-j721e-evm-virt-mac-client.dtbo \
ti/k3-j721e-sk-csi2-ov5640.dtbo \
ti/k3-j721e-sk-csi2-rpi-imx219.dtbo \
ti/k3-j721e-sk-fusion.dtbo \
ti/k3-j721e-sk-rpi-hdr-ehrpwm.dtbo \

Quoted 12 lines
meta-ti-bsp/conf/machine/beagleplay.conf +0 -0
index 75e62afd..65c14333 100644
@@ -28,6 +28,11 @@ UBOOT_CONFIG_FRAGMENTS = "am625_beagleplay_a53.config"

  PREFERRED_PROVIDER_virtual/bootloader = "u-boot-bb.org" PREFERRED_PROVIDER_u-boot = "u-boot-bb.org"

meta-ti-bsp/conf/machine/beagleplay.conf +5 -0
+KERNEL_DEVICETREE_PREFIX = " \
+    ti/k3-am625 \
+    ti/k3-am62x-sk \
+"
+
Quoted 3 lines

  KERNEL_DEVICETREE = " \
  ti/k3-am625-beagleplay.dtb \
  ti/k3-am625-beagleplay-csi2-ov5640.dtbo \

similar here. Can we remove the following overlays

ti/k3-am625-beagleplay-csi2-ov5640.dtbo \
ti/k3-am625-beagleplay-csi2-tevi-ov5640.dtbo \
ti/k3-am625-beagleplay-lincolntech-lcd185-panel.dtbo \
ti/k3-am625-sk-dmtimer-pwm.dtbo \
ti/k3-am625-sk-ecap-capture.dtbo \
ti/k3-am625-sk-lincolntech-lcd185-panel.dtbo \
ti/k3-am625-sk-mcspi-loopback.dtbo \
ti/k3-am625-sk-microtips-mf101hie-panel.dtbo \
ti/k3-am625-sk-microtips-mf103hie-lcd2.dtbo \
ti/k3-am625-sk-pwm.dtbo \
ti/k3-am625-sk-rpi-hdr-ehrpwm.dtbo \
ti/k3-am62x-sk-csi2-imx219.dtbo \
ti/k3-am62x-sk-csi2-ov5640.dtbo \
ti/k3-am62x-sk-csi2-tevi-ov5640.dtbo \
ti/k3-am62x-sk-csi2-v3link-fusion.dtbo \
ti/k3-am62x-sk-eqep.dtbo \
ti/k3-am62x-sk-hdmi-audio.dtbo \
ti/k3-am62x-sk-lpm-wkup-sources.dtbo \
ti/k3-am62x-sk-mcan.dtbo \

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