cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
vt.yang
Visitor
Visitor
436 Views
Registered: ‎02-05-2020

AXI Memory Mapped To PCI Express (Root Complex mode) can not work for 7Z035

I am implementing PCIE Root Complex on Zynq XC7Z035 device, and the IPcore I use is AXI Memory Mapped to PCI Express. I refer to this document (https://www.xilinx.com/Attachment/Xilinx_Answer_71494_ZC706_KC705.pdf). The exact same configuration, except that I don't use PetaLinux. I use the kernel on Xilinx Github.

When my board powers up, the Linux OS stops here:

无标题1.png

I suspect it is a problem with the address settings. This is my configuration:

2222.JPG

------

3333.JPG

----

111.JPG

 

This is the device tree node I generated using the Xilinx SDK:

amba_pl: amba_pl {
              #address-cells = <1>;
              #size-cells = <1>;
              compatible = "simple-bus";
              ranges ;
              axi_pcie_0: axi-pcie@50000000 {
                         #address-cells = <3>;
                         #interrupt-cells = <1>;
                         #size-cells = <2>;
                         compatible = "xlnx,axi-pcie-host-1.00.a";
                         device_type = "pci";
                         interrupt-map = <0 0 0 1 &pcie_intc 1>,
                                                   <0 0 0 2 &pcie_intc 2>,
                                                   <0 0 0 3 &pcie_intc 3>,
                                                   <0 0 0 4 &pcie_intc 4>;
                         interrupt-map-mask = <0 0 0 7>;
                         interrupt-parent = <&intc>;
                         interrupts = <0 29 4>;
                         ranges = <0x02000000 0x00000000 0x60000000 0x60000000 0x00000000 0x10000000>;
                         reg = <0x50000000 0x4000000>;
                         pcie_intc: interrupt-controller {
                                    #address-cells = <0>;
                                    #interrupt-cells = <1>;
                                    interrupt-controller ;
                         };
               };
};

I don't know where it was caused. Could anyone please give me some advice?

Thank you.

Tags (3)
0 Kudos
2 Replies
deepeshm
Xilinx Employee
Xilinx Employee
389 Views
Registered: ‎08-06-2008

Not sure what the issue is at this point. Would it be possible to try with Petalinux and see if that works or not? That would at least verify whether the issue is due to addressing or not.

Thanks.

0 Kudos
vt.yang
Visitor
Visitor
326 Views
Registered: ‎02-05-2020

I tried to use Petalinux to make the system, but the result was still the same, the Linux system stopped at "io scheduler cfq registered (default)".

0 Kudos