Hello,
I would like you advise regarding the memory available in Linux:
I have an issue where kernel see different memory size than the real memory.
DDR = 512M (in u-boot)
bootargs also contain 512M:
root@dm814x:~# cat /proc/cmdline
console=ttyO0,115200n8 ip=10.0.0.2 nfsroot=10.0.0.1:/mnt/DVR_NEW/DVRRDK_04.01.00.02/target/rfs_814x,nolock root=/dev/nfs rw rootdelay=15 mem=512M
But I see in dmesg that memory is 461M:
root@dm814x:~# dmesg | grep '[Mm]em'
Memory policy: ECC disabled, Data cache writeback
free_area_init_node: node 0, pgdat c05396d8, node_mem_map c0578000
Normal zone: 1024 pages used for memmap
Kernel command line: console=ttyO0,115200n8 ip=10.0.0.2 nfsroot=10.0.0.1:/mnt/DVR_NEW/DVRRDK_04.01.00.02/target/rfs_814x,nolock root=/dev/nfs rw rootdelay=15 mem=512M
Memory: 460MB 1MB = 461MB total
Memory: 461924k/461924k available, 62364k reserved, 0K highmem
Virtual kernel memory layout:
lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
Is there any idea why the kernel does not see 512M ?
Thanks you,
Ran