Re: [PATCH v3 6/6] boot: Call flush() before booting

2022-09-07 Thread Pali Rohár
On Wednesday 07 September 2022 15:10:54 Simon Glass wrote: > although I'm not sure why the load.c change is not in this patch too? Because I split boot and serial/load changes into separate patches as they are different logical things.

Re: [PATCH v3 6/6] boot: Call flush() before booting

2022-09-07 Thread Simon Glass
On Mon, 5 Sept 2022 at 03:31, Pali Rohár wrote: > > In a lot of cases kernel resets UART HW. To ensure that U-Boot messages > printed before booting the kernel are not lost, call new U-Boot console > flush() function. > > Signed-off-by: Pali Rohár > --- > Changes in v3: > * Fix commit message >

[PATCH v3 6/6] boot: Call flush() before booting

2022-09-05 Thread Pali Rohár
In a lot of cases kernel resets UART HW. To ensure that U-Boot messages printed before booting the kernel are not lost, call new U-Boot console flush() function. Signed-off-by: Pali Rohár --- Changes in v3: * Fix commit message --- boot/bootm_os.c | 1 + cmd/boot.c | 1 + cmd/elf.c |