-
Notifications
You must be signed in to change notification settings - Fork 14
OpenOCD
Carsten edited this page Mar 11, 2022
·
9 revisions
- Get the patched version of RISC-V OpenOCD
- Select the correct branch depending on the RISC-V core
Core Branch Note SweRV riscv-tapasco-swerv System bus access is disabled. SCR1 riscv-tapasco-scr1-no-bursts Write and read bursts are disabled. SCR1 riscv-tapasco-scr1-write-bursts Only read bursts are disabled. CVA6 riscv-tapasco-cva6 Patched write bursts as in riscv-tapasco-scr1-write-bursts and replaced read bursts of length=nwithnbursts oflength=1.SCR1 riscv-tapasco-cva6 The CVA6 branch seems to work for SCR1 too. Default riscv-tapasco - Compile C Cap'n Proto
git clone https://github.com/opensourcerouting/c-capnprotocd c-capnprotogit submodule update --init --recursiveautoreconf -f -i -s./configuremakecd ..
- Move library c-capnproto/.libs/libcapnp_c.la into riscv-openocd/src/jtag/drivers/
- Move library c-capnproto/.libs/libcapnp_c.so into riscv-openocd/src/jtag/drivers/.libs/ (new directory)
- Build OpenOCD with:
./bootstrap./configure --enable-tapascojtagmake-
make install(requires root permissions, otherwise directly usesrc/openocdas the binary)