Re: [U-Boot] [U-Boot-DM] FPGA driver over PCI bus

2016-09-07 Thread Max Ruttenberg
Hi Simon, Are you starting up PCI? For example, with: > > ret = uclass_get_device(UCLASS_PCI, 0, &bus); > > If you are, then it should scan the bus and find and bind all the > devices, in pci_bind_bus_devices(). You can add DEBUG to the very top > of that file to see. > > But if you know the devic

Re: [U-Boot] [U-Boot-DM] FPGA driver over PCI bus

2016-09-02 Thread Simon Glass
Hi Max, On 1 September 2016 at 08:46, Max Ruttenberg wrote: > > Hi, > (we should probably close down the u-boot-dm list - please use the main one) > I'm find myself clueless in regards to writing a driver for an FPGA over a > PCI bus. This U-Boot is running on an NXP t102xrdb board family, if t

Re: [U-Boot] [U-Boot-DM] FPGA driver over PCI bus

2016-09-02 Thread Max Ruttenberg
Thanks for getting back to me. At the moment the FPGA just has logic for peripheral management. Part of what I'm trying to do in U-Boot is program a bitfile to it over a PCIe connection. On Thu, Sep 1, 2016 at 12:07 PM, Marek Vasut wrote: > On 09/01/2016 04:46 PM, Max Ruttenberg wrote: > > Hi

Re: [U-Boot] [U-Boot-DM] FPGA driver over PCI bus

2016-09-01 Thread Marek Vasut
On 09/01/2016 08:12 PM, Max Ruttenberg wrote: > Thanks for getting back to me. Hi, please avoid top-posting. > At the moment the FPGA just has logic for peripheral management. Part of > what I'm trying to do in U-Boot is program a bitfile to it over a PCIe > connection. Which FPGA vendor/model

Re: [U-Boot] [U-Boot-DM] FPGA driver over PCI bus

2016-09-01 Thread Marek Vasut
On 09/01/2016 04:46 PM, Max Ruttenberg wrote: > Hi, Hi, > I'm find myself clueless in regards to writing a driver for an FPGA over a > PCI bus. This U-Boot is running on an NXP t102xrdb board family, if that > matters. > > The documentation in doc/driver-model/pci-info.txt mentions that I can us