Page 1 of 1

how to use full 16M flash

Posted: Wed May 06, 2015 1:37 pm
by qiqiji
it seems only 8M flash can be used

Code: Select all
root@OpenWrt:/# df -h
Filesystem                Size      Used Available Use% Mounted on
rootfs                    4.6M    276.0K      4.3M   6% /
/dev/root                 2.3M      2.3M         0 100% /rom
tmpfs                    14.3M     88.0K     14.3M   1% /tmp
/dev/mtdblock5            4.6M    276.0K      4.3M   6% /overlay
overlayfs:/overlay        4.6M    276.0K      4.3M   6% /
tmpfs                   512.0K         0    512.0K   0% /dev


so my question is how to use full 16M flash?

any help will be great, thanks!

Re: how to use full 16M flash

Posted: Thu May 07, 2015 1:47 am
by Vonger
You must update VOCORE.dts and recompile the source code.
Search "VOCORE.dts" on my blog vonger.cn for more information.

Re: how to use full 16M flash

Posted: Thu May 07, 2015 7:44 am
by qiqiji
thanks, i found your reply in the forum

change VOCORE.dts, default is 8MB, change partition from 0x7b0000 to 0xfb0000


now 16M all can be use

Code: Select all
root@OpenWrt:~# df -h
Filesystem                Size      Used Available Use% Mounted on
rootfs                   11.0M    404.0K     10.6M   4% /
/dev/root                 3.8M      3.8M         0 100% /rom
tmpfs                    14.3M    576.0K     13.8M   4% /tmp
tmpfs                    14.3M     48.0K     14.3M   0% /tmp/root
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/mtdblock5           11.0M    404.0K     10.6M   4% /overlay
overlayfs:/overlay       11.0M    404.0K     10.6M   4% /

Re: how to use full 16M flash

Posted: Fri Sep 25, 2015 11:04 am
by TomasCook
thanks !