From: Zoltan HERPAI Date: Sat, 10 Apr 2021 20:01:24 +0000 (+0200) Subject: sunxi: disable LPAE on cortexa8 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a24bb17fa349ba704c643bad99fadd69087ab457;p=openwrt%2Fstaging%2Fblogic.git sunxi: disable LPAE on cortexa8 LPAE should be disabled as the Cortex-A8 cores don't support it, and the kernel will crash on boot if it's enabled. Signed-off-by: Zoltan HERPAI --- diff --git a/target/linux/sunxi/cortexa8/config-5.4 b/target/linux/sunxi/cortexa8/config-5.4 index 1beb025ace46..b3ddf4b1e367 100644 --- a/target/linux/sunxi/cortexa8/config-5.4 +++ b/target/linux/sunxi/cortexa8/config-5.4 @@ -1,12 +1,14 @@ 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_MACH_SUN6I is not set # CONFIG_MACH_SUN7I is not set # CONFIG_MACH_SUN8I is not set # CONFIG_MACH_SUN9I is not set +CONFIG_PGTABLE_LEVELS=2 # CONFIG_PHY_SUN9I_USB is not set # CONFIG_PINCTRL_SUN50I_A64 is not set # CONFIG_PINCTRL_SUN50I_A64_R is not set