Closed m3x1m0m closed 4 years ago
Looks like the new SDK uses a standalone toolchain and openocd instead of providing it with the SDK.
If you look at the original lofive branch you will see that it is a submodule there.
Either way you can try to find the file in the standalone SDK or just download it from here: https://raw.githubusercontent.com/riscv/riscv-openocd/riscv/contrib/60-openocd.rules
wget https://raw.githubusercontent.com/riscv/riscv-openocd/riscv/contrib/60-openocd.rules
See updated instructions here: https://github.com/mwelling/lofive/wiki#configuring-host-for-ft2232h-56q-ftdi-uart-breakout
Very cool! Yeah. I found and copied the udev rules from the standalone openocd shipped by SiFive. Like
sudo cp /path/to/openocd/share/openocd/contrib/60-openocd.rules /etc/udev/rules.d
Here it says, you have to install some udev rules. The mentioned folder does not exist.