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

Malacca Dilemma

https://en.wikipedia.org/wiki/Malacca_dilemma
2•leonidasrup•1m ago•0 comments

I Think the Military Commissary's Freezers Were Hacked

https://signalandsilence.substack.com/p/i-think-someone-hacked-the-commissary
3•jcurbo•3m ago•0 comments

Datadog saves over $1M each month by optimizing AI usage

https://www.datadoghq.com/blog/how-datadog-saves-money-by-optimizing-ai-usage/
2•darccio•4m ago•0 comments

A Stateful Problem

https://www.b-list.org/weblog/2010/dec/24/states/
2•dbaupp•7m ago•0 comments

Show HN: Evoboard – GitHub style habit heatmaps with automatic activity logging

https://evoboard.me/
2•Borsoon•7m ago•0 comments

EMLV: A Secure .eml Email Viewer for VS Code and Cursor

https://github.com/EbodShojaei/EMLViewer
3•bebe311•14m ago•0 comments

What I Learned About AI Trust from Reconciling over 100B Transactions

https://engineering.moniepoint.com/what-i-learned-about-ai-trust-from-reconciling
3•Cellz•15m ago•0 comments

Vssh: Add SSH:// scheme for remote command execution

https://github.com/curl/curl/pull/22661
2•_____k•16m ago•0 comments

Holden's Lightning Flight

https://en.wikipedia.org/wiki/Holden%27s_Lightning_flight
2•ColinWright•19m ago•0 comments

After a rough stretch, mRNA gets a boost from cancer vaccines

https://www.statnews.com/2026/08/31/mrna-cancer-vaccine-intersects-politics-medicine/
2•brandonb•20m ago•0 comments

Ten Steps on the Road to Efficient

https://seths.blog/2026/08/ten-steps-on-the-road-to-efficient/
2•momentmaker•21m ago•0 comments

Giza Pyramid Complex

https://en.wikipedia.org/wiki/Giza_pyramid_complex
2•tosh•22m ago•0 comments

DeepSeek-V4-Flash-Vision-Exp

https://huggingface.co/deepseek-ai/DeepSeek-V4-Flash-Vision-Exp
3•amulyabaral•24m ago•0 comments

The Universe as a Minified Bundle

https://andrewarrow.dev/2026/moons/2/day/9/the-universe-as-a-minified-bundle/
2•cs1996•25m ago•0 comments

14% of US employers to drop weight-loss drugs in 2027, as costs increase

https://www.reuters.com/legal/litigation/more-us-employers-drop-weight-loss-drugs-2027-healthcare...
2•brandonb•26m ago•0 comments

Real Estate Scraper– Token-efficient structured property crawler

https://github.com/Kodomoppoi/Real-estate-Scrapper
2•Koddop•27m ago•1 comments

The feds seized a stake in Anthropic from Sam Bankman-Fried's friends

https://www.businessinsider.com/sam-bankman-fried-anthropic-ftx-caroline-ellison-nishad-singh-doj...
1•theanonymousone•30m ago•0 comments

Agent Memory as a File Format

https://calpaterson.com/memoryfields.html
2•ingve•32m ago•0 comments

celld v0.4.0

https://github.com/denoland/celld/releases/tag/v0.4.0
1•tosh•32m ago•0 comments

A CVE Dispute

https://daniel.haxx.se/blog/2026/06/24/a-cve-dispute/
22•theanonymousone•36m ago•0 comments

Your syntax highlighter is wrong (2014)

https://jameshfisher.com/2014/05/11/your-syntax-highlighter-is-wrong/
1•kqr•37m ago•0 comments

Editable 2.0 preview – CMS-free editable websites with Svelte and SQLite

https://editable.website/
2•_mql•39m ago•1 comments

Andrew Ng: the biggest opportunities in AI

https://www.youtube.com/watch?v=o-wv_szZ0V0
1•lifeisstillgood•39m ago•0 comments

SubmitMap – 360 launch directories, who each one accepts, and why

https://submitmap.com/
1•submitmap•41m ago•0 comments

CC builds macOS native driver for HP Laser 1008a

https://github.com/Kuberwastaken/hp-laser-1008a-macos
2•kekqqq•44m ago•0 comments

Sabine Hossenfelder: More Exposed Than Ever (Racism Edition) [video]

https://www.youtube.com/watch?v=BdB79BUcLV0
4•lynx97•45m ago•1 comments

You Know Who Hates AI? Insurance Claims Adjusters

https://www.wired.com/story/insurance-claims-adjusters-really-hate-ai/
1•joozio•48m ago•0 comments

An AI agent is a background job, not a web request

https://nitishagar.medium.com/an-agent-is-a-job-not-an-api-7673b837bd11
1•nitishagar•48m ago•0 comments

The quality you should most wish for your children

http://economist.com/business/2026/08/27/the-quality-you-should-most-wish-for-your-children
3•pingou•50m ago•1 comments

I built a hardware-bound local password vault hidden in a photo

https://blindlock.app/en/
2•BlindLock•51m ago•0 comments