* [PATCH] colibri_vf: separate the partition numbers in dfu_alt_info with a space
@ 2026-10-24 11:34 Mehmet Fide
2026-10-25 18:33 ` Francesco Dolcini
2026-10-26 9:48 ` Mattijs Korpershoek
0 siblings, 2 replies; 3+ messages in thread
From: Mehmet Fide @ 2026-10-24 11:34 UTC (permalink / raw)
To: Francesco Dolcini
Cc: Tom Rini, Mattijs Korpershoek, Lukasz Majewski, u-boot,
mehmet.fide
From: Mehmet Fide <mehmet.fide@screeningeagle.com>
Since commit 53b406369e9d ("DFU: Check the number of arguments and
argument string strictly") the NAND backend takes an entry as
"<name> part <dev> <part>", three arguments. The default dfu_alt_info
of colibri_vf still uses the older "part 0,1" form, two arguments, so
its first entry already fails with -EINVAL and "dfu 0 nand 0" returns
at once, before the gadget starts.
Separate the device and the partition number with a space. The
partitions stay the same: vf-bcb, u-boot and ubi.
Fixes: 53b406369e9d ("DFU: Check the number of arguments and argument string strictly")
Signed-off-by: Mehmet Fide <mehmet.fide@screeningeagle.com>
---
Notes:
Tested on a Colibri VF50 with the ehci-vf series [1] applied, which
the gadget on usb0 needs to start at all: after "env default -f
dfu_alt_info", "dfu 0 nand 0 list" shows vf-bcb, u-boot and ubi, and
"dfu 0 nand 0" enumerates on a host and stops at Ctrl-C. With the old
value the list fails at once.
[1] https://lore.kernel.org/u-boot/20261023111559.4081795-1-mehmet.fide@gmail.com/
include/configs/colibri_vf.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h
index 60f31389fd4..060e0ac3fe2 100644
--- a/include/configs/colibri_vf.h
+++ b/include/configs/colibri_vf.h
@@ -45,7 +45,7 @@
#undef BOOTENV_RUN_NET_USB_START
#define BOOTENV_RUN_NET_USB_START ""
-#define DFU_ALT_NAND_INFO "vf-bcb part 0,1;u-boot part 0,2;ubi part 0,4"
+#define DFU_ALT_NAND_INFO "vf-bcb part 0 1;u-boot part 0 2;ubi part 0 4"
#define CFG_EXTRA_ENV_SETTINGS \
BOOTENV \
base-commit: f97bb5c1ad78e95856917b92c7270c82d4b11e21
--
2.55.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] colibri_vf: separate the partition numbers in dfu_alt_info with a space
2026-10-24 11:34 [PATCH] colibri_vf: separate the partition numbers in dfu_alt_info with a space Mehmet Fide
@ 2026-10-25 18:33 ` Francesco Dolcini
2026-10-26 9:48 ` Mattijs Korpershoek
1 sibling, 0 replies; 3+ messages in thread
From: Francesco Dolcini @ 2026-10-25 18:33 UTC (permalink / raw)
To: Mehmet Fide
Cc: Tom Rini, Mattijs Korpershoek, Lukasz Majewski, u-boot,
mehmet.fide
On Sat, Oct 24, 2026 at 01:34:59PM +0200, Mehmet Fide wrote:
> From: Mehmet Fide <mehmet.fide@screeningeagle.com>
>
> Since commit 53b406369e9d ("DFU: Check the number of arguments and
> argument string strictly") the NAND backend takes an entry as
> "<name> part <dev> <part>", three arguments. The default dfu_alt_info
> of colibri_vf still uses the older "part 0,1" form, two arguments, so
> its first entry already fails with -EINVAL and "dfu 0 nand 0" returns
> at once, before the gadget starts.
>
> Separate the device and the partition number with a space. The
> partitions stay the same: vf-bcb, u-boot and ubi.
>
> Fixes: 53b406369e9d ("DFU: Check the number of arguments and argument string strictly")
> Signed-off-by: Mehmet Fide <mehmet.fide@screeningeagle.com>
Acked-by: Francesco Dolcini <francesco.dolcini@toradex.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] colibri_vf: separate the partition numbers in dfu_alt_info with a space
2026-10-24 11:34 [PATCH] colibri_vf: separate the partition numbers in dfu_alt_info with a space Mehmet Fide
2026-10-25 18:33 ` Francesco Dolcini
@ 2026-10-26 9:48 ` Mattijs Korpershoek
1 sibling, 0 replies; 3+ messages in thread
From: Mattijs Korpershoek @ 2026-10-26 9:48 UTC (permalink / raw)
To: Mehmet Fide, Francesco Dolcini
Cc: Tom Rini, Lukasz Majewski, u-boot, mehmet.fide
Hi Mehmet,
Thank you for the patch.
On Sat, Oct 24, 2026 at 13:34, Mehmet Fide <mehmet.fide@gmail.com> wrote:
> From: Mehmet Fide <mehmet.fide@screeningeagle.com>
>
> Since commit 53b406369e9d ("DFU: Check the number of arguments and
> argument string strictly") the NAND backend takes an entry as
> "<name> part <dev> <part>", three arguments. The default dfu_alt_info
> of colibri_vf still uses the older "part 0,1" form, two arguments, so
> its first entry already fails with -EINVAL and "dfu 0 nand 0" returns
> at once, before the gadget starts.
>
> Separate the device and the partition number with a space. The
> partitions stay the same: vf-bcb, u-boot and ubi.
>
> Fixes: 53b406369e9d ("DFU: Check the number of arguments and argument string strictly")
> Signed-off-by: Mehmet Fide <mehmet.fide@screeningeagle.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-10-26 9:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-24 11:34 [PATCH] colibri_vf: separate the partition numbers in dfu_alt_info with a space Mehmet Fide
2026-10-25 18:33 ` Francesco Dolcini
2026-10-26 9:48 ` Mattijs Korpershoek
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.