[linux-yocto] [kernel-cache][PATCH] mti-malta32: enable CONFIG_HIGHMEM for qemumips to support up to 2GiB RAM

Hongxu Jia hongxu.jia at windriver.com
Tue Dec 5 18:37:24 PST 2017


OE uses qemumips to simulate a Malta board by default.

As upstream qemu introduced:
https://git.qemu.org/?p=qemu.git;a=commit;h=94c2b6aff43cdfcfdfb552773a6b6b973a72ef0b

The Malta board can support up to 2GiB of RAM which should
be able to boot a Linux kernel built with CONFIG_HIGHMEM
enabled.

For mips, the `High Memory Support' only makes sense for the 32-bit
kernel.

Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
---
 bsp/mti-malta32/mti-malta32-common.cfg | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bsp/mti-malta32/mti-malta32-common.cfg b/bsp/mti-malta32/mti-malta32-common.cfg
index 104caf2..d30a38d 100644
--- a/bsp/mti-malta32/mti-malta32-common.cfg
+++ b/bsp/mti-malta32/mti-malta32-common.cfg
@@ -14,6 +14,7 @@ CONFIG_MIPS=y
 CONFIG_MIPS_MALTA=y
 CONFIG_CPU_MIPS32_R1=y
 
+CONFIG_HIGHMEM=y
 
 CONFIG_MTD=y
 CONFIG_MTD_BLKDEVS=y
-- 
2.8.1



More information about the linux-yocto mailing list