mini-rv32ima
opensbi-h
mini-rv32ima | opensbi-h | |
---|---|---|
16 | 1 | |
1,498 | 28 | |
- | - | |
6.6 | 0.0 | |
17 days ago | about 1 year ago | |
C | C | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mini-rv32ima
-
Driver hack lets you run Linux after Windows BSODs, no reboot required
It does emulate RiscV that runs Linux, so why not call it a Linux emulator?
Though https://github.com/cnlohr/mini-rv32ima is indeed impressively small. Here's the dispatch switch-case: https://github.com/cnlohr/mini-rv32ima/blob/eeeaaa0609558c84...
-
I boot Linux 6.1 on atmega328p
Yes you read it correctly. This is not April Joke. This is real Linux 6.1 running on real atmega328p clocked at 16MHz. Basically it's an optimized version of mini-rv32ima running on Arduino UNO with SD card swap. The entire code is written in C99.
-
Writing a Really Tiny RISC-V Emulator: rv32ima/Zifencei+Zicsr... sort of
repo:
-
Fun, or pure magic: RISC-V rv32ima emulator running busybox linux
git clone https://github.com/cnlohr/mini-rv32ima.git cd mini-rv32ima/ git reset --hard f5154edc2894c2624361ef26ad8c3e6ebd23dea3 # workaround for now make testdlimage
-
Zylin ZPU: The worlds smallest 32 bit CPU with GCC toolchain
Not GP, but this might scratch your itch https://github.com/cnlohr/mini-rv32ima
-
RVVM – The RISC-V Virtual Machine
So is this, even more so in my taste:
https://github.com/cnlohr/mini-rv32ima/blob/master/mini-rv32...
A RISC-V emulator in one include file.
- Making an emulator: Questions
- Open-source RISC-V simulator suggestions?
-
Embedded Systems Weekly #129
Writing a Really Tiny RISC-V Emulator It's maybe the tiniest RISC-V emulator around. It is all in one unique function of ~400 lines, but it can run Linux and various executables on it. The tiny C header-only risc-v emulator code is on Github with everything needed to make it run yourself. It's a really impressive work which deserves to be highlighted,
-
I got Linux running INSIDE of Team Fortress 2!
riscv-vscript is a port of mini-rv32ima to VScript (Squirrel3) that:
opensbi-h
-
RVVM – The RISC-V Virtual Machine
> I wish ARM64, RISC-V, and other modern ISAs had taken DEC Alpha AXP's idea of restricting all of the privileged instructions to the firmware
This is already possible on RISC-V to some extend, by trapping privileged instructions into upper privileged modes. Everything in the ISA is made so it may be achieved cleanly. It also does not allow to detect current privileged mode, so the kernel running in U-mode and trapped on each privileged instruction would never know it's actually not in S-mode.
There is even a software-based hypervisor extension emulator based on that, that brings KVM to non-hypervisor-capable HW: https://github.com/dramforever/opensbi-h
What are some alternatives?
8086tiny - 8086tiny interpreter by Adrian Cable, taken from http://www.megalith.co.uk/8086tiny/
RVVM - The RISC-V Virtual Machine
minimax - Minimax: a Compressed-First, Microcoded RISC-V CPU
Ripes - A graphical processor simulator and assembly editor for the RISC-V ISA
whisper
pinwheel - A tiny RISC-V processor for hard-real-time FPGA-based applications.
EightThirtyTwo - An experimental CPU core with 8-bit instruction words and 32-bit registers
riscv-vm - A Small RISC-V Virtual Machine
arv32-opt - [Tested successfully] Linux on Arduino UNO / atmega328p port of mini-rv32ima. Let's run Linux on the world's worst Linux PC (and beat Dmitry Grinberg)
zpu - The Zylin ZPU
zpugcc