Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - pci-bios (6.3.0SP1 and 6.3.2) and Moschip MSC9815CSV based PCI card: (8 Items)
   
pci-bios (6.3.0SP1 and 6.3.2) and Moschip MSC9815CSV based PCI card  
Today, I tried to test a QNX system with a Moschip MSC9815CSV based PCI card. While booting the system, the BIOS lists 
the card as an unknown card. The QNX Neutrino pci-bios (PCI server) does not recognize the card. When starting PCI-BIOS 
in verbose mode, all PCI devices in my system are listed except the Moschip based card. I’ve tried the cart also in 
another system with a completely different motherboard but with the same version of QNX but I had no luck there too. 

This is what I tried:
* QNX630 on industrial PC (P4 with Intel 82801 chipset) ? Not seen by pci-bios
* QNX632 on industrial PC (P4 with Intel 82801 chipset) ? Not seen by pci-bios
* QNX630 on desktop PC (Core2Duo with Intel chipset) ? Not seen by pci-bios
* QNX632 on desktop PC (Core2Duo with Intel chipset) ? Not seen by pci-bios
* LINUX (geexbox image) on industrial PC ? Card seen by kernel
* MSDOS on industrial PC ? card seen by pci utility (http://members.datafast.net.au/dft0802/downloads/pci.zip)

Does anyone know if there are issues with the MSC9815CSV on QNX?

Regards,
Freddy
Re: pci-bios (6.3.0SP1 and 6.3.2) and Moschip MSC9815CSV based PCI card  
Freddy,

Is there some sort of bridge device located on the PCI card? Cause I know
that the pci-server has some trouble 'seeing' those devices.

Jeffry

On Feb 8, 2008 9:59 PM, Freddy Martens <fmartens-2000@planet.nl> wrote:

> Today, I tried to test a QNX system with a Moschip MSC9815CSV based PCI
> card. While booting the system, the BIOS lists the card as an unknown card.
> The QNX Neutrino pci-bios (PCI server) does not recognize the card. When
> starting PCI-BIOS in verbose mode, all PCI devices in my system are listed
> except the Moschip based card. I've tried the cart also in another system
> with a completely different motherboard but with the same version of QNX but
> I had no luck there too.
>
> This is what I tried:
> * QNX630 on industrial PC (P4 with Intel 82801 chipset) ? Not seen by
> pci-bios
> * QNX632 on industrial PC (P4 with Intel 82801 chipset) ? Not seen by
> pci-bios
> * QNX630 on desktop PC (Core2Duo with Intel chipset) ? Not seen by
> pci-bios
> * QNX632 on desktop PC (Core2Duo with Intel chipset) ? Not seen by
> pci-bios
> * LINUX (geexbox image) on industrial PC ? Card seen by kernel
> * MSDOS on industrial PC ? card seen by pci utility (
> http://members.datafast.net.au/dft0802/downloads/pci.zip)
>
> Does anyone know if there are issues with the MSC9815CSV on QNX?
>
> Regards,
> Freddy
>
> _______________________________________________
> OSTech
> http://community.qnx.com/sf/go/post4879
>
Re: pci-bios (6.3.0SP1 and 6.3.2) and Moschip MSC9815CSV based PCI card  
Hi, the bridge that is used is the Moschip, that one is hooked to the PCI bus. The card details:

Bus 1 (PCI), Device Number 14, Device Function 0
 Vendor 0000h Unknown vendor [FM: edited]
 Device 0002h Unknown
 Command 0003h (I/O Access, Memory Access)
 Status 0280h (Supports Back-To-Back Trans., Medium Timing)
 Revision 00h, Header Type 00h, Bus Latency Timer 20h
 Self test 00h (Self test not supported)
 Cache line size 32 Bytes (8 DWords)
 PCI Class Unknown, type Undefined
 Subsystem ID 12340000h Unknown
 Subsystem Vendor 0000h Gammagraphx Inc
 Address 0 is an I/O Port : 0000D200h
 Address 1 is an I/O Port : 0000D300h
 Address 2 is an I/O Port : 0000D400h
 Address 3 is an I/O Port : 0000D500h
 Address 4 is an I/O Port : 0000D600h
 Address 5 is an I/O Port : 0000D700h
 System IRQ 10, INT# A

Freddy
Re: pci-bios (6.3.0SP1 and 6.3.2) and Moschip MSC9815CSV based PCI card  
That a definet yes :-). I've written a driver once that was not not properly
detected by the pci_* helper functions. I fixed this by 'manual' reading the
pci BAR configuration and length. Afther this is was rather simple to let
the card do what I want, it is basicly some bit togggeling in the right
registers.

On Feb 9, 2008 11:30 AM, Freddy Martens <fmartens-2000@planet.nl> wrote:

> Hi, the bridge that is used is the Moschip, that one is hooked to the PCI
> bus. The card details:
>
> Bus 1 (PCI), Device Number 14, Device Function 0
>  Vendor 0000h Unknown vendor [FM: edited]
>  Device 0002h Unknown
>  Command 0003h (I/O Access, Memory Access)
>  Status 0280h (Supports Back-To-Back Trans., Medium Timing)
>  Revision 00h, Header Type 00h, Bus Latency Timer 20h
>  Self test 00h (Self test not supported)
>  Cache line size 32 Bytes (8 DWords)
>  PCI Class Unknown, type Undefined
>  Subsystem ID 12340000h Unknown
>  Subsystem Vendor 0000h Gammagraphx Inc
>  Address 0 is an I/O Port : 0000D200h
>  Address 1 is an I/O Port : 0000D300h
>  Address 2 is an I/O Port : 0000D400h
>  Address 3 is an I/O Port : 0000D500h
>  Address 4 is an I/O Port : 0000D600h
>  Address 5 is an I/O Port : 0000D700h
>  System IRQ 10, INT# A
>
> Freddy
>
> _______________________________________________
> OSTech
> http://community.qnx.com/sf/go/post4883
>
>
Re: pci-bios (6.3.0SP1 and 6.3.2) and Moschip MSC9815CSV based PCI card  
Hi all,

Some additional information:

The spec of the Moschip:
http://www.moschip.com/data/products/NM9815/Data%20Sheet_9815.pdf

I've tried pci_find_device() and pci_attach_device() and both return PCI_NOT_FOUND. 

The 'pci' commandline utility does not show the adapter.

I've downloaded the x86 BSP and will take a peek at the PCI server.

Did anyone else encounter a problem with this type of card?

Regards,
Freddy Martens
Re: pci-bios (6.3.0SP1 and 6.3.2) and Moschip MSC9815CSV based PCI card  
One other result:
When starting pci-bios in verbose mode, the device is not listed as device number in the listing of found devices.

Freddy
Re: pci-bios (6.3.0SP1 and 6.3.2) and Moschip MSC9815CSV based PCI card (SOLVED, PCI revisionID equals '0')  
Hi all,

I found the problem myself. The RevisionID in the PCI header equals zero and the pci-bios is not build to deals with 
revisionID's equal to zero.

I've made some small changes to the pci-bios and the card is seen now.

Is it true that the RevisionID is not allowed to be zero?

Regards,
Freddy Martens
Re: pci-bios (6.3.0SP1 and 6.3.2) and Moschip MSC9815CSV based PCI card (SOLVED, PCI revisionID equals '0')  
Issue solved. The Eeprom feeding the PCI adapter with PCI configuration data contained false information. This has been 
sorted and the PCI adapter is now properly detected.

@All involved: Many thanks.