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

Zero Calcium. Doubled Plaque

https://substance-over-noise.beehiiv.com/p/zero-calcium-doubled-plaque
1•brandonb•1m ago•0 comments

Judge orders Trump admin to restore Park changes at sites that 'disparaged' US

https://apnews.com/article/trump-national-parks-lawsuit-c39eee6f77c2e782fc494e2167bf5a39
4•petethomas•4m ago•0 comments

John Basinger, Who Memorized All 12 Books of 'Paradise Lost,' Dies at 92

https://www.nytimes.com/2026/06/09/arts/john-basinger-dead.html
3•bookofjoe•4m ago•2 comments

I stay connected as a digital minimalist

https://blog.sulimans.space/how-i-stay-connected-as-a-digital-minimalist/
2•speckx•5m ago•0 comments

Reading a cryptominer from its strace

https://frn.sh/tforks/
1•shellpipe•6m ago•0 comments

Book Review (2/26): How Africa Works by Joe Studwell

https://www.africanistperspective.com/p/book-review-226-how-africa-works
1•paulpauper•6m ago•0 comments

The AI Capex Ledger: Who Pays, Who Earns, and What the Bond Market Is Missing

https://geometricinvestor.substack.com/p/the-ai-capex-ledger
1•paulpauper•6m ago•0 comments

The AI Scenario for Europe?

https://europe2031.ai/summary/
1•paulpauper•7m ago•0 comments

Update on Anthropic Situation

https://twitter.com/i/status/2065853007619588171
3•iamronaldo•10m ago•2 comments

A Declaration of the Independence of Cyberspace (1996)

https://www.eff.org/cyberspace-independence
3•simonebrunozzi•13m ago•1 comments

We aren't getting to AGI without a fight

1•Jimmc414•15m ago•0 comments

News from WWDC26: WebKit in Safari 27 beta

https://webkit.org/blog/17967/news-from-wwdc26-webkit-in-safari-27-beta/
2•ksec•16m ago•0 comments

The MilkV Jupiter 2/SpacemiT K3 – Tao of Mac

https://taoofmac.com/space/reviews/2026/06/11/1830
1•rbanffy•17m ago•0 comments

Ask HN: How "looped" or autonomous is your actual coding workflow?

1•lasky•17m ago•2 comments

The American World Cup Introduced Ad Breaks–and Everyone Hates It

https://www.wsj.com/sports/soccer/world-cup-ad-breaks-hydration-fifa-5d302605
4•impish9208•18m ago•1 comments

Calvino and the Machines

https://engelsbergideas.com/notebook/calvino-and-the-machines/
2•bryanrasmussen•19m ago•0 comments

Ask HN: How do you avoid / get out of LLMs local minima?

1•d--b•19m ago•0 comments

Samsung Heavy moves to lead floating data centers with global partners

https://biz.chosun.com/en/en-industry/2026/06/03/YC7JPQ5K75C4XCZFOQRKNYJHLY/
1•_____k•19m ago•0 comments

Red Hat Enterprise Linux Test Page

http://supportdownloads.adobe.com
1•ttd•20m ago•1 comments

The Checkup I Didn't Do

https://deknijf.com/posts/the-checkup-i-didnt-do/
1•rdeknijf•20m ago•0 comments

RPG Maker forum users racing to archive almost 15 years of valuable resources

https://www.eurogamer.net/rpg-maker-forum-shutting-down
1•ksec•20m ago•0 comments

A woman's death in Pittsburgh after release from ICE custody is ruled a homicide

https://apnews.com/article/haiti-woman-homicide-ice-e31e7109eba053b41f6b0319640df042
2•petethomas•21m ago•0 comments

To Gen or Not to Gen: The Ethical Use of Generative AI

https://blog.johanneslink.net/2025/11/04/to-gen-or-not-to-gen/
2•jllyhill•25m ago•0 comments

Show HN: I built a free hedge fund style backtest analyzer

https://tradechef.io/
1•raaa1•26m ago•1 comments

MiMo Code: Scaling coding agents to long-horizon tasks

https://mimo.xiaomi.com/blog/mimo-code-long-horizon
1•andai•27m ago•1 comments

GenZ fled SF for TX and FL turning 'welcomer cities' into next big tech towns

https://fortune.com/article/why-is-gen-z-moving-to-nashville-orlando-next-big-tech-towns/
2•rmason•28m ago•0 comments

Buildermark: Measure how much of your code is written by agents

https://buildermark.dev/
1•thunderbong•33m ago•0 comments

Does Remote Work Make Employees Happier? Here's What the Evidence Says

https://www.wsj.com/lifestyle/careers/remote-work-happiness-evidence-153351d8
1•throw-the-towel•33m ago•4 comments

Police officer investigated for using AI to 'create evidence' in multiple cases

https://news.sky.com/story/derbyshire-police-officer-investigated-for-using-ai-to-create-evidence...
6•austinallegro•34m ago•0 comments

Kimi K2.7 Code

https://www.kimi.com/resources/kimi-k2-7-code
3•__natty__•35m ago•0 comments