Page 1 of 1
What command will show if it has 8 or 16 flash.
Posted: Sun Mar 22, 2015 11:53 am
by Raymond Day
I can do a df command and I guess mine has 16GB flash in it.
- Code: Select all
root@OpenWrt:/# df -h
Filesystem Size Used Available Use% Mounted on
rootfs 12.2M 492.0K 11.7M 4% /
/dev/root 2.5M 2.5M 0 100% /rom
tmpfs 14.3M 1.1M 13.2M 8% /tmp
/dev/mtdblock5 12.2M 492.0K 11.7M 4% /overlay
overlayfs:/overlay 12.2M 492.0K 11.7M 4% /
tmpfs 512.0K 0 512.0K 0% /dev
root@OpenWrt:/#
Can you tell by that?
Re: What command will show if it has 8 or 16 flash.
Posted: Mon Mar 23, 2015 1:42 am
by Vonger
It is 16MB.
New VoCore default is 16MB.
Re: What command will show if it has 8 or 16 flash.
Posted: Tue Mar 24, 2015 8:02 pm
by noblepepper
If you want to see it on your screen,
- Code: Select all
dmesg|grep 0x000
or
- Code: Select all
cat /proc/mtd
are appropiate.
Hint - 1000000 hex is 16 meg
Re: What command will show if it has 8 or 16 flash.
Posted: Fri Apr 10, 2015 11:52 am
by Raymond Day
This looks like the right way to check:
- Code: Select all
root@OpenWrt2:/# cat /proc/meminfo
MemTotal: 29352 kB
MemFree: 9988 kB
MemAvailable: 16616 kB
Buffers: 2144 kB
Cached: 5740 kB
SwapCached: 0 kB
Active: 6000 kB
Inactive: 3412 kB
Active(anon): 1564 kB
Inactive(anon): 28 kB
Active(file): 4436 kB
Inactive(file): 3384 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 1544 kB
Mapped: 1460 kB
Shmem: 64 kB
Slab: 5496 kB
SReclaimable: 1008 kB
SUnreclaim: 4488 kB
KernelStack: 256 kB
PageTables: 200 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 14676 kB
Committed_AS: 3784 kB
VmallocTotal: 1048372 kB
VmallocUsed: 640 kB
VmallocChunk: 1044392 kB
root@OpenWrt2:/#
So looks like this is the number:
- Code: Select all
MemAvailable: 16616 kB
Because 16MB = 16000 kB
Re: What command will show if it has 8 or 16 flash.
Posted: Fri Apr 10, 2015 1:32 pm
by noblepepper
meminfo deals with ram. The memavailable entry is an estimate of ram you have left before using swap.
The information from dmesg is the best I have found for flash.