On kernels older than 3.14, /proc/meminfo does not contain the MemAvailable so BusyBox free shows 0 in the available column. As a result, the WebUI on Ingenic T31x reports a critical camera status on the main page.
I suggest a workaround: on kernels older than 3.14, use the free column instead of the available column from the free command output (or MemFree instead of MemAvailable from /proc/meminfo) on the main page.
root@openipc-t31:~# cat /proc/meminfo | grep "MemAvailable"
root@openipc-t31:~# free
total used free shared buff/cache available
Mem: 59152 18568 20496 0 20088 0
-/+ buffers/cache: 18568 40584
Swap: 0 0 0
Compare to SigmaStar SSC378DE:
root@openipc-ssc378de:~# cat /proc/meminfo | grep "MemAvailable"
MemAvailable: 32552 kB
root@openipc-ssc378de:~# free
total used free shared buff/cache available
Mem: 53848 14300 25856 0 13692 32620
Swap: 0 0 0
On kernels older than 3.14,
/proc/meminfodoes not contain theMemAvailablesoBusyBoxfreeshows 0 in theavailablecolumn. As a result, theWebUIonIngenic T31xreports a critical camera status on the main page.I suggest a workaround: on kernels older than 3.14, use the
freecolumn instead of theavailablecolumn from thefreecommand output (orMemFreeinstead ofMemAvailablefrom/proc/meminfo) on the main page.Compare to
SigmaStar SSC378DE: