public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] ecos on ixdp425 to simulate a GSM network
@ 2005-07-10  6:10 Rohit Agarwal
  2005-07-10  8:58 ` Andrew Lunn
  0 siblings, 1 reply; 5+ messages in thread
From: Rohit Agarwal @ 2005-07-10  6:10 UTC (permalink / raw)
  To: ecos-discuss

Hello,

I'm new to eCos and ixdp425. 

As a part of my college project, I am supposed to simulate a GSM
mobile network and add extra feature of Wi-Fi also. For that, I have
decided to use IXDP425 board and port eCos on it.

As till now, I have been successful in making test programs run on the
IXDP425 board compiled using a gcc compiler. Does that mean that I
have ported eCos on the hardware? I know its a very silly question but
since this is the first time I am working with hardware, I dont know
much.

Also, I am supposed to connect 2 GSM modems through the serial ports
and a Wi-Fi lan card that will fit in the PCI slot. The Wi-Fi lan card
should be such that its drivers for linux should be open-source and
freely available on the net. Can anyone suggest me a Wi-Fi lan card
which fulfils my requirements?

Any help would be appreciated.

Thanks,
ROHIT

-- 
if u dont know it, it doesnt exist

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] ecos on ixdp425 to simulate a GSM network
  2005-07-10  6:10 [ECOS] ecos on ixdp425 to simulate a GSM network Rohit Agarwal
@ 2005-07-10  8:58 ` Andrew Lunn
  2005-07-12  5:00   ` [ECOS] Re: " Rohit Agarwal
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Lunn @ 2005-07-10  8:58 UTC (permalink / raw)
  To: Rohit Agarwal; +Cc: ecos-discuss

On Sun, Jul 10, 2005 at 11:40:45AM +0530, Rohit Agarwal wrote:
> Hello,
> 
> I'm new to eCos and ixdp425. 
> 
> As a part of my college project, I am supposed to simulate a GSM
> mobile network and add extra feature of Wi-Fi also. For that, I have
> decided to use IXDP425 board and port eCos on it.
> 
> As till now, I have been successful in making test programs run on the
> IXDP425 board compiled using a gcc compiler. Does that mean that I
> have ported eCos on the hardware? 

I presume by test programs you mean the normal eCos test
programs. Have you run them all? If they all pass then yes, you have
made a port. Congratulations.

> Also, I am supposed to connect 2 GSM modems through the serial ports
> and a Wi-Fi lan card that will fit in the PCI slot. The Wi-Fi lan card
> should be such that its drivers for linux should be open-source and
> freely available on the net. Can anyone suggest me a Wi-Fi lan card
> which fulfils my requirements?

Using the Linux driver is probably the wrong solution. The TCP/IP
stack in eCos is a port of the FreeBSD stack. You will find it easier
to use the FreeBSD wlan drivers than a Linux driver. You should also
be aware that its not just as simple as porting a driver. 802.11 has
its own protocol stack which goes between TCP/IP and the hardware
driver. You will need to port this stack as well. It will be
complicated by the fact that eCos's port of the FreeBSD stack is quite
old. You might find you need to update the TCP/IP port before you can
put in the WLAN stack.

        Andrew

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ECOS] Re: Re: ecos on ixdp425 to simulate a GSM network
  2005-07-10  8:58 ` Andrew Lunn
@ 2005-07-12  5:00   ` Rohit Agarwal
  2005-07-12  6:57     ` Andrew Lunn
  0 siblings, 1 reply; 5+ messages in thread
From: Rohit Agarwal @ 2005-07-12  5:00 UTC (permalink / raw)
  To: andrew, ecos-discuss

Thanks a lot for your reply.

1. Yes, i meant normal eCos test programs. I have been able to run all of them.

2. Thanks for enlightening me on my wrong choice of linux drivers.
However, I have no previous experience with FreeBSD.
a. Can you explain me how to port the hardware driver as well as the
protocol stack of 802.11.
b. Can you also please tell me how to update the TCP/IP port.

Any references to any websites which might be of my help wuold be
greatly appreciated.

ROHIT

On 7/10/05, Andrew Lunn <andrew@lunn.ch> wrote:
> On Sun, Jul 10, 2005 at 11:40:45AM +0530, Rohit Agarwal wrote:
> > Hello,
> > 
> > I'm new to eCos and ixdp425. 
> > 
> > As a part of my college project, I am supposed to simulate a GSM
> > mobile network and add extra feature of Wi-Fi also. For that, I have
> > decided to use IXDP425 board and port eCos on it.
> > 
> > As till now, I have been successful in making test programs run on the
> > IXDP425 board compiled using a gcc compiler. Does that mean that I
> > have ported eCos on the hardware? 
> 
> I presume by test programs you mean the normal eCos test
> programs. Have you run them all? If they all pass then yes, you have
> made a port. Congratulations.
> 
> > Also, I am supposed to connect 2 GSM modems through the serial ports
> > and a Wi-Fi lan card that will fit in the PCI slot. The Wi-Fi lan card
> > should be such that its drivers for linux should be open-source and
> > freely available on the net. Can anyone suggest me a Wi-Fi lan card
> > which fulfils my requirements?
> 
> Using the Linux driver is probably the wrong solution. The TCP/IP
> stack in eCos is a port of the FreeBSD stack. You will find it easier
> to use the FreeBSD wlan drivers than a Linux driver. You should also
> be aware that its not just as simple as porting a driver. 802.11 has
> its own protocol stack which goes between TCP/IP and the hardware
> driver. You will need to port this stack as well. It will be
> complicated by the fact that eCos's port of the FreeBSD stack is quite
> old. You might find you need to update the TCP/IP port before you can
> put in the WLAN stack.
> 
>         Andrew
> 


-- 
if u dont know it, it doesnt exist

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ECOS] Re: Re: ecos on ixdp425 to simulate a GSM network
  2005-07-12  5:00   ` [ECOS] Re: " Rohit Agarwal
@ 2005-07-12  6:57     ` Andrew Lunn
  2005-07-12 13:57       ` L D
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Lunn @ 2005-07-12  6:57 UTC (permalink / raw)
  To: Rohit Agarwal; +Cc: ecos-discuss

On Tue, Jul 12, 2005 at 10:29:14AM +0530, Rohit Agarwal wrote:
> Thanks a lot for your reply.
> 
> 1. Yes, i meant normal eCos test programs. I have been able to run all of them.
> 
> 2. Thanks for enlightening me on my wrong choice of linux drivers.
> However, I have no previous experience with FreeBSD.
> a. Can you explain me how to port the hardware driver as well as the
> protocol stack of 802.11.
> b. Can you also please tell me how to update the TCP/IP port.

Sorry, no. Never done it. It will not be an easy task. Good luck.

        Andrew

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] Re: Re: ecos on ixdp425 to simulate a GSM network
  2005-07-12  6:57     ` Andrew Lunn
@ 2005-07-12 13:57       ` L D
  0 siblings, 0 replies; 5+ messages in thread
From: L D @ 2005-07-12 13:57 UTC (permalink / raw)
  To: ecos-discuss

> On Tue, Jul 12, 2005 at 10:29:14AM +0530, Rohit
> Agarwal wrote:
> > Thanks a lot for your reply.
> > 
> > 1. Yes, i meant normal eCos test programs. I have
> been able to run all of them.
> > 
> > 2. Thanks for enlightening me on my wrong choice
> of linux drivers.
> > However, I have no previous experience with
> FreeBSD.
> > a. Can you explain me how to port the hardware
> driver as well as the
> > protocol stack of 802.11.

This is just a suggestion. I have NOT done it yet. 

1) Find an 802.11 chipset that accepts 802.3 packets
and handles the 802.11 specific stuff for you.
2) Port one of the ecos ethernet drivers to this chip 

The original prism chipsets did this (if my
interpretation of the documents is right). On page
4-29 of the 'prism driver programmers manual' RM025
(use google) it says ...

"In this way, the Host Software can easily be adapted
to the requirements of higher software layers.
When these layers are “802.11 aware”, the Host
Software uses the 802.11 format part of the Header
Info. Otherwise, when those layers assume the 802.3
frame format, the PRISM MAC handles the differences
between the 802.3 and the 802.11 formats without
further involvement of the Host Software."








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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-07-12 13:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-10  6:10 [ECOS] ecos on ixdp425 to simulate a GSM network Rohit Agarwal
2005-07-10  8:58 ` Andrew Lunn
2005-07-12  5:00   ` [ECOS] Re: " Rohit Agarwal
2005-07-12  6:57     ` Andrew Lunn
2005-07-12 13:57       ` L D

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).