AnsweredAssumed Answered

Backplane RapidIO communication between two MPC8641d based Custom Boards

Question asked by Ashish Khetan on May 5, 2015
Latest reply on Jun 9, 2015 by Marek Neuzil

@Hi,

 

I have been facing a strange issue in linux while probing for the srio devices. In current configuration there are two boards connected through backplane in 4x mode. Neither of the board is detecting srio link. I am using Linux OS (Linux-3.14). Here I am putting some booting message that has been captured while booting for rapid IO, that might help to understand the problem

 

The following output is from Board 1

 

pci 0000:00:00.0:   bridge window [mem 0x80000000-0x9fffffff]

Setting up RapidIO peer-to-peer network /rapidio@D00c0000

fsl-of-rio d00c0000.rapidio: Of-device full name /rapidio@D00c0000

fsl-of-rio d00c0000.rapidio: Regs: [mem 0xd00c0000-0xd00dffff]

fsl-of-rio d00c0000.rapidio: bellirq: 0

fsl-of-rio d00c0000.rapidio: pwirq: 0

fsl-of-rio d00c0000.rapidio: Can't get /rapidio@D00c0000/port1 property 'ranges'

fsl-of-rio: probe of d00c0000.rapidio failed with error -67

bio: create slab <bio-0> at 0

 

The following output from Board 2:

pci 0000:00:00.0:   bridge window [mem 0x80000000-0x9fffffff]

Setting up RapidIO peer-to-peer network /rapidio@D00c0000

fsl-of-rio d00c0000.rapidio: Of-device full name /rapidio@D00c0000

fsl-of-rio d00c0000.rapidio: Regs: [mem 0xd00c0000-0xd00dffff]

fsl-of-rio d00c0000.rapidio: bellirq: 0

fsl-of-rio d00c0000.rapidio: pwirq: 0

fsl-of-rio d00c0000.rapidio: Can't get /rapidio@D00c0000/port1 property 'ranges'

fsl-of-rio: probe of d00c0000.rapidio failed with error -67

bio: create slab <bio-0> at 0

Freescale Elo series DMA driver

 

Both Boards are connected in host mode with different ID. Here I am putting device tree snapshot for rapid IO:

 

    rapidio: rapidio@D00c0000 {
            #address-cells = <2>;
            #size-cells = <2>;
            compatible = "fsl,srio";
            reg = <0xD00c0000 0x20000>;
            ranges = <0x0 0x0 0xb0000000 0x0 0x10000000>;
            interrupt-parent = <&mpic>;
            interrupts = <48 2>;

            fsl,srio-rmu-handle = <&rmu>;

}

 

 

Please suggest some pointers/tips, that will be really helpfull.

and Thanks in Advance.

 

Regards

@$HI$H

Outcomes