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.c...@canonical.com>
---
 arch/arm/dts/k3-am65-iot2050-boot-image.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/dts/k3-am65-iot2050-boot-image.dtsi 
b/arch/arm/dts/k3-am65-iot2050-boot-image.dtsi
index f49d6f262f2..b3d64485249 100644
--- a/arch/arm/dts/k3-am65-iot2050-boot-image.dtsi
+++ b/arch/arm/dts/k3-am65-iot2050-boot-image.dtsi
@@ -208,7 +208,7 @@
                        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
@@ -265,7 +265,7 @@
                        };
 
                        configurations {
-                               default = "ti/k3-am6528-iot2050-basic-pg2";
+                               default = "config-1";
                                @config-SEQ {
                                        loadables =
 #ifdef CONFIG_WDT_K3_RTI_FW_FILE
-- 
2.43.0

Reply via email to