Discussion:
[meta-arago] [tisdk-setup-scripts][PATCH] setup-uboot-env-am65x: remove board option
Jacob Stiffler
2018-11-16 19:47:36 UTC
Permalink
* Automatic board detection is functional, so remove this workaround.

Signed-off-by: Jacob Stiffler <j-***@ti.com>
---
setup-uboot-env-am65x.sh | 23 -----------------------
1 file changed, 23 deletions(-)

diff --git a/setup-uboot-env-am65x.sh b/setup-uboot-env-am65x.sh
index 8d70880..beb7713 100644
--- a/setup-uboot-env-am65x.sh
+++ b/setup-uboot-env-am65x.sh
@@ -82,28 +82,6 @@ kernelimage="Image-""$platform"".bin"
kernelimagesrc=`ls -1 $cwd/../board-support/prebuilt-images/$kernelimage`
kernelimagedefault=`basename $kernelimagesrc`

-board_name=""
-while [ -z "$board_name" ]
-do
- echo "Do you have the AM65x EVM or IDK?"
- echo " 1: UNKOWN"
- echo " 2: EVM"
- echo " 3: IDK"
- echo
- read -p "[ 1 ] " board
-
- if [ ! -n "$board" ]; then
- board="1"
- fi
-
- case $board in
- "1") board_name="am65x";;
- "2") board_name="am65x_evm";;
- "3") board_name="am65x_idk";;
- *) echo "Invalid reponse. Please enter 1-3."; echo;;
- esac
-done
-
echo "Select Linux kernel location:"
echo " 1: TFTP"
echo " 2: SD card"
@@ -168,7 +146,6 @@ do_expect "\"stop autoboot:\"" "send \" \"" $cwd/setupBoard.minicom
# Configurable settings
do_expect "\"$prompt\"" "send \"setenv serverip $ip\"" $cwd/setupBoard.minicom
do_expect "\"$prompt\"" "send \"setenv nfs_root $rootpath\"" $cwd/setupBoard.minicom
-do_expect "\"$prompt\"" "send \"setenv board_name $board_name\"" $cwd/setupBoard.minicom
do_expect "\"$prompt\"" "send \"setenv name_kern $kernelimage\"" $cwd/setupBoard.minicom

# General macros
--
1.9.1
Loading...