[PATCH v2 1/2] Documentation: usb: document bbu fastboot partition name

Bastian Krause bst at pengutronix.de
Wed Jan 24 07:47:27 PST 2024


After looking this up the nth time in the code base, it's really time to
document this.

Also mention that ``fastboot getvar all`` lists the partitions.

Signed-off-by: Bastian Krause <bst at pengutronix.de>
---
Changes since (implicit) v1:
- mention partitions in ``fastboot getvar all`` as suggested by Ahmad
---
 Documentation/user/usb.rst | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Documentation/user/usb.rst b/Documentation/user/usb.rst
index 95d6dd7e363..dfa53cf199a 100644
--- a/Documentation/user/usb.rst
+++ b/Documentation/user/usb.rst
@@ -168,12 +168,13 @@ The Fastboot gadget supports the following commands:
 ``fastboot flash`` additionally supports image types UBI and Barebox. For UBI
 Images and a MTD device as target, ubiformat is called. For a Barebox image
 with an available barebox update handler for the fastboot exported device, the
-barebox_update is called.
+barebox_update is called (exported as ``bbu-<update_handler_name>`` fastboot
+partition).
 
 The barebox Fastboot gadget supports the following non standard extensions:
 
 - ``fastboot getvar all``
-  Shows a list of all variables
+  Shows a list of all variables, including exported partitions
 - ``fastboot oem getenv <varname>``
   Shows a barebox environment variable
 - ``fastboot oem setenv <varname>=<value>``
-- 
2.39.2




More information about the barebox mailing list