NixOS on ARM/ODROID-C2: Difference between revisions

Ponder (talk | contribs)
m Serial console: HR not needed
m fix 500 url with alternate download and update instructions
 
Line 27: Line 27:
== Board-specific installation notes ==
== Board-specific installation notes ==


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):
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) [http://mirror.archlinuxarm.org/aarch64/alarm/uboot-odroid-c2-mainline-2019.07-1-aarch64.pkg.tar.xz download and extract] (replace /dev/sdX with the device for the eMMC):


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