Ok, so how do I tell from inside the OS if I have 8 or 16meg flash?
If I have accidentally flashed an 8meg image to the "retail" board (not an 8meg Alpha) can I fix/resize that from inside the OS or do I need to reflash an image?
Can you please link to the guide on changing the build to make an image for 16meg instead of 8 as that is how my system has been building since I got the Alpha boards...
8/16 meg images and boards...
- Pyrofer
- Posts: 61
- Joined: Tue Oct 21, 2014 11:35 am
- Vonger
- Posts: 896
- Joined: Sun Oct 19, 2014 6:00 am
Re: 8/16 meg images and boards...
From outside, flash named W25Q64, it is 8MB, W25Q128, it is 16MB.
From inside, I think the easy way is to call df
root@OpenWrt:/# df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 12800 568 12232 4% /
/dev/root 2304 2304 0 100% /rom
tmpfs 14668 80 14588 1% /tmp
/dev/mtdblock5 12800 568 12232 4% /overlay
overlayfs:/overlay 12800 568 12232 4% /
tmpfs 512 0 512 0% /dev
rootfs > 8MB, so of course it is 16MB
But this way depends on system partition, a better way is to update flash driver and show the chip type/capacity under sysfs.
From inside, I think the easy way is to call df
root@OpenWrt:/# df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 12800 568 12232 4% /
/dev/root 2304 2304 0 100% /rom
tmpfs 14668 80 14588 1% /tmp
/dev/mtdblock5 12800 568 12232 4% /overlay
overlayfs:/overlay 12800 568 12232 4% /
tmpfs 512 0 512 0% /dev
rootfs > 8MB, so of course it is 16MB
But this way depends on system partition, a better way is to update flash driver and show the chip type/capacity under sysfs.
- dape
- Posts: 2
- Joined: Thu Jan 22, 2015 9:31 am
Re: 8/16 meg images and boards...
Hi,
just got my VoCore from customes, i see i have the 16 MB flash version so can i compile my own OpenWrt Chaos Calmer and flash on it? will it see the full 16MB or will i get in trouble?
Thanks!
just got my VoCore from customes, i see i have the 16 MB flash version so can i compile my own OpenWrt Chaos Calmer and flash on it? will it see the full 16MB or will i get in trouble?
Thanks!
- dape
- Posts: 2
- Joined: Thu Jan 22, 2015 9:31 am
Re: 8/16 meg images and boards...
Uhm.. just flashed my compiled version of latest trunk (Chaos Calmer) and now i only see 8 MB of flash.. any ideas please?
- Vonger
- Posts: 896
- Joined: Sun Oct 19, 2014 6:00 am
Re: 8/16 meg images and boards...
You need to change VOCORE.dts, default is 8MB, change partition from 0x7b0000 to 0xfb0000, you will get a 16MB partition.
- Pyrofer
- Posts: 61
- Joined: Tue Oct 21, 2014 11:35 am
Re: 8/16 meg images and boards...
Thanks. That did it.
Filesystem Size Used Available Use% Mounted on
rootfs 11.1M 424.0K 10.7M 4% /
/dev/root 3.5M 3.5M 0 100% /rom
tmpfs 14.3M 56.0K 14.2M 0% /tmp
/dev/mtdblock5 11.1M 424.0K 10.7M 4% /overlay
overlayfs:/overlay 11.1M 424.0K 10.7M 4% /
tmpfs 512.0K 0 512.0K 0% /dev
I just need to remember to change it back if I make an image for my alpha boards in the future.
Filesystem Size Used Available Use% Mounted on
rootfs 11.1M 424.0K 10.7M 4% /
/dev/root 3.5M 3.5M 0 100% /rom
tmpfs 14.3M 56.0K 14.2M 0% /tmp
/dev/mtdblock5 11.1M 424.0K 10.7M 4% /overlay
overlayfs:/overlay 11.1M 424.0K 10.7M 4% /
tmpfs 512.0K 0 512.0K 0% /dev
I just need to remember to change it back if I make an image for my alpha boards in the future.
6 posts
Page 1 of 1
Who is online
Users browsing this forum: No registered users and 27 guests