From e29629820161fb318d230f9c8bbb872922997f9b Mon Sep 17 00:00:00 2001 From: Daniel Fullmer Date: Sun, 18 Oct 2020 23:16:16 -0700 Subject: [PATCH] Do decompression / writing in one step --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ed47e92..5bcebd8 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,10 @@ # NixOS on Pinecube (Early work in progress) Build an SD card image with `./build.sh`. -Prebuilt image [here](https://drive.google.com/file/d/11mBzfGHeLLP26nse0ntxUWxuBqUYKiIK/view?usp=sharing) (updated 2020-10-18) +Prebuilt image [here](https://drive.google.com/file/d/11mBzfGHeLLP26nse0ntxUWxuBqUYKiIK/view?usp=sharing). (updated 2020-10-18) Decompress and flash with: ```shell -$ zstd -d result/sd-image/nixos-sd-image-21.03pre-git-armv7l-linux.img.zst -o nixos-pinecube.img -$ dd if=./nixos-pinecube.img of=/dev/ bs=1024 +$ cat ./result/sd-image/nixos-sd-image-21.03pre-git-armv7l-linux.img.zst | zstd -d | dd of=/dev/ bs=1024 ``` Should be accessible over UART2 pins (see pinout on wiki) or SSH.