On Thu, Jun 7, 2018 at 1:49 AM, Moritz Fischer <mdf@xxxxxxxxxx> wrote: > On Wed, Jun 06, 2018 at 10:40:47PM +0530, Muni Sekhar wrote: >> On Wed, Jun 6, 2018 at 9:18 PM, Moritz Fischer <moritz.fischer@xxxxxxxxx> wrote: >> > Hi Muni, >> > >> > On Wed, Jun 6, 2018 at 4:37 AM, Muni Sekhar <munisekharrms@xxxxxxxxx> wrote: >> >> On Wed, Jun 6, 2018 at 4:50 PM, Ludwig Petrosyan >> >> <ludwig.petrosyan@xxxxxxx> wrote: >> >>> Hi >> >>> >> >>> why You do not use jtagplayer from Xilinx? >> >> >> >> Yes, JTAG can be used. But we have a lot many of these FPGA boards, >> >> using JTAG costs more. And also we want to automate the PROM >> >> programming. >> >> >> >> >> >>> >> >>> >> >>> with best regards >> >>> >> >>> >> >>> Ludwig >> >>> >> >>> >> >>> >> >>> On 06/06/2018 11:08 AM, Muni Sekhar wrote: >> >>>> >> >>>> [ Please keep me in CC as I'm not subscribed to the list] >> >>>> >> >>>> Hi All, >> >>>> >> >>>> We have a Kintex7 FPGA board connected to Intel Atom PC running Ubuntu >> >>>> on PCIe bus. >> > >> > Are you using a Tandem flow? What kind of PROM are we talking about QSPI flash? >> I'm not sure about the Tandem flow, can you please clarify me on this? >> >> Okay, we have two onboard PROM’s (Micron’s SPI NOR Flash MT25QL128). >> The FPGA will be loaded from one of the two onboard PROM’s, it will be >> up and running before the PC powers up. > > In which case you don't need Tandem. Tandem basically just brings up > minmal bitstream to bring up PCIe link and does the rest via some sort > of partial reconfiguration flow. This allows to meet the PCIe deadline. > >> When the Intel Atom PC powers up the FPGA will enumerate over PCIe. >> I'm looking for any available Linux tool(user space or kernel space) >> to program the PROM's via PCIe interface. > > Any reason you can't drop a SPI controller in the fabric and use that > to program the FPGA or do you intend to do the initial programing of > the PROM also over PCIe? No, we use a removeable dongle with a pre-loaded PROM. > > - Moritz -- Thanks, Sekhar