Re: [PATCH u-boot-marvell 00/13] Yet another kwboot improvements

Stefan Roese
2021-10-28T06:16:39Z

On 27.10.21 23:03, Pali Rohár wrote:
> On Wednesday 27 October 2021 17:27:41 Stefan Roese wrote:
>> Still I see no speed change. But this is a different story...
>
> Could you try to upload some file in u-boot via xmodem at different
> speeds? E.g. via loadx command:
>
> loadx <addr> 921600
>
> and
>
> loadx <addr> 115200

loadx & loady are producing nearly the same numbers on my Armada XP
target for download (slow of cause). This is really strange.

I also tested with "normal" console actions (logging) with higher
baudrates. Here these numbers:

time md 2000000 10000:

115200 baud:
time: 1 minutes, 32.694 seconds

921600 baud:
time: 11.587 seconds

92.7s vs 11.6s -> factor ~8. Which is exactly the baudrate difference.
So at least here I see a speed difference, which means that the USB
UART converter must be working in general. I really have no idea right
now to explain, why this does not any speed differences while
downloading.

> And compare if xmodem transfer is in U-Boot faster or not. Ideally also
> try via kermit protocol at different speeds as kernel supports
> streaming.

I'm currently struggling to get gkermit working on my Ubuntu machine -
so no numbers here yet, sorry.

> This could verify if issue is in kwboot or in USB-UART/kernel.

Makes sense.

Thanks,
Stefan