This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

tftp and lwIP


Hello Oyvind, Jani, Jifl and also Gary and Andrew from eCosCentric,

I gathered all I could find regarding TFTP and LWIP for ecos below.
Could you please inform me about the current status of getting tftp running with lwip? Has any of you done some work on it?
My problem is that I need tftp, but I have not much RAM (1MB, but jffs2 alone eats half of it).
This are my options:
1- I could try getting tftp work with lwip
2- I could try reducing the RAM usage of freeBSD, e.g. by removing tcp from it (I don't need tcp)
3- On the lwip-users archive, there are also some mails about an *FTP server* for *lwIP*, but nothing 'official', and anyhow, then I still would have to port it to ecos.
I will start with that what runs now: option 2.
Any help about the options is of course appriciated ;-)


Kind regards,
Jürgen Lambrecht

--
Jürgen Lambrecht
Development Engineer
Televic Transport Systems
http://www.televic.com
Televic NV / SA (main office)  	
Leo Bekaertlaan 1
B-8870 Izegem
Tel: +32 (0)51 303045
Fax: +32 (0)51 310670

----------------------------------------------------------------------------------------------


Re: Help regarding:installing tftp-hpa on ecos, using lwip instead of the default tcp/ip stack???

   * /From/: Durgaprasad Chivukula <durgaprasad dot chivukula at gmail
     dot com>
   * /To/: jani at iv dot ro
   * /Cc/: ecos-discuss at sources dot redhat dot com
   * /Date/: Wed, 13 Jul 2005 15:29:34 +0200
   * /Subject/: Re: [ECOS] Help regarding:installing tftp-hpa on ecos,
     using lwip instead of the default tcp/ip stack???
   * /References/: <ccf077f705071204583140dc8f@mail.gmail.com
     <http://sourceware.org/ml/ecos-discuss/2005-07/msg00137.html>>
     <1121170114.5931.44.camel@hermes
     <http://sourceware.org/ml/ecos-discuss/2005-07/msg00138.html>>
     <ccf077f7050712051958635b8b@mail.gmail.com
     <http://sourceware.org/ml/ecos-discuss/2005-07/msg00139.html>>
   * /Reply-to/: Durgaprasad Chivukula <durgaprasad dot chivukula at
     gmail dot com>

------------------------------------------------------------------------

Hi ,

Please reply , if you guys have any idea about my problem .

1. Whether I can configure ecos and the tftp client & server packages
inside the ecos to use lwip (low weight ip ) instead of the default
tcp/ip stack ???

2.If its possible , please tell me how can I accomplish this .????

I would be thankful for any kind of suggestions

Regards
Durga





Re: lwIP questions

   * /From/: Jani Monoses <jani at iv dot ro>
   * /To/: ecos-discuss at ecos dot sourceware dot org
   * /Date/: Wed, 5 May 2004 11:15:36 +0300
   * /Subject/: Re: [ECOS] lwIP questions
   * /References/: <1083744152.22786.12.camel@famine
     <http://sourceware.org/ml/ecos-discuss/2004-05/msg00052.html>>

------------------------------------------------------------------------

When I last took lwIP for a spin, I ended up with a couple of questions:

- I see that lwIP can not replace the openbsd/freebsd_net packages, and
hence e.g. tftp is unavailable. Any chance of lwIP being made compatible
with the rest of the eCos TCP/IP stuff?

Sure, step 0 has been done. Patches welcome :)



Re: tftp lwIP and SLIP


   * /From/: Jani Monoses <jani at iv dot ro>
   * /To/: ecos-discuss at ecos dot sourceware dot org
   * /Date/: Wed, 14 Apr 2004 18:42:47 +0300
   * /Subject/: Re: [ECOS] tftp lwIP and SLIP
   * /References/: <1081950438.31910.7.camel@famine
     <http://sourceware.org/ml/ecos-discuss/2004-04/msg00193.html>>

------------------------------------------------------------------------

   * /From/: Øyvind Harboe <oyvind dot harboe at zylin dot com>
   * /To/: ecos-discuss at sources dot redhat dot com
   * /Date/: Wed, 14 Apr 2004 15:47:19 +0200
   * /Subject/: [ECOS] tftp lwIP and SLIP
   * /Organization/: Zylin AS

Is there a particular reason why tftp is part of the "net" package?

I think the reason is that the "NET package" is ecos is/was synonimous with 'one of the BSD derived stacks'.

tftp sntp httpd microwindows and other network code were written
to work with the bsd stacks. Making them work with lwip would mean
doing:

1) all the cdl work to at least allow them to be selectable together and
separating the idea of TCP/IP and BSD socket from the specific
implementation.(2 years ago the first such change was adding a config
option to mean interrupt support in eth drivers != CYGPKG_NET) so lwip
could work in interrupt mode


2) where lwip can not handle the features requested (there are many still missing) implement those.



step 0 would be including lwip in CVS so there's a codebase people can
base their patches on. Of course they can do it against savannah but
since it's not 'offcial' it tends to encourage quick private hacks
instead of clean solutions.

Jani



Re: Serial upload protocol

         o /From/: Jonathan Larmour <jifl at eCosCentric dot com>
   * /To/: "Doyle, Patrick" <WPD at dtccom dot com>
   * /Cc/: ecos-discuss at sources dot redhat dot com
   * /Date/: Tue, 02 Sep 2003 03:40:08 +0100
   * /Subject/: Re: [ECOS] Serial upload protocol
   * /References/: <F18ED44D2778844592DFB732956B6651B529CD@DTCNT40S4>

------------------------------------------------------------------------
Doyle, Patrick wrote:

Before I run off and reinvent the wheel, has anybody implemented any of the
protocols available to transfer data from a device running eCos back to a
host over a serial port? I have seen questions/posts about running ppp on
an eCos target, but that's overkill for what I want. Basically, I am
looking for the inverse of the "load" command in RedBoot, with x/ymodem
support.



You can save a buffer in memory on the target using GDB 5.3 if that's all you're interested in.


Otherwise TFTP server including IP stack is all there is, although you could try running it on top of LWIP rather than beefy BSD TCP/IP.

Jifl


-- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]