frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Miralis – a RISC-V virtual firmware monitor

https://github.com/CharlyCst/miralis
4•charlycst•11mo 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

Beside Myself at BSides OK

https://mpdc.dev/beside-myself-at-bsides-ok/
1•ParanoidRV•1m ago•0 comments

Günther Anders's Bleak Picture of the Tech-Perfected Society

https://www.thepublicdiscourse.com/2026/03/100527/
1•StatsAreFun•3m ago•0 comments

Specs over Vibes: Consistent AI Results Ft. Mark Freeman

https://motherduck.com/blog/specs-over-vibes-consistent-ai-results/
1•eigenBasis•7m ago•0 comments

KldloadOS 1.0.4 – Kubernetes on (ZFS and Cilium eBPF and WireGuard) in 15 Mins

https://kldload.com/releases/1.0.4
1•kldload•9m ago•0 comments

Most AI travel apps don't help you travel

https://navoy.io/
1•tnaaron•10m ago•0 comments

I don't want to fill out your contact form (2024)

https://adamjones.me/blog/dont-use-contact-forms/
1•JustSkyfall•16m ago•1 comments

Open Source MCP server that refines prompts from retrieval evidence

https://github.com/farukalpay/prompt-refinery
4•Zelray0•20m ago•0 comments

GitHub Copilot Session Search and Resume CLI

https://jonmagic.com/posts/github-copilot-session-search-and-resume-cli/
1•willf•22m ago•0 comments

B-trees and database indexes (2024)

https://planetscale.com/blog/btrees-and-database-indexes
1•cebert•25m ago•0 comments

DNA forensics is transforming studies of ancient manuscripts

https://www.scientificamerican.com/article/how-dna-forensics-is-transforming-studies-of-ancient-m...
1•1659447091•27m ago•0 comments

'"one" | "two" | string' autocomplete TypeScript trick

https://jcbhmr.com/2026/04/07/any-string-autocomplete-ts/
2•jcbhmr•29m ago•0 comments

Ongoing system issues w/ state distributor has Mississippi running out of liquor

https://www.washingtonpost.com/nation/2026/04/12/mississippi-liquor-sales-breakdown/
1•WarOnPrivacy•35m ago•1 comments

AI Integration Pack: 9 Production Python Modules for Payments, CRM, SMS

https://etilabs.gumroad.com/l/gseyqv
1•DruEdwards•35m ago•0 comments

Surely there must be a way to make container secrets less dangerous?

https://dalmatian.life/2026/04/11/surely-there-must-be-a-way-to-make-container-secrets-less-dange...
1•birdculture•45m ago•0 comments

You can have an RSS dependent website in 2026

https://matduggan.com/you-can-absolutely-have-an-rss-dependent-website-in-2026/
1•OberstKrueger•47m ago•1 comments

The AI Industry's Most Expensive Mistake

https://www.thealgorithmicbridge.com/p/inside-the-ai-industrys-most-expensive
1•gmays•49m ago•0 comments

A Macroeconomic Perspective on Stock Market Valuation Ratios

https://researchdatabase.minneapolisfed.org/concern/publications/5x21tf60n
1•mooreds•58m ago•0 comments

2026 Is the New 2016

https://en.wikipedia.org/wiki/2026_is_the_new_2016
3•CHB0403085482•58m ago•0 comments

Why Trump Mishandled Iran

https://foreignpolicy.com/2026/04/08/iran-war-ceasefire-trump-united-states-israel/
4•mooreds•59m ago•1 comments

Any USB drive or cable you plug in might be a silent killer

https://www.askwoody.com/newsletter/free-edition-any-usb-drive-or-cable-you-plug-in-might-be-a-si...
4•devonnull•1h ago•0 comments

Made an eBPF syscall tracer with a live TUI

https://github.com/pandaadir05/snoop
1•pigeon1231•1h ago•1 comments

Old, Discontinued Fiats Are Outselling New Fiats

https://www.jalopnik.com/2144450/old-discontinued-fiat-500x-outselling-new-500e/
1•mooreds•1h ago•1 comments

I solved NP‑complete problems by turning them into planets

https://github.com/TheAnalyticalAbsurdist/vedic-planetary-transformers
1•AbsurdityBureau•1h ago•0 comments

Gliding on Snow: One Man's Dream

https://bd-numerique.museebombardier.com/en/
2•sxzygz•1h ago•0 comments

Give Them Two Choices

https://chadnauseam.com/coding/tips/give-them-two-choices
1•ChadNauseam•1h ago•0 comments

The AI Productivity Paradox: Why the AI Multiplier Is Less Than 2x

https://www.forrestthewoods.com/blog/the-ai-productivity-paradox/
1•forrestthewoods•1h ago•0 comments

Javier Milei's bribery scandal may have derailed Argentina's crypto investment

https://www.theguardian.com/world/2026/apr/12/crypto-javier-milei-bribery-argentina
4•kasperni•1h ago•0 comments

Language, Curiosity and Life – By Masato Hagiwara

https://masatohagiwara.net/lcl.html
1•jotaefea•1h ago•0 comments

New metal with triple copper's heat conduction challenges fundamental physics

https://www.scientificamerican.com/article/new-metal-with-triple-coppers-heat-conduction-challeng...
4•thunderbong•1h ago•1 comments

Harvesting easter eggs: An exploratory study of enjoying transnarrative media

https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0341588
1•PaulHoule•1h ago•0 comments