riscv-isa-sim
buildroot
riscv-isa-sim | buildroot | |
---|---|---|
15 | 51 | |
2,211 | 2,491 | |
2.7% | 2.0% | |
9.0 | 10.0 | |
6 days ago | 7 days ago | |
C | Makefile | |
GNU General Public License v3.0 or later | 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.
riscv-isa-sim
-
RISC-V simulator
Someone correct me if I'm wrong, but Spike is considered the gold standard for RISV-V simulation, in terms of support for extensions and overall correctness. As I understand it, QEMU is faster and easier to use for day-to-day for general software development.
- Help needed in building cavatools
- GCC 13 Adds RISC-V T-Head Vendor Extension Collection
-
Hardware/software to run RISC-V ASM?
Spike is an RISC-V instruction set simulator: https://github.com/riscv-software-src/riscv-isa-sim
-
most underrated cpp project you’ve seen?
I really like the source code for the Spike RISC-V ISA Simulator. It's not very heavily commented, though, so you really need to read the code.
- C++17 RISC-V RV32/64/128 userspace emulator library
- Buying RISC-V development board
-
Is there a way to run RISCV sim spike on bare metal?
If you want to run bare metal with no RTOS, it should be possible, but you will need to replace the main startup program (https://github.com/riscv-software-src/riscv-isa-sim/blob/master/spike_main/spike.cc) with some program to set up the hardware and instantiate the simulator, load the OS image etc and then have a decent runtime environment to that supports malloc() etc and redirect IO to serial or flash memory etc. There is a bit of work you would need to do.
- switching between privilege levels
-
Starting up with RISC-V
I guess you will also use Spike and the Sail model for RISC-V.
buildroot
- Damn Small Linux 2024
-
I Built Linux from Scratch
I did it few times. It's so much easier nowadays with https://buildroot.org/
-
GitHub - avxmw/creality_k1_fw: Tracks firmware for Creality K1 series 3D printers
If you dig through the rootfs of the K1 it becomes clear that Creality is using buildroot so we should be able to do that ourselves - at least some of us.
- Fazer uma distribuição Linux
-
Curious about Roku OS
An embedded system like Roku doesn't need to "run everything", it just needs to run their "platform", which is probably quite small. It's pretty trivial to assemble your own OS from "off-the-shelf" components. You can use something like buildroot to spin up a new OS in half a day, using only the components you want. You can also use "smaller" components that have far fewer features, meaning less bugs and less updates.
-
Linux-factory: A framework used to create custom Linux Debian operating systems
https://github.com/buildroot/buildroot
-
Debloating Windows 10 with one command and no internet scripts
> I do this for every Windows installation that is used for similar purposes, like embedded machines that has to run a single application, virtual machines, etc.
Have you tried running Linux for these use cases? This sort of thing is an area Linux excels, in my experience.
When you run Windows, you're in for the whole kit and caboodle. Most of the components are proprietary, closed-source black boxes. You can only poke and prod and test and hope things don't break in unexpected ways.
Conversely, Linux can be easy stripped down to a bare bones kernel and a single statically-linked binary. I can run a useful application on top of Linux with the whole system weighing in smaller than bootmgfw.efi.
Something more complex, but still custom, is easily crafted with Buildroot.
https://buildroot.org/
-
Automatically generate commit messages using ChatGPT
Have a look at the commit history of Linux or buildroot for nice readable commit histories.
-
Does it make sense to try to install / maintain a gentoo system in a vm for learning more about Linux?
Gentoo could teach you more about what is involved in dependency handling and actual ‘construction’ of a Linux system. But Linux From Scratch is a much better teaching tool for learning this, and even things like Buildroot are arguably better than Gentoo for this because they generally force you to care about a lot of the stuff that Gentoo hides away to make the system nicer to use.
- Die Fahrplananzeiger der RNV laufen auf einem Raspberry Pi
What are some alternatives?
sail-riscv - Sail RISC-V model
rust-raspberrypi-OS-tutorials - :books: Learn to write an embedded OS in Rust :crab:
riscv-arch-test
meta-balena - A collection of Yocto layers used to build balenaOS images
rvv-intrinsic-doc
riscv-gnu-toolchain - GNU toolchain for RISC-V, including GCC
nanoCH32V305
nerves - Platform infrastructure for embedded Erlang/OTP, Elixir, and LFE projects
TinyGo - Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM.
qemu
linux-xlnx - The official Linux kernel from Xilinx