summary refs log tree commit diff
diff options
context:
space:
mode:
authorBen Wolsieffer <benwolsieffer@gmail.com>2021-07-30 15:12:46 -0400
committerBen Wolsieffer <benwolsieffer@gmail.com>2021-07-30 15:21:03 -0400
commit988c12faed96159fd5902f3bc372739c111206ef (patch)
treee89e4fa76d3fd969dec0fac7db4eb9bb3d221b56
parent2293303660461756a2003fe25c4dc8b9de3bac31 (diff)
downloadnixpkgs-988c12faed96159fd5902f3bc372739c111206ef.tar
nixpkgs-988c12faed96159fd5902f3bc372739c111206ef.tar.gz
nixpkgs-988c12faed96159fd5902f3bc372739c111206ef.tar.bz2
nixpkgs-988c12faed96159fd5902f3bc372739c111206ef.tar.lz
nixpkgs-988c12faed96159fd5902f3bc372739c111206ef.tar.xz
nixpkgs-988c12faed96159fd5902f3bc372739c111206ef.tar.zst
nixpkgs-988c12faed96159fd5902f3bc372739c111206ef.zip
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.
-rw-r--r--pkgs/os-specific/linux/kernel/common-config.nix2
1 files changed, 0 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix
index fce451ee889..3fec8d38ac9 100644
--- a/pkgs/os-specific/linux/kernel/common-config.nix
+++ b/pkgs/os-specific/linux/kernel/common-config.nix
@@ -880,8 +880,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