Signed-off-by: Jacob Stiffler <[email protected]>
---
 setup-uboot-env-am57xx-evm.sh | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/setup-uboot-env-am57xx-evm.sh b/setup-uboot-env-am57xx-evm.sh
index e1628b7..4988b96 100644
--- a/setup-uboot-env-am57xx-evm.sh
+++ b/setup-uboot-env-am57xx-evm.sh
@@ -130,6 +130,13 @@ check_for_board() {
     then
         board="x15"
     fi
+
+    lsusb -vv -d 0403:6010 > /dev/null 2>&1
+
+    if [ "$?" = "0" ]
+    then
+        board="am5-idk"
+    fi
 }
 
 echo "timeout 300" > $cwd/setupBoard.minicom
@@ -205,7 +212,7 @@ if [ "$minicom" = "y" ]; then
     do
         check_for_board
 
-        if [ "$board" = "x15" ]
+        if [ "$board" != "unknown" ]
         then
             break
         else
-- 
1.9.1

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to