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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/