Skip to content

RISC-V KVM resource - #83

Open
selimsandal wants to merge 5 commits into
gem5:stablefrom
selimsandal:stable
Open

RISC-V KVM resource#83
selimsandal wants to merge 5 commits into
gem5:stablefrom
selimsandal:stable

Conversation

@selimsandal

Copy link
Copy Markdown

@erin-le as requested. I don't know how these resources are hosted on the website (https://resources.gem5.org/), this resource should be uploaded there for the next release. I removed mentions of my own repo but since there is not a release that contains this resource right now it'll 404

Replace the temporary GitHub release URL with the dist.gem5.org path
where the image will be rehosted, following the same layout as the
existing riscv-ubuntu-24.04-img resource. Also restrict gem5_versions
to develop: the RISC-V KVM CPU and the RiscvBoard m5ops MMIO window at
0x10010000 are not in v25.1, so the addr-mode image cannot run there.
@erin-le
erin-le requested a review from BobbyRBruce August 20, 2026 22:26
@erin-le

erin-le commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Thanks @selimsandal! @BobbyRBruce will take care of uploading the resource.

@powerjg powerjg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for posting this! It's great to have shared resources for everyone to be able to take advantage of these features and to be able to reproduce work that others have done.

There are some issues with this PR that need to be addressed before it's merged as an official resource.

  1. Is it possible to make the init script unified between addr mode and magic instructions like the arm and x86 versions? https://github.com/gem5/gem5-resources/blob/stable/src/ubuntu-generic-diskimages/files/x86/gem5_init.sh
  2. I don't want to have a patch on the m5 utility in this PR. That change should be merged into the gem5 repo.
  3. We need to have the kernel module compiled for riscv. Like x86 and Arm.

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

Successfully merging this pull request may close these issues.

3 participants