1/5: cmd_boot
PATCH 1/1 1/5: cmd_boot
In reply to a message not in the archiveThere is another reasonable compromise (that Wolfgang will endorse, I'm sure :-). I looked at minicom, and it uses "ascii-xfr -dsv" to send an ASCII file. The "-d" says to send ^D as the end-of-file marker. The only other alternative is ^Z, which is no good either.
I suggest the <proper> approach to this is to get the source to ascii-xfr and add a parameter to suppress sending _anything_ as a "EOF" marker. Then there should not be any issue.
Hmmm, I just downloaded minicom 2.0 and looked at ascii-xfr.c -- it uses the flag "-e" to tell minicom to send the EOF (or not) and the "-d" flag to select ^D vs. ^Z, so it looks like all you need to do is upgrade your minicom and change your ASCII download configuration to be "ascii-xfr -esv".
Usage: ascii-xfr -s|-r [-dvn] [-l linedelay] [-c character delay] filename
-s: send
-r: receive
-e: send the End Of File character (default is not to)
-d: set End Of File character to Control-D (instead of Control-Z)
-v: verbose (statistics on stderr output)
-n: do not translate CRLF <--> LFDelays are in milliseconds.
gvb
Quoted 51 lines · elston at radstone.co.uk
I don't use minicom myself, all our targets have ethernet as a minimum. But wouldn't including the patch with an '#ifdef MINICOM' be a reasonable compromise?
Chris.
Quoted 27 lines
-----Original Message-----
From: Wolfgang Denk [mailto:wd at denx.de]
Sent: 31 March 2003 13:35
To: Chris Elston
Cc: U-Boot Mailing List (E-mail)
Subject: Re: [U-Boot-Users] [PATCH] 1/5:cmd_bootIn message
Quoted 1 line · <A1DD009E87CDD2119E940008C7334DA402339AFF@exchange01> you wrote:
Is there any reason we can't have an '#ifdef MINICOM'?
Ar you just asking, or do you really experience any minicom related problems your own? [Why do you use it, then?]
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de It is impractical for the standard to attempt to constrain the behavior of code that does not obey the constraints of the standard.
- Doug GwynQuoted 9 lines
______________________________________________________________
__________
This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
______________________________________________________________
__________________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
Quoted 9 lines
-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users
**********************************************************************
This e-mail and any files transmitted with it are confidential and may be legally privileged or otherwise exempt from disclosure under applicable law. This e-mail and its files are intended solely for the individual or entity to whom they are addressed and their content is the property of Smiths Aerospace. If you are not the intended recipient, please do not read, copy, use or disclose this communication. If you have received this e-mail in error please notify the e-mail administrator at postmaster at si.com and then delete this e-mail, its files and any copies.
This footnote also confirms that this e-mail message has been scanned for the presence of known computer viruses.
***********************************************************************
PATCH 1/1 1/5: cmd_boot
Quoted 5 lines · Jerry Van Baren
Hmmm, I just downloaded minicom 2.0 and looked at
ascii-xfr.c-- it uses the flag "-e" to tell minicom to send the EOF (or not) and the "-d" flag to select ^D vs. ^Z, so it looks like all you need to do is upgrade your minicom and change your ASCII download configuration to be "ascii-xfr -esv".
The problem happened with download via kermit, not with ascii-xfr.
Robert
Signature · 5 lines
Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
Pengutronix - Linux Solutions for Science and Industry
Braunschweiger Str. 79, 31134 Hildesheim, Germany
Handelsregister: Amtsgericht Hildesheim, HRA 2686
Phone: +49-5121-28619-0 | Fax: +49-5121-28619-4PATCH 1/1 1/5: cmd_boot
In reply to Jerry Van BarenQuoted 2 lines · In message <[email protected]> you wrote:
There is another reasonable compromise (that Wolfgang will endorse, I'm sure :-). I looked at minicom, and it uses "ascii-xfr -dsv" to send an
Thanks, Jerry.
Quoted 4 lines
Hmmm, I just downloaded minicom 2.0 and looked at
ascii-xfr.c-- it uses the flag "-e" to tell minicom to send the EOF (or not) and the "-d" flag to select ^D vs. ^Z, so it looks like all you need to do is upgrade your minicom and change your ASCII download configuration to be "ascii-xfr -esv".
But Robert was talking about kermit _binary_ download. Will this still use ascii-xfr.c at all?
Best regards,
Wolfgang Denk
Signature · 3 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de Quantum Mechanics is God's version of "Trust me."
PATCH 1/1 1/5: cmd_boot
In reply to Robert SchwebelQuoted 1 line
The problem happened with download via kermit, not with ascii-xfr.
In this case change the command string for kernel downloads in Minicom so that it uses ckermit for the download --- you don't have to like the ckermit "UI" to use it for batch file transfer.