From 761774d5ae1b1d077abbf6c3a25a11fe71c31ba2 Mon Sep 17 00:00:00 2001 From: William Vinnicombe Date: Mon, 15 Sep 2025 17:26:22 +0100 Subject: [PATCH 1/2] Add docs for reboot --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 572586c..82ba926 100644 --- a/README.md +++ b/README.md @@ -560,6 +560,15 @@ Partition 1 none ``` +## reboot + +`reboot` allows you to reboot a device that is in BOOTSEL mode, or in application mode running compatible code (see [Forced Reboots](#forced-reboots)). You can reboot it into application or BOOTSEL mode, and select the Arm or Risc-V CPU on RP2350 + +```text +$ picotool help reboot + Let CI do it +``` + ## seal `seal` allows you to sign and/or hash a binary to run on RP2350. From 5528dc30e4d82de14983d61267b0281cc0f24c60 Mon Sep 17 00:00:00 2001 From: William Vinnicombe Date: Mon, 15 Sep 2025 17:29:43 +0100 Subject: [PATCH 2/2] Update readme --- README.md | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 82ba926..04175e5 100644 --- a/README.md +++ b/README.md @@ -566,7 +566,40 @@ Partition 1 ```text $ picotool help reboot - Let CI do it +REBOOT: + Reboot the device + +SYNOPSIS: + picotool reboot [-a] [-u] [-g ] [-c ] [device-selection] + +OPTIONS: + Reboot type + -a, --application + Reboot back into the application (this is the default) + -u, --usb + Reboot back into BOOTSEL mode + -g + Select diagnostic partition + -c + Select arm | riscv CPU (if possible) + Selecting the device to reboot + --bus + Filter devices by USB bus number + --address + Filter devices by USB device address + --vid + Filter by vendor id + --pid + Filter by product id + --ser + Filter by serial number + -f, --force + Force a device not in BOOTSEL mode but running compatible code to reset so the command can be executed. After executing the + command (unless the command itself is a 'reboot') the device will be rebooted back to application mode + -F, --force-no-reboot + Force a device not in BOOTSEL mode but running compatible code to reset so the command can be executed. After executing the + command (unless the command itself is a 'reboot') the device will be left connected and accessible to picotool, but without the + USB drive mounted ``` ## seal