[U-Boot-Users] [PATCH] 1/5: cmd_boot

Jerry Van Baren gerald.vanbaren at smiths-aerospace.com
Mon Mar 31 15:18:20 CEST 2003


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 
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 <--> LF
        Delays are in milliseconds.

gvb


At 01:32 PM 3/31/2003 -0500, elston at radstone.co.uk wrote:
>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.
>
> > -----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_boot
> >
> >
> > In message
> > <A1DD009E87CDD2119E940008C7334DA402339AFF at 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 Gwyn
> >
> > ______________________________________________________________
> > __________
> > 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
>________________________________________________________________________
>
>
>-------------------------------------------------------
>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.
***********************************************************************





More information about the U-Boot mailing list