]> git.baikalelectronics.ru Git - uboot.git/commit
tools: kwboot: Increase blk_rsp_timeo to 2s
authorPali Rohár <pali@kernel.org>
Tue, 25 Jan 2022 17:13:00 +0000 (18:13 +0100)
committerStefan Roese <sr@denx.de>
Mon, 31 Jan 2022 09:23:38 +0000 (10:23 +0100)
commit97edee802c433a15c5256b0e0d7b4bf7ba358216
treed4ded2873d155e4e272bd45c5153511a23883283
parent471034693b0355495bb20e77e09549fdf37a519b
tools: kwboot: Increase blk_rsp_timeo to 2s

Fix xmodem retry mechanism if some bytes from xmodem packet were lost and
BootROM is still waiting for completing previous xmodem packet.

It is required to wait at least 1.312s on A385, otherwise BootROM does not
accept next xmodem packet if previous one was not completely transferred.

2s should be enough timeout cause that BootROM will drop incomplete xmodem
packet and expects new packet.

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
tools/kwboot.c