diff options
author | Tad Fisher <tadfisher@gmail.com> | 2020-11-29 23:01:58 -0800 |
---|---|---|
committer | Tad Fisher <tadfisher@gmail.com> | 2020-11-29 23:01:58 -0800 |
commit | 454df2b0c36161de67c3f143ab85fb16c33c23f2 (patch) | |
tree | 2ace7259f718fcb964f1f513fb5b25b3c847b7cf | |
parent | 6f0c00907bbd81b47052eef59f7b284926a77289 (diff) |
Cross-compiling configuration for reMarkable 2 tablet
-rw-r--r-- | lib/systems/examples.nix | 5 | ||||
-rw-r--r-- | lib/systems/platforms.nix | 15 |
2 files changed, 20 insertions, 0 deletions
diff --git a/lib/systems/examples.nix b/lib/systems/examples.nix index 3bbe61ed33a5..2476c3541b10 100644 --- a/lib/systems/examples.nix +++ b/lib/systems/examples.nix @@ -39,6 +39,11 @@ rec { platform = platforms.zero-gravitas; }; + remarkable2 = { + config = "armv7l-unknown-linux-gnueabihf"; + platform = platforms.zero-sugar; + }; + armv7l-hf-multiplatform = { config = "armv7l-unknown-linux-gnueabihf"; platform = platforms.armv7l-hf-multiplatform; diff --git a/lib/systems/platforms.nix b/lib/systems/platforms.nix index 42d9809fd7d0..7097e147966e 100644 --- a/lib/systems/platforms.nix +++ b/lib/systems/platforms.nix @@ -217,6 +217,21 @@ rec { }; }; + zero-sugar = { + name = "zero-sugar"; + kernelBaseConfig = "zero-sugar_defconfig"; + kernelArch = "arm"; + kernelDTB = true; + kernelAutoModules = false; + kernelPreferBuiltin = true; + kernelTarget = "zImage"; + gcc = { + cpu = "cortex-a7"; + fpu = "neon-vfpv4"; + float-abi = "hard"; + }; + }; + scaleway-c1 = armv7l-hf-multiplatform // { gcc = { cpu = "cortex-a9"; |