Talk: NixOS on ARM
As of June 2016, the versatile build of u-boot isn't built anymore.
Furthermore, the pre-built image is not present anymore on the mirror.
U-Boot: Drop Versatile build
I had broken this at some point and the patch conflicts quite often. Hopefully soon the Raspberry Pi 2 emulation in QEMU can be used instead.
Hopefully, there will soon (U-Boot 2018.01 release, I hope) an easy way to do this: https://lists.denx.de/pipermail/u-boot/2017-August/304302.html
It's coming back soon, I'll let Dezgeg do the write-up when ready.
Don't want to wait? Here's the IRC log on #nixos with instructions.
This has changed by now - u-boot supports QEMU's 'virt' machine (with highmem=off, though). Added to the wiki at NixOS_on_ARM/QEMU .
Native support for raspi in nixpkgs
Since a couple of months hydra also builds nixpkgs for arm64. Additionally some configuration is already in nixpkgs for raspi2 and raspi1, however no binary cache is available.
Raspi3 should be natively supported but right now there is no guide on how to build an image and install it. There is https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/installer/cd-dvd/sd-image-aarch64.nix but the image really is nowhere to be found. --Makefu (talk) 08:51, 11 September 2017 (UTC)
NixOS "support" for board-specific kernels or bootloaders
I re-worked the introduction paragraph of the article, but I have added a partly unfounded remark about NixOS being able to work with specific kernels or bootloaders. The remark is built on the fact that there is a raspberry pi specific image using a specific kernel, that it is possible to use upstream forks with fixes for the kernel. There is no documentation yet on how to use a vendor fork (e.g. allwinner non-upstream fork) for the kernel or u-boot, and no documentation on how to boot NixOS when extlinux support isn't present in the u-boot build.