NixOS on ARM/ODROID-HC4: Difference between revisions

imported>Erdnaxe
Write Board-specific installation notes
imported>Erdnaxe
m remove space
Line 32: Line 32:
git clone https://github.com/arapov/nixpkgs --depth 1 -b hardkernel && cd nixpkgs
git clone https://github.com/arapov/nixpkgs --depth 1 -b hardkernel && cd nixpkgs
nix-build -I "nixpkgs=$PWD" -A pkgsCross.aarch64-multiplatform.ubootOdroidC4
nix-build -I "nixpkgs=$PWD" -A pkgsCross.aarch64-multiplatform.ubootOdroidC4
sudo dd if=result/u-boot.bin of=PATH/TO/ nixos-sd-image-21.05.XXXX.XXXXXXXX-aarch64-linux.img  conv=fsync,notrunc bs=512 seek=1
sudo dd if=result/u-boot.bin of=PATH/TO/nixos-sd-image-21.05.XXXX.XXXXXXXX-aarch64-linux.img  conv=fsync,notrunc bs=512 seek=1
   </syntaxhighlight>
   </syntaxhighlight>
# Flash the modified SD image file (.img) to a microSD card. '''This will erase all the data on the card!'''
# Flash the modified SD image file (.img) to a microSD card. '''This will erase all the data on the card!'''