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

AI Is Turning Sex Dolls into Romantic Companions

https://www.bloomberg.com/features/2026-ai-companionship-robot-girlfriends/
1•srameshc•1m ago•0 comments

Man dies after eating cheesesteak, deepening mystery of tick-linked allergy

https://arstechnica.com/health/2026/12/killed-by-a-cheesesteak-man-dies-from-mysterious-tick-link...
1•rbanffy•1m ago•0 comments

Five killed in incident at secretive Russian nuclear research facility

https://www.cnn.com/2026/12/04/europe/fatalities-research-institute-russian-nuclear-center-intl
1•defly•3m ago•0 comments

A Physical Modeled Synthesizer

https://vsti.im-a-bird.com/
1•vespervsti•5m ago•0 comments

Chrome will soon block certificate chains that include P-256 CA keys

https://groups.google.com/a/ccadb.org/g/public/c/E4M_IG6VT_o
2•christophetd•6m ago•0 comments

Anatomy of a Counterfeit: Adventures in Fake MicroSD Cards

https://crowsolutions.io/articles/post.html?p=2026-12-02-anatomy-of-a-counterfeit
3•sohkamyung•7m ago•0 comments

Please help me test this

https://vesper.im-a-bird.com/
1•vespervsti•8m ago•0 comments

Asked and Answered

https://www.futilitycloset.com/2026/11/15/asked-and-answered-6/
1•surprisetalk•8m ago•0 comments

Phone Is a Kubernetes Node

https://fzakaria.com/2026/11/27/your-phone-is-a-kubernetes-node
2•pierreneter•10m ago•0 comments

Interpreting the NSA Advisory

https://deadneurons.substack.com/p/interpreting-the-nsa-advisory
2•nr378•10m ago•0 comments

Nvidia says Huang's testimony shows broad commitment to national security

https://www.cnbc.com/2026/12/04/jensen-huang-nvidia-national-security.html
3•pierreneter•12m ago•1 comments

Ask HN: Have you noticed that encryption has been cracked but its secret?

1•andrewstuart•12m ago•0 comments

The European Banknote Contest

https://micahblachman.com/p/the-european-banknote-contest
4•subdomain•12m ago•0 comments

Can 30 FPS E-Paper Still Be Efficient? [video]

https://www.youtube.com/watch?v=ynIIhpHw9wI
1•skibz•16m ago•0 comments

Fire kills five at Russia's main nuclear weapons research centre

https://www.euronews.com/2026/12/04/five-dead-in-russian-nuclear-centre-incident-with-casualties-...
1•Markoff•19m ago•0 comments

The Age of Heat Storms

https://www.reuters.com/investigates/section/heatstorms/
1•skadamat•19m ago•0 comments

Nami: New easy package manager for macOS and Linux

https://namios.dev/
12•shiolabs•19m ago•1 comments

Atmospheric Rivers Mapped [video]

https://www.youtube.com/watch?v=iby5UisN_js
1•silver92bullet•19m ago•0 comments

Hughpyle/ttyemu: Teletype model 33 emulator with sound

https://github.com/hughpyle/ttyemu
1•rbanffy•23m ago•0 comments

I built Fluidus: an open-source, end-to-end encrypted messenger

https://fluidus.pages.dev
1•virensahti•26m ago•0 comments

How to Overcharge Customers Without Them Complaining (Or Noticing)

https://builtformars.com/case-studies/tickets
1•trainstationguy•27m ago•0 comments

Show HN: Hype or slop – hourly AI news

https://hypeorslop.com/
1•rogo032•31m ago•0 comments

The Superintelligent Will [pdf]

https://nickbostrom.com/superintelligentwill.pdf
5•geox•32m ago•0 comments

Jellyfish alternatives and pricing in 2026: what the AI spend numbers measure

https://quesma.com/blog/jellyfish-alternatives/
1•jakozaur•35m ago•0 comments

Drawing a week of audio in under 2 ms

https://halt.software/drawing-a-week-of-audio/
1•halt76•36m ago•0 comments

Democracy in America

https://patrickcollison.substack.com/p/democracy-in-america
1•bkudria•37m ago•0 comments

Malicious Internet Design [video]

https://www.youtube.com/watch?v=QtuFPTpiIxA
1•vincvinc•37m ago•1 comments

Show HN: I was getting rusty in Python so made a typing game

https://gymtype.dev/
2•elisharobinson•37m ago•1 comments

Got PQC?

https://www.gotpqc.com
7•owenthejumper•38m ago•0 comments

Automatic dementia scoring by applying deep learning on clock-drawing tests

https://www.nature.com/articles/s41598-020-74710-9/figures/1
1•chistev•39m ago•0 comments