[U-Boot] offer: program to deal with kirkwood "boot from UART"

JPT j-p-t at gmx.net
Mon Apr 8 11:14:25 CEST 2013


Hi,

during my dealing with the bricked kirkwood board I wrote an app which 
automates the process of booting from UART.
It's rather stable now, except right now it doesn't work any more.
It's highly configurable, since the external calls to Xmodem and 
terminal go to shell scripts.

Wolfgang, do you want to provide this app somewhere on your site?

looks like this now:

$ ./marvellserialboot --mode bb --device /dev/ttyUSB0 --baud 115200
Waiting for /dev/ttyUSB0: OK
Open /dev/ttyUSB0: OK
Set Parameters to 115200, 8, N, 1, SoftwareFlow: FALSE, HardwareFlow: 
FALSE: OK
Clear Recieve Buffer: OK
Sending Command Code BB11223344556677: .0x15 OK. Device is requesting 
Xmodem transfer now.
Close /dev/ttyUSB0: OK
Starting Xmodem Upload:
sx -vv -b u-boot-1.1.4-netgear-533ddr3db-uart.bin </dev/ttyUSB0 
 >/dev/ttyUSB0
Sende u-boot-1.1.4-netgear-533ddr3db-uart.bin, 12288 Blöcke:Starten Sie 
nun Ihr XMODEM-Empfangsprogramm.
Bytes gesendet:1572992   BPS:9666

Übertragung abgeschlossen
Xmodem Upload successful.
Starting Terminal program:
gtkterm
Terminal program successful.



regards,

Jan



More information about the U-Boot mailing list