Skip to contentSkip to conversation

create-sdcard: Modify condition to check for boot images

PATCH In review Aparna M 2 participants 2 messages Feb 25, 2022 – Aug 13, 2025

lore
Share & tools
lore

Aparna M

author
#0 lore raw

PATCH 1/1 create-sdcard: Modify condition to check for boot images

sysfw.itb is now required only for am65xx and j7 devicesi. sysfw.itb is combined with tiboot3.bin for devices using multi-cert boot binaries.

Modify the condition to check for boot binaries to avoid unnecessary error message from being printed for devices that use multi-cert boot binaries.

---
 create-sdcard.sh | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)
create-sdcard.sh +9 -3
index 947d625..fa7dadb 100644
@@ -1057,9 +1057,15 @@ if [ $BOOTPATHOPTION -eq 1 ] ; then
 
 	echo ""
 	#copy boot files out of board support
-	if [ "$MLO" == "" ] && ( [ "$SPL_R5" == "" ] || [ "$SPL_A53" == "" ] || [ "$SYSFW" == "" ] ); then
-		echo "Boot image not found"
-	fi
+        if ["$TARDEVICENAME" == "am65xx"] || ["$TARDEVICENAME" == "j7"]; then
+		if [ "$MLO" == "" ] && ( [ "$SPL_R5" == "" ] || [ "$SPL_A53" == "" ] || [ "$SYSFW" == "" ] ); then
+			echo "Boot image not found"
+		fi
+	else
+		if [ "$MLO" == "" ] && ( [ "$SPL_R5" == "" ] || [ "$SPL_A53" == "" ] ) ; then
+			echo "Boot image not found"
+		fi
+        fi
 
 	echo ""
 
Signature · 1 line
2.17.1
#1 lore raw

meta-arago / na / 20220225103851.7294-1-a-m1

PRC Results: FAIL

=========================================================
check-yocto-patches: FAIL
=========================================================
Patches
----------------------------------------
FAIL - [meta-arago][tisdk-setup-scripts][master][PATCH] create-sdcard: Modify condition to check for boot images
ERROR: Invalid branch specifier: "tisdk-setup-scripts". (META-3)
patch:37
Subject: [meta-arago][tisdk-setup-scripts][master][PATCH] create-sdcard: Modify condition to check for boot images

WARN: Missing Signed-off-by by sender in commit message. (SIGNED-OFF-BY-2)
patch