Hi,
Is there any configurations that can enable uboot support for pci/pcie memory space access?
Currently uboot can only access pci config data:
Tegra186 (P2771-0000-500) # pci next b 0xc0000000
No such device
Tegra186 (P2771-0000-500) # pci regions
Scanning PCI devices on bus 0
BusDevFun VendorId DeviceId Device Class Sub-Class
Well, if the device connected has a driver available in u-boot, then, that driver should be able to access the device’s memory space.
Is your question about accessing the memory space without really having a driver in u-boot for the device being connected?
The FPGA is connected with pcie x4 lane and would like to read its version memory.
Issued ‘pci enum’ and enabled debug message. pci_tegra is able to find memory controller. But I don’t where the FPGA memory space is located at.
Is there a way to find out which BAR address was assigned to a PCIe device? Ans: I guess the debug prints need to be added to get this info??
Is there a way to access memory in a PCIe device’s BAR? Ans: Yes; the md command should work fine for this just like regular DRAM. I don’t * think * that a probed U-Boot driver is required for the BAR region to be enabled in the MMU.
There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks
Hi jack.hsia,
Is this stull an issue to support? Any result can be shared?