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.
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'suboot_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.