Real memory question
-
Hello fellow Netgate community members,
Is this correct for the 2100?
I thought the real memory was 4GB the values are showing this on boot up…
-
I know ARC and top show the actual full memory but I can never get them to add up to the correct binary memory value.
-
-
My goal is to get it to add up to 4GB binary value. Anyone ever try to do that?
-
-
-
-
Yes, that's the expected value in the 2100:
real memory = 3602862080 (3435 MB) avail memory = 3462533120 (3302 MB)
The memory map from the SoC provides 32bit access so it sees 3.6GB.
Steve
-
Anyone else know any wicked ram memory commands for freeBSD let me know.
-
Hello!
Something like...
dmidecode -t memory | egrep "Maximum Capacity|Number Of Devices|Size|Type:"
...can be useful.
John
-
Oooo this one is good too
grep memory off of a sysctl -a....
-
@serbus said in Real memory question:
dmidecode -t memory | egrep "Maximum Capacity|Number Of Devices|Size|Type:"
Dang that one didn't work on arm for me
-
and you got your GUI monitor nice one..
-
There are some things you can see from uboot. Firstly that at boot it reports:
Model: Silicom Rogue-2 CPU 1200 [MHz] L2 800 [MHz] TClock 200 [MHz] DDR 750 [MHz] DRAM: 3.4 GiB
You can check the board info:
Marvell>> bdinfo arch_number = 0x00000000 boot_params = 0x00000100 DRAM bank = 0x00000000 -> start = 0x00000000 -> size = 0x04000000 DRAM bank = 0x00000001 -> start = 0x05400000 -> size = 0x7AC00000 DRAM bank = 0x00000002 -> start = 0x80000000 -> size = 0x40000000 DRAM bank = 0x00000003 -> start = 0xC0000000 -> size = 0x10000000 DRAM bank = 0x00000004 -> start = 0xE0000000 -> size = 0x08000000 baudrate = 115200 bps TLB addr = 0x7FFF0000 relocaddr = 0x7FF36000 reloc off = 0x7FF36000 irq_sp = 0x7F623350 sp start = 0x7F623350 Early malloc usage: 228 / 2000 fdt_blob = 000000007f623360
And adding up those sizes gives 0xD6C00000 = 3602907136 = 3.6GB = 3.35GiB