Wind River Support Network

HomeDefectsLINCD-655
Fixed

LINCD-655 : qemuarm cannot detect large memory with qemuparams="-m 4096"

Created: Dec 18, 2019    Updated: Feb 23, 2020
Resolved Date: Feb 11, 2020
Found In Version: 10.20.3.0
Fix Version: 10.20.9.0
Severity: Standard
Applicable for: Wind River Linux CD
Component/s: Kernel

Description

CONFIG_HIGHMEM is not enabled by default to utilize high memory. It can be manually enabled.

setup.sh --machine qemuarm --dl-layers --distro wrlinux-cgl --templates feature/xfce feature/test --layers meta-filesystems meta-security-compliance meta-virtualization --accept-eula yes --dl-layers
2) bitbake wrlinux-image-glibc-cgl
3) runqemu qemuarm slirp nographic ext4 bootparams="selinux=0 enforcing=0" qemuparams="-m 4096 -smp cpus=4 "
4) Check memory
free -m
Not all of that 4GB memory can be detected.

Steps to Reproduce

8. Steps To Reproduce
****************************
1)
/lpg-build/cdc/fast_prod/WRLINUX_MASTER_WR/MASTER_WR_GIT/wrlinux-10/setup.sh
--machine qemuarm --dl-layers --distro wrlinux-cgl --templates feature/xfce feature/test --layers meta-filesystems meta-security-compliance meta-virtualization --accept-eula yes --dl-layers
2) bitbake wrlinux-image-glibc-cgl
3) runqemu qemuarm slirp nographic ext4 bootparams="selinux=0 enforcing=0" qemuparams="-m 4096 -smp cpus=4 "
4) Check memory
free -m
Live chat
Online