Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Intel 82537L/devnp-i82544 driver questions: (6 Items)
   
Intel 82537L/devnp-i82544 driver questions  
Hi,

I am posting these questions on behalf of Intune who are about to do some fairly in depth work with the Intel 82573L.


There seems to be an external 4MB SPI flash to be used with the 82537L device. The flash will be used to store BIOS and 
LAN info, etc. for the device and Intel seems to have an image to be programmed to the flash. 

My question is: will the QNX driver support programming the SPI flash?  According to your experience, how the SPI flash 
would normally be programmed to have the Intel image for the 82537L device?

In an 82537 doc, it mentioned that Intel has a DOS utility “EEUPDATE” to program the SPI flash. Does it mean we have 
to plug our card to the PCIe slot on a PC and then to run the DOS utility to program the SPI flash?

Other questions:
Will your QNX driver for 82537L work with any standard PCIe driver or it has to work with QNX PCIe driver from a QNX BSP
?

Do we have to have the SPI flash programmed properly before we can have the 82537L PCIe working properly, or we have to 
have PCIe working properly before we can programming the SPI flash, or something else, which depends on which?

Thanks very much for your help,

Garry
RE: Intel 82537L/devnp-i82544 driver questions  
See me answers in line.

Hugh.

-----Original Message-----
From: Garry Bleasdale [mailto:community-noreply@qnx.com] 
Sent: Thursday, December 03, 2009 5:20 AM
To: drivers-networking
Subject: Intel 82537L/devnp-i82544 driver questions


Hi,

I am posting these questions on behalf of Intune who are about to do
some fairly in depth work with the Intel 82573L.


There seems to be an external 4MB SPI flash to be used with the 82537L
device. The flash will be used to store BIOS and LAN info, etc. for the
device and Intel seems to have an image to be programmed to the flash. 

My question is: will the QNX driver support programming the SPI flash?
According to your experience, how the SPI flash would normally be
programmed to have the Intel image for the 82537L device?

HB. The driver has SPI read and write routines, but the driver currently
only uses the read routines.

In an 82537 doc, it mentioned that Intel has a DOS utility "EEUPDATE" to
program the SPI flash. Does it mean we have to plug our card to the PCIe
slot on a PC and then to run the DOS utility to program the SPI flash?

HB. At the moment, yes.

Other questions:
Will your QNX driver for 82537L work with any standard PCIe driver or it
has to work with QNX PCIe driver from a QNX BSP?

HB. No, it has to work with the QNX PCI server.

Do we have to have the SPI flash programmed properly before we can have
the 82537L PCIe working properly, or we have to have PCIe working
properly before we can programming the SPI flash, or something else,
which depends on which?

HB. As far as I can remember, the flash is only used for reading the MAC
address, but this can be overridden on the command line.

Thanks very much for your help,

Garry




_______________________________________________

Networking Drivers
http://community.qnx.com/sf/go/post43076
Re: RE: Intel 82537L/devnp-i82544 driver questions  
Hi Hugh,

I'm worried that the qnx driver for 82573L depends on QNX PCI server. At the moment we didn't use the QNX PCI server for
 various reasons. Basically we developed a simple generic PCI driver to enumerate all devices in our system and then 
reconfigure the BARs and memory filter windows for all devices statically.  Memory map is statically defined for all 
devices at design time and all applications are aware of them. Everything in our system is static, all devices and 
system memory to be allocated to devices are known at design time.

My understand about the PCI server and the 82573L driver is as follows:
The PCI server will discover the 82573L device and configure the PCIe related registers, especially assign system memory
 addresses for the BARs of the 82573L device so that 82573L driver can access 82573L internal memory/registers or 
external SPI flash through the BARs, is it right?
Our PCIe driver could do all the above. If the above is true, how much work would be needed to adapt the QNX 82573L 
driver to work with our PCI driver? If the QNX 82573L driver dynamically scan the system to find the 82573L device and 
retrieve the BARs addresses after our PCI driver being run, it should still work in our system. If the QNX 82573L driver
 tries to use database created by the QNX PCI server, then it wouldn't work in our case. Just some guess as I don't have
 82573 driver source code.

We really appreciate your advice for us on how to proceed with this issue. 

Song
RE: RE: Intel 82537L/devnp-i82544 driver questions  
Hi Song,

The QNX PCI server should still work with your setup. If the PCI server
finds that base address registers are already programmed with valid
addresses, it leaves them alone. This also applies to IRQs.

The network driver needs to connect to the PCI server to get the base
address register and IRQ information. It will be quite a job to change
the driver to not work with the PCI server.

Hugh.

-----Original Message-----
From: Yingsheng Song [mailto:community-noreply@qnx.com] 
Sent: Thursday, December 03, 2009 8:32 AM
To: drivers-networking
Subject: Re: RE: Intel 82537L/devnp-i82544 driver questions

Hi Hugh,

I'm worried that the qnx driver for 82573L depends on QNX PCI server. At
the moment we didn't use the QNX PCI server for various reasons.
Basically we developed a simple generic PCI driver to enumerate all
devices in our system and then reconfigure the BARs and memory filter
windows for all devices statically.  Memory map is statically defined
for all devices at design time and all applications are aware of them.
Everything in our system is static, all devices and system memory to be
allocated to devices are known at design time.

My understand about the PCI server and the 82573L driver is as follows:
The PCI server will discover the 82573L device and configure the PCIe
related registers, especially assign system memory addresses for the
BARs of the 82573L device so that 82573L driver can access 82573L
internal memory/registers or external SPI flash through the BARs, is it
right?
Our PCIe driver could do all the above. If the above is true, how much
work would be needed to adapt the QNX 82573L driver to work with our PCI
driver? If the QNX 82573L driver dynamically scan the system to find the
82573L device and retrieve the BARs addresses after our PCI driver being
run, it should still work in our system. If the QNX 82573L driver tries
to use database created by the QNX PCI server, then it wouldn't work in
our case. Just some guess as I don't have 82573 driver source code.

We really appreciate your advice for us on how to proceed with this
issue. 

Song




_______________________________________________

Networking Drivers
http://community.qnx.com/sf/go/post43086
RE: RE: Intel 82537L/devnp-i82544 driver questions  
Hi Hugh,
Thanks a lot for getting back to me so quickly.

We first tried the PCI server from the BSP for mpc8548e and struggled
with it for quite a while, but unfortunately failed to get it work
confidently. In additional to that, our FPGA applications code (created
by a tool) take physically addresses and then map them to user space
addresses to use. I have to make many changes in the PCI sever to cope
with our applications. At last we decided to use our own PCI driver as
we don't know the QNX 82537L driver depends on the QNX PCI server.  To
run the PCI sever on top of our driver could make things really mess I
think.

We have a fairly static and simple PCIe topology. Is it possible for the
82573L driver to get the 82573L BAR addresses from command line? We
could first run our PCIe driver and then run QNX 82573L driver with BAR
addresses for 82573L.

Is there any chance for us to have the QNX source for the 82573L driver
and see if it is possible to adapt it to our system? Intel has source
for Linux, but it is too much work to get it work in QNX.

Many thanks,
Song


-----Original Message-----
From: Hugh Brown [mailto:community-noreply@qnx.com] 
Sent: Thursday, December 03, 2009 2:03 PM
To: drivers-networking
Subject: RE: RE: Intel 82537L/devnp-i82544 driver questions

Hi Song,

The QNX PCI server should still work with your setup. If the PCI server
finds that base address registers are already programmed with valid
addresses, it leaves them alone. This also applies to IRQs.

The network driver needs to connect to the PCI server to get the base
address register and IRQ information. It will be quite a job to change
the driver to not work with the PCI server.

Hugh.

-----Original Message-----
From: Yingsheng Song [mailto:community-noreply@qnx.com] 
Sent: Thursday, December 03, 2009 8:32 AM
To: drivers-networking
Subject: Re: RE: Intel 82537L/devnp-i82544 driver questions

Hi Hugh,

I'm worried that the qnx driver for 82573L depends on QNX PCI server. At
the moment we didn't use the QNX PCI server for various reasons.
Basically we developed a simple generic PCI driver to enumerate all
devices in our system and then reconfigure the BARs and memory filter
windows for all devices statically.  Memory map is statically defined
for all devices at design time and all applications are aware of them.
Everything in our system is static, all devices and system memory to be
allocated to devices are known at design time.

My understand about the PCI server and the 82573L driver is as follows:
The PCI server will discover the 82573L device and configure the PCIe
related registers, especially assign system memory addresses for the
BARs of the 82573L device so that 82573L driver can access 82573L
internal memory/registers or external SPI flash through the BARs, is it
right?
Our PCIe driver could do all the above. If the above is true, how much
work would be needed to adapt the QNX 82573L driver to work with our PCI
driver? If the QNX 82573L driver dynamically scan the system to find the
82573L device and retrieve the BARs addresses after our PCI driver being
run, it should still work in our system. If the QNX 82573L driver tries
to use database created by the QNX PCI server, then it wouldn't work in
our case. Just some guess as I don't have 82573 driver source code.

We really appreciate your advice for us on how to proceed with this
issue. 

Song




_______________________________________________

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




_______________________________________________

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

------------------------------------------------------------------------------
The information in this e-mail (and any attachments) is confidential.  The 
contents may not be disclosed or used by anyone other than the addressee.  
If you are not the intended recipient, please...
View Full Message
RE: RE: Intel 82537L/devnp-i82544 driver questions  
Hi Song,

The source for the devnp-e1000.so driver is available on the QNX
Foundry.

Hugh.

-----Original Message-----
From: Yingsheng Song [mailto:community-noreply@qnx.com] 
Sent: Thursday, December 03, 2009 9:24 AM
To: drivers-networking
Subject: RE: RE: Intel 82537L/devnp-i82544 driver questions

Hi Hugh,
Thanks a lot for getting back to me so quickly.

We first tried the PCI server from the BSP for mpc8548e and struggled
with it for quite a while, but unfortunately failed to get it work
confidently. In additional to that, our FPGA applications code (created
by a tool) take physically addresses and then map them to user space
addresses to use. I have to make many changes in the PCI sever to cope
with our applications. At last we decided to use our own PCI driver as
we don't know the QNX 82537L driver depends on the QNX PCI server.  To
run the PCI sever on top of our driver could make things really mess I
think.

We have a fairly static and simple PCIe topology. Is it possible for the
82573L driver to get the 82573L BAR addresses from command line? We
could first run our PCIe driver and then run QNX 82573L driver with BAR
addresses for 82573L.

Is there any chance for us to have the QNX source for the 82573L driver
and see if it is possible to adapt it to our system? Intel has source
for Linux, but it is too much work to get it work in QNX.

Many thanks,
Song


-----Original Message-----
From: Hugh Brown [mailto:community-noreply@qnx.com] 
Sent: Thursday, December 03, 2009 2:03 PM
To: drivers-networking
Subject: RE: RE: Intel 82537L/devnp-i82544 driver questions

Hi Song,

The QNX PCI server should still work with your setup. If the PCI server
finds that base address registers are already programmed with valid
addresses, it leaves them alone. This also applies to IRQs.

The network driver needs to connect to the PCI server to get the base
address register and IRQ information. It will be quite a job to change
the driver to not work with the PCI server.

Hugh.

-----Original Message-----
From: Yingsheng Song [mailto:community-noreply@qnx.com] 
Sent: Thursday, December 03, 2009 8:32 AM
To: drivers-networking
Subject: Re: RE: Intel 82537L/devnp-i82544 driver questions

Hi Hugh,

I'm worried that the qnx driver for 82573L depends on QNX PCI server. At
the moment we didn't use the QNX PCI server for various reasons.
Basically we developed a simple generic PCI driver to enumerate all
devices in our system and then reconfigure the BARs and memory filter
windows for all devices statically.  Memory map is statically defined
for all devices at design time and all applications are aware of them.
Everything in our system is static, all devices and system memory to be
allocated to devices are known at design time.

My understand about the PCI server and the 82573L driver is as follows:
The PCI server will discover the 82573L device and configure the PCIe
related registers, especially assign system memory addresses for the
BARs of the 82573L device so that 82573L driver can access 82573L
internal memory/registers or external SPI flash through the BARs, is it
right?
Our PCIe driver could do all the above. If the above is true, how much
work would be needed to adapt the QNX 82573L driver to work with our PCI
driver? If the QNX 82573L driver dynamically scan the system to find the
82573L device and retrieve the BARs addresses after our PCI driver being
run, it should still work in our system. If the QNX 82573L driver tries
to use database created by the QNX PCI server, then it wouldn't work in
our case. Just some guess as I don't have 82573 driver source code.

We really appreciate your advice for us on how to proceed with this
issue. 

Song




_______________________________________________

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




_______________________________________________

Networking...
View Full Message