linux/common-config.nix: disable LPAE on armv7l-linux

LPAE was enabled to support native armv7l builders running in QEMU on aarch64,
but this option disables support for processors which don't support LPAE, which
are still relatively common. In particular, Beaglebones use the Cortex-A8, which
doesn't support LPAE.

Also, if you attempt to boot an LPAE kernel on a CPU that doesn't support it,
it fails before even earlycon is initialized. This makes the problem difficult
to debug without enabling CONFIG_DEBUG_LL or using a hardware debugger.

(cherry picked from commit 988c12faed96159fd5902f3bc372739c111206ef)
This commit is contained in:
Ben Wolsieffer 2021-07-30 15:12:46 -04:00 committed by github-actions[bot]
parent 84d9062180
commit cab8dfb6f6

View File

@ -878,8 +878,6 @@ let
# Keeping it a built-in ensures it will be used if possible.
FB_SIMPLE = yes;
} // optionalAttrs (stdenv.hostPlatform.system == "armv7l-linux") {
ARM_LPAE = yes;
};
};
in