summaryrefslogtreecommitdiff
path: root/fastboot.sh
diff options
context:
space:
mode:
authorVishal Mahaveer <vishalm@ti.com>2013-11-07 18:13:49 -0600
committerVishal Mahaveer <vishalm@ti.com>2013-11-07 18:13:49 -0600
commitb2e22df4c282dd2d6cbb69dc5d8f6e133041e245 (patch)
treefded6454108b97fed9b78c26218ae3826547af0e /fastboot.sh
parent1132bed00bd096672bc60151ccb7aee3a2cec1f9 (diff)
downloadjacinto6evm-b2e22df4c282dd2d6cbb69dc5d8f6e133041e245.tar.gz
jacinto6evm: add ipu partition support for early camera support
- update fastboot.sh script for flashing new partition - update fstab partitions accordingly Change-Id: I491831b3ee58fd6a39a16ef85b66b1c31d18c083 Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Diffstat (limited to 'fastboot.sh')
-rwxr-xr-xfastboot.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/fastboot.sh b/fastboot.sh
index b684232..c7b82b2 100755
--- a/fastboot.sh
+++ b/fastboot.sh
@@ -94,6 +94,7 @@ userdataimg="${PRODUCT_OUT}userdata.img"
cacheimg="${PRODUCT_OUT}cache.img"
efsimg="${PRODUCT_OUT}efs.img"
recoveryimg="${PRODUCT_OUT}recovery.img"
+ipuimg="${PRODUCT_OUT}dra7-ipu1-fw.xem4"
# Verify that all the files required for the fastboot flash
@@ -131,6 +132,11 @@ if [ ! -e "${recoveryimg}" ] ; then
echo "Missing ${recoveryimg}"
# exit -1;
fi
+if [ ! -e "${ipuimg}" ] ; then
+ echo "Missing ${ipuimg}"
+ exit -1;
+fi
+
echo "Create GPT partition table"
${FASTBOOT} oem format
@@ -161,6 +167,7 @@ ${FASTBOOT} flash boot ${bootimg}
${FASTBOOT} flash environment ${environment}
#${FASTBOOT} flash recovery ${recoveryimg}
${FASTBOOT} flash system ${systemimg}
+${FASTBOOT} flash ipu ${ipuimg}
userdataimg_orig="${userdataimg}.orig"
if [ ! -f $userdataimg_orig ]; then