Update readme
This commit is contained in:
parent
41426c6874
commit
d6d923f422
10
README.md
10
README.md
|
@ -11,7 +11,7 @@ MicroSD card as boot and OS.
|
||||||
|
|
||||||
### Zeroth milestone
|
### Zeroth milestone
|
||||||
|
|
||||||
- [ ] SSH daemon
|
- [X] SSH daemon
|
||||||
- [ ] User who can act as a local admin
|
- [ ] User who can act as a local admin
|
||||||
|
|
||||||
### First milestone
|
### First milestone
|
||||||
|
@ -34,7 +34,15 @@ MicroSD card as boot and OS.
|
||||||
To build the SD image:
|
To build the SD image:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
# building the NixOS portions
|
||||||
nix build .#nixosConfigurations.chopper.config.system.build.sdImage
|
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:
|
Further instructions can be found on these pages:
|
||||||
|
|
Loading…
Reference in New Issue