NixOS on ARM/ODROID-C2: Difference between revisions

imported>Jasom
mNo edit summary
imported>Jasom
mNo edit summary
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, you can build it with nix and then write it this fusing script (using an emmc/usb adapter) [https://archlinuxarm.org/packages/aarch64/uboot-odroid-c2-mainline/files/sd_fusing.sh]:
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 then write it this fusing script (using an emmc/usb adapter) [https://archlinuxarm.org/packages/aarch64/uboot-odroid-c2-mainline/files/sd_fusing.sh] (replace /dev/sdX with the device for the eMMC):


<syntaxhighlight lang=bash>
<syntaxhighlight lang=bash>
nix-build -A pkgsCross.aarch64-multiplatform.ubootOdroidC2
nix-build -A pkgsCross.aarch64-multiplatform.ubootOdroidC2
cd result
cd result
bash /path/to/sd_fusing.sh
bash /path/to/sd_fusing.sh /dev/sdX
</syntaxhighlight>  
</syntaxhighlight>