mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
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>
This commit is contained in:
parent
975ead1024
commit
ef95143df4
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ struct kwboot_block {
|
|||
uint8_t csum;
|
||||
} __packed;
|
||||
|
||||
#define KWBOOT_BLK_RSP_TIMEO 1000 /* ms */
|
||||
#define KWBOOT_BLK_RSP_TIMEO 2000 /* ms */
|
||||
#define KWBOOT_HDR_RSP_TIMEO 10000 /* ms */
|
||||
|
||||
/* ARM code to change baudrate */
|
||||
|
|
Loading…
Reference in a new issue