Web lists-archives.com

Re: [PATCH v3] fpga manager: Add Altera CvP driver




Hi Matthew,

On Thu, 20 Apr 2017 10:29:34 -0700 (PDT)
matthew.gerlach@xxxxxxxxxxxxxxx matthew.gerlach@xxxxxxxxxxxxxxx wrote:
...
>Since you say the driver works with Arria-10, I thought I would give it 
>a try with the Altera Arria10 PCIe DevKit I am using.  I successfully
>compiled your patch as an out of tree module against a 3.10 kernel.  The 
>module successfully loaded and created instances for both boards in the 
>host.

thanks for testing!

>Now that I have the driver instances running, I'm not sure howto actually 
>perform CvP.  Do you use a debugfs interface or something else?  Do you 
>use the sof or an rbf file?

I used the debugfs interface for first testing, now I'm using custom
fpga config interface driver, but it depends on many other drivers
and won't work without additional special hardware.

I use an rbf file. The v2 patch [1] used a module parameter to specify
firmware file name for a given PCIe device, but it is bypassing the
framework and is not acceptable for mainline.

Thanks,
Anatolij

[1] https://patchwork.kernel.org/patch/9582731