Jump to ID:
BSPs and Drivers

Project Home

Documents

Discussions

Wiki

Project Info
Forum Topic - PCIe board doesn't work with PCI-BIOS V2: (7 Items)
   
 
 
PCIe board doesn't work with PCI-BIOS V2  
Hi,

the PCIe interface of our PROFIBUS board has been recognised by all PCI-BIOS versions prior
 PCI-BIOS V2 !

 Are you excluding again 80% of all PCI interfaces with class code UNKNOWN ?

Here is the pci -vv output with PCI-BIOS V2:

Class          = Unknown (Unknown)
Vendor ID      = 10b5h, PLX Technology, Inc. 
Device ID      = 86e1h, Unknown Unknown
PCI index      = 0h
Class Codes    = ff0000h
Revision ID    = ach
Bus number     = 7
Device number  = 4
Function num   = 0
Status Reg     = 2b0h
Command Reg    = 17h
	I/O space access enabled
	Memory space access enabled
	Bus Master enabled
	Special Cycle operations ignored
	Memory Write and Invalidate enabled
	Palette Snooping disabled
	Parity Error Response disabled
	Data/Address stepping disabled
	SERR# driver disabled
	Fast back-to-back transactions to different agents disabled
	PCI INTx enabled
Header type    = 0h Single-function
BIST           = 0h Build-in-self-test not supported
Latency Timer  = 20h
Cache Line Size= 10h un-cacheable
BAR - 0 [Mem]  = f0280000h 32bit length 512 enabled
BAR - 1 [I/O]  = 2000h length 256 enabled
BAR - 2 [Mem]  = f0200000h 32bit length 524288 enabled
Subsystem Vendor ID = 14a0h
Subsystem ID        = 2bh
Max Lat        = 0ns
Min Gnt        = 0ns
PCI Int Pin    = INT A
Interrupt line = 5
CPU Interrupt  = 5h
Capabilities Pointer = 40h
Capability ID        = 1h - Power Management
Capabilities         = 0h - 0h 
Capability ID        = 6h - CompactPCI Hot Swap
Capabilities         = 0h - 3h 
Capability ID        = 3h - VPD
Capabilities         = 0h - 0h 
Device Dependent Registers:
0x040:  0148 0000 0000 0000   064c 0000 0300 0000 
0x050:  0000 0000 0000 0000   0000 0000 0000 0000 
...
0x0f0:  0000 0000 0000 0000   0000 0000 0000 0000 

--Armin
Re: PCIe board doesn't work with PCI-BIOS V2  
No, we are not excluding them. What problem are you having?


On 10-07-19 5:05 AM, "Armin Steinhoff" <community-noreply@qnx.com> wrote:

> 
> Hi,
> 
> the PCIe interface of our PROFIBUS board has been recognised by all PCI-BIOS
> versions prior
>  PCI-BIOS V2 !
> 
>  Are you excluding again 80% of all PCI interfaces with class code UNKNOWN ?
> 
> Here is the pci -vv output with PCI-BIOS V2:
> 
> Class          = Unknown (Unknown)
> Vendor ID      = 10b5h, PLX Technology, Inc.
> Device ID      = 86e1h, Unknown Unknown
> PCI index      = 0h
> Class Codes    = ff0000h
> Revision ID    = ach
> Bus number     = 7
> Device number  = 4
> Function num   = 0
> Status Reg     = 2b0h
> Command Reg    = 17h
> I/O space access enabled
> Memory space access enabled
> Bus Master enabled
> Special Cycle operations ignored
> Memory Write and Invalidate enabled
> Palette Snooping disabled
> Parity Error Response disabled
> Data/Address stepping disabled
> SERR# driver disabled
> Fast back-to-back transactions to different agents disabled
> PCI INTx enabled
> Header type    = 0h Single-function
> BIST           = 0h Build-in-self-test not supported
> Latency Timer  = 20h
> Cache Line Size= 10h un-cacheable
> BAR - 0 [Mem]  = f0280000h 32bit length 512 enabled
> BAR - 1 [I/O]  = 2000h length 256 enabled
> BAR - 2 [Mem]  = f0200000h 32bit length 524288 enabled
> Subsystem Vendor ID = 14a0h
> Subsystem ID        = 2bh
> Max Lat        = 0ns
> Min Gnt        = 0ns
> PCI Int Pin    = INT A
> Interrupt line = 5
> CPU Interrupt  = 5h
> Capabilities Pointer = 40h
> Capability ID        = 1h - Power Management
> Capabilities         = 0h - 0h
> Capability ID        = 6h - CompactPCI Hot Swap
> Capabilities         = 0h - 3h
> Capability ID        = 3h - VPD
> Capabilities         = 0h - 0h
> Device Dependent Registers:
> 0x040:  0148 0000 0000 0000   064c 0000 0300 0000
> 0x050:  0000 0000 0000 0000   0000 0000 0000 0000
> ...
> 0x0f0:  0000 0000 0000 0000   0000 0000 0000 0000
> 
> --Armin
> 
> 
> 
> 
> _______________________________________________
> 
> QNX BSPs
> http://community.qnx.com/sf/go/post59781
> 

-- 
Hugh Brown                      (613) 591-0931 ext. 2209 (voice)
QNX Software Systems Ltd.        (613) 591-3579           (fax)
175 Terence Matthews Cres.       email:  hsbrown@qnx.com
Kanata, Ontario, Canada.
K2M 1W8
 

Re: PCIe board doesn't work with PCI-BIOS V2  
Hugh Brown wrote:
> No, we are not excluding them. What problem are you having?
>   
the call pci_attach_device() returns zero  -> device not found ... the 
same binaries are working with the pci_bios for the non APIC image.

--Armin

>
> On 10-07-19 5:05 AM, "Armin Steinhoff" <community-noreply@qnx.com> wrote:
>
>   
>> Hi,
>>
>> the PCIe interface of our PROFIBUS board has been recognised by all PCI-BIOS
>> versions prior
>>  PCI-BIOS V2 !
>>
>>  Are you excluding again 80% of all PCI interfaces with class code UNKNOWN ?
>>
>> Here is the pci -vv output with PCI-BIOS V2:
>>
>> Class          = Unknown (Unknown)
>> Vendor ID      = 10b5h, PLX Technology, Inc.
>> Device ID      = 86e1h, Unknown Unknown
>> PCI index      = 0h
>> Class Codes    = ff0000h
>> Revision ID    = ach
>> Bus number     = 7
>> Device number  = 4
>> Function num   = 0
>> Status Reg     = 2b0h
>> Command Reg    = 17h
>> I/O space access enabled
>> Memory space access enabled
>> Bus Master enabled
>> Special Cycle operations ignored
>> Memory Write and Invalidate enabled
>> Palette Snooping disabled
>> Parity Error Response disabled
>> Data/Address stepping disabled
>> SERR# driver disabled
>> Fast back-to-back transactions to different agents disabled
>> PCI INTx enabled
>> Header type    = 0h Single-function
>> BIST           = 0h Build-in-self-test not supported
>> Latency Timer  = 20h
>> Cache Line Size= 10h un-cacheable
>> BAR - 0 [Mem]  = f0280000h 32bit length 512 enabled
>> BAR - 1 [I/O]  = 2000h length 256 enabled
>> BAR - 2 [Mem]  = f0200000h 32bit length 524288 enabled
>> Subsystem Vendor ID = 14a0h
>> Subsystem ID        = 2bh
>> Max Lat        = 0ns
>> Min Gnt        = 0ns
>> PCI Int Pin    = INT A
>> Interrupt line = 5
>> CPU Interrupt  = 5h
>> Capabilities Pointer = 40h
>> Capability ID        = 1h - Power Management
>> Capabilities         = 0h - 0h
>> Capability ID        = 6h - CompactPCI Hot Swap
>> Capabilities         = 0h - 3h
>> Capability ID        = 3h - VPD
>> Capabilities         = 0h - 0h
>> Device Dependent Registers:
>> 0x040:  0148 0000 0000 0000   064c 0000 0300 0000
>> 0x050:  0000 0000 0000 0000   0000 0000 0000 0000
>> ...
>> 0x0f0:  0000 0000 0000 0000   0000 0000 0000 0000
>>
>> --Armin
>>
>>
>>
>>
>> _______________________________________________
>>
>> QNX BSPs
>> http://community.qnx.com/sf/go/post59781
>>
>>     
>
>   

Re: PCIe board doesn't work with PCI-BIOS V2  
Please can you start pci-bios-v2 with '-vvv', run your program and post the
output from sloginfo?


On 10-07-20 8:44 AM, "Armin Steinhoff" <community-noreply@qnx.com> wrote:

> Hugh Brown wrote:
>> No, we are not excluding them. What problem are you having?
>>   
> the call pci_attach_device() returns zero  -> device not found ... the
> same binaries are working with the pci_bios for the non APIC image.
> 
> --Armin
> 
>> 
>> On 10-07-19 5:05 AM, "Armin Steinhoff" <community-noreply@qnx.com> wrote:
>> 
>>   
>>> Hi,
>>> 
>>> the PCIe interface of our PROFIBUS board has been recognised by all PCI-BIOS
>>> versions prior
>>>  PCI-BIOS V2 !
>>> 
>>>  Are you excluding again 80% of all PCI interfaces with class code UNKNOWN ?
>>> 
>>> Here is the pci -vv output with PCI-BIOS V2:
>>> 
>>> Class          = Unknown (Unknown)
>>> Vendor ID      = 10b5h, PLX Technology, Inc.
>>> Device ID      = 86e1h, Unknown Unknown
>>> PCI index      = 0h
>>> Class Codes    = ff0000h
>>> Revision ID    = ach
>>> Bus number     = 7
>>> Device number  = 4
>>> Function num   = 0
>>> Status Reg     = 2b0h
>>> Command Reg    = 17h
>>> I/O space access enabled
>>> Memory space access enabled
>>> Bus Master enabled
>>> Special Cycle operations ignored
>>> Memory Write and Invalidate enabled
>>> Palette Snooping disabled
>>> Parity Error Response disabled
>>> Data/Address stepping disabled
>>> SERR# driver disabled
>>> Fast back-to-back transactions to different agents disabled
>>> PCI INTx enabled
>>> Header type    = 0h Single-function
>>> BIST           = 0h Build-in-self-test not supported
>>> Latency Timer  = 20h
>>> Cache Line Size= 10h un-cacheable
>>> BAR - 0 [Mem]  = f0280000h 32bit length 512 enabled
>>> BAR - 1 [I/O]  = 2000h length 256 enabled
>>> BAR - 2 [Mem]  = f0200000h 32bit length 524288 enabled
>>> Subsystem Vendor ID = 14a0h
>>> Subsystem ID        = 2bh
>>> Max Lat        = 0ns
>>> Min Gnt        = 0ns
>>> PCI Int Pin    = INT A
>>> Interrupt line = 5
>>> CPU Interrupt  = 5h
>>> Capabilities Pointer = 40h
>>> Capability ID        = 1h - Power Management
>>> Capabilities         = 0h - 0h
>>> Capability ID        = 6h - CompactPCI Hot Swap
>>> Capabilities         = 0h - 3h
>>> Capability ID        = 3h - VPD
>>> Capabilities         = 0h - 0h
>>> Device Dependent Registers:
>>> 0x040:  0148 0000 0000 0000   064c 0000 0300 0000
>>> 0x050:  0000 0000 0000 0000   0000 0000 0000 0000
>>> ...
>>> 0x0f0:  0000 0000 0000 0000   0000 0000 0000 0000
>>> 
>>> --Armin
>>> 
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> 
>>> QNX BSPs
>>> http://community.qnx.com/sf/go/post59781
>>> 
>>>     
>> 
>>   
> 
> 
> 
> 
> 
> _______________________________________________
> 
> QNX BSPs
> http://community.qnx.com/sf/go/post59934
> 

-- 
Hugh Brown                      (613) 591-0931 ext. 2209 (voice)
QNX Software Systems Ltd.        (613) 591-3579           (fax)
175 Terence Matthews Cres.       email:  hsbrown@qnx.com
Kanata, Ontario, Canada.
K2M 1W8
 

Re: PCIe board doesn't work with PCI-BIOS V2  
Hugh Brown wrote:
> Please can you start pci-bios-v2 with '-vvv', run your program and post the
> output from sloginfo?
>   

OK ... infos requested from customer side.

--Armin


>
> On 10-07-20 8:44 AM, "Armin Steinhoff" <community-noreply@qnx.com> wrote:
>
>   
>> Hugh Brown wrote:
>>     
>>> No, we are not excluding them. What problem are you having?
>>>   
>>>       
>> the call pci_attach_device() returns zero  -> device not found ... the
>> same binaries are working with the pci_bios for the non APIC image.
>>
>> --Armin
>>
>>     
>>> On 10-07-19 5:05 AM, "Armin Steinhoff" <community-noreply@qnx.com> wrote:
>>>
>>>   
>>>       
>>>> Hi,
>>>>
>>>> the PCIe interface of our PROFIBUS board has been recognised by all PCI-BIOS
>>>> versions prior
>>>>  PCI-BIOS V2 !
>>>>
>>>>  Are you excluding again 80% of all PCI interfaces with class code UNKNOWN ?
>>>>
>>>> Here is the pci -vv output with PCI-BIOS V2:
>>>>
>>>> Class          = Unknown (Unknown)
>>>> Vendor ID      = 10b5h, PLX Technology, Inc.
>>>> Device ID      = 86e1h, Unknown Unknown
>>>> PCI index      = 0h
>>>> Class Codes    = ff0000h
>>>> Revision ID    = ach
>>>> Bus number     = 7
>>>> Device number  = 4
>>>> Function num   = 0
>>>> Status Reg     = 2b0h
>>>> Command Reg    = 17h
>>>> I/O space access enabled
>>>> Memory space access enabled
>>>> Bus Master enabled
>>>> Special Cycle operations ignored
>>>> Memory Write and Invalidate enabled
>>>> Palette Snooping disabled
>>>> Parity Error Response disabled
>>>> Data/Address stepping disabled
>>>> SERR# driver disabled
>>>> Fast back-to-back transactions to different agents disabled
>>>> PCI INTx enabled
>>>> Header type    = 0h Single-function
>>>> BIST           = 0h Build-in-self-test not supported
>>>> Latency Timer  = 20h
>>>> Cache Line Size= 10h un-cacheable
>>>> BAR - 0 [Mem]  = f0280000h 32bit length 512 enabled
>>>> BAR - 1 [I/O]  = 2000h length 256 enabled
>>>> BAR - 2 [Mem]  = f0200000h 32bit length 524288 enabled
>>>> Subsystem Vendor ID = 14a0h
>>>> Subsystem ID        = 2bh
>>>> Max Lat        = 0ns
>>>> Min Gnt        = 0ns
>>>> PCI Int Pin    = INT A
>>>> Interrupt line = 5
>>>> CPU Interrupt  = 5h
>>>> Capabilities Pointer = 40h
>>>> Capability ID        = 1h - Power Management
>>>> Capabilities         = 0h - 0h
>>>> Capability ID        = 6h - CompactPCI Hot Swap
>>>> Capabilities         = 0h - 3h
>>>> Capability ID        = 3h - VPD
>>>> Capabilities         = 0h - 0h
>>>> Device Dependent Registers:
>>>> 0x040:  0148 0000 0000 0000   064c 0000 0300 0000
>>>> 0x050:  0000 0000 0000 0000   0000 0000 0000 0000
>>>> ...
>>>> 0x0f0:  0000 0000 0000 0000   0000 0000 0000 0000
>>>>
>>>> --Armin
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>>
>>>> QNX BSPs
>>>> http://community.qnx.com/sf/go/post59781
>>>>
>>>>     
>>>>         
>>>   
>>>      ...
Re: PCIe board doesn't work with PCI-BIOS V2  
Hugh,

in the attachment is the contents of the sloginfo

Regards

--Armin




Hugh Brown wrote:
> Please can you start pci-bios-v2 with '-vvv', run your program and post the
> output from sloginfo?
>
>
> On 10-07-20 8:44 AM, "Armin Steinhoff" <community-noreply@qnx.com> wrote:
>
>   
>> Hugh Brown wrote:
>>     
>>> No, we are not excluding them. What problem are you having?
>>>   
>>>       
>> the call pci_attach_device() returns zero  -> device not found ... the
>> same binaries are working with the pci_bios for the non APIC image.
>>
>> --Armin
>>
>>     
>>> On 10-07-19 5:05 AM, "Armin Steinhoff" <community-noreply@qnx.com> wrote:
>>>
>>>   
>>>       
>>>> Hi,
>>>>
>>>> the PCIe interface of our PROFIBUS board has been recognised by all PCI-BIOS
>>>> versions prior
>>>>  PCI-BIOS V2 !
>>>>
>>>>  Are you excluding again 80% of all PCI interfaces with class code UNKNOWN ?
>>>>
>>>> Here is the pci -vv output with PCI-BIOS V2:
>>>>
>>>> Class          = Unknown (Unknown)
>>>> Vendor ID      = 10b5h, PLX Technology, Inc.
>>>> Device ID      = 86e1h, Unknown Unknown
>>>> PCI index      = 0h
>>>> Class Codes    = ff0000h
>>>> Revision ID    = ach
>>>> Bus number     = 7
>>>> Device number  = 4
>>>> Function num   = 0
>>>> Status Reg     = 2b0h
>>>> Command Reg    = 17h
>>>> I/O space access enabled
>>>> Memory space access enabled
>>>> Bus Master enabled
>>>> Special Cycle operations ignored
>>>> Memory Write and Invalidate enabled
>>>> Palette Snooping disabled
>>>> Parity Error Response disabled
>>>> Data/Address stepping disabled
>>>> SERR# driver disabled
>>>> Fast back-to-back transactions to different agents disabled
>>>> PCI INTx enabled
>>>> Header type    = 0h Single-function
>>>> BIST           = 0h Build-in-self-test not supported
>>>> Latency Timer  = 20h
>>>> Cache Line Size= 10h un-cacheable
>>>> BAR - 0 [Mem]  = f0280000h 32bit length 512 enabled
>>>> BAR - 1 [I/O]  = 2000h length 256 enabled
>>>> BAR - 2 [Mem]  = f0200000h 32bit length 524288 enabled
>>>> Subsystem Vendor ID = 14a0h
>>>> Subsystem ID        = 2bh
>>>> Max Lat        = 0ns
>>>> Min Gnt        = 0ns
>>>> PCI Int Pin    = INT A
>>>> Interrupt line = 5
>>>> CPU Interrupt  = 5h
>>>> Capabilities Pointer = 40h
>>>> Capability ID        = 1h - Power Management
>>>> Capabilities         = 0h - 0h
>>>> Capability ID        = 6h - CompactPCI Hot Swap
>>>> Capabilities         = 0h - 3h
>>>> Capability ID        = 3h - VPD
>>>> Capabilities         = 0h - 0h
>>>> Device Dependent Registers:
>>>> 0x040:  0148 0000 0000 0000   064c 0000 0300 0000
>>>> 0x050:  0000 0000 0000 0000   0000 0000 0000 0000
>>>> ...
>>>> 0x0f0:  0000 0000 0000 0000   0000 0000 0000 0000
>>>>
>>>> --Armin
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>>
>>>> QNX BSPs
>>>> http://community.qnx.com/sf/go/post59781
>>>>
>>>>     
>>>>         
>>>  ...
Attachment: Text sloginfo.txt 21.71 KB
Re: PCIe board doesn't work with PCI-BIOS V2  
Armin,

The PCI server can't find any routing information for this device, so that
it can allocate a new IRQ, so that is why it is failing. Until we have
sorted out this problem, you will have to use the standard startup and
pci-bios.

Hugh.


On 10-07-20 11:01 AM, "Armin Steinhoff" <community-noreply@qnx.com> wrote:

> 
> Hugh,
> 
> in the attachment is the contents of the sloginfo
> 
> Regards
> 
> --Armin
> 
> 
> 
> 
> Hugh Brown wrote:
>> Please can you start pci-bios-v2 with '-vvv', run your program and post the
>> output from sloginfo?
>> 
>> 
>> On 10-07-20 8:44 AM, "Armin Steinhoff" <community-noreply@qnx.com> wrote:
>> 
>>   
>>> Hugh Brown wrote:
>>>     
>>>> No, we are not excluding them. What problem are you having?
>>>>   
>>>>       
>>> the call pci_attach_device() returns zero  -> device not found ... the
>>> same binaries are working with the pci_bios for the non APIC image.
>>> 
>>> --Armin
>>> 
>>>     
>>>> On 10-07-19 5:05 AM, "Armin Steinhoff" <community-noreply@qnx.com> wrote:
>>>> 
>>>>   
>>>>       
>>>>> Hi,
>>>>> 
>>>>> the PCIe interface of our PROFIBUS board has been recognised by all
>>>>> PCI-BIOS
>>>>> versions prior
>>>>>  PCI-BIOS V2 !
>>>>> 
>>>>>  Are you excluding again 80% of all PCI interfaces with class code UNKNOWN
>>>>> ?
>>>>> 
>>>>> Here is the pci -vv output with PCI-BIOS V2:
>>>>> 
>>>>> Class          = Unknown (Unknown)
>>>>> Vendor ID      = 10b5h, PLX Technology, Inc.
>>>>> Device ID      = 86e1h, Unknown Unknown
>>>>> PCI index      = 0h
>>>>> Class Codes    = ff0000h
>>>>> Revision ID    = ach
>>>>> Bus number     = 7
>>>>> Device number  = 4
>>>>> Function num   = 0
>>>>> Status Reg     = 2b0h
>>>>> Command Reg    = 17h
>>>>> I/O space access enabled
>>>>> Memory space access enabled
>>>>> Bus Master enabled
>>>>> Special Cycle operations ignored
>>>>> Memory Write and Invalidate enabled
>>>>> Palette Snooping disabled
>>>>> Parity Error Response disabled
>>>>> Data/Address stepping disabled
>>>>> SERR# driver disabled
>>>>> Fast back-to-back transactions to different agents disabled
>>>>> PCI INTx enabled
>>>>> Header type    = 0h Single-function
>>>>> BIST           = 0h Build-in-self-test not supported
>>>>> Latency Timer  = 20h
>>>>> Cache Line Size= 10h un-cacheable
>>>>> BAR - 0 [Mem]  = f0280000h 32bit length 512 enabled
>>>>> BAR - 1 [I/O]  = 2000h length 256 enabled
>>>>> BAR - 2 [Mem]  = f0200000h 32bit length 524288 enabled
>>>>> Subsystem Vendor ID = 14a0h
>>>>> Subsystem ID        = 2bh
>>>>> Max Lat        = 0ns
>>>>> Min Gnt        = 0ns
>>>>> PCI Int Pin    = INT A
>>>>> Interrupt line = 5
>>>>> CPU Interrupt  = 5h
>>>>> Capabilities Pointer = 40h
>>>>> Capability ID        = 1h - Power Management
>>>>> Capabilities         = 0h - 0h
>>>>> Capability ID        = 6h - CompactPCI Hot Swap
>>>>> Capabilities         = 0h -...
View Full Message