Configures uboot commands

This commit is contained in:
2026-03-31 18:15:24 +08:00
parent f67c338e60
commit d8275622e6
5 changed files with 283 additions and 4 deletions

13
docs/ota.md Normal file
View File

@@ -0,0 +1,13 @@
### Simulate OTA
**Use nmap ncat**. Otherwise we'll have all kinds of fabulous issues sending it.
Sending side
```
pv "out/rootfs.ext4.zst" | ncat 10.0.0.10 1234 --send-only
```
Receiving side
```
ncat -l 1234 --recv-only | zstd -d -c | dd of=/dev/sda3 bs=4M status=progress && sync && echo "SUCCESS"
```