From d6d923f422380a5943c48b8740ff3f19cbb49e95 Mon Sep 17 00:00:00 2001 From: Nathan van Doorn Date: Sat, 4 May 2024 14:17:27 +0200 Subject: [PATCH] Update readme --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c63d989..3760ba8 100644 --- a/README.md +++ b/README.md @@ -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 '' --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: