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

Pavel Machek
2013-09-19T10:08:36Z

Hi!

> The firmware approach is interesting. It might be less flexible
> compared with my original code (see link to git below) that this is

On the other hand... that's the interface world wants, right? To most
users, fpga bitstream is just a firmware.

> 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?

https://www.kernel.org/doc/Documentation/firmware_class/README

4), userspace:
- hotplug: cat appropriate_firmware_image > \
/sys/class/firmware/xxx/data

I assume udev's firmware.sh could be modified to add headers.

But... if same bitstream is expected to work across multiple FPGAs (is
it?) maybe kernel should hide that difference and provide headers
itself.

Thanks,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html