From ebafec917a21eac69bc11bd2eb1c62e7592f1d5e Mon Sep 17 00:00:00 2001 From: Xiangfu Liu Date: Tue, 15 Feb 2011 23:05:44 +0800 Subject: [PATCH] increase the data partition size to 1480MB --- nanonote-files/script-files/usr/bin/mtd.nn | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nanonote-files/script-files/usr/bin/mtd.nn b/nanonote-files/script-files/usr/bin/mtd.nn index f15e1ad..a682bc5 100755 --- a/nanonote-files/script-files/usr/bin/mtd.nn +++ b/nanonote-files/script-files/usr/bin/mtd.nn @@ -53,7 +53,9 @@ fi if [ "$1" == "format_data_default" ]; then ubiformat /dev/mtd3 -y 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 fi @@ -109,4 +111,4 @@ written by: Xiangfu Liu (xiangfu@sharism.cc) written with Emacs in Ben NanoNote version: ${__VERSION__} Report bugs to developer@lists.qi-hardware.com" -exit 0 \ No newline at end of file +exit 0