NixOS on ARM/ODROID-C2: Difference between revisions

imported>Lopsided98
No edit summary
imported>Jasom
Add uboot fusing instructions
Line 27: Line 27:




Note this assumes u-boot is in partition 1 of your board's connected eMMC. If you haven't done that yet, read the backlog from https://logs.nix.samueldr.com/nixos-aarch64/2018-11-21#1738333; and also https://github.com/NixOS/nixpkgs/compare/master...samueldr:u-boot/odroid-c2.
Note this assumes u-boot is in partition 1 of your board's connected eMMC. If you haven't done that yet, you can build it with nix and this fusing script [https://archlinuxarm.org/packages/aarch64/uboot-odroid-c2-mainline/files/sd_fusing.sh]:
 
<syntaxhighlight lang=bash>
nix-build -A pkgsCross.aarch64-multiplatform.ubootOdroidC2
cd result
bash /path/to/sd_fusing.sh
</syntaxhighlight>


# Download the sd-image from Hydra at https://hydra.nixos.org/job/nixos/release-18.09-aarch64/nixos.sd_image.aarch64-linux/latest
# Download the sd-image from Hydra at https://hydra.nixos.org/job/nixos/release-18.09-aarch64/nixos.sd_image.aarch64-linux/latest