PCI driver on EB8347

rajan rai Rajan.Rai at ingenient.com
Sun Aug 13 02:07:09 EST 2006


Kumar,

         Here is lspci -v from my P2P system. In case you have any suggestion do let me know. I appreciate your help

00:11.0 PCI bridge: Texas Instruments PCI2050 PCI-to-PCI Bridge (rev 02) (prog-if 00 [Normal decode])
        Flags: bus master, 66Mhz, medium devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 0000f000-0000ffff
        Memory behind bridge: 9e000000-9fffffff
        Prefetchable memory behind bridge: 000000009df00000-000000009df00000
        Capabilities: [dc] Power Management version 2

01:01.0 Non-VGA unclassified device: Texas Instruments: Unknown device 9065 (rev 01)
        Flags: bus master, 66Mhz, medium devsel, latency 128, IRQ 18
        Memory at 9fc00000 (32-bit, prefetchable) [size=4M]
        Memory at 9f000000 (32-bit, non-prefetchable) [size=8M]
        I/O ports at 3ffffff0 [size=16]
        Capabilities: [40] Power Management version 2

01:02.0 Non-VGA unclassified device: Texas Instruments: Unknown device 9065 (rev 01)
        Flags: bus master, 66Mhz, medium devsel, latency 128, IRQ 19
        Memory at 9ec00000 (32-bit, prefetchable) [size=4M]
        Memory at 9e000000 (32-bit, non-prefetchable) [size=8M]
        I/O ports at 3fffffe0 [size=16]
        Capabilities: [40] Power Management version 2


Regards
-Rajan Rai


-----Original Message-----
From: Kumar Gala [mailto:galak at kernel.crashing.org]
Sent: Sat 8/12/2006 8:54 AM
To: rajan rai
Cc: Liu Dave-r63238; Gala Kumar K.-galak; linuxppc-embedded at ozlabs.org
Subject: Re: PCI driver on EB8347
 

On Aug 12, 2006, at 7:34 AM, Rajan Rai wrote:

>
>
>          Thanks IRQ problem is resolved. As  pointed out it was  
> problem with IRQ IDSEL mapping. Mapping needs to be different on  
> Eval board I'm using and our custom design. But my driver is still  
> not working on our custom design. PCI device doesn't receive any  
> messages from MPC8347 on our custom design mother board which uses  
> pci-bridge where as it works fine on Eval board which doesn't use  
> PCI bridge.
>
>                         I guess problem lies at the kernel level  
> and not the driver. Any tips apart from IDSEL IRQ settings at  
> kernel level what else I need to change when I move from 1 mother  
> board to another.  My PCI  devices do get base address 0 and 1  
> allocated properly by the OS. But when I try to write any messages  
> on those addresses PCI device doesn't see them

Is the bridge getting configured correctly?  An lspci output would be  
helpful from your system with the P2P bridge.

- kumar


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20060812/cbf302a8/attachment.htm 


More information about the Linuxppc-embedded mailing list