[U-Boot] u-boot boot process is broken, how do i recover?

Thomas Petazzoni
2013-04-07T08:08:22Z

Dear Albert ARIBAUD,

On Thu, 4 Apr 2013 14:47:18 +0200, Albert ARIBAUD wrote:

> Since you seem to have a binary meant for UART booting, yes, you might
> try sending it to the board; with any luck that'll allow you to inspect
> and possibly revert your U-Boot environment into what it was before the
> bricking. As to how... any serial app with Xmodem should work, I
> presume. If the transfer starts, chances are the image will run
> automatically.

No, any app doing Xmodem will not work. In order to turn the Marvell
Kirkwood romcode into UART boot mode, you have to send a series of
magic bytes to the UART. This is what kwboot does before sending the
binary using the Xmodem protocol.

Best regards,

Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.