Skip to content
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

Overlapping memory regions in ROM #10

Open
deepsthewarrior opened this issue Jun 28, 2023 · 2 comments
Open

Overlapping memory regions in ROM #10

deepsthewarrior opened this issue Jun 28, 2023 · 2 comments

Comments

@deepsthewarrior
Copy link

image

I did make qemu and the terminal says that there is overlapping memory. I did no changes to the MakeFile or any file.

@fintelia
Copy link
Member

Hm, looks like newer versions of QEMU ship with a default firmware that overlaps where RVirt tries to place its code. Appending -bios none to command in the Makefile fixes that issue, but there seems to be a second issue with the PLIC:

panicked at 'PLIC address not specified', src/libcore/option.rs:1188:5
QEMU: Terminated

My guess is that QEMU also changed their device tree, and RVirt isn't recognizing the new contents. When I have a chance I'll debug more and see if I can get the code working again

@Zera-Algorithm
Copy link

You can change qemu's version to 4.0.0. It works for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants