Configures uboot commands
This commit is contained in:
13
docs/ota.md
Normal file
13
docs/ota.md
Normal 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"
|
||||
```
|
||||
Reference in New Issue
Block a user