Difference between revisions of "Rocking FPGA SAO Installation"

From Open Hardware Miniconf
Jump to: navigation, search
(Created page with "= Overview = '''GitHub repository:''' [https://github.com/geekscape/ohmc2022-firmware https://github.com/geekscape/ohmc2022-firmware] : FPGA gateware and firmware for the Ro...")
 
Line 3: Line 3:
 
'''GitHub repository:''' [https://github.com/geekscape/ohmc2022-firmware https://github.com/geekscape/ohmc2022-firmware]
 
'''GitHub repository:''' [https://github.com/geekscape/ohmc2022-firmware https://github.com/geekscape/ohmc2022-firmware]
  
: FPGA gateware and firmware for the Rockling FPGA SAO (''codec'' branch) currently supports the Theremin input (dual input frequency counters), the FPGA running a soft RISC-V processor and hardware peripherals.  However, the STGL-5000 audio codec IC integration is still a work-in-progress.
+
FPGA gateware and firmware for the Rockling FPGA SAO (''codec'' branch) currently supports the Theremin input (dual input frequency counters), the FPGA running a soft RISC-V processor and hardware peripherals.  However, the STGL-5000 audio codec IC integration is still a work-in-progress.
  
== Download FPGA development software ==
+
= Set-up USB hot-plug UDEV rules (for Linux only) =
  
<code>
+
When the Rockling is connected to the computer's USB port, the dynamically created device file <code>/dev/bus/usb/001/...</code> will need to have the correct permissions set by the UDEV rules.
git clone https://github.com/geekscape/ohmc2022-firmware.git --branch codec
+
 
</code>
+
From [https://workshop.fomu.im/en/latest/requirements/drivers.html FOMU workshop instructions]
 +
 
 +
    sudo groupadd plugdev
 +
    sudo usermod -a -G plugdev $USER
 +
 
 +
Log out and log in again
 +
 
 +
    sudo bash
 +
    vi /etc/group  # Add users to "plugdev:x:46:$USER"
 +
    vi /etc/udev/rules.d/99-fomu.rules
 +
        SUBSYSTEM=="usb", ATTRS{idVendor}=="1209", ATTRS{idProduct}=="5bf0", MODE="0664", GROUP="plugdev"
 +
    udevadm control --reload-rules
 +
    udevadm trigger
 +
 
 +
= Download FPGA development software =
 +
 
 +
    git clone https://github.com/geekscape/ohmc2022-firmware.git --branch codec

Revision as of 17:54, 12 March 2023

Overview

GitHub repository: https://github.com/geekscape/ohmc2022-firmware

FPGA gateware and firmware for the Rockling FPGA SAO (codec branch) currently supports the Theremin input (dual input frequency counters), the FPGA running a soft RISC-V processor and hardware peripherals. However, the STGL-5000 audio codec IC integration is still a work-in-progress.

Set-up USB hot-plug UDEV rules (for Linux only)

When the Rockling is connected to the computer's USB port, the dynamically created device file /dev/bus/usb/001/... will need to have the correct permissions set by the UDEV rules.

From FOMU workshop instructions

   sudo groupadd plugdev
   sudo usermod -a -G plugdev $USER

Log out and log in again

   sudo bash
   vi /etc/group  # Add users to "plugdev:x:46:$USER"
   vi /etc/udev/rules.d/99-fomu.rules
       SUBSYSTEM=="usb", ATTRS{idVendor}=="1209", ATTRS{idProduct}=="5bf0", MODE="0664", GROUP="plugdev"
   udevadm control --reload-rules
   udevadm trigger

Download FPGA development software

   git clone https://github.com/geekscape/ohmc2022-firmware.git --branch codec