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 <[email protected]>
---
 create-sdcard.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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"
-- 
2.17.1



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


Reply via email to