NixOS on ARM: Difference between revisions
imported>Samueldr m Makes use of {{file}} template for configuration.nix sample. |
imported>Samueldr m Makes use of {{Nixpkg Link}} |
||
Line 211: | Line 211: | ||
=== Contributing new boards to nixpkgs === | === Contributing new boards to nixpkgs === | ||
* Add a new derivation for your board's U-Boot configuration, see for example ubootJetsonTK1 in all-packages.nix. | * Add a new derivation for your board's U-Boot configuration, see for example ubootJetsonTK1 in {{Nixpkgs Link|short=all-packages.nix|pkgs/top-level/all-packages.nix}}. | ||
* If your board's U-Boot configuration doesn't use the <code>extlinux.conf</code> format by default, create a patch to enable it. Some C hacking skills & U-Boot knowledge might be required. For some pointers, see this patch to enable it on the Versatile Express. | * If your board's U-Boot configuration doesn't use the <code>extlinux.conf</code> format by default, create a patch to enable it. Some C hacking skills & U-Boot knowledge might be required. For some pointers, see this patch to enable it on the Versatile Express. | ||
* Make a pull request, also containing the board-specific instructions. Ping '''@dezgeg''' for review and for building & hosting the U-Boots at http://nixos-arm.dezgeg.me/installer. | * Make a pull request, also containing the board-specific instructions. Ping '''@dezgeg''' for review and for building & hosting the U-Boots at http://nixos-arm.dezgeg.me/installer. |