aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/image
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2012-08-22 09:22:38 +0000
committerJohn Crispin <blogic@openwrt.org>2012-08-22 09:22:38 +0000
commit9f3a4fd1bca0948c1b4d54e4ba9a660af99b1e00 (patch)
tree3533b1379072faccc47a8e2438c1c81bb4132ef1 /target/linux/brcm2708/image
parent7867853a57b369cc10d58e78719723731e9c6b2f (diff)
downloadupstream-9f3a4fd1bca0948c1b4d54e4ba9a660af99b1e00.tar.gz
upstream-9f3a4fd1bca0948c1b4d54e4ba9a660af99b1e00.tar.bz2
upstream-9f3a4fd1bca0948c1b4d54e4ba9a660af99b1e00.zip
[tools] tools/firmware-utils/ptgen option to use MB rounding
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33218 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 c3287d28da..1b7e65ea52 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))"