* [U-Boot] offer: program to deal with kirkwood "boot from UART"
@ 2013-04-08 9:14 JPT
2013-04-08 19:17 ` Jason Cooper
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: JPT @ 2013-04-08 9:14 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] offer: program to deal with kirkwood "boot from UART"
2013-04-08 9:14 [U-Boot] offer: program to deal with kirkwood "boot from UART" JPT
@ 2013-04-08 19:17 ` Jason Cooper
2013-04-12 12:27 ` JPT
2013-04-08 20:30 ` Tom Rini
2013-04-09 7:32 ` Prafulla Wadaskar
2 siblings, 1 reply; 5+ messages in thread
From: Jason Cooper @ 2013-04-08 19:17 UTC (permalink / raw)
To: u-boot
Jan,
On Mon, Apr 08, 2013 at 11:14:25AM +0200, JPT wrote:
> 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.
Never was a more contradictory sentence uttered ;-)
> It's highly configurable, since the external calls to Xmodem and
> terminal go to shell scripts.
I like it.
> 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.
Very nice! Please take a look at tools/kwboot.c. It is the current
in-tree tool doing the job you have set out. However, it doesn't have
as many features as your code appears to have.
Could you lay out your patches to add missing features to kwboot? It
would facilitate review, and would avoid duplicate tools in the source
tree.
thx,
Jason.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] offer: program to deal with kirkwood "boot from UART"
2013-04-08 9:14 [U-Boot] offer: program to deal with kirkwood "boot from UART" JPT
2013-04-08 19:17 ` Jason Cooper
@ 2013-04-08 20:30 ` Tom Rini
2013-04-09 7:32 ` Prafulla Wadaskar
2 siblings, 0 replies; 5+ messages in thread
From: Tom Rini @ 2013-04-08 20:30 UTC (permalink / raw)
To: u-boot
On Mon, Apr 08, 2013 at 11:14:25AM +0200, JPT wrote:
> 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.
You're probably best just posting the script as a reply here so that the
archives pick it up (and search engines).
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130408/63e7136a/attachment.pgp>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] offer: program to deal with kirkwood "boot from UART"
2013-04-08 9:14 [U-Boot] offer: program to deal with kirkwood "boot from UART" JPT
2013-04-08 19:17 ` Jason Cooper
2013-04-08 20:30 ` Tom Rini
@ 2013-04-09 7:32 ` Prafulla Wadaskar
2 siblings, 0 replies; 5+ messages in thread
From: Prafulla Wadaskar @ 2013-04-09 7:32 UTC (permalink / raw)
To: u-boot
> -----Original Message-----
> From: u-boot-bounces at lists.denx.de [mailto:u-boot-
> bounces at lists.denx.de] On Behalf Of JPT
> Sent: 08 April 2013 14:44
> To: u-boot at lists.denx.de
> Subject: [U-Boot] offer: program to deal with kirkwood
> "boot from UART"
>
> 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?
We already have kwboot in u-boot that supports boot from UART from kirkwood,
If your work enables some additional functionality/features to it. You are welcomed to send patch for the same?
Regards...
Prafulla . . .
>
> 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
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] offer: program to deal with kirkwood "boot from UART"
2013-04-08 19:17 ` Jason Cooper
@ 2013-04-12 12:27 ` JPT
0 siblings, 0 replies; 5+ messages in thread
From: JPT @ 2013-04-12 12:27 UTC (permalink / raw)
To: u-boot
Am 08.04.2013 21:17, schrieb Jason Cooper:
> Jan,
>
> On Mon, Apr 08, 2013 at 11:14:25AM +0200, JPT wrote:
>> 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.
>
> Never was a more contradictory sentence uttered ;-)
LOL
> Very nice! Please take a look at tools/kwboot.c. It is the current
> in-tree tool doing the job you have set out. However, it doesn't have
> as many features as your code appears to have.
as soon as I realized Kirkwood boot is integrated into u-boot, I should
have searched for a kw client... o.O
Well, didn't...
> Could you lay out your patches to add missing features to kwboot? It
> would facilitate review, and would avoid duplicate tools in the source
> tree.
Well. I am sorry, I wasn't planning integration into u-boot source tree.
- it's pascal (I don't know c/cpp very well)
- it uses a rather fat opensource communication library (synapse, 1.5 MB
of pascal source)
Since I am done with recovering my NAS, I won't continue work on this.
Any idea where to anyway provide the source?
I could upload it where I wrote the guide on upgrading my Netgear NAS.
http://netgear.nas-central.org/wiki/ReadyNasDUO-200_customisation_guide
But... xmodem boot solves only far less problems than the custom
emergency boot holding the backup button. So for the Netgear NAS it's
useless. But maybe it's of use if I put it into a more general section
on http://www.nas-central.org/
Jan
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-04-12 12:27 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-08 9:14 [U-Boot] offer: program to deal with kirkwood "boot from UART" JPT
2013-04-08 19:17 ` Jason Cooper
2013-04-12 12:27 ` JPT
2013-04-08 20:30 ` Tom Rini
2013-04-09 7:32 ` Prafulla Wadaskar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox