From 7a8af2599f19e94dfb392f610989cd6d06cb4d87 Mon Sep 17 00:00:00 2001 From: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com> Date: Sat, 10 Apr 2021 11:09:05 +0800 Subject: [PATCH] sunxi: disable LPAE on cortexa7 It seems that this option will take up 64 MB of memory. Ref: https://github.com/coolsnowwolf/lede/issues/6667 --- target/linux/sunxi/cortexa7/config-5.4 | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/sunxi/cortexa7/config-5.4 b/target/linux/sunxi/cortexa7/config-5.4 index 0b3697028f..2fce19b0f1 100644 --- a/target/linux/sunxi/cortexa7/config-5.4 +++ b/target/linux/sunxi/cortexa7/config-5.4 @@ -1,6 +1,7 @@ CONFIG_ARCH_32BIT_OFF_T=y CONFIG_ARCH_HAS_BINFMT_FLAT=y CONFIG_ARCH_HAS_TEARDOWN_DMA_OPS=y +# CONFIG_ARM_LPAE is not set CONFIG_BINFMT_FLAT_ARGVP_ENVP_ON_STACK=y CONFIG_COMPAT_32BIT_TIME=y CONFIG_DWMAC_SUN8I=y