1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-12-22 16:31:09 +02:00

increase the data partition size to 1480MB

This commit is contained in:
Xiangfu Liu 2011-02-15 23:05:44 +08:00
parent 504dfdcfe3
commit ebafec917a

View File

@ -53,7 +53,9 @@ fi
if [ "$1" == "format_data_default" ]; then if [ "$1" == "format_data_default" ]; then
ubiformat /dev/mtd3 -y ubiformat /dev/mtd3 -y
ubiattach /dev/ubi_ctrl -m 3 ubiattach /dev/ubi_ctrl -m 3
ubimkvol /dev/ubi1 -s 1400MiB -N data ubimkvol /dev/ubi1 -s 1480MiB -N data
# test in xiangfu's nanonote. 1486 is the MAX size we can make
# so we using 1480 for now
exit 0 exit 0
fi fi
@ -109,4 +111,4 @@ written by: Xiangfu Liu (xiangfu@sharism.cc)
written with Emacs in Ben NanoNote written with Emacs in Ben NanoNote
version: ${__VERSION__} version: ${__VERSION__}
Report bugs to developer@lists.qi-hardware.com" Report bugs to developer@lists.qi-hardware.com"
exit 0 exit 0