summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVishal Mahaveer2014-08-08 10:37:38 -0500
committerVishal Mahaveer2014-08-08 11:51:47 -0500
commit05561662febf80defdd81a2b03a546e10e507b93 (patch)
tree76706f8e3a7e0466bd5a6b6bded4837185bab08e
parent965845fd4b9e8866253b7e2dc86f0451beafc32b (diff)
downloaddevice-ti-jacinto6evm-05561662febf80defdd81a2b03a546e10e507b93.tar.gz
device-ti-jacinto6evm-05561662febf80defdd81a2b03a546e10e507b93.tar.xz
device-ti-jacinto6evm-05561662febf80defdd81a2b03a546e10e507b93.zip
jacinto6evm: update fastboot script with revg option
Add special argument --revg for flashing environemnt partition with special dtb file if available. Change-Id: I4f416c5292bc26f423307276383e3a9e61b521b3 Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
-rwxr-xr-xfastboot.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/fastboot.sh b/fastboot.sh
index 5ac2730..d1f5946 100755
--- a/fastboot.sh
+++ b/fastboot.sh
@@ -2,8 +2,10 @@
2 2
3usage () 3usage ()
4{ 4{
5 echo "Usage: %fastboot.sh "; 5 echo "Usage: sudo fastboot.sh <options>";
6 echo "options:"; 6 echo "options:";
7 echo " --help Show this message and exit"
8 echo " --revg Flashes the dtb required for Rev-G J6 EVm which has 10inch panel";
7 exit 1; 9 exit 1;
8} 10}
9 11
@@ -79,6 +81,11 @@ else
79 environment="${PRODUCT_OUT}dra7-evm.dtb" 81 environment="${PRODUCT_OUT}dra7-evm.dtb"
80fi 82fi
81 83
84# Special case to flash dtb for 10" panel board
85if [ "$1" = "--revg" ] && [ ${cpu} = "J6" ]; then
86 environment="${PRODUCT_OUT}dra7-evm-g.dtb"
87fi
88
82 89
83# Create the filename 90# Create the filename
84bootimg="${PRODUCT_OUT}boot.img" 91bootimg="${PRODUCT_OUT}boot.img"