Using sysfs interface

Linux Drivers

Release Date
2023-07-22
Once the linux is up run the below commands to load the Bitstream.
  • echo 0 > /sys/class/fpga_manager/fpga0/flags
  • mkdir -p /lib/firmware
  • cp /media/design_1_wrapper.bit.bin /lib/firmware/
  • echo design_1_wrapper.bit.bin > /sys/class/fpga_manager/fpga0/firmware

Steps for programming the Encrypted Bitstream

1)Set flags for Encrypted Bitstream

  • echo 0x4 > /sys/class/fpga_manager/fpga0/flags

2)Load the Bitstream

  • mkdir -p /lib/firmware
  • cp /media/enrypted.bit.bin /lib/firmware/
  • echo enrypted.bit.bin > /sys/class/fpga_manager/fpga0/firmware