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.

Signed-off-by: Aparna M <[email protected]>
---
 create-sdcard.sh | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/create-sdcard.sh b/create-sdcard.sh
index 947d625..fa7dadb 100644
--- a/create-sdcard.sh
+++ b/create-sdcard.sh
@@ -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 ""
 
-- 
2.17.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13586): 
https://lists.yoctoproject.org/g/meta-arago/message/13586
Mute This Topic: https://lists.yoctoproject.org/mt/89385884/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to