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

Implement RISC-V port #1171

Open
wkozaczuk opened this issue Aug 27, 2021 · 1 comment
Open

Implement RISC-V port #1171

wkozaczuk opened this issue Aug 27, 2021 · 1 comment
Labels

Comments

@wkozaczuk
Copy link
Collaborator

This is more of an epic than a single issue, as it will take a bit of effort and individual issues, to get it done. In essence, this effort could be broken into the following pieces:

  • modify main makefile and the build script to support the new arch
  • modify scripts/loader.py to support debugging
  • enable musl support (the version of musl OSv was lately upgraded), should support RISC-V (I think)
  • implement arch/riscv64/*-arch.* and RISC-V specific modules, this is probably the key and most difficult item
  • implement any RISC-V specific drivers (hopefully virtio should work)
  • update all places with #ifdef __aarch64__ and/or #ifdef __x86_64__ and add necessary support for RISC-V
  • many other things I have forgotten or I am not aware of

I believe QEMU supports running emulated RISC-V on x86 so that is where we could start.

BTW it would be cool to make OSv run on Fabrice Bellard's Tiny EMU which supports RISC-V.

PS. If anyone wants to add good resources about RISC-V, feel free.

@wkozaczuk wkozaczuk added the fun label Aug 28, 2021
@wkozaczuk
Copy link
Collaborator Author

wkozaczuk commented Jul 29, 2022

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

No branches or pull requests

1 participant