summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanchayan Maity <maitysanchayan@gmail.com>2016-12-07 15:17:26 +0530
committerStefan Agner <stefan.agner@toradex.com>2017-01-10 16:17:43 -0800
commite65347c24b1871c3cda2f9d6d62fefb0fe606781 (patch)
tree06848bfa366d160e7a0b489616069e4159a38fc2
parent76c3e0659420b3d715bb7a4dce05fe5e04bf3fdc (diff)
tegra: update.sh: Remove Apalis TK1 eMMC partition resizing limit of 8GB
Currently our update.sh script limits the partition size to around 8GB by default so even after our automatic resizing only 8GB of the 16GB of available eMMC space can be used. Set a higher and saner default EMMC_SIZE to allow automatic resizing to the full EMMC space available. Signed-off-by: Sanchayan Maity <sanchayan.maity@toradex.com> Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
-rwxr-xr-xrecipes-images/images/files/library/tegra/update.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-images/images/files/library/tegra/update.sh b/recipes-images/images/files/library/tegra/update.sh
index 90e12f7..3644511 100755
--- a/recipes-images/images/files/library/tegra/update.sh
+++ b/recipes-images/images/files/library/tegra/update.sh
@@ -202,7 +202,7 @@ case "$MODTYPE" in
CBOOT_IMAGE=apalis-tk1.img
CBOOT_IMAGE_TARGET=tegra124
# assumed minimal eMMC size [in sectors of 512]
- EMMC_SIZE=$(expr 1024 \* 7450 \* 2)
+ EMMC_SIZE=$(expr 1024 \* 15020 \* 2)
IMAGEFILE=root.ext3
KERNEL_DEVICETREE="tegra124-apalis-eval.dtb"
LOCPATH="tegra-uboot-flasher"