On 24/07/2025 13:19, Sumit Garg wrote:
> From: Sumit Garg
>
> Currently fastboot mode is enumerated as VID/PID: : which is
> not appropriate. On Qcom platforms, fastboot mode is rather enumerated
> as VID/PID: 18d1:d00d in ABL or from fastboot.efi app. So lets use the
On 24/07/2025 13:19, Sumit Garg wrote:
From: Sumit Garg
Currently fastboot mode is enumerated as VID/PID: : which is
not appropriate. On Qcom platforms, fastboot mode is rather enumerated
as VID/PID: 18d1:d00d in ABL or from fastboot.efi app. So lets use the
same VID/PID pair in U-Boot
From: Sumit Garg
Currently fastboot mode is enumerated as VID/PID: : which is
not appropriate. On Qcom platforms, fastboot mode is rather enumerated
as VID/PID: 18d1:d00d in ABL or from fastboot.efi app. So lets use the
same VID/PID pair in U-Boot to represent fastboot mode.
Signed-off
From: Sumit Garg
Currently fastboot mode is enumerated as VID/PID: : which is
not appropriate. On Qcom platforms, fastboot mode is rather enumerated
as VID/PID: 18d1:d00d in ABL or from fastboot.efi app. So lets use the
same VID/PID pair in U-Boot to represent fastboot mode.
Signed-off
> [...]
Applied to u-boot/master, thanks!
[1/1] fastboot: Fix off by 1 error
commit: 23d2c182d4be9f993a4e4d8f4fc6293e4d5a9ff8
--
Tom
On Thu, 17 Jul 2025 10:58:54 -0300, Ariel D'Alessandro wrote:
> Fastboot currently supports MMC and NAND flash devices. Similarly,
> extend the support to SPI flash memories.
>
> Note that in this initial implementation, partitions on the device are
> not supported yet, but r
Hi Varadarajan,
>>>>
>>>> On 7/15/25 12:15, Varadarajan Narayanan wrote:
>>>>> This series enables MMC based fastboot flashing for IPQ9574 boards.
>>>>> For this the following are added/enabled
>>>>> * USB2 & USB3 phys support
&g
Hi,
On 02/07/2025 04:59, Lothar Waßmann wrote:
Hi,
On Mon, 30 Jun 2025 17:19:57 +0200 Neil Armstrong wrote:
From: Dmitrii Merkurev
Introduce fastboot block flashing functions and helpers
to be shared with the MMC implementation.
The write logic comes from the mmc implementation, while
the
Hi Ariel,
Thank you for the patch.
On Thu, Jul 17, 2025 at 10:58, Ariel D'Alessandro
wrote:
> Fastboot currently supports MMC and NAND flash devices. Similarly,
> extend the support to SPI flash memories.
>
> Note that in this initial implementation, partitions on the
issue found by Smatch.
This issue was*
>
> Signed-off-by: Andrew Goodbody
Good catch!
Reviewed-by: Mattijs Korpershoek
> ---
> drivers/fastboot/fb_command.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/fastboot/fb_command.c b/d
yanan wrote:
> >>> This series enables MMC based fastboot flashing for IPQ9574 boards.
> >>> For this the following are added/enabled
> >>> * USB2 & USB3 phys support
> >>> * USB Gadget support, Fastboot-MMC related configs
> >>> *
Fastboot currently supports MMC and NAND flash devices. Similarly,
extend the support to SPI flash memories.
Note that in this initial implementation, partitions on the device are
not supported yet, but raw partitions can be set in U-Boot environment.
To define a raw partition descriptor, add an
Hi Mattijs,
On 7/17/25 3:30 AM, Mattijs Korpershoek wrote:
Hi Ariel,
Thank you for the patch.
On Tue, Jul 15, 2025 at 16:11, Ariel D'Alessandro
wrote:
Fastboot currently supports MMC and NAND flash devices. Similarly,
extend the support to SPI flash memories.
Note that in this in
On 16/07/2025 06:57, Varadarajan Narayanan wrote:
> On Tue, Jul 15, 2025 at 02:30:09PM +0200, Casey Connolly wrote:
>> Hi Varadarajan,
>>
>> On 7/15/25 12:15, Varadarajan Narayanan wrote:
>>> This series enables MMC based fastboot flashing for IPQ9574 boards.
strlen only reports length of string not including terminating 0 byte
but this has to be included in length of receiving buffer on copy so
adjust length check to be correct.
This issue found by Smatch.
Signed-off-by: Andrew Goodbody
---
drivers/fastboot/fb_command.c | 2 +-
1 file changed, 1
Hi Ariel,
Thank you for the patch.
On Tue, Jul 15, 2025 at 16:11, Ariel D'Alessandro
wrote:
> Fastboot currently supports MMC and NAND flash devices. Similarly,
> extend the support to SPI flash memories.
>
> Note that in this initial implementation, partitions on the
On Tue, Jul 15, 2025 at 02:30:09PM +0200, Casey Connolly wrote:
> Hi Varadarajan,
>
> On 7/15/25 12:15, Varadarajan Narayanan wrote:
> > This series enables MMC based fastboot flashing for IPQ9574 boards.
> > For this the following are added/enabled
> > * USB2 &
Fastboot currently supports MMC and NAND flash devices. Similarly,
extend the support to SPI flash memories.
Note that in this initial implementation, partitions on the device are
not supported yet, but raw partitions can be set in u-boot environment.
To define a raw partition descriptor, add an
Hi Tom,
On 7/15/25 2:50 PM, Tom Rini wrote:
On Tue, Jul 15, 2025 at 02:23:11PM -0300, Ariel D'Alessandro wrote:
[...]
diff --git a/drivers/fastboot/Kconfig b/drivers/fastboot/Kconfig
index 70207573de2..0cf955ef53d 100644
--- a/drivers/fastboot/Kconfig
+++ b/drivers/fastboot/Kconfig
@@
Fastboot currently supports MMC and NAND flash devices. Similarly,
extend the support to SPI flash memories.
Note that in this initial implementation, partitions on the device are
not supported yet, but raw partitions can be set in u-boot environment.
To define a raw partition descriptor, add an
On Tue, Jul 15, 2025 at 02:23:11PM -0300, Ariel D'Alessandro wrote:
> Fastboot currently supports MMC and NAND flash devices. Similarly,
> extend the support to SPI flash memories.
>
> Note that in this initial implementation, partitions on the device are
> not supported yet
Hi Varadarajan,
On 7/15/25 12:15, Varadarajan Narayanan wrote:
This series enables MMC based fastboot flashing for IPQ9574 boards.
For this the following are added/enabled
* USB2 & USB3 phys support
* USB Gadget support, Fastboot-MMC related configs
* Flashing rel
Enable relevant configs like USB PHY, gadget, fastboot,
fastboot MMC support etc. to enable fastboot flashing
of IPQ9574 based boards.
Signed-off-by: Varadarajan Narayanan
---
configs/qcom_ipq9574_mmc_defconfig | 22 +-
1 file changed, 21 insertions(+), 1 deletion(-)
diff
This series enables MMC based fastboot flashing for IPQ9574 boards.
For this the following are added/enabled
* USB2 & USB3 phys support
* USB Gadget support, Fastboot-MMC related configs
* Flashing related documentation
Varadarajan Narayanan (6):
clk/qcom: Add
&series=&q=&delegate=&archive=both
Is it possible that you are not subscribed to the u-boot mailing list?
Maybe it got (wrongly) filtered out as spam.
If possible, please re-send it so that it gets properly tracked on the
public mailing list.
Thanks
Mattijs
> ---
> drive
ting positive return values to -ENOENT in
> fastboot_nand_get_part_info to match the expected error convention.
>
> Signed-off-by: Chance Yang
> ---
> drivers/fastboot/fb_nand.c | 7 ++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/fastboot/fb_nand.c b/drivers/fastb
to instantiate the
peripheral driver, i.e. dwc3_generic_peripheral_probe()
- USB VID and PID
- DFU
- Fastboot (including flashing to eMMC boot partitions)
As all Exynos firmware binaries (including U-Boot) are contained in eMMC
boot partition A (mmc0boot0), because that's where Boo
wrote:
>> From: Dmitrii Merkurev
>>
>> Introduce fastboot block flashing functions and helpers
>> to be shared with the MMC implementation.
>>
>> The write logic comes from the mmc implementation, while
>> the partition lookup is much simpler and could b
o passed it directly to getvar_get_part_info,
which treated 1 >= 0 as success, causing has-slot to always return yes.
Fix by converting positive return values to -ENOENT in
fastboot_nand_get_part_info to match the expected error convention.
Signed-off-by: Chance Yang
---
drivers/fastboot/fb
d-off-by: Dmitrii Merkurev
> Reviewed-by: Mattijs Korpershoek
> Tested-by: Mattijs Korpershoek
> Signed-off-by: Neil Armstrong
> ---
> drivers/fastboot/Kconfig | 32 ++++++--
> drivers/fastboot/Makefile | 1 +
>
Hi,
On Mon, 30 Jun 2025 17:19:57 +0200 Neil Armstrong wrote:
> From: Dmitrii Merkurev
>
> Introduce fastboot block flashing functions and helpers
> to be shared with the MMC implementation.
>
> The write logic comes from the mmc implementation, while
> the partition looku
Hi Casey,
Thanks for the detailed review and context.
You're right — I had overlooked the fact that the default environment
already defines a fastboot alias using $fastboot_addr_r, which is a
safer and more flexible approach. I agree that relying on a hardcoded
address
On 30/06/2025 09:00, Balaji Selvanathan wrote:
> The default value of CONFIG_FASTBOOT_BUF_ADDR is 0, which causes
> NULL pointer dereference during fastboot commands.
>
> Set it to 0xdb30, a safe and sufficiently large region in RAM
> of the QCS9100 board, to prevent cra
From: Dmitrii Merkurev
Switch the mmc backend to this new shared block helpers,
reducing block logic and only leaving MMC specific logic.
Signed-off-by: Dmitrii Merkurev
Reviewed-by: Mattijs Korpershoek
Tested-by: Mattijs Korpershoek
Signed-off-by: Neil Armstrong
---
drivers/fastboot
so it doesn't break the CHIP & Ninendo boards, and for ROCKCHIP
when MMC is enabled.
Signed-off-by: Dmitrii Merkurev
Reviewed-by: Mattijs Korpershoek
Tested-by: Mattijs Korpershoek
Signed-off-by: Neil Armstrong
---
drivers/fastboot/Kconfig | 32 ++--
dr
From: Dmitrii Merkurev
Introduce fastboot block flashing functions and helpers
to be shared with the MMC implementation.
The write logic comes from the mmc implementation, while
the partition lookup is much simpler and could be extended.
For the erase logic, allmost no block drivers exposes
This serie permits using any block device as target
for fastboot by moving the generic block logic into
a common set of helpers and also use them as generic
backend.
The erase logic has been extended to support software
erase since only 2 block drivers exposes the erase
operation.
Tests are
The default value of CONFIG_FASTBOOT_BUF_ADDR is 0, which causes
NULL pointer dereference during fastboot commands.
Set it to 0xdb30, a safe and sufficiently large region in RAM
of the QCS9100 board, to prevent crashes and ensure reliable
fastboot functionality.
Signed-off-by: Balaji
pointer dereference during
fastboot operations. The new address points to a safe and
sufficiently large RAM region.
Signed-off-by: Balaji Selvanathan
Balaji Selvanathan (2):
configs: Rename qcs9100_defconfig to qcom_qcs9100_defconfig
configs: qcom_qcs9100: Fix fastboot buffer address for QCS9100
Korpershoek
Signed-off-by: Neil Armstrong
---
drivers/fastboot/Kconfig | 29 -
drivers/fastboot/Makefile | 1 +
drivers/fastboot/fb_command.c | 8
drivers/fastboot/fb_common.c | 22 ++
drivers/fastboot/fb_getvar.c | 8 +++-
5
s Korpershoek
> Signed-off-by: Neil Armstrong
> ---
> drivers/fastboot/Kconfig | 29 ++++-
> drivers/fastboot/Makefile | 1 +
> drivers/fastboot/fb_command.c | 8
> drivers/fastboot/fb_common.c | 22 ++
> dri
t; > > > > >
> > > > > > > 1. Get partition info/size
> > > > > > > 2. Erase partition
> > > > > > > 3. Flash partition
> > > > > > > 4. BCB
> > > > > > >
> > > &
y: Dmitrii Merkurev
>>>>> Reviewed-by: Mattijs Korpershoek
>>>>> Tested-by: Mattijs Korpershoek
>>>>> Signed-off-by: Neil Armstrong
>>>>> ---
>>>>>drivers/fastboot/Kconfig | 29 +
>&g
Hi Neil,
On ven., juin 06, 2025 at 11:33, Neil Armstrong
wrote:
> This serie permits using any block device as target
> for fastboot by moving the generic block logic into
> a common set of helpers and also use them as generic
> backend.
>
> The erase logic has been e
From: Dmitrii Merkurev
Introduce fastboot block flashing functions and helpers
to be shared with the MMC implementation.
The write logic comes from the mmc implementation, while
the partition lookup is much simpler and could be extended.
For the erase logic, allmost no block drivers exposes
From: Dmitrii Merkurev
1. Get partition info/size
2. Erase partition
3. Flash partition
4. BCB
Signed-off-by: Dmitrii Merkurev
Reviewed-by: Mattijs Korpershoek
Tested-by: Mattijs Korpershoek
Signed-off-by: Neil Armstrong
---
drivers/fastboot/Kconfig | 29
From: Dmitrii Merkurev
Switch the mmc backend to this new shared block helpers,
reducing block logic and only leaving MMC specific logic.
Signed-off-by: Dmitrii Merkurev
Reviewed-by: Mattijs Korpershoek
Tested-by: Mattijs Korpershoek
Signed-off-by: Neil Armstrong
---
drivers/fastboot
This serie permits using any block device as target
for fastboot by moving the generic block logic into
a common set of helpers and also use them as generic
backend.
The erase logic has been extended to support software
erase since only 2 block drivers exposes the erase
operation.
Tests are
Armstrong wrote:
From: Dmitrii Merkurev
1. Get partition info/size
2. Erase partition
3. Flash partition
4. BCB
Signed-off-by: Dmitrii Merkurev
Reviewed-by: Mattijs Korpershoek
Tested-by: Mattijs Korpershoek
Signed-off-by: Neil Armstrong
---
drivers/fastboot/Kconfig | 29
4. BCB
Signed-off-by: Dmitrii Merkurev
Reviewed-by: Mattijs Korpershoek
Tested-by: Mattijs Korpershoek
Signed-off-by: Neil Armstrong
---
drivers/fastboot/Kconfig | 29 +
drivers/fastboot/Makefile | 1 +
drivers/fastboot/fb_command.c | 8
t; > 2. Erase partition
> > > 3. Flash partition
> > > 4. BCB
> > >
> > > Signed-off-by: Dmitrii Merkurev
> > > Reviewed-by: Mattijs Korpershoek
> > > Tested-by: Mattijs Korpershoek
> > > Signed-off-by: Neil Armstrong
> > &
Korpershoek
Tested-by: Mattijs Korpershoek
Signed-off-by: Neil Armstrong
---
drivers/fastboot/Kconfig | 4 +-
drivers/fastboot/Makefile | 3 +-
drivers/fastboot/fb_mmc.c | 210 +++---
3 files changed, 16 insertions(+), 201 deletions(-)
diff
Korpershoek
Signed-off-by: Neil Armstrong
---
drivers/fastboot/Kconfig | 29 +
drivers/fastboot/Makefile | 1 +
drivers/fastboot/fb_command.c | 8
drivers/fastboot/fb_common.c | 22 ++
drivers/fastboot/fb_getvar.c | 8 +++-
5
s Korpershoek
> Signed-off-by: Neil Armstrong
> ---
> drivers/fastboot/Kconfig | 29 +++++
> drivers/fastboot/Makefile | 1 +
> drivers/fastboot/fb_command.c | 8
> drivers/fastboot/fb_common.c | 22 ++
> dri
pershoek
> Tested-by: Mattijs Korpershoek
> Signed-off-by: Neil Armstrong
> ---
> drivers/fastboot/Kconfig | 4 +-
> drivers/fastboot/Makefile | 3 +-
> drivers/fastboot/fb_mmc.c | 210
> +++---
> 3 files changed, 16 inse
> > > >
> > > > > > On mar., mai 20, 2025 at 13:35, Mattijs Korpershoek
> > > > > > wrote:
> > > > > >
> > > > > > > Hi,
> > > > > > >
> > > > > > > On Tue, 06 May 2025
This serie permits using any block device as target
for fastboot by moving the generic block logic into
a common set of helpers and also use them as generic
backend.
The erase logic has been extended to support software
erase since only 2 block drivers exposes the erase
operation.
Tests are
From: Dmitrii Merkurev
Switch the mmc backend to this new shared block helpers,
reducing block logic and only leaving MMC specific logic.
Signed-off-by: Dmitrii Merkurev
Reviewed-by: Mattijs Korpershoek
Tested-by: Mattijs Korpershoek
Signed-off-by: Neil Armstrong
---
drivers/fastboot
From: Dmitrii Merkurev
1. Get partition info/size
2. Erase partition
3. Flash partition
4. BCB
Signed-off-by: Dmitrii Merkurev
Reviewed-by: Mattijs Korpershoek
Tested-by: Mattijs Korpershoek
Signed-off-by: Neil Armstrong
---
drivers/fastboot/Kconfig | 29
From: Dmitrii Merkurev
Introduce fastboot block flashing functions and helpers
to be shared with the MMC implementation.
The write logic comes from the mmc implementation, while
the partition lookup is much simpler and could be extended.
For the erase logic, allmost no block drivers exposes
Korpershoek wrote:
Hi Neil,
On mar., mai 20, 2025 at 13:35, Mattijs Korpershoek
wrote:
Hi,
On Tue, 06 May 2025 18:10:06 +0200, neil.armstr...@linaro.org wrote:
This serie permits using any block device as target
for fastboot by moving the generic block logic into
a common set of helpers and also use
ijs Korpershoek wrote:
>> >> Hi Neil,
>> >>
>> >> On mar., mai 20, 2025 at 13:35, Mattijs Korpershoek
>> >> wrote:
>> >>
>> >> > Hi,
>> >> >
>> >> > On Tue, 06 May 2025 18:10:06 +0200, neil.armstr..
n Tue, 06 May 2025 18:10:06 +0200, neil.armstr...@linaro.org wrote:
>> >> This serie permits using any block device as target
>> >> for fastboot by moving the generic block logic into
>> >> a common set of helpers and also use them as generic
>> >>
25 at 13:35, Mattijs Korpershoek
> >> wrote:
> >>
> >> > Hi,
> >> >
> >> > On Tue, 06 May 2025 18:10:06 +0200, neil.armstr...@linaro.org wrote:
> >> >> This serie permits using any block device as target
> >> >>
e permits using any block device as target
> >> for fastboot by moving the generic block logic into
> >> a common set of helpers and also use them as generic
> >> backend.
> >>
> >> The erase logic has been extended to support software
> >> er
Hi Neil,
On mar., mai 20, 2025 at 13:35, Mattijs Korpershoek
wrote:
> Hi,
>
> On Tue, 06 May 2025 18:10:06 +0200, neil.armstr...@linaro.org wrote:
>> This serie permits using any block device as target
>> for fastboot by moving the generic block logic into
>> a com
Hi,
On Tue, 06 May 2025 18:10:06 +0200, neil.armstr...@linaro.org wrote:
> This serie permits using any block device as target
> for fastboot by moving the generic block logic into
> a common set of helpers and also use them as generic
> backend.
>
> The erase logic has been e
On 07/05/2025 12:02, Mattijs Korpershoek wrote:
Hi Neil,
Thank you for the series.
On mar., mai 06, 2025 at 18:10, neil.armstr...@linaro.org wrote:
This serie permits using any block device as target
for fastboot by moving the generic block logic into
a common set of helpers and also use
Hi Neil,
Thank you for the series.
On mar., mai 06, 2025 at 18:10, neil.armstr...@linaro.org wrote:
> This serie permits using any block device as target
> for fastboot by moving the generic block logic into
> a common set of helpers and also use them as generic
> backend.
>
&g
Hi Neil,
Thank you for the patch.
On mar., mai 06, 2025 at 18:10, neil.armstr...@linaro.org wrote:
> From: Dmitrii Merkurev
>
> Introduce fastboot block flashing functions and helpers
> to be shared with the MMC implementation.
>
> The write logic comes from the mmc implement
urev
> Signed-off-by: Neil Armstrong
Reviewed-by: Mattijs Korpershoek
> ---
> drivers/fastboot/Kconfig | 4 +-
> drivers/fastboot/Makefile | 3 +-
> drivers/fastboot/fb_mmc.c | 210
> +++---
> 3 files changed, 16 insertions(+), 201 deletions(-)
>
From: Dmitrii Merkurev
Switch the mmc backend to this new shared block helpers,
reducing block logic and only leaving MMC specific logic.
Signed-off-by: Dmitrii Merkurev
Signed-off-by: Neil Armstrong
---
drivers/fastboot/Kconfig | 4 +-
drivers/fastboot/Makefile | 3 +-
drivers/fastboot
From: Dmitrii Merkurev
1. Get partition info/size
2. Erase partition
3. Flash partition
4. BCB
Signed-off-by: Dmitrii Merkurev
Reviewed-by: Mattijs Korpershoek
Signed-off-by: Neil Armstrong
---
drivers/fastboot/Kconfig | 24
drivers/fastboot/Makefile | 1
This serie permits using any block device as target
for fastboot by moving the generic block logic into
a common set of helpers and also use them as generic
backend.
The erase logic has been extended to support software
erase since only 2 block drivers exposes the erase
operation.
Tests are
From: Dmitrii Merkurev
Introduce fastboot block flashing functions and helpers
to be shared with the MMC implementation.
The write logic comes from the mmc implementation, while
the partition lookup is much simpler and could be extended.
For the erase logic, allmost no block drivers exposes
CE_ID
+ int "Define FASTBOOT block device id"
+ depends on FASTBOOT_FLASH_BLOCK
+ help
+ "Fastboot block device id"
This is similar as CONFIG_FASTBOOT_FLASH_MMC_DEV, no?
No, the MMC one makes the mmc type implicit, while the block one
can target any b
On 29/04/2025 14:32, Mattijs Korpershoek wrote:
On mar., avril 29, 2025 at 11:45, Dmitrii Merkurev wrote:
Dmitrii, are you okay to re-licence this code under GPL v2 (which is
common licence for this project)
Yes, I'm ok with that.
Fantastic, thanks a lot for answering so quickly!
Thank
On mar., avril 29, 2025 at 11:45, Dmitrii Merkurev wrote:
>>
>> Dmitrii, are you okay to re-licence this code under GPL v2 (which is
>> common licence for this project)
>>
>
> Yes, I'm ok with that.
Fantastic, thanks a lot for answering so quickly!
>
> Dmitrii, are you okay to re-licence this code under GPL v2 (which is
> common licence for this project)
>
Yes, I'm ok with that.
linaro.org wrote:
>>
>>> From: Dmitrii Merkurev
>>>
>>> Introduce fastboot block flashing functions and helpers
>>> to be shared with the MMC implementation.
>>>
>>> The write logic comes from the mmc implementation, while
>>> the part
From: George Chan
Some androidboot images have gzipped kernel so we need to reuse
extra mem block for holding gzipped boot.img, and let loadaddr
to hold unzipped kernel data. Here we choose fastboot memory for
reuse and avoid dramatically increase memory footprint.
Signed-off-by: George Chan
Hi,
On 22/04/2025 15:17, Mattijs Korpershoek wrote:
Hi Neil,
Thank you for the patch.
Thx for the review
On mer., avril 09, 2025 at 09:58, neil.armstr...@linaro.org wrote:
From: Dmitrii Merkurev
Introduce fastboot block flashing functions and helpers
to be shared with the MMC
Hi Neil,
Thank you for the patch.
On mer., avril 09, 2025 at 09:58, neil.armstr...@linaro.org wrote:
> From: Dmitrii Merkurev
>
> Introduce fastboot block flashing functions and helpers
> to be shared with the MMC implementation.
>
> The write logic comes from the mmc imp
Hey Neil,
Thank you for the series.
On mer., avril 09, 2025 at 09:58, neil.armstr...@linaro.org wrote:
> This serie permits using any block device as target
> for fastboot by moving the generic block logic into
> a common set of helpers and also use them as generic
> backend.
&
Hey Neil,
On lun., avril 14, 2025 at 11:13, Neil Armstrong
wrote:
> Hi Mattijs,
>
> On 09/04/2025 09:58, neil.armstr...@linaro.org wrote:
>> This serie permits using any block device as target
>> for fastboot by moving the generic block logic into
>> a common set o
Hi Mattijs,
On 09/04/2025 09:58, neil.armstr...@linaro.org wrote:
This serie permits using any block device as target
for fastboot by moving the generic block logic into
a common set of helpers and also use them as generic
backend.
The erase logic has been extended to support software
erase
Hi,
On Wed, 12 Mar 2025 08:36:55 +0100, Michael Walle wrote:
> Fastboot works either over TCP, UDP or USB. The latter doesn't have
> anything to do with networking, thus should work just fine with
> regardless which network stack is selected. In practice, header symbols
> are u
From: Dmitrii Merkurev
Switch the mmc backend to this new shared block helpers,
reducing block logic and only leaving MMC specific logic.
Signed-off-by: Dmitrii Merkurev
Signed-off-by: Neil Armstrong
---
drivers/fastboot/fb_mmc.c | 210 +++---
1 file
From: Dmitrii Merkurev
1. Get partition info/size
2. Erase partition
3. Flash partition
4. BCB
Signed-off-by: Dmitrii Merkurev
Reviewed-by: Mattijs Korpershoek
Signed-off-by: Neil Armstrong
---
drivers/fastboot/fb_command.c | 8
drivers/fastboot/fb_common.c | 16
From: Dmitrii Merkurev
Introduce fastboot block flashing functions and helpers
to be shared with the MMC implementation.
The write logic comes from the mmc implementation, while
the partition lookup is much simpler and could be extended.
For the erase logic, allmost no block drivers exposes
This serie permits using any block device as target
for fastboot by moving the generic block logic into
a common set of helpers and also use them as generic
backend.
The erase logic has been extended to support software
erase since only 2 block drivers exposes the erase
operation.
Tests are
This is preparation for fastboot-based flashing protocols (such as Amlogic
ADNL). When device enters ADNL mode, it becomes "fastboot" device from
USB point of view, so to avoid copy-paste of USB part of fastboot protocol,
reimplement it as shared code between fastboot and ADNL imple
>> wrote:
Hi Dmitrii,
So you plan to send a new version of this patchset ?
It would be very useful to enable fastboot onr UFS/SCSI based devices.
Thanks,
Neil
On 06/03/2024 19:59, Dmitrii Merkurev wrote:
> Signed-off-by: Dmitrii Merkurev mailto:dimori...@g
On 01/04/2025 15:18, Dmitrii Merkurev wrote:
Hey Neil!
> Ping, did you find time to resubmit a new version of this patchset ?
Apologies, but it looks like I won’t have the capacity to complete this patch
stack after all. Please feel free to take it over if you think it’s useful!
Ack, I'll t
Hey Neil!
> Ping, did you find time to resubmit a new version of this patchset ?
Apologies, but it looks like I won’t have the capacity to complete this
patch stack after all. Please feel free to take it over if you think it’s
useful!
On Mon, 24 Mar 2025 19:17:36 +0100, Caleb Connolly wrote:
> Fix clock init failures for USB and UFS on SDM845 devices, stub the RPMh
> clock controller, enable DM_USB_GADGET and fastboot support for all
> Qualcomm platforms supported by qcom_defconfig.
>
> Fastboot isn't s
Hi Michael, Tom,
On ven., mars 28, 2025 at 09:59, Tom Rini wrote:
> On Fri, Mar 28, 2025 at 10:06:12AM +0100, Michael Walle wrote:
>> Hi Mattijs,
>>
>> > > Fastboot works either over TCP, UDP or USB. The latter doesn't have
>> > > anything to do with
On Fri, Mar 28, 2025 at 10:06:12AM +0100, Michael Walle wrote:
> Hi Mattijs,
>
> > > Fastboot works either over TCP, UDP or USB. The latter doesn't have
> > > anything to do with networking, thus should work just fine with
> > > regardless which network
Hi Mattijs,
> > Fastboot works either over TCP, UDP or USB. The latter doesn't have
> > anything to do with networking, thus should work just fine with
> > regardless which network stack is selected. In practice, header symbols
> > are used inside common code paths
The fastboot command handling uses an implicit switch/case fallthrough
when receiving the OEM_CONSOLE command, but when this command is not
enabled in Kconfig, to report this command as unknown.
Add our "fallthrough;" statement-like macro before the default branch in
the fastboot code,
1 - 100 of 1153 matches
Mail list logo