frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Miralis – a RISC-V virtual firmware monitor

https://github.com/CharlyCst/miralis
4•charlycst•1y ago
Miralis is a RISC-V firmware that virtualizes RISC-V firmware. In other words, it runs firmware in user-space (M-mode software in U-mode).

The fact that this is even possible is interesting: indeed, not all ISAs are virtualizable, and the same applies for their firmware mode. It all boils down to the virtualization requirements [1], which is a great read if you haven't come across it yet. Arm's EL3 cannot be virtualized, for instance, because some instructions, such as `cpsid`, are sensitive but do not trap (`cpsid` is a nop in user-space).

If you have a VisionFive 2 or a HiFive Premier P550, you can try it out, the instructions are in the documentation [2, 3]. Of course, it runs on QEMU too.

As Miralis is a research project, we have also been using it as a vehicle to explore other research ideas, such as automated verification of hypervisors [4]. For instance, we verified instruction emulation by comparing Miralis' implementation with the reference RISC-V executable specification [5], which we translated to Rust.

It has been fun working on Miralis, I hope you'll find it interesting too!

[1]: https://dl.acm.org/doi/pdf/10.1145/361011.361073

[2]: https://miralis-firmware.github.io/docs/platforms/visionfive...

[3]: https://miralis-firmware.github.io/docs/platforms/premierp55...

[4]: https://charlycst.github.io/papers/lightweight-hypervisor-ve...

[5]: https://github.com/riscv/sail-riscv

Free, classroom friendly Seterra replacement for map quizzes

https://whereisit.earth/
1•russpuppy•2m ago•0 comments

Design Fiction Mood Board

http://www.chrbutler.com/design-fiction-mood-board
2•delaugust•2m ago•0 comments

Designing an Always-On Agent

https://rubriclabs.com/blog/always-on-agents
1•handfuloflight•4m ago•0 comments

Tricking DeepSeek into Not Hacking Your Website

https://utkusen.substack.com/p/tricking-deepseek-into-not-hacking
2•utku1337•4m ago•0 comments

You Can't Speedrun Yourself

https://blog.cosmos-institute.org/p/you-cant-speedrun-yourself
2•Curiositry•4m ago•0 comments

Self Improving Software Factory

https://github.com/sis-factory/sis-factory
1•failfasterdaily•5m ago•0 comments

Running a Language Model on a $35 FPGA

https://nishtahir.com/running-a-language-model-on-an-fpga/
1•CarefreeCrayon•5m ago•0 comments

Show HN: psi, a 6.4 MB cross-platform portable coding agent in ANSI C & Lua

https://psicode.ai/
1•siraben•7m ago•0 comments

Show HN: Claude Code status line, hooks and permissions builders (in-browser)

https://orbtile.com/tools/claude-code-statusline-builder
1•diogomendes•8m ago•0 comments

Viscerality

https://map.simonsarris.com/p/viscerality
2•Curiositry•8m ago•0 comments

Show HN: Build a PC in 3D in the Browser

https://www.buildcores.com
1•ozaiworld•10m ago•0 comments

A proof that Z is Diophantine in Q

https://github.com/elliotglazer/diophantine-z-q
1•lisper•11m ago•0 comments

Russia's combat losses in the data of Rosstat

https://rosstat-leaks.com/
2•Teever•13m ago•0 comments

Weird (but useful) questions to ask startups before joining

https://nextplayso.substack.com/p/weird-but-useful-questions-to-ask
1•jger15•13m ago•0 comments

Hold Fire – deep dive on nuclear near-miss incidents and deterrence theory song

https://holdfire.cc/
1•qiqing•20m ago•0 comments

Ads in Popular Apps Give Police a Powerful Tool to Spy on Users

https://www.bloomberg.com/features/2026-police-phone-tracking-advertising-tech/
5•mgh2•23m ago•0 comments

Etsy Expands AI Training Rights over Content, Restricts 3rd Party Training

https://www.valueaddedresource.net/etsy-expands-ai-training-rights/
2•rarisma•24m ago•0 comments

5k-year-old bread loaves go on display in Turkey

https://www.thehistoryblog.com/archives/77314
1•acossta•25m ago•1 comments

I fixed my Mac's window mess with a tiny free app

https://m-reschreiter.at/en/blog/i-fixed-my-macs-window-mess?utm_source=hn
3•asm3r96•27m ago•0 comments

The New Space Force Special Operations Command, Spacefor-SoC, Formally Activated

https://taskandpurpose.com/news/space-force-special-operations-command-activated/
2•hbarka•29m ago•0 comments

Show HN: FELF – AppImage-like single binaries without FUSE, root, or a runtime

https://github.com/Rucadi/FELF
2•Rucadi•29m ago•0 comments

Show HN: Recap Studio – A Mac screen recorder for clean, polished demos

https://recap.studio/
1•fx31xo•33m ago•0 comments

RAM Altman: Linux Script Emails Sam Altman Daily How Much Unused RAM in Your PC

https://respawnfirst.com/linux-script-emails-sam-altman-unused-ram-ram-altman/
15•randycupertino•35m ago•6 comments

I gave an agent a lakehouse and control of my garden

https://jatorre.github.io/garden/
1•jatorre•36m ago•0 comments

US believes Nvidia's Huang had romantic relationship with alleged Chinese spy

https://www.ft.com/content/a55a2a22-4479-4f93-a445-6147a5c6d790
7•mgh2•36m ago•0 comments

A Little Snitch for Windows

https://packethound.app/
2•BadBoyBubby•39m ago•0 comments

ALPRs show that we need a constitutional amendment for information privacy

https://www.mercurynews.com/2026/11/08/opinion-flock-cameras-privacy-america/
1•pilingual•40m ago•0 comments

Show HN: Maple – Run Gemma 4 26B on a 6GB Laptop GPU at 45 TPS (Sub-2-BPW)

https://amsach.github.io/maple/
2•AmSach•42m ago•0 comments

GPT-6 Luna and GPT-6.1 Sol are 90% off the listed price

https://anyrouter.dev/blog/releases/2026-11-03-llamport
3•duyetdev•43m ago•0 comments

Here Comes Another Bubble v1.1 – The Richter Scales [video]

https://www.youtube.com/watch?v=I6IQ_FOCE6I
2•Bluestein•44m ago•0 comments