On 5/28/21 2:54 PM, Patrice CHOTARD wrote: > Hi Patrick > > On 5/18/21 3:12 PM, Patrick Delaunay wrote: >> Move the message "Invalid or missing layout file." >> to debug level as it is a normal behavior and not an error >> and add the missing '\n'. >> >> This patch avoids the strange trace : >> Boot over usb0! >> Invalid or missing layout file.DFU alt info setting: done >> >> Signed-off-by: Patrick Delaunay <[email protected]> >> --- >> >> arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c >> b/arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c >> index f3790f900f..feff73c79e 100644 >> --- a/arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c >> +++ b/arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c >> @@ -99,7 +99,7 @@ static int do_stm32prog(struct cmd_tbl *cmdtp, int flag, >> int argc, >> >> ret = stm32prog_init(data, addr, size); >> if (ret) >> - printf("Invalid or missing layout file."); >> + log_debug("Invalid or missing layout file at 0x%lx.\n", addr); >> >> /* prepare DFU for device read/write */ >> ret = stm32prog_dfu_init(data); >> > Reviewed-by: Patrice Chotard <[email protected]> > > Thanks > Patrice > _______________________________________________ > Uboot-stm32 mailing list > [email protected] > https://st-md-mailman.stormreply.com/mailman/listinfo/uboot-stm32 > Applied on u-boot-stm32/next Thanks
- [PATCH 02/10] stm32mp: stm32prog: add timeout in stm32pro... Patrick Delaunay
- Re: [PATCH 02/10] stm32mp: stm32prog: add timeout in... Patrice CHOTARD
- [PATCH 05/10] stm32mp: stm32prog: handle the next phase a... Patrick Delaunay
- Re: [PATCH 05/10] stm32mp: stm32prog: handle the nex... Patrice CHOTARD
- [PATCH 03/10] stm32mp: stm32prog: add support of initrd i... Patrick Delaunay
- Re: [PATCH 03/10] stm32mp: stm32prog: add support of... Patrice CHOTARD
- [PATCH 04/10] stm32mp: stm32prog: solve compilation with ... Patrick Delaunay
- Re: [PATCH 04/10] stm32mp: stm32prog: solve compilat... Patrice CHOTARD
- [PATCH 08/10] stm32mp: stm32prog: change one message leve... Patrick Delaunay
- Re: [PATCH 08/10] stm32mp: stm32prog: change one mes... Patrice CHOTARD
- Re: [Uboot-stm32] [PATCH 08/10] stm32mp: stm32pr... Patrice CHOTARD
- [PATCH 07/10] stm32mp: stm32prog: use get_cpu_dev for Get... Patrick Delaunay
- Re: [PATCH 07/10] stm32mp: stm32prog: use get_cpu_de... Patrice CHOTARD
- Re: [Uboot-stm32] [PATCH 07/10] stm32mp: stm32pr... Patrice CHOTARD
- [PATCH 06/10] stm32mp: stm32prog: correctly handle DM_PMI... Patrick Delaunay
- Re: [PATCH 06/10] stm32mp: stm32prog: correctly hand... Patrice CHOTARD
- Re: [PATCH 06/10] stm32mp: stm32prog: correctly ... Jaehoon Chung
- Re: [Uboot-stm32] [PATCH 06/10] stm32mp: stm32pr... Patrice CHOTARD
- [PATCH 09/10] dfu: add error callback Patrick Delaunay
- Re: [Uboot-stm32] [PATCH 09/10] dfu: add error callb... Patrice CHOTARD
- Re: [Uboot-stm32] [PATCH 09/10] dfu: add error c... Patrice CHOTARD

