summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-02-13 00:21:50 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-14 13:07:23 +0000
commit84baf77027269f351b51d791a422a7f166e5d4a0 (patch)
tree04f8718207ffb5003995325d3ec070337cdf1aab
parent5fd3eb4bda651bddf4e4dc76d456333c70df4ddc (diff)
downloadpoky-84baf77027269f351b51d791a422a7f166e5d4a0.tar.gz
qemuarm: Disable highmem when QB_MACHINE is virt
running ptests on qemuarm returns fails since it finds errors in kernel logs like below *********************** Central error: [ 4.338465] pci-host-generic 4010000000.pcie: ECAM ioremap failed *********************** Since its a 32bit kernel 4010000000 address is truncated to 10000000 and ends up in conflicts with VIRT_PCIE_MMIO, which ranges from 0x10000000 to 0x3efeffff This is happening because the linux-yocto kernel is not compiled with LPAE support, however, virt machine for qemuarm assumes that by default Should LPAE be enabled by default in kernel config is a separate question (From OE-Core rev: 4486f4523f6671841ffa65ce2419b9e3e018ad76) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/conf/machine/qemuarm.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/machine/qemuarm.conf b/meta/conf/machine/qemuarm.conf
index 26f40b1419..367fcef019 100644
--- a/meta/conf/machine/qemuarm.conf
+++ b/meta/conf/machine/qemuarm.conf
@@ -11,7 +11,7 @@ SERIAL_CONSOLES ?= "115200;ttyAMA0 115200;hvc0"
11 11
12# For runqemu 12# For runqemu
13QB_SYSTEM_NAME = "qemu-system-arm" 13QB_SYSTEM_NAME = "qemu-system-arm"
14QB_MACHINE = "-machine virt" 14QB_MACHINE = "-machine virt,highmem=off"
15QB_CPU = "-cpu cortex-a15" 15QB_CPU = "-cpu cortex-a15"
16# Standard Serial console 16# Standard Serial console
17QB_KERNEL_CMDLINE_APPEND = "console=ttyAMA0" 17QB_KERNEL_CMDLINE_APPEND = "console=ttyAMA0"