Wind River Support Network

HomeDefectsLIN6-9286
Fixed

LIN6-9286 : fsl-p50xx 32b kernel total memory is incorrect.

Created: Jan 20, 2015    Updated: Dec 3, 2018
Resolved Date: Jan 21, 2015
Found In Version: 6.0
Fix Version: 6.0.0.17
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: BSP - Async

Description

4G memory in 32b kernel display 600M

root@localhost:~# cat /proc/meminfo
MemTotal:         680408 kB
MemFree:          537392 kB
Buffers:               0 kB
Cached:            43008 kB
SwapCached:            0 kB
Active:            31152 kB
Inactive:          33856 kB
Active(anon):      22128 kB
Inactive(anon):      632 kB
Active(file):       9024 kB
Inactive(file):    33224 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:         21956 kB
Mapped:            13916 kB
Shmem:               748 kB
Slab:              36424 kB
SReclaimable:       7112 kB
SUnreclaim:        29312 kB
KernelStack:        1800 kB
PageTables:         2040 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:      340204 kB
Committed_AS:     772548 kB
VmallocTotal:     212968 kB
VmallocUsed:      134352 kB
VmallocChunk:      78004 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       4096 kB
root@localhost:~#

Steps to Reproduce

1. /net/pek-lpgtest9/buildarea1/wrlinux6async/wrlinux-x/wrlinux/configure --enable-rootfs=glibc-cgl --enable-board=fsl-p50xx-32b --enable-kernel=cgl --with-layer=/kts/wr-testing/kts-test --with-template=feature/kts-basic,feature/kts-extended,feature/kts-cgl --enable-jobs=16 --enable-parallel-pkgbuilds=16 --enable-reconfig --with-rcpl-version=0
2. make fs

Other Downloads


Live chat
Online