* [PATCH] Documentation: usb: document bbu fastboot partition name
@ 2024-01-23 13:14 Bastian Krause
2024-01-23 13:17 ` Marco Felsch
2024-01-23 14:37 ` Ahmad Fatoum
0 siblings, 2 replies; 4+ messages in thread
From: Bastian Krause @ 2024-01-23 13:14 UTC (permalink / raw)
To: barebox; +Cc: Bastian Krause
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).
The barebox Fastboot gadget supports the following non standard extensions:
--
2.39.2
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Documentation: usb: document bbu fastboot partition name
2024-01-23 13:14 [PATCH] Documentation: usb: document bbu fastboot partition name Bastian Krause
@ 2024-01-23 13:17 ` Marco Felsch
2024-01-23 14:37 ` Ahmad Fatoum
1 sibling, 0 replies; 4+ messages in thread
From: Marco Felsch @ 2024-01-23 13:17 UTC (permalink / raw)
To: Bastian Krause; +Cc: barebox
On 24-01-23, 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>
Reviewed-by: Marco Felsch <m.felsch@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).
>
> The barebox Fastboot gadget supports the following non standard extensions:
>
> --
> 2.39.2
>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Documentation: usb: document bbu fastboot partition name
2024-01-23 13:14 [PATCH] Documentation: usb: document bbu fastboot partition name Bastian Krause
2024-01-23 13:17 ` Marco Felsch
@ 2024-01-23 14:37 ` Ahmad Fatoum
2024-01-23 16:47 ` Ahmad Fatoum
1 sibling, 1 reply; 4+ messages in thread
From: Ahmad Fatoum @ 2024-01-23 14:37 UTC (permalink / raw)
To: Bastian Krause, barebox
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
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 |
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Documentation: usb: document bbu fastboot partition name
2024-01-23 14:37 ` Ahmad Fatoum
@ 2024-01-23 16:47 ` Ahmad Fatoum
0 siblings, 0 replies; 4+ messages in thread
From: Ahmad Fatoum @ 2024-01-23 16:47 UTC (permalink / raw)
To: Bastian Krause, barebox
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 |
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-01-23 16:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-23 13:14 [PATCH] Documentation: usb: document bbu fastboot partition name Bastian Krause
2024-01-23 13:17 ` Marco Felsch
2024-01-23 14:37 ` Ahmad Fatoum
2024-01-23 16:47 ` Ahmad Fatoum
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox