Update readme

This commit is contained in:
Nathan van Doorn 2024-05-04 14:17:27 +02:00
parent 41426c6874
commit d6d923f422
1 changed files with 9 additions and 1 deletions

View File

@ -11,7 +11,7 @@ MicroSD card as boot and OS.
### Zeroth milestone
- [ ] SSH daemon
- [X] SSH daemon
- [ ] User who can act as a local admin
### First milestone
@ -34,7 +34,15 @@ MicroSD card as boot and OS.
To build the SD image:
```bash
# building the NixOS portions
nix build .#nixosConfigurations.chopper.config.system.build.sdImage
cp result/sd-image/*.zst . # note it will be write-protected
nix-shell -p zstd --run "unzstd *.zst"
sudo dd if=$(echo -n *img) of=/dev/sda status=progress bs=4096
# build uboot
nix-build '<nixpkgs>' --argstr system aarch64-linux -A ubootRockPro64 --out-link ubootRockPro64
sudo dd if=ubootRockPro64/idbloader.img of=/dev/sda conv=fsync,notrunc bs=512 seek=64
sudo dd if=ubootRockPro64/u-boot.itb of=/dev/sda conv=fsync,notrunc bs=512 seek=16384
```
Further instructions can be found on these pages: