Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Porting network driver: 6.4.1->6.2.0: (9 Items)
   
Porting network driver: 6.4.1->6.2.0  
Hello Networking team,

I am a newbie in the area of porting drivers. Would really appreciate guidance from this list.

The latest QNX 6.4.1 version supports my network card (Intel 82574) using the driver devnp-e1000.so:
# pidin -P io-pkt-v4-hc mem
pid tid name prio STATE code data stack
126995 1 sbin/io-pkt-v4-hc 21o SIGWAITINFO 872K 1848K 8192(516K)*
126995 2 sbin/io-pkt-v4-hc 21o RECEIVE 872K 1848K 8192(132K)
io-pkt-v4-hc @ 8127000 4096
libc.so.3 @b0300000 452K 16K
devnp-speedo.so @b8200000 44K 8192

So my question is:
Is it possible to make my network card  work on QNX 6.2.0 using the above driver and the necessary library file (libc.so
.3) and the stack (io-pkt-v4-hc)?

If not, will I have to port the driver from 6.4.1 to 6.2.0? If yes, is there any guide/resource somebody can point at? I
 am new to QNX porting in general.

Any help will be greatly appreciated.
RE: Porting network driver: 6.4.1->6.2.0  
There should be a devn-speedo.so with 6.2.0.


-----Original Message-----
From: Kushal Koolwal [mailto:community-noreply@qnx.com] 
Sent: November 9, 2009 3:52 PM
To: drivers-networking
Subject: Porting network driver: 6.4.1->6.2.0

Hello Networking team,

I am a newbie in the area of porting drivers. Would really appreciate
guidance from this list.

The latest QNX 6.4.1 version supports my network card (Intel 82574)
using the driver devnp-e1000.so:
# pidin -P io-pkt-v4-hc mem
pid tid name prio STATE code data stack
126995 1 sbin/io-pkt-v4-hc 21o SIGWAITINFO 872K 1848K 8192(516K)*
126995 2 sbin/io-pkt-v4-hc 21o RECEIVE 872K 1848K 8192(132K)
io-pkt-v4-hc @ 8127000 4096
libc.so.3 @b0300000 452K 16K
devnp-speedo.so @b8200000 44K 8192

So my question is:
Is it possible to make my network card  work on QNX 6.2.0 using the
above driver and the necessary library file (libc.so.3) and the stack
(io-pkt-v4-hc)?

If not, will I have to port the driver from 6.4.1 to 6.2.0? If yes, is
there any guide/resource somebody can point at? I am new to QNX porting
in general.

Any help will be greatly appreciated.



_______________________________________________

Networking Drivers
http://community.qnx.com/sf/go/post41655
Re: RE: Porting network driver: 6.4.1->6.2.0  
Hugh,

Thank you for your reply.

> There should be a devn-speedo.so with 6.2.0.
Yes, that driver is there but my network card does not work with this driver by default. Do I have to pass any arguments
 (like vid or did) to the devn-speedo driver before launching it (in the buildfile)? Also reading the 6.2.0 release 
notes it says the devn-speedo.so driver only supports Intel 82557, 82558, 82559.

The network card that I am using (82574) is fairly recent.

I am a bit confused.
Re: RE: Porting network driver: 6.4.1->6.2.0  
I am so sorry. By mistake I pasted the output which showed using devnp-speedo.so. Here is the correct output from 6.4.1:

# pidin -P io-pkt-v4-hc mem
pid tid name prio STATE code data stack
126995 1 sbin/io-pkt-v4-hc 21o SIGWAITINFO 872K 1848K 8192(516K)*
126995 2 sbin/io-pkt-v4-hc 21o RECEIVE 872K 1848K 8192(132K)
io-pkt-v4-hc @ 8127000 4096
libc.so.3 @b0300000 452K 16K
devnp-e1000.so @b8200000 44K 8192

So basically my network card is using devnp-e1000.so and I would like to use it under 6.2.0.

Once again I apologize for the mistake.
RE: RE: Porting network driver: 6.4.1->6.2.0  
Unfortunately we don't have an e1000 driver for 6.2.0. You can contact
your sales rep and request custom engineering to back-port this driver
to 6.2.0 if it is a requirement for you.


-----Original Message-----
From: Kushal Koolwal [mailto:community-noreply@qnx.com] 
Sent: November 9, 2009 4:54 PM
To: drivers-networking
Subject: Re: RE: Porting network driver: 6.4.1->6.2.0

I am so sorry. By mistake I pasted the output which showed using
devnp-speedo.so. Here is the correct output from 6.4.1:
# pidin -P io-pkt-v4-hc mem
pid tid name prio STATE code data stack
126995 1 sbin/io-pkt-v4-hc 21o SIGWAITINFO 872K 1848K 8192(516K)*
126995 2 sbin/io-pkt-v4-hc 21o RECEIVE 872K 1848K 8192(132K)
io-pkt-v4-hc @ 8127000 4096
libc.so.3 @b0300000 452K 16K
devnp-e1000.so @b8200000 44K 8192

So basically my network card is using devnp-e1000.so and I would like to
use it under 6.2.0.

Once again I apologize for the mistake.



_______________________________________________

Networking Drivers
http://community.qnx.com/sf/go/post41669
Re: RE: RE: Porting network driver: 6.4.1->6.2.0  
Hi Hugh,

Fair enough. Can you tell me why we can't do this (porting) on our own in this particular case? Is it because of lack of
 access to 6.2.x source code? I will need to briefly explain it to my chain of higher commands.

Thanks

RE: RE: RE: Porting network driver: 6.4.1->6.2.0  
The source for the e1000 driver is on the Foundry, so if you want to
back-port yourself, you can go ahead.


-----Original Message-----
From: Kushal Koolwal [mailto:community-noreply@qnx.com] 
Sent: November 11, 2009 1:12 PM
To: drivers-networking
Subject: Re: RE: RE: Porting network driver: 6.4.1->6.2.0

Hi Hugh,

Fair enough. Can you tell me why we can't do this (porting) on our own
in this particular case? Is it because of lack of access to 6.2.x source
code? I will need to briefly explain it to my chain of higher commands.

Thanks





_______________________________________________

Networking Drivers
http://community.qnx.com/sf/go/post41780
Re: RE: RE: RE: Porting network driver: 6.4.1->6.2.0  
Is that all (e1000 sources) iis required to backport to 6.2.0?

Pardon me for my ignorance - If I am backporting to 6.2.0, I am assuming I will need to have access to 6.2.0 sources 
also, right? Right now I just have a 6.2.0 installation disk with me. Not sure if this is sufficient or not to start 
backporting.

Also I don't think there is a networking ddk available with 6.2.0.

Any clarification would be appreciated.
RE: RE: RE: RE: Porting network driver: 6.4.1->6.2.0  
There is no network DDK for 6.2.0 and there are no sources available on
the web. You will have to make a formal request for an example 6.2.0
network driver.


-----Original Message-----
From: Kushal Koolwal [mailto:community-noreply@qnx.com] 
Sent: November 12, 2009 6:19 PM
To: drivers-networking
Subject: Re: RE: RE: RE: Porting network driver: 6.4.1->6.2.0

Is that all (e1000 sources) iis required to backport to 6.2.0?

Pardon me for my ignorance - If I am backporting to 6.2.0, I am assuming
I will need to have access to 6.2.0 sources also, right? Right now I
just have a 6.2.0 installation disk with me. Not sure if this is
sufficient or not to start backporting.

Also I don't think there is a networking ddk available with 6.2.0.

Any clarification would be appreciated.



_______________________________________________

Networking Drivers
http://community.qnx.com/sf/go/post41880