Skip to contentSkip to conversation

create-sdcard: Copy wificfg file to boot partition for am62xx

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

lore
Share & tools
lore

Aparna M

author
#0 lore raw

PATCH 1/1 create-sdcard: Copy wificfg file to boot partition for am62xx

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.

---
 create-sdcard.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
create-sdcard.sh +1 -1
index fa7dadb..4af6c94 100644
@@ -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"
Signature · 1 line
2.17.1
#1 lore raw

Re: [meta-arago][tisdk-setup-scripts][master][PATCH] create-sdcard: Copy

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