mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 09:17:07 +03:00
Merge pull request #102503 from siraben/remarkable-init
Initial implementation of remarkable1 cross-compile
This commit is contained in:
commit
d19b920c60
@ -34,6 +34,11 @@ rec {
|
|||||||
platform = platforms.raspberrypi;
|
platform = platforms.raspberrypi;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
remarkable1 = {
|
||||||
|
config = "armv7l-unknown-linux-gnueabihf";
|
||||||
|
platform = platforms.zero-gravitas;
|
||||||
|
};
|
||||||
|
|
||||||
armv7l-hf-multiplatform = {
|
armv7l-hf-multiplatform = {
|
||||||
config = "armv7l-unknown-linux-gnueabihf";
|
config = "armv7l-unknown-linux-gnueabihf";
|
||||||
platform = platforms.armv7l-hf-multiplatform;
|
platform = platforms.armv7l-hf-multiplatform;
|
||||||
|
@ -203,6 +203,20 @@ rec {
|
|||||||
# Legacy attribute, for compatibility with existing configs only.
|
# Legacy attribute, for compatibility with existing configs only.
|
||||||
raspberrypi2 = armv7l-hf-multiplatform;
|
raspberrypi2 = armv7l-hf-multiplatform;
|
||||||
|
|
||||||
|
zero-gravitas = {
|
||||||
|
name = "zero-gravitas";
|
||||||
|
kernelBaseConfig = "zero-gravitas_defconfig";
|
||||||
|
kernelArch = "arm";
|
||||||
|
# kernelTarget verified by checking /boot on reMarkable 1 device
|
||||||
|
kernelTarget = "zImage";
|
||||||
|
kernelAutoModules = false;
|
||||||
|
kernelDTB = true;
|
||||||
|
gcc = {
|
||||||
|
fpu = "neon";
|
||||||
|
cpu = "cortex-a9";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
scaleway-c1 = armv7l-hf-multiplatform // {
|
scaleway-c1 = armv7l-hf-multiplatform // {
|
||||||
gcc = {
|
gcc = {
|
||||||
cpu = "cortex-a9";
|
cpu = "cortex-a9";
|
||||||
|
Loading…
Reference in New Issue
Block a user