Re: [RFC PATCH] fpga: Introduce new fpga subsystem

From: Michal Simek
Date: Thu Sep 19 2013 - 11:14:53 EST


On 09/19/2013 04:42 PM, Yves Vandervennet wrote:
> HI Michal.,
>
>
> On Thu, Sep 19, 2013 at 5:55 AM, Michal Simek <monstr@xxxxxxxxx> wrote:
>
>>
>>
>>>> Will this framework handle more than one fpga at a time?
>>
>>> I didn't tried that because I don't have any suitable hw for this on my
>> desk
>>> but I there shouldn't be any problem in that.
>>
> Supporting multiple FPGA's at one time is key.
>
>>
>>>> Is there some way a per-device userspace helper can be added that can
>>>> handle adding the headers? Such that different fpga types get different
>>>> helpers?
>>
>>> What do you exactly mean by that? Any example what do you want to achieve?
>>
> Bit streams may not be in raw format, so using 'cat' is not possible.
> Xilinx and Altera have their own bit stream "richer" format, that can need
> to be processed before they are presented to the driver(s). So, a hotplug
> helper per manufacturer/FPGA is required. Assuming 'cat' will be used is
> too limited.
> Does it make sense to you?

Sure. We are handling this at the driver level but as I mentioned
previously these specific functions should be added to xilinx/altera.c file
(like crc checking mechanisms, etc).
Only one question remain which is if this driver should provide any hook
for this functions or these functions should be called in the end driver.

Thanks,
Michal


--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform


Attachment: signature.asc
Description: OpenPGP digital signature