mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: Bastian Krause <bst@pengutronix.de>, barebox@lists.infradead.org
Cc: Marco Felsch <m.felsch@pengutronix.de>
Subject: Re: [PATCH v2 1/2] Documentation: usb: document bbu fastboot partition name
Date: Wed, 24 Jan 2024 17:21:34 +0100	[thread overview]
Message-ID: <2fc3cc09-ca9a-4784-99e2-ba728d6c5bbb@pengutronix.de> (raw)
In-Reply-To: <20240124154728.901305-1-bst@pengutronix.de>

On 24.01.24 16:47, Bastian Krause wrote:
> 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.

Thank you!

Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>

> 
> Signed-off-by: Bastian Krause <bst@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>``

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |




  parent reply	other threads:[~2024-01-24 16:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-24 15:47 Bastian Krause
2024-01-24 15:47 ` [PATCH v2 2/2] usbgadget: add bbu fastboot partition naming scheme Bastian Krause
2024-01-24 16:21 ` Ahmad Fatoum [this message]
2024-01-25  7:39 ` [PATCH v2 1/2] Documentation: usb: document bbu fastboot partition name Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2fc3cc09-ca9a-4784-99e2-ba728d6c5bbb@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=bst@pengutronix.de \
    --cc=m.felsch@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox