From 76c3e0659420b3d715bb7a4dce05fe5e04bf3fdc Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Fri, 2 Dec 2016 12:59:15 +0530 Subject: 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 Signed-off-by: Max Krummenacher --- recipes-images/images/files/library/tegra/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes-images/images/files/library/tegra/update.sh') 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" -- cgit v1.2.3