Message ID | 20240404133732.32477-1-reatmon@ti.com |
---|---|
State | Accepted |
Delegated to: | Ryan Eatmon |
Headers | show |
Series | [meta-ti,master] conf: machine: beagleplay/beaglebone-ai64: Set KERNEL_DEVICETREE_PREFIX | expand |
On 4/4/2024 8:37 AM, Ryan Eatmon wrote: > 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. > > Signed-off-by: Ryan Eatmon <reatmon@ti.com> > --- > meta-ti-bsp/conf/machine/beaglebone-ai64.conf | 4 ++++ > meta-ti-bsp/conf/machine/beagleplay.conf | 5 +++++ > 2 files changed, 9 insertions(+) > > diff --git a/meta-ti-bsp/conf/machine/beaglebone-ai64.conf b/meta-ti-bsp/conf/machine/beaglebone-ai64.conf > index 8ec52bba..a9be4d13 100644 > --- a/meta-ti-bsp/conf/machine/beaglebone-ai64.conf > +++ b/meta-ti-bsp/conf/machine/beaglebone-ai64.conf > @@ -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 \ > diff --git a/meta-ti-bsp/conf/machine/beagleplay.conf b/meta-ti-bsp/conf/machine/beagleplay.conf > index 75e62afd..65c14333 100644 > --- a/meta-ti-bsp/conf/machine/beagleplay.conf > +++ b/meta-ti-bsp/conf/machine/beagleplay.conf > @@ -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 \ 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 \
On 4/4/2024 1:42 PM, Bajjuri, Praneeth wrote: > > > On 4/4/2024 8:37 AM, Ryan Eatmon wrote: >> 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. >> >> Signed-off-by: Ryan Eatmon <reatmon@ti.com> >> --- >> meta-ti-bsp/conf/machine/beaglebone-ai64.conf | 4 ++++ >> meta-ti-bsp/conf/machine/beagleplay.conf | 5 +++++ >> 2 files changed, 9 insertions(+) >> >> diff --git a/meta-ti-bsp/conf/machine/beaglebone-ai64.conf >> b/meta-ti-bsp/conf/machine/beaglebone-ai64.conf >> index 8ec52bba..a9be4d13 100644 >> --- a/meta-ti-bsp/conf/machine/beaglebone-ai64.conf >> +++ b/meta-ti-bsp/conf/machine/beaglebone-ai64.conf >> @@ -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 ? These are from the beagle kernel, not ours. > > 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 \ > > >> diff --git a/meta-ti-bsp/conf/machine/beagleplay.conf >> b/meta-ti-bsp/conf/machine/beagleplay.conf >> index 75e62afd..65c14333 100644 >> --- a/meta-ti-bsp/conf/machine/beagleplay.conf >> +++ b/meta-ti-bsp/conf/machine/beagleplay.conf >> @@ -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 \ > > 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 \
diff --git a/meta-ti-bsp/conf/machine/beaglebone-ai64.conf b/meta-ti-bsp/conf/machine/beaglebone-ai64.conf index 8ec52bba..a9be4d13 100644 --- a/meta-ti-bsp/conf/machine/beaglebone-ai64.conf +++ b/meta-ti-bsp/conf/machine/beaglebone-ai64.conf @@ -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 \ diff --git a/meta-ti-bsp/conf/machine/beagleplay.conf b/meta-ti-bsp/conf/machine/beagleplay.conf index 75e62afd..65c14333 100644 --- a/meta-ti-bsp/conf/machine/beagleplay.conf +++ b/meta-ti-bsp/conf/machine/beagleplay.conf @@ -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 \
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. Signed-off-by: Ryan Eatmon <reatmon@ti.com> --- meta-ti-bsp/conf/machine/beaglebone-ai64.conf | 4 ++++ meta-ti-bsp/conf/machine/beagleplay.conf | 5 +++++ 2 files changed, 9 insertions(+)