[U-Boot] PCIe card doesn't work
goldenshore
goldenshore at tom.com
Thu Apr 18 03:34:10 CEST 2013
<div>Hi All:</div><div> Now I have a sbc8548 at my hand, and I insert a PCIe X1 card in it and another</div><div>PCI card running at 33MHZ. The u-boot vsersion is U-Boot 2012.10. I download the </div><div>kernel 3.6.10 from kernel.org (download from denx.de is too slow in my place). </div><div>Then the linux system runs ok, the pci card is a graphic card, it displays fine.</div><div>But the PCIe card doesn't work, when its device driver access the card's register, the system</div><div>freezes.</div><div> I stop at u-boot and type the command "pci 2.0.0" to display the PCIe's header. the following</div><div>is the content:</div><div> vendor ID = 0x1c00</div><div> device ID = 0x3253</div><div> command register = 0x0007</div><div> status register = 0x0010</div><div> revision ID = 0x10</div><div> class code = 0x07 (Simple comm. controller)</div><div> sub class code = 0x00</div><div> programming interface = 0x05</div><div> cache line = 0x08</div><div> latency time = 0x00</div><div> header type = 0x00</div><div> BIST = 0x00</div><div> base address 0 = 0x00001001</div><div> base address 1 = 0xa0000008</div><div> base address 2 = 0x00001101</div><div> base address 3 = 0x00000000</div><div> base address 4 = 0x00000000</div><div> base address 5 = 0x00000000</div><div> cardBus CIS pointer = 0x00000000</div><div> sub system vendor ID = 0x1c00</div><div> sub system ID = 0x3253</div><div> expansion ROM base address = 0x00000000</div><div> interrupt line = 0x00</div><div> interrupt pin = 0x01</div><div> min Grant = 0x00</div><div> max Latency = 0x00</div><div> I notice the base address 0 seems not the correct vlaue. The datasheet says that it is IO register base. So is there</div><div>something wrong with my configuration? The PCI card can only work at 33MHZ, so I configure the u-boot by running </div><div>"make sbc8548_PCI_33_PCIE". I also read the README under u-boot-2012.10\board\sbc8548, it says the "sbc8548_PCI_33_PCIE"</div><div>configuration is not tested. So is there any bug about this configuration? </div><div> By the way, the PCIe card works ok under windows xp.</div><div></div><div><br /></div>
More information about the U-Boot
mailing list