diff options
author | Sanchayan Maity <maitysanchayan@gmail.com> | 2016-12-02 12:59:15 +0530 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2017-01-10 16:17:43 -0800 |
commit | 76c3e0659420b3d715bb7a4dce05fe5e04bf3fdc (patch) | |
tree | eae66925df175241d748593a255e004e8977b4d5 /recipes-images/images/files/library/tegra/update.sh | |
parent | 422c6b5ae112f0ddd4a41ef58dd1518240376225 (diff) |
images: Remove update script limitation of 5GB rootfs
Our current update procedure reads the rootfs payload in pre
split files of 64 MB size. However due to the workaround for
u-boot counting in hex and split did in decimal, the number of
chunks is limited to 89 resulting in a maximum size of 5.5GB.
Update the u-boot counting procedure to count in 3 digits from
the current 2 digits. This allows more than 800 plus chunks
which should take care of rootfs size and any future eMMC
update requirements.
Signed-off-by: Sanchayan Maity <sanchayan.maity@toradex.com>
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-images/images/files/library/tegra/update.sh')
-rwxr-xr-x | recipes-images/images/files/library/tegra/update.sh | 2 |
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 0032540..90e12f7 100755 --- a/recipes-images/images/files/library/tegra/update.sh +++ b/recipes-images/images/files/library/tegra/update.sh @@ -446,7 +446,7 @@ sudo cp fwd_mmc.img "$OUT_DIR/../flash_mmc.img" if [ "${IMAGEFILE}" = "root.ext3" ] ; then if [ "$SPLIT" -ge 1 ] ; then - sudo split -a 2 -b `expr 64 \* 1024 \* 1024` --numeric-suffixes=10 ${IMAGEFILE} "$OUT_DIR/root.ext3-" + sudo split -a 3 -b `expr 64 \* 1024 \* 1024` --numeric-suffixes=100 ${IMAGEFILE} "$OUT_DIR/root.ext3-" fi else sudo cp ${IMAGEFILE}* "$OUT_DIR" |