[U-Boot] u-boot hangs waiting for serial input
Wolfgang Denk
wd at denx.de
Wed Nov 29 19:53:48 UTC 2017
Dear Dipanjan,
In message <CAEK-7JK-c5+krRCmQZ45J2Nf3HRQtxLb4hvm2sdcrBQ=ErS1dw at mail.gmail.com> you wrote:
> I have compiled an older version of u-boot for ARM versatilepb board and
> booted in qemu as: qemu-system-arm -M versatilepb -m 128M -nographic
> -kernel flash.bin
>
> It boots fine, basic commans like `printenv` works. However, issuing
> `loads` makes the bootloader wait indefinitely. No keypress works. The
> prompt comes back if the command aborted by pressing Ctrl+C. I am not sure
> if it is u-boot or qemu is misbehaving. Any suggestion?
This is the correct, expected behaviour. "loads" starts an S-Revord
download over the serial line, so U-Boot is waiting for and readind
the input which it expects t be in SREC format.
What did you think "loads" would do?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
He'd been wrong, there _was_ a light at the end of the tunnel, and it
was a flamethrower. - Terry Pratchett, _Mort_
More information about the U-Boot
mailing list