[meta-arago,tisdk-setup-scripts,master] create-sdcard: Copy wificfg file to boot partition for am62xx

Message ID 20220513124458.23582-1-a-m1@ti.com
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series [meta-arago,tisdk-setup-scripts,master] create-sdcard: Copy wificfg file to boot partition for am62xx | expand

Commit Message

Aparna M May 13, 2022, 12:44 p.m. UTC
WiFi demo supported in am62xx SK requires a wificfg file to be copied to
the boot partition of the SD card. Add support in the script to copy the
same.

Signed-off-by: Aparna M <a-m1@ti.com>
---
 create-sdcard.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

PRC Automation Aug. 13, 2025, 11:25 p.m. UTC | #1
meta-arago / na / 20220513124458.23582-1-a-m1

PRC Results: FAIL

=========================================================
  check-yocto-patches: FAIL
=========================================================
Patches
----------------------------------------
FAIL - [meta-arago][tisdk-setup-scripts][master][PATCH] create-sdcard: Copy wificfg file to boot partition for am62xx
    ERROR: Invalid branch specifier: "tisdk-setup-scripts". (META-3)
        patch:42
            Subject: [meta-arago][tisdk-setup-scripts][master][PATCH] create-sdcard: Copy

Patch

diff --git a/create-sdcard.sh b/create-sdcard.sh
index fa7dadb..4af6c94 100644
--- a/create-sdcard.sh
+++ b/create-sdcard.sh
@@ -1129,7 +1129,7 @@  if [ $BOOTPATHOPTION -eq 1 ] ; then
 
 	echo ""
 
-	if [ "$TARIMAGETYPE" == "default" ] && [ "$TARDEVICENAME" == "am64xx" ] ; then
+	if [ "$TARIMAGETYPE" == "default" ] && ( [ "$TARDEVICENAME" == "am64xx" ] || [ "$TARDEVICENAME" == "am62xx" ] ); then
 	       	if [ "$WIFICFG" != "" ] ; then
 			cp $BOOTFILEPATH/$WIFICFG $PATH_TO_SDBOOT/wificfg
 	                echo "wificfg copied"