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