Arch Linux and the HiFive1

As far as I can tell, the minimum steps required to get ourselves up and running on Arch are:

  1. Install @nonerkao’s hifive1-sdk-git package from the AUR
  2. Copy /opt/hifive1-sdk/ to a directory to which we have read/write access
  3. Add ourselves to the uucp group
  4. 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.

1 Like