turing-machines / tpi

CLI tool to control your Turing Pi 2 board
https://docs.turingpi.com/docs/turing-pi2-tpi-cli
Apache License 2.0
29 stars 3 forks source link

Add support for flashing without starting the node afterwards #14

Closed thepapanoob closed 11 months ago

thepapanoob commented 11 months ago

Hello everyone,

it would be great if there would be an option to flash the nodes without powering it on afterwards so you can provide configuration files to the boot partition without having to uncleanly shutting the node down beforehand.

Sincerely, ThePapanoob

svenrademakers commented 11 months ago

It depends a bit on what your use case is and what will be desirable. I agree with you that leaving it off is less of an annoyance than turning it on. Alternatively, i was thinking of returning to the power state before you started the flash operation. So if you execute a flash command when the node is off, it will stay off and vice versa.

svenrademakers commented 11 months ago

fixed in https://github.com/turing-machines/bmcd/pull/72