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

Venus Has Been Waiting 40 Years

https://blue-continuum.com/venus
1•yread•29s ago•0 comments

The AI graveyard: a running list of projects and startups that didn't make it

https://techcrunch.com/2026/09/15/the-ai-graveyard-a-running-list-of-projects-and-startups-that-d...
1•gmays•1m ago•0 comments

Valve open-sources Lepton, its Android compatibility layer for SteamOS

https://gitlab.steamos.cloud/frame-public/lepton
2•vgalin•2m ago•0 comments

NASA spacecraft discovers a new 2-year-old crater on the moon

https://apnews.com/article/moon-lunar-crater-space-nasa-80eea242ad275fda1f7a88587cdccd2f
1•bookofjoe•2m ago•0 comments

Why are APRs on secured credit cards so high?

https://unbreakfinance.com/blog/why-are-secured-credit-card-aprs-high
1•dashee•2m ago•0 comments

Sharing My Secret for Fast, Security-First VM Deployment on AWS. Save This Post

https://idlefy.medium.com/sharing-my-secret-for-fast-security-first-vm-deployment-on-aws-save-thi...
1•Idlefy_platform•3m ago•0 comments

Show HN: I build unprompted speaking app to improve speaking

https://speechio.app
1•dicksent•4m ago•0 comments

What Is Happening with PostgreSQL 19?

https://www.snowflake.com/en/blog/engineering/postgresql-19-release-delay-feature-reverts/
1•craigkerstiens•5m ago•0 comments

Reverse Engineering ChatGPT Web: How OpenAI Built for a Billion Users

https://performance.dev/chatgpt
1•theanonymousone•5m ago•0 comments

OpenAI report new misalignment incidents

https://openai.com/index/model-misalignment-reporting-framework/#the-misalignment-examples-were-s...
1•greg7mdp•6m ago•0 comments

Show HN: Calmscroll – a reader that shows the current paragraph in the library

https://calmscroll.com/
1•amadeuspagel•6m ago•0 comments

Is the phrase "master bedroom" harmful? A new psychology study says no

https://www.psypost.org/is-the-phrase-master-bedroom-actually-harmful-a-new-psychology-study-says...
3•theanonymousone•6m ago•0 comments

Olympiad Man has displaced Davos Man

https://economist.com/business/2026/09/16/olympiad-man-has-displaced-davos-man
1•andsoitis•7m ago•0 comments

A decade of Gazette: a streaming broker that doesn't store data

https://estuary.dev/blog/gazette-streaming-broker-architecture/
2•danthelion•8m ago•0 comments

Imaginary Fires, Real Theaters

https://www.xaviondono.com/posts/imaginary-fires-very-real-theaters/
1•xondono•8m ago•0 comments

From Academia to Alignment

https://millicosm.substack.com/p/from-academia-to-alignment
1•sebg•9m ago•0 comments

Google Pixel phones pwned in zero-click attacks

https://www.theregister.com/security/2026/09/16/google-pixel-phones-pwned-in-zero-click-attacks/5...
1•teekert•9m ago•1 comments

Claude Desktop Silently Associates with Common Files

1•3371•11m ago•0 comments

Grug-Brained Evals (2025)

https://softwaredoug.com/blog/2025/06/22/grug-brained-search-eval
1•softwaredoug•11m ago•0 comments

US securities regulator rolls out 5-year exemption for tokenized stock trading

https://www.reuters.com/world/us-securities-regulator-rolls-out-five-year-exemption-tokenized-sto...
2•elffjs•11m ago•1 comments

Understanding Why You'd Use Effect TS

https://cm.xyz/blog/understanding-why-youd-use-effect-ts
1•czxtm•11m ago•0 comments

Hello Inbox – Get more marketing emails into the inbox

https://www.helloinbox.email/
1•ismaelyws•13m ago•1 comments

What is it like to be alive?

https://www.lesswrong.com/posts/7xDhJr2whSoRvJkpj/what-is-it-like-to-be-alive
2•dbalduzzi•14m ago•0 comments

What is it like to be a neural net?

https://www.lesswrong.com/posts/zsxcCmwGbWLFcNN7i/what-is-it-like-to-be-a-neural-net
2•dbalduzzi•14m ago•0 comments

LP and 45 RPM Records

https://ethw.org/LP_and_45_RPM_Records
1•chistev•14m ago•0 comments

Three different solutions to "that inherent problem" of disappearing exploration

https://www.rockpapershotgun.com/three-different-4x-strategy-games-three-different-solutions-to-t...
1•Tomte•14m ago•0 comments

AnywhereDesign – Local-first voice cockpit for React

https://github.com/Maxjv/AnywhereDesign
1•Maxjv•16m ago•0 comments

Jev for Home Assistant

https://github.com/AboveColin/HA-Jev
1•AboveColin•17m ago•0 comments

The solarisation of Pakistan's energy economy

https://ember-energy.org/latest-insights/the-solarisation-of-pakistans-energy-economy/
1•toomuchtodo•17m ago•0 comments

Wisconsin GOP Candidate Is Exploiting Data Center Backlash to Attack Solar, Wind

https://capitalandmain.com/wisconsin-gop-candidate-is-exploiting-the-data-center-backlash-to-hit-...
1•paimapi•18m ago•0 comments