-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can it run OpenSBI? #35
Comments
It "should be able to" but I've never understood opensbi, or gotten it to successfully build and run on literally anything except qemu. I encourage you to do this, it would be cool for someone to understand it. But I do not. |
Makes sense |
I think the first step to accomplish this is either:
The former is the preferred solution as Linux, and I also believe U-boot, can leverage the dts file. This has been the best reference on the subject so far. |
Thanks! I'm going to try that |
@ElectroBoy404NotFound as long as @cnlohr doesn't mind the chatter, feel free to share your notes here. |
I'll see if I have time for a deeper dive later this month, but to start out: @cnlohr emulates a 8250 UART, The output buffer address is Seems like we would need to determine the register start address (assuming |
nevermind this is already made https://github.com/cnlohr/mini-rv32ima/blob/master/mini-rv32ima/sixtyfourmb.dts |
I def don't mind the chatter. And yeah, the idea is I just don't use OpenSBI, it feels like a lot of extra cruft without any real payoff. I still don't "get it" for something where the kernel should just be able to boot. But if someone gets it working, please let me know! I'm happy to accept patches as long as they are small. |
Well, I guess I better start checking notifications.. |
Hi!
I have a pre-compiled risc-v opensbi image with the following:
So what file am i supposed to execute with the emulator? I tried fw_jump.bin but it didn't work.
The text was updated successfully, but these errors were encountered: