I ran across this interesting open source project, Usermode Driver for RISC-V Trace.
Caveat: I haven’t tried it myself, but it looks like it could be highly useful, and I thought folks here would want to know. Cheers!
I ran across this interesting open source project, Usermode Driver for RISC-V Trace.
Caveat: I haven’t tried it myself, but it looks like it could be highly useful, and I thought folks here would want to know. Cheers!
Yea, I made that. Remember to patch the device-tree and rebuild the kernel with this patch
to fix a kernel bug that maps the MMIO access of /dev/mem
to wrong pfn and crashes/hangs the core. Hopefully SiFive/ESWIN can take this patch soon and release a new version.
Welcome to the forum.