From: Mattijs Korpershoek <mkorpershoek@baylibre.com>
To: Dmitrii Merkurev <dimorinny@google.com>, neil.armstrong@linaro.org
Cc: u-boot@lists.denx.de, rammuthiah@google.com,
Patrick Delaunay <patrick.delaunay@foss.st.com>,
Simon Glass <sjg@chromium.org>,
Ying-Chun Liu <paul.liu@linaro.org>
Subject: Re: [PATCH 2/4] fastboot: blk: add block device flashing configuration
Date: Tue, 26 Nov 2024 10:35:05 +0100 [thread overview]
Message-ID: <87v7wapcc6.fsf@baylibre.com> (raw)
In-Reply-To: <CAOWkq4mgzqdAjU+a3iFc7_UnsP03NTNp+TdK94t4g10tD2DOuA@mail.gmail.com>
On lun., nov. 25, 2024 at 23:41, Dmitrii Merkurev <dimorinny@google.com> wrote:
> Hey Neil.
>
> Will do it by the end of the year. Only tested it with a virtio-block
> though.
>
> On Thu, Nov 21, 2024 at 12:44 PM <neil.armstrong@linaro.org> 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.
FYI another development for UFS/SCSI has been submitted here:
https://patchwork.ozlabs.org/project/uboot/patch/20241125110354.602124-1-quic_varada@quicinc.com/
>>
>> Thanks,
>> Neil
>>
>> On 06/03/2024 19:59, Dmitrii Merkurev wrote:
>> > Signed-off-by: Dmitrii Merkurev <dimorinny@google.com>
>> > Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
>> > Cc: Simon Glass <sjg@chromium.org>
>> > Cc: Mattijs Korpershoek <mkorpershoek@baylibre.com>
>> > Cc: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
>> > ---
>> > drivers/fastboot/Kconfig | 20 ++++++++++++++++++--
>> > 1 file changed, 18 insertions(+), 2 deletions(-)
>> >
>> > diff --git a/drivers/fastboot/Kconfig b/drivers/fastboot/Kconfig
>> > index 5e5855a76c..460c5e98d7 100644
>> > --- a/drivers/fastboot/Kconfig
>> > +++ b/drivers/fastboot/Kconfig
>> > @@ -87,7 +87,7 @@ config FASTBOOT_USB_DEV
>> > config FASTBOOT_FLASH
>> > bool "Enable FASTBOOT FLASH command"
>> > default y if ARCH_SUNXI || ARCH_ROCKCHIP
>> > - depends on MMC || (MTD_RAW_NAND && CMD_MTDPARTS)
>> > + depends on MMC || (MTD_RAW_NAND && CMD_MTDPARTS) || BLK
>> > select IMAGE_SPARSE
>> > help
>> > The fastboot protocol includes a "flash" command for writing
>> > @@ -109,12 +109,16 @@ choice
>> >
>> > config FASTBOOT_FLASH_MMC
>> > bool "FASTBOOT on MMC"
>> > - depends on MMC
>> > + depends on MMC && BLK
>> >
>> > config FASTBOOT_FLASH_NAND
>> > bool "FASTBOOT on NAND"
>> > depends on MTD_RAW_NAND && CMD_MTDPARTS
>> >
>> > +config FASTBOOT_FLASH_BLOCK
>> > + bool "FASTBOOT on block device"
>> > + depends on BLK
>> > +
>> > endchoice
>> >
>> > config FASTBOOT_FLASH_MMC_DEV
>> > @@ -189,6 +193,18 @@ config FASTBOOT_MMC_USER_NAME
>> > defined here.
>> > The default target name for erasing EMMC_USER is "mmc0".
>> >
>> > +config FASTBOOT_FLASH_BLOCK_INTERFACE_NAME
>> > + string "Define FASTBOOT block interface name"
>> > + depends on FASTBOOT_FLASH_BLOCK
>> > + help
>> > + "Fastboot block interface name (mmc, virtio, etc)"
>> > +
>> > +config FASTBOOT_FLASH_BLOCK_DEVICE_ID
>> > + int "Define FASTBOOT block device id"
>> > + depends on FASTBOOT_FLASH_BLOCK
>> > + help
>> > + "Fastboot block device id"
>> > +
>> > config FASTBOOT_GPT_NAME
>> > string "Target name for updating GPT"
>> > depends on FASTBOOT_FLASH_MMC && EFI_PARTITION
>>
>>
next prev parent reply other threads:[~2024-11-26 9:35 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-06 18:59 [PATCH 1/4] virtio: blk: introduce virtio-block erase support Dmitrii Merkurev
2024-03-06 18:59 ` [PATCH 2/4] fastboot: blk: add block device flashing configuration Dmitrii Merkurev
2024-04-05 7:33 ` Mattijs Korpershoek
2024-11-21 12:44 ` neil.armstrong
2024-11-25 23:41 ` Dmitrii Merkurev
2024-11-26 9:35 ` Mattijs Korpershoek [this message]
2025-04-01 8:23 ` neil.armstrong
2025-04-01 13:18 ` Dmitrii Merkurev
2025-04-01 14:00 ` neil.armstrong
2024-03-06 18:59 ` [PATCH 3/4] fastboot: blk: introduce fastboot block flashing support Dmitrii Merkurev
2024-04-05 8:05 ` Mattijs Korpershoek
2024-03-06 18:59 ` [PATCH 4/4] fastboot: integrate block flashing back-end Dmitrii Merkurev
2024-04-05 8:19 ` Mattijs Korpershoek
2024-04-05 7:16 ` [PATCH 1/4] virtio: blk: introduce virtio-block erase support Mattijs Korpershoek
2024-10-17 23:12 ` Simon Glass
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=87v7wapcc6.fsf@baylibre.com \
--to=mkorpershoek@baylibre.com \
--cc=dimorinny@google.com \
--cc=neil.armstrong@linaro.org \
--cc=patrick.delaunay@foss.st.com \
--cc=paul.liu@linaro.org \
--cc=rammuthiah@google.com \
--cc=sjg@chromium.org \
--cc=u-boot@lists.denx.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.