]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm: k3-am65-iot2050: Fix invalid default configuration reference
authorAristo Chen <jj251510319013@gmail.com>
Tue, 15 Jul 2025 13:03:05 +0000 (13:03 +0000)
committerTom Rini <trini@konsulko.com>
Wed, 23 Jul 2025 19:12:16 +0000 (13:12 -0600)
mkimage introduced a validation step to ensure that the 'default'
property under the /configurations node in a FIT image refers to a
valid subnode. This exposed an issue in the
k3-am65-iot2050-boot-image.dtsi, where the 'default' property was set to
"ti/k3-am6528-iot2050-basic" and "ti/k3-am6528-iot2050-basic-pg2", which
do not correspond to actual configuration node names.

This patch updates both /configurations nodes to reference the correct
subnode.

Without this fix, mkimage will fail with an error:
"ERROR: Default configuration 'ti/k3-am6528-iot2050-basic' not found
under /configurations"

An upcoming commit will validate the if the default configuration exists

Signed-off-by: Aristo Chen <aristo.chen@canonical.com>
arch/arm/dts/k3-am65-iot2050-boot-image.dtsi

index f49d6f262f2ed12562e02d44851558e5c0248853..b3d644852494ab425e4513daa8df785449911555 100644 (file)
                        fit,fdt-list-val = "ti/k3-am6528-iot2050-basic", "ti/k3-am6548-iot2050-advanced";
 
                        configurations {
-                               default = "ti/k3-am6528-iot2050-basic";
+                               default = "config-1";
                                @config-SEQ {
                                        loadables =
 #ifdef CONFIG_WDT_K3_RTI_FW_FILE
                        };
 
                        configurations {
-                               default = "ti/k3-am6528-iot2050-basic-pg2";
+                               default = "config-1";
                                @config-SEQ {
                                        loadables =
 #ifdef CONFIG_WDT_K3_RTI_FW_FILE