Skip to contentSkip to conversation

compactPCI LAN Chip Support

Xenomai-help Roland Tollenaar 3 participants 3 messages Oct 10, 2007 – Oct 11, 2007 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi Jan,

I am looking for a hardware platform to host hte final result of our labours.

I have a machine with the following chip:

Intel 82541PI

and have found the below reply of yours to an email of someone else asking the exact same question. However this was quite long ago and the e1000 seems to have evolved. So my question is: is above chip supported?

Is there a list on the web that can help me convert device IDs to chip types?

Kind regards,

Roland Tollenaar

Quoted 3 lines · hinus Viljoen

Good day

We intend to use RTnet in a compactPCI-based system. We have narrowed

the

Quoted 8 lines

possible Single Board Computers (SBC) down to the following 5 options:

(LAN interface chip, SBC Manufacturer, SBC Part number) Intel 82546EB, Kontron, CP6000
Intel 82546GB, Advantech, MIC-3369C-M0
Intel 82573E, Advantech, MIC-3390
Intel 82541PI, Concurrent technologies, PP-332/021

Looks like the e1000 driver is in charge here. I put Roman in the CC as he happened to ask for the same driver a few days ago.

Quoted 1 line

All the cards support Linux, which (I would assume) implies that they

have

Quoted 4 lines

Linux LAN drivers.

I have the following questions w.r.t. LAN drivers for RTnet:
1. Will any of the above work with RTnet "out of the box"? From the

RTnet

Quoted 1 line

documentation I have read it does not seem that there are RTnet

drivers for

Quoted 2 lines

any of the above LAN chips?

Nope.

Quoted 1 line

2. Have anybody had success running RTnet with one of the above LAN

chips or

Quoted 3 lines

SBCs?

3. Are there any of the above LAN chips that have known problems

under RTnet?

Quoted 2 lines

4. How difficult will it be to adapt the supplied Linux LANop drivers

for

Quoted 2 lines

RTnet for someone with limited Linux driver coding experience? (I see README.drvporting gives some guidelines, I'm just a bit worried about

the

Quoted 3 lines

sentence "Some points may not apply to every driver, some may have to be added for others.")

Surely those remarks express the unknown variables of an RTnet port. The most critical part is identifying and potentially converting the synchronisation scheme of the driver, both internally and with the hardware. The rest is, indeed, some kind of intelligent search&replace as described in the porting doc.

It all melts down that you have to gain full control over the time your driver spends a) in its transmission routine and b) in the interrupt handler under any feasible RTnet load or other driver activity (startup/shutdown e.g.). The e100 copes with unbounded hardware delays by reducing the maximum waiting time e.g. This happens under the assumption that related error conditions do not occur on a (TDMA-)managed network, and the last years of practical use showed that this is valid.

Unfortunately, such kind of conversion could not yet be applied to the 3c59x driver which has a more complex logic, and its timing is widely unknown to us. But that's basically the only exception we faced so far - further driver conversions depend on someone to work on it and to have the hardware for intensively testing it.

So, the first step of a potential port must be analysing those two critical routines of the e1000 as well as all invoked subroutines and to understand their locking dependencies. If one of you (or both cooperatively) is willing to start working on this, I can only invite to discuss your findings here (or better on rtnet-developers). In this case I could jump in and comment on it as well as far as time permits. The analysis should not take too much time, and afterwards you can decide if porting is feasible and how much effort it will likely require.

Quoted 8 lines

Thanks
Thinus Viljoen

Electronic Engineer
Aerospace Systems, a division of Denel
http://www.kentron.co.za

(P.S. Sorry about the footer, which I am sure my company will add. I

don't

Quoted 2 lines

have any control over it)

One is getting used to it. ;)

Jan

Quoted 3 lines · Thinus Viljoen

Good day

We intend to use RTnet in a compactPCI-based system. We have narrowed

the

Quoted 8 lines

possible Single Board Computers (SBC) down to the following 5 options:

(LAN interface chip, SBC Manufacturer, SBC Part number) Intel 82546EB, Kontron, CP6000
Intel 82546GB, Advantech, MIC-3369C-M0
Intel 82573E, Advantech, MIC-3390
Intel 82541PI, Concurrent technologies, PP-332/021

Looks like the e1000 driver is in charge here. I put Roman in the CC as he happened to ask for the same driver a few days ago.

Quoted 1 line

All the cards support Linux, which (I would assume) implies that they

have

Quoted 4 lines

Linux LAN drivers.

I have the following questions w.r.t. LAN drivers for RTnet:
1. Will any of the above work with RTnet "out of the box"? From the

RTnet

Quoted 1 line

documentation I have read it does not seem that there are RTnet

drivers for

Quoted 2 lines

any of the above LAN chips?

Nope.

Quoted 1 line

2. Have anybody had success running RTnet with one of the above LAN

chips or

Quoted 3 lines

SBCs?

3. Are there any of the above LAN chips that have known problems

under RTnet?

Quoted 2 lines

4. How difficult will it be to adapt the supplied Linux LANop drivers

for

Quoted 2 lines

RTnet for someone with limited Linux driver coding experience? (I see README.drvporting gives some guidelines, I'm just a bit worried about

the

Quoted 3 lines

sentence "Some points may not apply to every driver, some may have to be added for others.")

Surely those remarks express the unknown variables of an RTnet port. The most critical part is identifying and potentially converting the synchronisation scheme of the driver, both internally and with the hardware. The rest is, indeed, some kind of intelligent search&replace as described in the porting doc.

It all melts down that you have to gain full control over the time your driver spends a) in its transmission routine and b) in the interrupt handler under any feasible RTnet load or other driver activity (startup/shutdown e.g.). The e100 copes with unbounded hardware delays by reducing the maximum waiting time e.g. This happens under the assumption that related error conditions do not occur on a (TDMA-)managed network, and the last years of practical use showed that this is valid.

Unfortunately, such kind of conversion could not yet be applied to the 3c59x driver which has a more complex logic, and its timing is widely unknown to us. But that's basically the only exception we faced so far - further driver conversions depend on someone to work on it and to have the hardware for intensively testing it.

So, the first step of a potential port must be analysing those two critical routines of the e1000 as well as all invoked subroutines and to understand their locking dependencies. If one of you (or both cooperatively) is willing to start working on this, I can only invite to discuss your findings here (or better on rtnet-developers). In this case I could jump in and comment on it as well as far as time permits. The analysis should not take too much time, and afterwards you can decide if porting is feasible and how much effort it will likely require.

Quoted 8 lines

Thanks
Thinus Viljoen

Electronic Engineer
Aerospace Systems, a division of Denel
http://www.kentron.co.za

(P.S. Sorry about the footer, which I am sure my company will add. I

don't

Quoted 2 lines

have any control over it)

One is getting used to it. ;)

Jan

#2 lore raw
Quoted 5 lines · Roland Tollenaar

Hi Jan,

I am looking for a hardware platform to host hte final result of our labours.

Quoted 7 lines

I have a machine with the following chip:

Intel 82541PI

and have found the below reply of yours to an email of someone else asking the exact same question. However this was quite long ago and the e1000 seems to have evolved. So my question is: is above chip supported?

Yes, it is. I'm using rt_e1000 and it works fine.

Quoted 3 lines

Is there a list on the web that can help me convert device IDs to chip types?

Google is your friend. I get a lot of results for that.

Quoted 197 lines

Kind regards,

Roland Tollenaar

Quoted 3 lines · hinus Viljoen

Good day

We intend to use RTnet in a compactPCI-based system. We have narrowed

the

Quoted 8 lines

possible Single Board Computers (SBC) down to the following 5 options:

(LAN interface chip, SBC Manufacturer, SBC Part number) Intel 82546EB, Kontron, CP6000
Intel 82546GB, Advantech, MIC-3369C-M0
Intel 82573E, Advantech, MIC-3390
Intel 82541PI, Concurrent technologies, PP-332/021

Looks like the e1000 driver is in charge here. I put Roman in the CC as he happened to ask for the same driver a few days ago.

Quoted 1 line

All the cards support Linux, which (I would assume) implies that they

have

Quoted 4 lines

Linux LAN drivers.

I have the following questions w.r.t. LAN drivers for RTnet:
1. Will any of the above work with RTnet "out of the box"? From the

RTnet

Quoted 1 line

documentation I have read it does not seem that there are RTnet

drivers for

Quoted 2 lines

any of the above LAN chips?

Nope.

Quoted 1 line

2. Have anybody had success running RTnet with one of the above LAN

chips or

Quoted 3 lines

SBCs?

3. Are there any of the above LAN chips that have known problems

under RTnet?

Quoted 2 lines

4. How difficult will it be to adapt the supplied Linux LANop drivers

for

Quoted 2 lines

RTnet for someone with limited Linux driver coding experience? (I see README.drvporting gives some guidelines, I'm just a bit worried about

the

Quoted 3 lines

sentence "Some points may not apply to every driver, some may have to be added for others.")

Surely those remarks express the unknown variables of an RTnet port. The most critical part is identifying and potentially converting the synchronisation scheme of the driver, both internally and with the hardware. The rest is, indeed, some kind of intelligent search&replace as described in the porting doc.

It all melts down that you have to gain full control over the time your driver spends a) in its transmission routine and b) in the interrupt handler under any feasible RTnet load or other driver activity (startup/shutdown e.g.). The e100 copes with unbounded hardware delays by reducing the maximum waiting time e.g. This happens under the assumption that related error conditions do not occur on a (TDMA-)managed network, and the last years of practical use showed that this is valid.

Unfortunately, such kind of conversion could not yet be applied to the 3c59x driver which has a more complex logic, and its timing is widely unknown to us. But that's basically the only exception we faced so far - further driver conversions depend on someone to work on it and to have the hardware for intensively testing it.

So, the first step of a potential port must be analysing those two critical routines of the e1000 as well as all invoked subroutines and to understand their locking dependencies. If one of you (or both cooperatively) is willing to start working on this, I can only invite to discuss your findings here (or better on rtnet-developers). In this case I could jump in and comment on it as well as far as time permits. The analysis should not take too much time, and afterwards you can decide if porting is feasible and how much effort it will likely require.

Quoted 8 lines

Thanks
Thinus Viljoen

Electronic Engineer
Aerospace Systems, a division of Denel
http://www.kentron.co.za

(P.S. Sorry about the footer, which I am sure my company will add. I

don't

Quoted 2 lines

have any control over it)

One is getting used to it. ;)

Jan

Quoted 3 lines · Thinus Viljoen

Good day

We intend to use RTnet in a compactPCI-based system. We have narrowed

the

Quoted 8 lines

possible Single Board Computers (SBC) down to the following 5 options:

(LAN interface chip, SBC Manufacturer, SBC Part number) Intel 82546EB, Kontron, CP6000
Intel 82546GB, Advantech, MIC-3369C-M0
Intel 82573E, Advantech, MIC-3390
Intel 82541PI, Concurrent technologies, PP-332/021

Looks like the e1000 driver is in charge here. I put Roman in the CC as he happened to ask for the same driver a few days ago.

Quoted 1 line

All the cards support Linux, which (I would assume) implies that they

have

Quoted 4 lines

Linux LAN drivers.

I have the following questions w.r.t. LAN drivers for RTnet:
1. Will any of the above work with RTnet "out of the box"? From the

RTnet

Quoted 1 line

documentation I have read it does not seem that there are RTnet

drivers for

Quoted 2 lines

any of the above LAN chips?

Nope.

Quoted 1 line

2. Have anybody had success running RTnet with one of the above LAN

chips or

Quoted 3 lines

SBCs?

3. Are there any of the above LAN chips that have known problems

under RTnet?

Quoted 2 lines

4. How difficult will it be to adapt the supplied Linux LANop drivers

for

Quoted 2 lines

RTnet for someone with limited Linux driver coding experience? (I see README.drvporting gives some guidelines, I'm just a bit worried about

the

Quoted 3 lines

sentence "Some points may not apply to every driver, some may have to be added for others.")

Surely those remarks express the unknown variables of an RTnet port. The most critical part is identifying and potentially converting the synchronisation scheme of the driver, both internally and with the hardware. The rest is, indeed, some kind of intelligent search&replace as described in the porting doc.

It all melts down that you have to gain full control over the time your driver spends a) in its transmission routine and b) in the interrupt handler under any feasible RTnet load or other driver activity (startup/shutdown e.g.). The e100 copes with unbounded hardware delays by reducing the maximum waiting time e.g. This happens under the assumption that related error conditions do not occur on a (TDMA-)managed network, and the last years of practical use showed that this is valid.

Unfortunately, such kind of conversion could not yet be applied to the 3c59x driver which has a more complex logic, and its timing is widely unknown to us. But that's basically the only exception we faced so far - further driver conversions depend on someone to work on it and to have the hardware for intensively testing it.

So, the first step of a potential port must be analysing those two critical routines of the e1000 as well as all invoked subroutines and to understand their locking dependencies. If one of you (or both cooperatively) is willing to start working on this, I can only invite to discuss your findings here (or better on rtnet-developers). In this case I could jump in and comment on it as well as far as time permits. The analysis should not take too much time, and afterwards you can decide if porting is feasible and how much effort it will likely require.

Quoted 8 lines

Thanks
Thinus Viljoen

Electronic Engineer
Aerospace Systems, a division of Denel
http://www.kentron.co.za

(P.S. Sorry about the footer, which I am sure my company will add. I

don't

Quoted 2 lines

have any control over it)

One is getting used to it. ;)

Jan

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Signature · 4 lines
von Karl Reichert

Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger
#3 lore raw
In reply to Roland Tollenaar

Hi Roland,

Quoted 11 lines

I have a machine with the following chip:

Intel 82541PI

and have found the below reply of yours to an email of someone else asking the exact same question. However this was quite long ago and the e1000 seems to have evolved. So my question is: is above chip supported?

Is there a list on the web that can help me convert device IDs to chip types?

There is a file pci.ids (on Debian based system in /usr/share/misc) that contains a list with PCI IDs and corresponding textual representation.
Or try the "online" version of this on
http://pciids.sourceforge.net/
For the Intel 82541PI the PCI Vendor:Device ID pair is 8086:107c which is supported by rtnet.

Regards

Mathias

Signature · 9 lines
Mathias Koehrer
[email protected]


Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren
ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT FÜR ALLE NEUEINSTEIGER
Jetzt bei Arcor: günstig und schnell mit DSL - das All-Inclusive-Paket
für clevere Doppel-Sparer, nur  34,95 €  inkl. DSL- und ISDN-Grundgebühr!
http://www.arcor.de/rd/emf-dsl-2