Do decompression / writing in one step
This commit is contained in:
parent
29444b4f3a
commit
e296298201
@ -1,11 +1,10 @@
|
|||||||
# NixOS on Pinecube (Early work in progress)
|
# NixOS on Pinecube (Early work in progress)
|
||||||
|
|
||||||
Build an SD card image with `./build.sh`.
|
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:
|
Decompress and flash with:
|
||||||
```shell
|
```shell
|
||||||
$ zstd -d result/sd-image/nixos-sd-image-21.03pre-git-armv7l-linux.img.zst -o nixos-pinecube.img
|
$ cat ./result/sd-image/nixos-sd-image-21.03pre-git-armv7l-linux.img.zst | zstd -d | dd of=/dev/<sdcard> bs=1024
|
||||||
$ dd if=./nixos-pinecube.img of=/dev/<sdcard> bs=1024
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Should be accessible over UART2 pins (see pinout on wiki) or SSH.
|
Should be accessible over UART2 pins (see pinout on wiki) or SSH.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user