OPOS93 SP FPGA configuration: Difference between revisions

From ArmadeusWiki
No edit summary
 
Line 18: Line 18:
  # modprobe flexio-armabus
  # modprobe flexio-armabus
</pre>
</pre>
{{Note| On the Opos93SP_Dev board, prior to remove the flexio-armabus, you'll probably need to:
* unbind the '''fpga-gpio-leds''' from the GPIOs:
*:<pre class="apf"> # echo 'fpga-gpio-leds' > /sys/bus/platform/drivers/leds-gpio/unbind</pre>
* Remove the '''gpio_flexio_armabus''' module:
*:<pre class="apf"> # rmmod gpio_flexio_armabus</pre>
}}


== Using Efinity via JTAG ==
== Using Efinity via JTAG ==


{{Warning| Configuring the FPGA using Efinity programmer is currently broken.}}
{{Warning| Configuring the FPGA using Efinity programmer is currently broken.}}

Latest revision as of 18:21, 3 October 2025


Using Linux

Prerequisites

Please ensure that the Efinity project is configured as such:

  • Generate .hex.bin file (found under the outflow directory)
  • The bitstream should be in a SPI 8b passive format

Configuration

The flexio-armabus kernel driver will configure the FPGA via SPI as soon as it is loaded. Please copy your <YOUR_PROJECT>.hex.bin to /lib/firmware/fpga/bitstream.bin on the board and either reboot, or unload and reload the module:

 # rmmod flexio-armabus
 # modprobe flexio-armabus
Note Note: On the Opos93SP_Dev board, prior to remove the flexio-armabus, you'll probably need to:
  • unbind the fpga-gpio-leds from the GPIOs:
     # echo 'fpga-gpio-leds' > /sys/bus/platform/drivers/leds-gpio/unbind
  • Remove the gpio_flexio_armabus module:
     # rmmod gpio_flexio_armabus


Using Efinity via JTAG

Warning Warning: Configuring the FPGA using Efinity programmer is currently broken.