summaryrefslogtreecommitdiff
path: root/target/linux/brcm2708/image
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2012-08-22 09:22:38 +0000
committerJohn Crispin <john@openwrt.org>2012-08-22 09:22:38 +0000
commit6c9d20d6e7595b67aed95b23847c8f23ac89f192 (patch)
treed17bf56d0e2fb3bb014d04d0bb215a7c17f171b7 /target/linux/brcm2708/image
parent60e6fcd31b4e5c30af3410aea9680b3379913bc0 (diff)
downloadmtk-20170518-6c9d20d6e7595b67aed95b23847c8f23ac89f192.zip
mtk-20170518-6c9d20d6e7595b67aed95b23847c8f23ac89f192.tar.gz
mtk-20170518-6c9d20d6e7595b67aed95b23847c8f23ac89f192.tar.bz2
tools/firmware-utils/ptgen option to use MB rounding
SVN-Revision: 33218
Diffstat (limited to 'target/linux/brcm2708/image')
-rwxr-xr-xtarget/linux/brcm2708/image/gen_rpi_sdcard_img.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm2708/image/gen_rpi_sdcard_img.sh b/target/linux/brcm2708/image/gen_rpi_sdcard_img.sh
index c3287d2..1b7e65e 100755
--- a/target/linux/brcm2708/image/gen_rpi_sdcard_img.sh
+++ b/target/linux/brcm2708/image/gen_rpi_sdcard_img.sh
@@ -15,7 +15,7 @@ ROOTFSSIZE="$5"
head=4
sect=63
-set `ptgen -o $OUTPUT -h $head -s $sect -t c -p ${BOOTFSSIZE}M -t 83 -p ${ROOTFSSIZE}M`
+set `ptgen -o $OUTPUT -h $head -s $sect -l 4096 -t c -p ${BOOTFSSIZE}M -t 83 -p ${ROOTFSSIZE}M`
BOOTOFFSET="$(($1 / 512))"
BOOTSIZE="$(($2 / 512))"