https://github.com/rinhizakura/lib-rvqemu
Run bare metal RISC-V codes in QEMU without any OS supported
https://github.com/rinhizakura/lib-rvqemu
Last synced: 3 months ago
JSON representation
Run bare metal RISC-V codes in QEMU without any OS supported
- Host: GitHub
- URL: https://github.com/rinhizakura/lib-rvqemu
- Owner: RinHizakura
- License: other
- Created: 2021-11-03T10:49:39.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-11T03:48:33.000Z (over 3 years ago)
- Last Synced: 2024-12-27T12:09:02.134Z (4 months ago)
- Language: C
- Homepage:
- Size: 24.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-riscv-probe
Awesome Lists containing this project
README
# lib-rvqemu
## Introduction
This project is going to show you how can we run bare metal RISC-V codes in a qemu-virt system
emulator without any OS supported. It doesn't aim to be useful since there already exists many
good work(see [reference](#Reference)). However, I think that it is still worth getting our
hands dirty to see what's happened inside the "magic".You can read my [chinese note](https://hackmd.io/@RinHizakura/BkAZoqyvt) for more
information of this project.
## RunCompile the library with the "hello" example.
```
make
```Run the "hello" example in qemu.
```
make qemu
```## Reference
* [riscv-probe](https://github.com/michaeljclark/riscv-probe)
* [riscv64-in-qemu](https://github.com/rtfb/riscv64-in-qemu)