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

Scrutinize Our Assessments

https://daniel.haxx.se/blog/2026/11/03/scrutinize-our-assessments/
1•runningmike•46s ago•0 comments

Measuring how AI agents handle everyday wet-lab science

https://openai.com/index/measuring-how-ai-agents-handle-wet-lab-science/
1•kevinlu310•1m ago•0 comments

Just 3 grams of creatine a day improved measures of cognitive function

https://twitter.com/foundmyfitness/status/2119101382594609303
1•bilsbie•3m ago•1 comments

The US let Nvidia sell chips to an empty office in China

https://www.theverge.com/ai-artificial-intelligence/1029483/nvidia-ai-chips-china-blacklist-gover...
1•sshah03•6m ago•0 comments

Native Shell (NSH) is a native UI framework. Build once, native everywhere

https://github.com/longbridge/nsh
1•ksec•6m ago•0 comments

How Long Can Life Wait?

https://mceglowski.substack.com/p/how-long-can-life-wait
2•Ariarule•6m ago•0 comments

Every processor die anyone has photographed and given away

https://sheets.works/data-viz/cpu-dies
1•user_7832•8m ago•0 comments

Computing Without Processors (2011)

https://dl.acm.org/doi/epdf/10.1145/1978542.1978558
1•theanonymousone•8m ago•0 comments

Monitoring a VPS without opening a single inbound port

https://vpspilot.dev/blog/no-inbound-ports/
1•sanda0•8m ago•0 comments

Etch Lab

https://kharelpk.github.io/etch-lab/
2•rbanffy•12m ago•0 comments

Reusing Exploits to Hijack Tower of Fantasy Accounts

https://hunio.org/security/tof-account-takeover/
2•hunio•12m ago•1 comments

0rwx – A simple model of AI usage, inspired by Unix permissions

https://0rwx.com/
2•thes1lv3r•15m ago•0 comments

BYD Yangwang U9 Xtreme electric car – 503 km/h Top speed World Record [video]

https://www.youtube.com/watch?v=F0ZbbVUAx3c
2•ggregoire•19m ago•0 comments

I built Winbux, a shared 4-digit code puzzle with a gift card prize

https://winbux.xyz/?lang=en
2•zonjj•20m ago•1 comments

Datastructures-JS – The JavaScript data structures project

https://github.com/datastructures-js
3•Brysonbw•21m ago•0 comments

Echoloc: A minimalist echolocation horror videogame

https://level102.itch.io/echoloc
2•ggambetta•22m ago•1 comments

Web support is coming back to Unreal in preview next week

https://ixbt.games/en/news/2026/11/04/unreal-engine-59-vyidet-na-sleduiushhei-nedele-epic-gotovit...
6•astlouis44•22m ago•0 comments

They don't make 'em like that any more: Borland Turbo Pascal 7

https://kevinboone.me/tpwin.html
2•andsoitis•23m ago•0 comments

Terry Pratchett's Study

https://www.sussi.dk/terry-pratchetts-study
4•ColinWright•23m ago•0 comments

Iyi: A friendly, fast programming language for people and their agents

https://github.com/iyilang/iyi
3•ksec•25m ago•0 comments

Selective Mutism

https://en.wikipedia.org/wiki/Selective_mutism
2•thunderbong•26m ago•0 comments

A 1:12 scale model of Terry Pratchett's study

https://hachyderm.io/@datarama/117574934175467021
2•ColinWright•27m ago•0 comments

Google Described Its Agent Sandbox. I Built One with Firecracker and Measured It

https://antonau.tech/posts/2026/11/agents-microvm-firecracker/
9•attilathehoon•28m ago•2 comments

Why the 300-year-old novel Gulliver's Travels is so misunderstood

https://www.bbc.com/culture/article/20261106-why-the-300-year-old-novel-gullivers-travels-is-so-m...
2•tosh•28m ago•0 comments

I'm Done with Google (2022)

https://deijin.bearblog.dev/im-done-with-google/
2•zenincognito•28m ago•0 comments

New Ways to Read Ebooks

https://ironicsans.ghost.io/plex-but-make-it-books/
4•ohjeez•30m ago•0 comments

A Plug for the Spartan Protocol

https://kevinboone.me/plugging_spartan.html
2•andsoitis•30m ago•0 comments

Tomy Turnin' Turbo Dashboard Outrun Arcade

https://circuitbeard.co.uk/2017/08/28/tomy-turnin-turbo-dashboard-outrun-arcade/
2•austinallegro•31m ago•0 comments

A failed experiment in laptop cooling

https://kevinboone.me/failed_cooling.html
2•andsoitis•32m ago•0 comments

Glyph: The Typewriter Mechanical Keyboard

https://boilingsteam.com/epomaker-glyph-keyboard-review/
1•ekianjo•33m ago•0 comments