setup-uboot-env-am57xx-evm: Add detection of am572x IDK
PATCH 1/1 setup-uboot-env-am57xx-evm: Add detection of am572x IDK
Signed-off-by Jacob Stiffler <[email protected]>
--- setup-uboot-env-am57xx-evm.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
setup-uboot-env-am57xx-evm.sh +8 -1
@@ -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
Signature · 1 line
1.9.1