amclain / stingray

Build farm automation and remote management
Other
5 stars 0 forks source link

Enter U-Boot console #14

Closed amclain closed 1 year ago

amclain commented 1 year ago

Resolves #7

This PR adds a #uboot console command that reboots a Nerves target and automates the key sequence to enter the U-Boot console. A target's uboot_console_string can be specified if U-Boot is configured to require a specific string to stop the autoboot.

Note: The current implementation only works with Nerves targets due to sending a reboot string to reboot the target. In #3 this can be changed to power cycle the target so it works with non-Nerves targets.