From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: Bastian Krause <bst@pengutronix.de>, barebox@lists.infradead.org
Subject: Re: [PATCH] Documentation: usb: document bbu fastboot partition name
Date: Tue, 23 Jan 2024 17:47:34 +0100 [thread overview]
Message-ID: <49ad0bd0-ed2e-494b-8010-3c6623331396@pengutronix.de> (raw)
In-Reply-To: <b0ec7073-9ba0-4d57-be27-1e63ceb0fb55@pengutronix.de>
On 23.01.24 15:37, Ahmad Fatoum wrote:
> Hello Bastian,
>
>
> On 23.01.24 14:14, Bastian Krause wrote:
>> After looking this up the nth time in the code base, it's really time to
>> document this.
>>
>> Signed-off-by: Bastian Krause <bst@pengutronix.de>
>> ---
>> Documentation/user/usb.rst | 3 ++-
>> 1 file changed, 2 insertions(+), 1 deletion(-)
>>
>> diff --git a/Documentation/user/usb.rst b/Documentation/user/usb.rst
>> index 95d6dd7e363..92fe1234645 100644
>> --- a/Documentation/user/usb.rst
>> +++ b/Documentation/user/usb.rst
>> @@ -168,7 +168,8 @@ 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).
>
> You can list all exported partitions with
>
>
> fastboot devices -l
Sorry, I meant `fastboot getvar all`. Sample output:
(bootloader) version: 0.4
(bootloader) bootloader-version: barebox-2023.09.0-myversion
(bootloader) max-download-size: 8388608
(bootloader) partition-size:fit: 04000000
(bootloader) partition-type:fit: basic
(bootloader) partition-size:bbu-eMMC: e2000000
(bootloader) partition-type:bbu-eMMC: basic
all:
Finished. Total time: 0.023s
The fastboot partitions that can be used with fastboot flash
are "fit" and "bbu-eMMC".
Cheers,
Ahmad
>
> Maybe include that in your patch too? (Don't give a man a fish...)
>
> Cheers,
> Ahmad
>
>>
>> The barebox Fastboot gadget supports the following non standard extensions:
>>
>
--
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 |
prev parent reply other threads:[~2024-01-23 16:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-23 13:14 Bastian Krause
2024-01-23 13:17 ` Marco Felsch
2024-01-23 14:37 ` Ahmad Fatoum
2024-01-23 16:47 ` Ahmad Fatoum [this message]
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=49ad0bd0-ed2e-494b-8010-3c6623331396@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=bst@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