summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'fastboot.sh')
-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"