Skip to contentSkip to conversation

conf: machine: am62: Add FIT_CONF_DEFAULT_DTB

PATCH New Anshul Dalal 1 participant 1 message Mar 21, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 conf: machine: am62: Add FIT_CONF_DEFAULT_DTB

FIT_CONF_DEFAULT_DTB config specifies the default dtb file for the FIT image when multiple ones are provided[1].

Since the variable is not set in current machine configs, the default is set to the first dtb read during FIT image creation which doesn't give us direct control over the default configuration.

Therefore this patch adds default dtbs for am62 evms.

[1]:
https://docs.yoctoproject.org/ref-manual/variables.html#term-FIT_CONF_DEFAULT_DTB

---
 meta-ti-bsp/conf/machine/am62axx-evm.conf   | 2 ++
 meta-ti-bsp/conf/machine/am62pxx-evm.conf   | 2 ++
 meta-ti-bsp/conf/machine/am62xx-evm.conf    | 2 ++
 meta-ti-bsp/conf/machine/am62xx-lp-evm.conf | 2 ++
 meta-ti-bsp/conf/machine/am62xxsip-evm.conf | 2 ++
 5 files changed, 10 insertions(+)
meta-ti-bsp/conf/machine/am62axx-evm.conf +2 -0
index a5d41856..faeb34a9 100644
@@ -20,4 +20,6 @@ KERNEL_DEVICETREE = " \
     ti/k3-am62x-sk-hdmi-audio.dtbo \
 "
 
+FIT_CONF_DEFAULT_DTB = "ti/k3-am62a7-sk.dtb"
+
 UBOOT_MACHINE = "am62ax_evm_a53_defconfig"
meta-ti-bsp/conf/machine/am62pxx-evm.conf +2 -0
index bb3c34a3..09f0d1fb 100644
@@ -21,6 +21,8 @@ KERNEL_DEVICETREE = " \
     ti/k3-am62x-sk-hdmi-audio.dtbo \
 "
 
+FIT_CONF_DEFAULT_DTB = "ti/k3-am62p5-sk.dtb"
+
 UBOOT_MACHINE = "am62px_evm_a53_defconfig"
 
 # UBOOT_CONFIG_FRAGMENTS holds the list of u-boot config fragments which has to be build
meta-ti-bsp/conf/machine/am62xx-evm.conf +2 -0
index bf2b4a6b..c826439b 100644
@@ -31,4 +31,6 @@ KERNEL_DEVICETREE = " \
     ti/k3-am62x-sk-hdmi-audio.dtbo \
 "
 
+FIT_CONF_DEFAULT_DTB = "ti/k3-am625-sk.dtb"
+
 UBOOT_MACHINE = "am62x_evm_a53_defconfig"
meta-ti-bsp/conf/machine/am62xx-lp-evm.conf +2 -0
index 5a332b58..32d9eb31 100644
@@ -22,4 +22,6 @@ KERNEL_DEVICETREE = " \
     ti/k3-am62x-sk-hdmi-audio.dtbo \
 "
 
+FIT_CONF_DEFAULT_DTB = "ti/k3-am62-lp-sk.dtb"
+
 UBOOT_MACHINE = "am62x_lpsk_a53_defconfig"
meta-ti-bsp/conf/machine/am62xxsip-evm.conf +2 -0
index 8104329e..2ca2cbdb 100644
@@ -13,6 +13,8 @@ KERNEL_DEVICETREE = " \
     ti/k3-am625-sk.dtb \
 "
 
+FIT_CONF_DEFAULT_DTB = "ti/k3-am625-sk.dtb"
+
 UBOOT_MACHINE = "am62xsip_evm_a53_defconfig"
 
 UBOOT_MACHINE:bsp-ti-6_1 = "am62x_evm_a53_defconfig"