Hello Everyone,
I'm trying to run Linux on rocket chip. As I understand the syntax and method of running should be similar to running Linux on spike. I have been able to get Linux running on spike but when I've used the same commands/syntax for rocket chip emulators it is not successful. With spike I simply use:
spike bbl
to run Linux after compiling. It goes straight to the command line in riscv-linux.
After building rocket chip I get the emulator emulator-freechips.rocketchip.system-DefaultConfig and trying:
emulator-freechips.rocketchip.system-DefaultConfig bbl
takes me to a prompt:
This emulator compiled with JTAG Remote Bitbang client. To enable, use +jtag_rbb_enable=1.
Listening on port 36957
When I've tried to follow steps for connecting with RBB enabled I have not had complete success. I can run simple demo programs like the ROT13 on github, but this doesn't work for Linux, the emulator just exits with no error and it is no longer running.
Right now, I don't need any deep debugging capabilities--eventually I will. I just need a very basic Linux kernel running on RTL. Are there any how to's out there to do that? Or can someone provide some insight on doing that?
Thanks!
Jeremy