[meta-xilinx] Loading FPGA bit streams

Moritz Fischer moritz.fischer at ettus.com
Wed Jun 10 00:17:35 PDT 2015


On Tue, Jun 9, 2015 at 6:55 AM, Philip Balister <philip at balister.org> wrote:
> On 06/09/2015 09:41 AM, Mike Looijmans wrote:
>> On 09-06-15 15:28, Nathan Rossi wrote:
>>> On Mon, Jun 8, 2015 at 6:56 PM, SMITH Peter T
>>> <peter.t.smith at alstom.com> wrote:
>>>> Stephen,
>>>>
>>>> I thought that the xdevcfg driver was not part of the meta-xilinx Yocto
>>>> build and that the community was working towards a generic
>>>> fpga_manager (or
>>>> something like that) solution.
>>>
>>> The 'xdevcfg' driver is only found in the linux-xlnx kernel. Currently
>>> in meta-xilinx the linux-xlnx kernel is used by default for the Zynq
>>> machines, this default is infact due in part to the fpga_manger and or
>>> any driver not being available in mainline/yocto kernels yet.
>>>

I've been working with Michal to get this into shape for
(re)submitting it upstream:

https://github.com/mfischer/linux/commit/c7859bdf48cf9bb7f7ccdab8df0f901a9c56d1b0

Feel free to give it a try or and / or leave comments. It still needs
cleanup and review ...

>>> Also to add to Mike's comment about delayed loading/probing, device
>>> tree overlays might be useful as well (especially for
>>> re-configuration).
>>
>> At the risk of hijacking this topic, I looked at overlays, since they're
>> available on the current 3.19 kernel, but apparently it's an in-kernel
>> thing and there appears to be no way to "inject" a device-tree overlay
>> fragment from userspace. (The only way to actually use DT overlays
>> appears to be buying a beagle-board...)
>>
>> Since you appear to be one of the few people who actually know what
>> device-tree overlays are (I found out about them at the ELCE last year),
>> do you happen to have any hands-on experience?
>>
>> It'd be great to be able to pair a bitstream and a DT overlay...

That is indeed very interesting. I didn't get around to write any code
but it is certainly interesting for the runtime reconfiguration
aspect.
>>
>
> Here is the latest:
>
> https://www.youtube.com/watch?v=3Ag7ZBC_Nts
>
> Philip
>
>>
>> Kind regards,
>>
>> Mike Looijmans
>> System Expert
>>
>> TOPIC Embedded Products
>> Eindhovenseweg 32-C, NL-5683 KH Best
>> Postbus 440, NL-5680 AK Best
>> Telefoon: +31 (0) 499 33 69 79
>> Telefax: +31 (0) 499 33 69 70
>> E-mail: mike.looijmans at topicproducts.com
>> Website: www.topicproducts.com
>>
>> Please consider the environment before printing this e-mail
>>
>>
>>
>>
>>
> --
> _______________________________________________
> meta-xilinx mailing list
> meta-xilinx at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-xilinx

Thanks,

Moritz



More information about the meta-xilinx mailing list