mwelling / lofive

RISC-V microcontroller board based on SiFive FE310.
Other
160 stars 11 forks source link

udev rules are missing #6

Closed m3x1m0m closed 4 years ago

m3x1m0m commented 4 years ago

Here it says, you have to install some udev rules. The mentioned folder does not exist.

mwelling commented 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

mwelling commented 4 years ago

See updated instructions here: https://github.com/mwelling/lofive/wiki#configuring-host-for-ft2232h-56q-ftdi-uart-breakout

m3x1m0m commented 4 years ago

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