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

A Tribute to Donald Knuth (2024)

https://paramrathour.github.io/blog/knuth/
1•signa11•45s ago•0 comments

Create AI Image Free – No Sign-Up Needed

https://www.createaiimage.net/
1•wsm123456•1m ago•0 comments

Scanner says the HTML attachment is clean. What happens when you open it?

https://mohitkhare.com/blog/file-attack-html-smuggling/
1•mkfeuhrer•3m ago•0 comments

Chewbacca's Ancestor Is Real

https://maxhawtdawg.com/
1•zacksiri•4m ago•0 comments

The Set of Math-Sterpieces

https://paramrathour.github.io/blog/math-book-recommendations/
1•signa11•6m ago•0 comments

Reverse-Engineering Jane Street's ASIC

https://mooofin.github.io/portfolio/blog/jane-street-asic.html
1•allenleee•7m ago•0 comments

How people are testing AI agents?

1•sanathbhat•8m ago•0 comments

Frontier Overhangs

https://stratechery.com/2026/frontier-overhangs/
1•tosh•11m ago•0 comments

Some Old Expectations for the New Apple

https://taoofmac.com/space/blog/2026/09/22/0709
2•rcarmo•12m ago•0 comments

Physics Problem Finder

https://beneke7.github.io/physics-problems-corpus/
1•bbene•14m ago•0 comments

The Armored Sarcophagus Saving Ukrainian Soldiers

https://www.theatlantic.com/international/2026/09/ukraine-frontline-medical-evacuations/688638/
1•mkesper•17m ago•0 comments

OpenCode Reloaded

https://anoma.ly/notes/opencode-reloaded/
1•pretext•21m ago•0 comments

Proposed Group: Browser Data Portability Community Group

https://www.w3.org/community/blog/2026/09/11/proposed-group-browser-data-portability-community-gr...
2•enos_feedler•26m ago•1 comments

Raspberry Pi locks down RAM upgrades in Firmware [video]

https://www.youtube.com/watch?v=ltofM26akZQ
1•juliethefoxcoon•29m ago•0 comments

Orphaned VMs: Running VMs Uninterrupted While Host Kernel Is Offline

https://www.phoronix.com/news/Orphaned-VMs-Linux-Patches
1•daandewit•29m ago•0 comments

0x025 – System One Models (Jev)

https://unzip.dev/0x025-system-one-models/
1•vismit2000•29m ago•0 comments

Xenobiome Command – a colony SIM that runs offline in the browser

https://play.xenobiome.net/?src=hn
1•jonnyka•34m ago•0 comments

Skill and UI kit to understand PRs faster

https://github.com/annanay25/explain-pr
2•annanay•39m ago•1 comments

She died at the San Diego border. A surveillance camera was in plain sight

https://www.technologyreview.com/2026/09/21/1144170/border-towers-surveillance-feature/
1•joozio•41m ago•0 comments

Move On – export your AI chats, file GDPR deletion, escalate if ignored

https://github.com/ur-grue/move-on
1•ur-grue•42m ago•0 comments

Show HN: I made ShipStreak to keep daily shipping gaps public

https://www.shipstreak.space/?via=hn
1•kljr_dev•42m ago•0 comments

Pakistan Orders Hospital Beds Clear for Mass Casualty Ahead of Protest

https://www.dropsitenews.com/p/pakistan-military-protest-imran-khan-sisters-detained-hospitals-beds
1•xbmcuser•46m ago•0 comments

Ask HN: Is Astra's writing starting to bother anyone else?

2•demibabs•46m ago•2 comments

QBZ (Qobuz desktop client for Linux) shutting down

https://qbz.lol/
2•herrherrmann•47m ago•0 comments

Show HN: Cheap and easy throwaway VPN server

https://a.l3x.in/blog/throwaway-vpn/
1•alexfortin•51m ago•1 comments

AI staff complain of mental toll over fears of threat to society

https://www.ft.com/content/60870960-f433-48ca-bc2c-708686a69ae7
2•bazzmt•53m ago•0 comments

Where Improvement Becomes the Problem

https://medium.com/@gurvinder372/article-22-where-improvement-becomes-the-problem-f2c1f3671eaa
1•gps372•54m ago•0 comments

Bk2204/talk-rust-in-Git: GitHub repository with SHA-256 commit IDs

https://github.com/bk2204/talk-rust-in-git
1•gotosun1•54m ago•0 comments

The Ultimate Reading List for Founders

https://grafista.io/blog/posts/the-ultimate-reading-list-for-founders
1•GiorgosGennaris•56m ago•0 comments

Complex KDA:Understanding and Enhancing the Expressivity of Kimi Delta Attention

https://arxiv.org/abs/2609.24797
1•jul8234•56m ago•0 comments