Skip to contentSkip to conversation

README: Add handy kermit primer

PATCH Superseded Karl O. Pinc 3 participants 6 messages Aug 3, 2012 – Oct 2, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 README: Add handy kermit primer

README: Add handy kermit primer

---
Add handy primer on using C-Kermit to the README to make kermit juicyer for minicom users.

I don't know if you really want this. It does seem a bit offtopic. But I need to look at this every time I start kermit so thought it might be handy to have in the README.

 README |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)
README +15 -1
index 6bb5992..ad4e8fb 100644
@@ -4633,7 +4633,21 @@ Unix, I recommend to use C-Kermit for general purpose use (and
 especially for kermit binary protocol download ("loadb" command), and
 use "cu" for S-Record download ("loads" command).
 
-Nevertheless, if you absolutely want to use it try adding this
+A typical C-Kermit session looks like:
+
+$ kermit                      ;# Start kermit from Unix shell
+set modem type none           ; null modem cable to device
+set line /dev/ttyUSB0         ; change tty per your hardware
+set flow /direct-serial       ; turn off flow control
+set speed 115200              ; change to your baud rate
+set carrier-watch off         ; needed when no CTS pin
+show communications           ; review result
+connect                       ; talk to device
+<talk to device>
+Ctrl-\C                       ; exit back to kermit
+exit                          ; exit kermit
+
+Nevertheless, if you absolutely want to use minicom try adding this
 configuration to your "File transfer protocols" section:
 
 	   Name	   Program			Name U/D FullScr IO-Red. Multi
Signature · 1 line
1.7.2.5
#1 lore raw

PATCH 1/1 README: Add handy kermit primer

Dear "Karl O. Pinc",

Quoted 6 lines · In message <[email protected]> you wrote:

README: Add handy kermit primer

---
Add handy primer on using C-Kermit to the README
to make kermit juicyer for minicom users.

Thanks - but pleasemove this into a separate file in the doc/ directory
(and consider updating the wiki, too).

README Unix, I recommend to use C-Kermit for general purpose use (and · line 4641

Quoted 6 lines
README +6 -0
+A typical C-Kermit session looks like:
+
+$ kermit                      ;# Start kermit from Unix shell
+set modem type none           ; null modem cable to device
+set line /dev/ttyUSB0         ; change tty per your hardware
+set flow /direct-serial       ; turn off flow control

Does this really turn off low control?

I use this instead:

set flow-control none

README Unix, I recommend to use C-Kermit for general purpose use (and · line 4648

Quoted 2 lines
README +2 -0
+Ctrl-\C                       ; exit back to kermit
+exit                          ; exit kermit

These could be combined into Ctrl-\q

See also http://www.denx.de/wiki/view/DULG/SystemSetup#Section_4.3.
which contains a few more settings useful if you try using file transfers.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
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
A verbal contract isn't worth the paper it's written on.
                                                    -- Samuel Goldwyn
#2 lore raw

PATCH v2 1/1 README: Add handy kermit primer

In reply to Karl O. Pinc

Add doc/README.kermit.

Mention in README.

---
Thanks for the guidance.

Turns out the wiki has an even better guide. (It does not mention entering commands interactively. Oh well.)

P.S. I'm not sure I'm threading this right. I'm threading to the original patch submission, not your reply. Is that right?

Changes to v2:
- Get rid of primer in README.
- Add doc/README.kermit, as copy of wiki kermit setup docs
- Reference doc/README.kermit in README.

 README            |    2 +-
 doc/README.kermit |   52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+), 1 deletions(-)
 create mode 100644 doc/README.kermit
README +1 -1
index 6bb5992..f9535de 100644
@@ -4631,7 +4631,7 @@ Over time, many people have reported problems when trying to use the
 consider minicom to be broken, and recommend not to use it. Under
 Unix, I recommend to use C-Kermit for general purpose use (and
 especially for kermit binary protocol download ("loadb" command), and
-use "cu" for S-Record download ("loads" command).
+use "cu" for S-Record download ("loads" command).  See doc/README.kermit.
 
 Nevertheless, if you absolutely want to use it try adding this
 configuration to your "File transfer protocols" section:
doc/README.kermit new file +52 -0

52 lines not on this page · raw message

Signature · 1 line
1.7.2.5
#3 lore raw

PATCH v2 1/1 README: Add handy kermit primer

Dear "Karl O. Pinc",

Quoted 5 lines · In message <[email protected]> you wrote:

Add doc/README.kermit.

Mention in README.

...

README Over time, many people have reported problems when trying to use the · line 4634

Quoted 8 lines
README +1 -1
@@ -4631,7 +4631,7 @@ Over time, many people have reported problems when trying to use the
 consider minicom to be broken, and recommend not to use it. Under
 Unix, I recommend to use C-Kermit for general purpose use (and
 especially for kermit binary protocol download ("loadb" command), and
-use "cu" for S-Record download ("loads" command).
+use "cu" for S-Record download ("loads" command).  See doc/README.kermit.

Instead of adding a new file, place the URL to the wiki page here.

doc/README.kermit line 3

Quoted 6 lines
doc/README.kermit new file +3 -0
@@ -0,0 +1,52 @@
+Copied from the U-Boot wiki,
+http://www.denx.de/wiki/view/DULG/SystemSetup#Section_4.3.
+on 2012-08-03.

This makes no sense to me. Copying the text just means we have to maintain the same information in two places, which never works.

Instead of copying the data, just add a link to the README.

Best regards,

Wolfgang Denk

Signature · 6 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
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
Compassion -- that's the one things no machine ever had.  Maybe it's
the one thing that keeps men ahead of them.
	-- McCoy, "The Ultimate Computer", stardate 4731.3
#4 lore raw

PATCH v3 1/1 README: Add handy kermit primer

---
 README |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

*********

Quoted 8 lines · Wolfgang Denk
Quoted 3 lines · In message <[email protected]> you wrote:

Add doc/README.kermit.

Mention in README.

doc/README.kermit.

Instead of adding a new file, place the URL to the wiki page here.

Ok. Done.

Quoted 9 lines

doc/README.kermit line 3

Quoted 6 lines
doc/README.kermit new file +3 -0
@@ -0,0 +1,52 @@
+Copied from the U-Boot wiki,
+http://www.denx.de/wiki/view/DULG/SystemSetup#Section_4.3.
+on 2012-08-03.

This makes no sense to me. Copying the text just means we have to maintain the same information in two places, which never works.

My thought was that no matter _what_ you do you have to maintain the same information in two places -- the wiki url is subject to change and any files in the source distribution will have to be updated as the url changes. Since we have to periodically bring the source distribution in line with the wiki anyway, may as well copy the relvent text as well. It's hardly any more work to keep up to date and at least the person with the source will always have something, presumably more useful that an outdated url, at hand. The wiki text will change more rapidly than the url; my thought was that the current text will remain useful regardless and if the url is referenced there's always the option of getting something more current.

README +4 -1
index af76b0c..754e75a 100644
@@ -4688,7 +4688,10 @@ Over time, many people have reported problems when trying to use the
 consider minicom to be broken, and recommend not to use it. Under
 Unix, I recommend to use C-Kermit for general purpose use (and
 especially for kermit binary protocol download ("loadb" command), and
-use "cu" for S-Record download ("loads" command).
+use "cu" for S-Record download ("loads" command).  See 
+http://www.denx.de/wiki/view/DULG/SystemSetup#Section_4.3.
+for help with kermit.
+
 
 Nevertheless, if you absolutely want to use it try adding this
 configuration to your "File transfer protocols" section:
Signature · 1 line
1.7.2.5
#5 lore raw

PATCH v3 1/1 README: Add handy kermit primer

Quoted 5 lines · Karl O. Pinc

---
README | 5 ++++-

 1 files changed, 4 insertions(+), 1 deletions(-)

Applied to u-boot/master, thanks!

Signature · 8 lines
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/20121002/b8800d06/attachment.pgp>