From f17c6552847d3b14ec2fc6ac0de538ee528d2e4b Mon Sep 17 00:00:00 2001 From: wangjianyu3 Date: Tue, 8 Sep 2026 10:36:13 +0800 Subject: [PATCH] Documentation/rp2040: document fastboot_usb config for waveshare boards Add a "fastboot_usb" section to the waveshare-rp2040-zero and waveshare-rp2040-lcd-1.28 board doc pages, describing the USB fastboot composite configuration added by the previous commits: fastbootd runs on boot instead of NSH, composed together with CDC/ACM for the console, and reachable on the host via fastboot devices/getvar/reboot. Assisted-by: OpenCode:claude-sonnet-5 Signed-off-by: wangjianyu3 --- .../rp2040/boards/waveshare-rp2040-lcd-1.28/index.rst | 11 +++++++++++ .../arm/rp2040/boards/waveshare-rp2040-zero/index.rst | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/Documentation/platforms/arm/rp2040/boards/waveshare-rp2040-lcd-1.28/index.rst b/Documentation/platforms/arm/rp2040/boards/waveshare-rp2040-lcd-1.28/index.rst index 0aa5c7ce572..b85132465d5 100644 --- a/Documentation/platforms/arm/rp2040/boards/waveshare-rp2040-lcd-1.28/index.rst +++ b/Documentation/platforms/arm/rp2040/boards/waveshare-rp2040-lcd-1.28/index.rst @@ -88,6 +88,17 @@ NuttShell configuration (console enabled in UART0, at 115200 bps) with support f CDC/ACM with MSC USB composite driver. ``conn`` command enables the composite device. +fastboot_usb +------------ + +Runs the USB fastboot daemon (``fastbootd``) on boot instead of NSH, exposed +as a USB composite device together with CDC/ACM (console enabled in USB +Port, at 115200 bps). On the host, ``fastboot devices``, ``fastboot getvar +``, and ``fastboot reboot``/``fastboot reboot bootloader`` are +available. More details about the fastboot daemon are available at +`fastbootd — NuttX latest documentation +`_. + nsh --- diff --git a/Documentation/platforms/arm/rp2040/boards/waveshare-rp2040-zero/index.rst b/Documentation/platforms/arm/rp2040/boards/waveshare-rp2040-zero/index.rst index e2d3ae60d2f..8fc5e5531f0 100644 --- a/Documentation/platforms/arm/rp2040/boards/waveshare-rp2040-zero/index.rst +++ b/Documentation/platforms/arm/rp2040/boards/waveshare-rp2040-zero/index.rst @@ -98,6 +98,17 @@ the ``nuttx`` directory (again, consult the main :doc:`RP2040 documentation $ ./tools/configure.sh waveshare-rp2040-zero: +fastboot_usb +------------ + +Runs the USB fastboot daemon (``fastbootd``) on boot instead of NSH, exposed +as a USB composite device together with CDC/ACM (console enabled in USB +Port, at 115200 bps). On the host, ``fastboot devices``, ``fastboot getvar +``, and ``fastboot reboot``/``fastboot reboot bootloader`` are +available. More details about the fastboot daemon are available at +`fastbootd — NuttX latest documentation +`_. + gpio --------