• Tomasz Wlostowski's avatar
    kernel: userspace gateware loading via sysfs · 335e1019
    Tomasz Wlostowski authored
    This patch allows to load an userspace-provided bitstream to a SVEC card through sysfs attributes.
    It does not rely on kernel firmware loader mechanism (so the gateware files are not restricted
    to /lib/firmware directory). Userspace communication is ensured through firmware_blob and firmware_cmd
    sysfs entries. The former inputs the bitstream in PAGESIZEd chunks, the latter receives gateware update start/finish commands.
    335e1019
svec-sysfs.c 11 KB