Skip to content
Snippets Groups Projects
Commit 9ca6fae9 authored by Jon Nettleton's avatar Jon Nettleton Committed by Stefan Roese
Browse files

tools: kwboot: Make kwboot more robust on a38x


This patch accomplishes 2 things to make the kwboot procedure
on the a38x more reliable.

1)  We fill the tty with 1K of the magic bootparam.  This helps
with the timing of where the microcode picks up in the read of
the line to ensure we actually catch the break to go into recovery
mode

2)  Before starting the xmodem transfer we sleep for 2 seconds
and then flush the line.  This allows all the magic bootparam
to be flushed from the line and makes the xmodem transfer reliable
and removes the Bad message failures.

Signed-off-by: default avatarJon Nettleton <jon@solid-run.com>
Signed-off-by: default avatarBaruch Siach <baruch@tkos.co.il>
Reviewed-by: default avatarChris Packham <judge.packham@gmail.com>
Signed-off-by: default avatarStefan Roese <sr@denx.de>
parent 881e8478
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment