Reported memory when running openwrt
is about 100 Mb :
# free
total used free shared buffers cached
Mem: 108312 26388 81924 56 732 6728
-/+ buffers/cache: 18928 89384
Swap: 0 0 0
cat /proc/meminfo
MemTotal: 108312 kB
MemFree: 81864 kB
MemAvailable: 62512 kB
Buffers: 732 kB
Cached: 6728 kB
SwapCached: 0 kB
Active: 7440 kB
Inactive: 1680 kB
Active(anon): 1696 kB
Inactive(anon): 20 kB
Active(file): 5744 kB
Inactive(file): 1660 kB
# top
Mem: 26452K used, 81860K free, 56K shrd, 732K buff, 6728K cached
However, when running "Raspbian LIte", the memory shows up according spec, about 1Gb.
Is this fake reporting or is this the real available memory?
OpenWRT version:
# uname -a
Linux OpenWrt 4.9.152 #0 SMP Mon Jan 28 08:54:32 2019 aarch64 GNU/Linux
OpenWRT build version:
https://downloads.openwrt.org/releases/18.06.2/targets/brcm2708/bcm2710/
(Some additional files were required to be added by hand as described here.)
SOLUTION EDIT: I've selected @anon50098793 's answer as a solution. It was in fact a version problem with Broadcom's software which needlessly broke back compatibility. The full solution is to use the full set of Broadcom software corresponding to a certain raspbian release - changing onlystart.elf
could lead to other more subtle problems.