Problems with PCIe.1 x4

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problems with PCIe.1 x4

Jump to solution
462 Views
altu
Contributor III

Good day!

I've configured SRDS2 as 0x8888 and expect to have PCIe.1 x4 on my custom ls1046 board. 

I've confugured RCW with this settings and see that my settings are successfully implemented in Uboot:

pciex1.png

In Uboot I configure all the PCi stuff, also I configured dts:

&pcie1 {
status = "okay";
};

I've installed Intel 10GB card in my PCI slot, but I can't see it:

pciex2.png

I see only PCI controller root.

The same situation in Linux:

I've configured all the ls1046 PCI stuff in kernel,enabled PCI in DTS:

&pcie1 {
status = "okay";
};

pcie@3400000 {
/delete-property/ iommu-map;
};

pcie@3500000 {
/delete-property/ iommu-map;
};

pcie@3600000 {
/delete-property/ iommu-map;
};

As I understand PCI controller successfully loads:

pciex3.png

But it also can't see my NIC card:

pciex5.png

Please tell me should I do any other actions in addition to mentioned above to bring the PCI bus up? Maybe some additional dts fixes or whatever?

 

0 Kudos
Reply
1 Solution
344 Views
altu
Contributor III

I found the reason - the problems was in RCW - SRDS_PLL_PD_S2 should be set to 0 - PLL should always be enabled.

View solution in original post

0 Kudos
Reply
1 Reply
345 Views
altu
Contributor III

I found the reason - the problems was in RCW - SRDS_PLL_PD_S2 should be set to 0 - PLL should always be enabled.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2328331%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EProblems%20with%20PCIe.1%20x4%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2328331%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EGood%20day!%3C%2FP%3E%3CP%3EI've%20configured%20SRDS2%20as%200x8888%20and%20expect%20to%20have%26nbsp%3BPCIe.1%20x4%20on%20my%20custom%20ls1046%20board.%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20confugured%20RCW%20with%20this%20settings%20and%20see%20that%20my%20settings%20are%20successfully%20implemented%20in%20Uboot%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22pciex1.png%22%20style%3D%22width%3A%20987px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pciex1.png%22%20style%3D%22width%3A%20987px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pciex1.png%22%20style%3D%22width%3A%20987px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F378617i0AAB100B6DE29375%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22pciex1.png%22%20alt%3D%22pciex1.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EIn%20Uboot%20I%20configure%20all%20the%20PCi%20stuff%2C%20also%20I%20configured%20dts%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26amp%3Bpcie1%20%7B%3CBR%20%2F%3Estatus%20%3D%20%22okay%22%3B%3CBR%20%2F%3E%7D%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EI've%20installed%20Intel%2010GB%20card%20in%20my%20PCI%20slot%2C%20but%20I%20can't%20see%20it%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22pciex2.png%22%20style%3D%22width%3A%20588px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pciex2.png%22%20style%3D%22width%3A%20588px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pciex2.png%22%20style%3D%22width%3A%20588px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F378620i1C9C1493C1984C28%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22pciex2.png%22%20alt%3D%22pciex2.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EI%20see%20only%20PCI%20controller%20root.%3C%2FP%3E%3CP%3EThe%20same%20situation%20in%20Linux%3A%3C%2FP%3E%3CP%3EI've%20configured%20all%20the%20ls1046%20PCI%20stuff%20in%20kernel%2Cenabled%20PCI%20in%20DTS%3A%3C%2FP%3E%3CP%3E%26amp%3Bpcie1%20%7B%3CBR%20%2F%3Estatus%20%3D%20%22okay%22%3B%3CBR%20%2F%3E%7D%3B%3C%2FP%3E%3CP%3Epcie%403400000%20%7B%3CBR%20%2F%3E%2Fdelete-property%2F%20iommu-map%3B%3CBR%20%2F%3E%7D%3B%3C%2FP%3E%3CP%3Epcie%403500000%20%7B%3CBR%20%2F%3E%2Fdelete-property%2F%20iommu-map%3B%3CBR%20%2F%3E%7D%3B%3C%2FP%3E%3CP%3Epcie%403600000%20%7B%3CBR%20%2F%3E%2Fdelete-property%2F%20iommu-map%3B%3CBR%20%2F%3E%7D%3B%3C%2FP%3E%3CP%3EAs%20I%20understand%20PCI%20controller%20successfully%20loads%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22pciex3.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pciex3.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pciex3.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F378621iA21E84834EA5078D%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22pciex3.png%22%20alt%3D%22pciex3.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EBut%20it%20also%20can't%20see%20my%20NIC%20card%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22pciex5.png%22%20style%3D%22width%3A%20706px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pciex5.png%22%20style%3D%22width%3A%20706px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pciex5.png%22%20style%3D%22width%3A%20706px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F378622iC96D8FBFE31ED54F%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22pciex5.png%22%20alt%3D%22pciex5.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EPlease%20tell%20me%20should%20I%20do%20any%20other%20actions%20in%20addition%20to%20mentioned%20above%20to%20bring%20the%20PCI%20bus%20up%3F%20Maybe%20some%20additional%20dts%20fixes%20or%20whatever%3F%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2330380%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Problems%20with%20PCIe.1%20x4%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2330380%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20found%20the%20reason%20-%20the%20problems%20was%20in%20RCW%20-%26nbsp%3BSRDS_PLL_PD_S2%20should%20be%20set%20to%200%20-%20PLL%20should%20always%20be%20enabled.%3C%2FP%3E%3C%2FLINGO-BODY%3E