From: Mattijs Korpershoek <mkorpershoek@baylibre.com>
To: Caleb Connolly <caleb.connolly@linaro.org>,
Tom Rini <trini@konsulko.com>, Simon Glass <sjg@chromium.org>,
Lukasz Majewski <lukma@denx.de>,
Caleb Connolly <caleb.connolly@linaro.org>,
Neil Armstrong <neil.armstrong@linaro.org>,
Sumit Garg <sumit.garg@linaro.org>
Cc: Ilias Apalodimas <ilias.apalodimas@linaro.org>,
u-boot@lists.denx.de, u-boot-qcom@groups.io
Subject: Re: [PATCH v3 1/8] dfu: add scsi backend
Date: Tue, 04 Jun 2024 09:01:54 +0200 [thread overview]
Message-ID: <87zfs11999.fsf@baylibre.com> (raw)
In-Reply-To: <20240603-b4-qcom-capsule-updates-v3-1-fe2e083289ec@linaro.org>
Hi Caleb,
Thank you for the patch.
On lun., juin 03, 2024 at 14:49, Caleb Connolly <caleb.connolly@linaro.org> wrote:
> This is extremely similar to the MMC backend, but there are some notable
> differences.
>
> Works with a DFU string like
>
> scsi 4=u-boot-bin part 11
>
> Where "4" is the SCSI dev number (sequential LUN across all SCSI devices)
> and "11" is the partition number.
>
> Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
> ---
> doc/usage/dfu.rst | 32 ++++
> drivers/dfu/Kconfig | 7 +
> drivers/dfu/Makefile | 1 +
> drivers/dfu/dfu.c | 5 +-
> drivers/dfu/dfu_scsi.c | 435 +++++++++++++++++++++++++++++++++++++++++++++++++
> include/dfu.h | 26 +++
> 6 files changed, 505 insertions(+), 1 deletion(-)
>
> diff --git a/doc/usage/dfu.rst b/doc/usage/dfu.rst
> index 8cc09c308d82..f497dcf137a4 100644
> --- a/doc/usage/dfu.rst
> +++ b/doc/usage/dfu.rst
> @@ -21,8 +21,9 @@ U-Boot implements this DFU capability (CONFIG_DFU) with the command dfu
>
> Today the supported DFU backends are:
>
> - MMC (RAW or FAT / EXT2 / EXT3 / EXT4 file system / SKIP / SCRIPT)
> +- SCSI (UFS, RAW partition, FAT / EXT2 / EXT3 / EXT4 file system / SKIP / SCRIPT)
> - NAND
> - RAM
> - SF (serial flash)
> - MTD (all MTD device: NAND, SPI-NOR, SPI-NAND,...)
> @@ -166,8 +167,38 @@ mmc
>
> Please note that this means the user will be able to execute any
> arbitrary commands just like in the u-boot's shell.
Can we please add CONFIG_DFU_SCSI in "Configuration Options" section at
the beginning of this document?
See:
https://docs.u-boot.org/en/latest/usage/dfu.html#configuration-options
Note: I requested that here:
https://lore.kernel.org/all/87o7a94pe1.fsf@baylibre.com/
With above addressed, feel free to add:
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
And please take this through your tree:
Acked-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
>
> +scsi
[...]
next prev parent reply other threads:[~2024-06-04 7:02 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-03 12:49 [PATCH v3 0/8] qcom: implement capsule updates Caleb Connolly
2024-06-03 12:49 ` [PATCH v3 1/8] dfu: add scsi backend Caleb Connolly
2024-06-04 7:01 ` Mattijs Korpershoek [this message]
2024-06-03 12:49 ` [PATCH v3 2/8] disk: expose partition type flags Caleb Connolly
2024-06-03 12:49 ` [PATCH v3 3/8] mmc: msm_sdhci: work around a bug when writing Caleb Connolly
2024-06-03 12:49 ` [PATCH v3 4/8] mach-snapdragon: implement capsule update support Caleb Connolly
2024-06-03 13:38 ` Ilias Apalodimas
2024-06-05 5:21 ` Sumit Garg
2024-06-05 12:33 ` Caleb Connolly
2024-06-06 7:15 ` Sumit Garg
2024-06-03 12:49 ` [PATCH v3 5/8] qcom_defconfig: savedefconfig Caleb Connolly
2024-06-03 12:49 ` [PATCH v3 6/8] mach-snapdragon: use SYSRESET_PSCI Caleb Connolly
2024-06-03 12:49 ` [PATCH v3 7/8] mach-snapdragon: bump up heap size Caleb Connolly
2024-06-03 12:49 ` [PATCH v3 8/8] qcom_defconfig: enable capsule update support Caleb Connolly
2024-06-03 13:48 ` Ilias Apalodimas
2024-06-05 5:31 ` [PATCH v3 0/8] qcom: implement capsule updates Sumit Garg
2024-06-05 12:42 ` Caleb Connolly
2024-06-06 7:34 ` Sumit Garg
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=87zfs11999.fsf@baylibre.com \
--to=mkorpershoek@baylibre.com \
--cc=caleb.connolly@linaro.org \
--cc=ilias.apalodimas@linaro.org \
--cc=lukma@denx.de \
--cc=neil.armstrong@linaro.org \
--cc=sjg@chromium.org \
--cc=sumit.garg@linaro.org \
--cc=trini@konsulko.com \
--cc=u-boot-qcom@groups.io \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox