r/RISCV • u/geoff-collyer • 14m ago
Hardware ecc udimms in a titan?
Has anybody put ECC UDIMMs in a Milk-v Titan?
If so, which ones?
r/RISCV • u/geoff-collyer • 14m ago
Has anybody put ECC UDIMMs in a Milk-v Titan?
If so, which ones?
r/RISCV • u/JoannaNovaX • 7h ago
A short demo of openRuyi Creek running on the SpacemiT K3 Pico ITX with EDK2 UEFI firmware.
This demonstrates a RISC-V board booting through an open UEFI firmware stack and launching openRuyi Creek with a Wayland desktop environment.
Hardware / Software:
Graphics / System:
Project: openRuyi
https://github.com/openRuyi-Project/openRuyi
Firmware: Ruyi Firmware
https://github.com/openRuyi-Project/ruyifirmware
Video demo:
https://www.youtube.com/watch?v=nWcAJ6ZVwnM
r/RISCV • u/FinancialSoft1644 • 11h ago
I have been working on rvwasm: a full Debian riscv64 desktop running KDE Plasma 6, entirely inside a browser tab. Nothing is streamed from a server; the whole machine runs on your own computer, in the page. This is a follow-up with what changed since the first post, with a bit more on the RISC-V side for this sub.
Try it: https://plasmaontheweb.com (Chrome / Edge / Brave are fastest, Firefox works too; a fast CPU helps a lot)
Source: https://github.com/Pogo-Bash/rvwasm
The RISC-V part
apt-get install works.fork() for riscv64 programs is done inside the emulator by copying the guest, so bash, apt, dpkg and Python behave like on real hardware.How the rest works
?exec=webgpu (Chrome/Edge).New since the last post
fork(). It’s not live yet.Rough edges, honestly
This is an unofficial hobby project, and I’m not affiliated with KDE e.V. or Debian. Huge thanks to the Debian riscv64 porters (none of this works without that port), the KDE developers, and Joel Severin for linux-wasm, which everything sits on.
I’d love feedback, especially on the JIT side. If you know RISC-V emulation, binary translation or wasm codegen, tell me what you’d do differently, what’s slow on your machine, and which riscv64 software you’d want to see running.
project was assisted by claude code
r/RISCV • u/omasanori • 22h ago
It uses Baikal Electronics BE-U1000, a microcontroller with two CloudBear BR-350 RV32IMAFCB cores at 200 MHz and one BR-310 RV32IMCB core at 100 MHz. Long time since Russian companies stopped joining RISC-V Summit, but they still do their business.
r/RISCV • u/superkoning • 22h ago
r/RISCV • u/yesos-project • 2d ago
Hi r/RISCV! I've been building **YesOS**, a bare-metal OS for RV64GCV (`rv64gcv_zba_zbb_zbc_zbs`) written from scratch in C, Rust `no_std` and assembly: no Linux, no libc, no OpenSBI, no binary blobs. It's inspired by TempleOS.
It uses the ISA in a slightly unusual way, which is why I'm posting here:
- **M-mode only, isolated by the PMP.** There is no S-mode or U-mode. Every hart programs its PMP with the **L bit set**, so the rules bind M-mode itself until reset. The layout (NULL guard, R-X `.text`, R-- `.rodata`, RW- data/heap, one RWX JIT arena, a private key region and a locked deny-all catch-all) uses 9 of 16 entries under QEMU.
- **The layout is proven, not just generated.** At build time a script reads the linked ELF, computes the `pmpaddr`/`pmpcfg` values (TOR + NAPOT) and asks **Z3** to prove that, for every physical address and access type, the hardware semantics match the policy (W^X outside the JIT arena, immutable code, nothing falling through to M-mode's default allow). A mutation self-test checks that 7 deliberately broken layouts are rejected. If the proof fails, the ELF is deleted. At boot, each hart writes its PMP, reads it back and sweeps it against the build certificate.
- **PMP "cells" for untrusted code.** A hart locks its own PMP so it only sees its runtime, a 64 KiB code arena and 192 KiB of data. The PMP doesn't cover CSRs, so an instruction verifier rejects the SYSTEM opcode class (CSRs, `ecall`, `mret`, `wfi`), `fence.i`, compressed and custom encodings.
- **A key kept in vector registers.** The vault key lives only in `v30`/`v31` of a dedicated "key hart" and never touches memory. The C code on that hart is compiled without V (clang emits RVV even for struct copies), and a build check walks the call graph to make sure no vector instruction is reachable outside the assembly that holds the key.
- **Zkr** `seed` for entropy (probed at runtime, with a warning when it's missing, e.g. on the JH7110), **Zbc** for CRC, and **CLINT `mtime`** as the clock.
Boot excerpt (QEMU `virt`, 4 harts):
```
[ OK ] PMP locked on hart 0: 9/16 entries, 56-bit PA, Z3-proven + boot-verified
[ OK ] PMP cell on hart 3: locked 6 entries, readback verified
[ OK ] Key hart 2: private key vault locked (9 PMP entries), DEK never visible to other harts
[ OK ] Key hart 2: DEK held in vector registers only; XChaCha20-Poly1305 KAT matches RustCrypto
[ OK ] CPU : RISC-V RV64GC + Zba/Zbb/Zbc/Zbs + RVV 1.0 (VLEN 128)
YesOS [/]> pmp
pmp0 addr=0x0000000000004000 cfg=0x88 TOR --- LOCKED
pmp1 addr=0x0000000020000000 cfg=0x8B TOR RW- LOCKED
pmp2 addr=0x0000000020010C00 cfg=0x8D TOR R-X LOCKED
pmp3 addr=0x0000000020015400 cfg=0x89 TOR R-- LOCKED
pmp4 addr=0x00000000203AFC00 cfg=0x8B TOR RW- LOCKED
pmp5 addr=0x00000000203F0400 cfg=0x8F TOR RWX LOCKED
pmp6 addr=0x00000000205F4C00 cfg=0x88 TOR --- LOCKED
pmp7 addr=0x0000000028000000 cfg=0x8B TOR RW- LOCKED
pmp8 addr=0x003FFFFFFFFFFFFF cfg=0x98 NAPOT --- LOCKED
```
On top of the core there are three products: a NAS (TLS 1.3 inside the kernel, WebDAV, snapshots), an invisible bridge firewall, and a desktop that's just starting.
**Honest limits:** it runs under QEMU only, with virtio devices. The Orange Pi RV2 (SpacemiT X1) and the VisionFive 2 (JH7110) build and link with their own PMP layouts, but they still need storage and network drivers, and the CLINT address and timebase are QEMU's for now. The PMP doesn't stop the kernel from reading its own data, and it doesn't cover DMA.
Built with heavy AI assistance (Claude); the design, priorities and review are mine.
Code (MIT): https://github.com/yesos-project (start with `yesos-core`).
Questions for people who know the hardware:
I use classic PMP with the L bit, not **Smepmp** (`mseccfg.MML`/`MMWP`) yet. For an M-mode-only design, would you move to Smepmp, and is it available on current boards?
Does anyone know the PMP entry count and granularity on the **SpacemiT X60** cores? The Orange Pi RV2 layout needs 9 entries.
Is Zkr's `seed` actually implemented on the X60?
r/RISCV • u/omasanori • 2d ago
Zvknhk, stands for “standard vector extension (Zv) for cryptography (k): NIST-selected (n) hash algorithm (h) Keccak (k)”, calculates round(s) of the Keccak sponge function, introduced as the core of SHA-3. Keccak is not only used by SHA-3 but also by other post-quantum cryptography algorithms including ML-KEM, ML-DSA and SLH-DSA.
r/RISCV • u/ProductAccurate9702 • 3d ago
Enable HLS to view with audio, or disable this notification
r/RISCV • u/Simple_Woodpecker108 • 3d ago
The title is straightforward. I would like to ask the community what would be a realistic performance (MHz and DMIPS/MHz) expectation for an RV32IMC soft core implemented on a mature process (say, 55nm, aka Cyclone 3/4/10LP, Max 10, Gowin GW2A, etc.) LUT4-based FPGA?
I was able to find a solution that runs at 120MHz with 1.64DMIPS/MHz (gcc 15.2, -O3) on GW2A (slightly lower but comparable numbers on Altera's 55nm offerings) for under 2500 LUTs (proportionally, FF consumption is much less so only comparing LUT count), that has proper bus stall and interrupt support.
Wonder if there are better options available out there, preferably open source, under a permissive license would be better. I'd also be happy to find something commercial from a relatively lesser-known consulting company so I can afford it.
Application would be running network protocols and light DSP jobs on FreeRTOS platform. Thanks in advance!
r/RISCV • u/MasterGeekMX • 4d ago
I need to set some details before a formal release, but my humble RV32I core that I designed entirely on graphical simulators (no single line of HDL written) is running the Rabinowitz-Borwein spigot algorithm. I am using that algorithm because it calculates each digit individually, and as my microcontroller only has a serial (UART) and parallel port, I can just send the digits over serial as they come up (which is what you can see on the screnshot).
r/RISCV • u/Mind_Reddit • 4d ago
Hi,
I've been getting more interested in RISC-V, especially Linux kernel development and QEMU.
But honestly, I'm having a hard time figuring out where to start.
I don't want to just follow tutorials or work on something that nobody actually needs. I'd like to find a real problem, understand it properly, and work toward contributing something useful.
I looked over RISE, mentor programs but not helped..
I'm not necessarily looking for an easy task or a quick first PR. I'm willing to spend time learning, even if it takes months.
Anyone could help me where to start!?
Ideally, I'd love to find a task that someone already knows needs to be done, but simply hasn't had the time to work on.
Thanks!
r/RISCV • u/archanox • 4d ago
r/RISCV • u/camel-cdr- • 5d ago
r/RISCV • u/superkoning • 6d ago
https://www.phoronix.com/news/Ubuntu-26.10-RISC-V-Desktop
with "Testing has been focused on the SpacemiT K3 hardware that is RVA23 profile compliant."
Nice!
r/RISCV • u/omasanori • 6d ago
r/RISCV • u/omasanori • 6d ago
Enable HLS to view with audio, or disable this notification
I have been enthusiastically watching at RISC-V for years and would love to see it become a viable desktop platform, not just another board for developers and hardware enthusiasts.
Being a game developer for over 2 decades I believe games are an important part of that journey. People often don't choose personal computer simply because of some tech features, they choose it to do things they enjoy, and for many people that includes games.
That's why I decided to port my game Bemined to RISC-V. I know that supporting this niche (at the moment) architecture takes significant time and effort and I don't expect the endeavor to bring me any money, but I want to contribute in my small own way to the ecosystem that eventually would make RISC-V an attractive platfrom for the casual everyday users.
For now I've got this game running on Ubuntu 24.04 at VisionFive 2 and would love to hear from other RISC-V users willing to try it.
To download/install/run:
wget bemined.com/download/Bemined.run
chmod +x Bemined.run
./Bemined.run
Graphics and performance:
The game supports both OpenGL ES and normal OpenGL so in theory it should support discreete GPU if anyone here has such config.
The game is pretty heavy on the graphics/effects side, so will be unplayable without GPU acceleration. From my experience on VisionFive 2 the game lags initially while it loads/processes textures in the background, but once the heavy CPU work is done and it's mostly GPU that does the work, the experience is relatively smooth even at 1920x1080.
There is also a web version of the game that runs in the browser, so you can use it as reference implementation to compare to RISC-V port:
If you try it, I'd love to hear how it works on your hardware, especially crash tracebacks. Please mention your board and system specs.
P.S. the game is free, but has microtransactions, thought I would clarify it upfront in case some people are allergic to that kind of stuff.
r/RISCV • u/omasanori • 7d ago
r/RISCV • u/Icy-Primary2171 • 7d ago
r/RISCV • u/Striking_Hawk8266 • 7d ago
Vi recentemente que os primeiros protótipos do BlueMacaw chegaram no laboratório da Universidade Brasileira UFMG. É um microcontrolador 32-bit baseado em RISC-V, com BLE integrado, fabricado em 22nm pela TSMC.
O projeto envolve as universidades federais do Brasil: UFSM, UFMG, UnB, UFCG, UFPR e algumas empresas nacionais, com apoio das empresas MCTI/Softex.
Achei interessante a proposta de ter um chip nacional pra IoT, com SDK próprio sendo desenvolvido. Mas fora do círculo acadêmico, não vi quase ninguém comentando.
Alguém aqui já conhecia? O que vocês acham da viabilidade técnica e da relevância prática de um projeto assim? Vale a pena acompanhar?
r/RISCV • u/omasanori • 7d ago
r/RISCV • u/JoannaNovaX • 7d ago
The September 2026 update for openRuyi, a rolling-release Linux distribution for RISC-V, is now available.
2026.09 brings updates across RVA23 support, cloud and storage, graphics, build infrastructure, and security.
Highlights:
Details: