As far as I can tell, the minimum steps required to get ourselves up and running on Arch are:
- Install @nonerkao’s hifive1-sdk-git package from the AUR
- Copy /opt/hifive1-sdk/ to a directory to which we have read/write access
- Add ourselves to the uucp group
- Create the following udev rule in /etc/udev/rules.d/99-openocd.rules:
SUBSYSTEM==“tty”, ATTRS{idVendor}==“0403”, ATTRS{idProduct}==“6010”, GROUP=“uucp”`
The main difference from the Getting Started Guide being that we needn’t create (and add ourselves to) a plugdev group, a SUBSYSTEM==“usb” udev rule, or change the access permissions for the SUBSYSTEM==“tty” udev rule. Without setting the group, though, I found myself unable to upload to the board.