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

Carbon: Graduating from the experiment – Chandler Carruth – NDC Toronto 2026 [video]

https://www.youtube.com/watch?v=WJl4ftb5Fxg
1•dtoma•2m ago•0 comments

Cixin Liu's Essay: The Ladder of Immortality

https://masterdai.blog/cixin-lius-essay-the-ladder-of-immortality/
1•KitN•5m ago•0 comments

Shape of the System Structure over vigilance: Engineering for bounded cognition

https://shapeofthesystem.com/
1•Bluestein•8m ago•0 comments

LG Display unveils FLiPP, achieving dream next-generation OLED technology

https://news.lgdisplay.com/en/2026/08/lg-display-unveils-flipp-achieving-dream-next-generation-oled/
1•ledoge•13m ago•0 comments

A live browser fingerprinting and bot detection playground

https://fingerprint-scan.com/
2•avastel•17m ago•0 comments

The Psychological Transition from C to Rust

https://strawberry9.github.io/the-wrong-memory/Appendix_04.html
1•VolatileRegiste•18m ago•0 comments

Fan Performance Database

https://www.cybenetics.com/index.php?option=fan-performance-database
1•picture•20m ago•0 comments

Rune – persistent context for AI coding tools

https://github.com/thecolourfoundation/rune
2•malixp•21m ago•0 comments

Pander Score: How much do AI models mirror what users believe?

https://sophronresearch.org/pander/
2•stared•21m ago•0 comments

Eberto Streaming Companion

https://eberto.net/top/us/movies/netflix
2•nkrycek•23m ago•0 comments

Optimizing Base58: up to 67× faster encoding and decoding

https://fluxrpc.com/blog/base58-optimization-solana-rpc
1•cloakd•25m ago•0 comments

Shares in humanoid robot firm Unitree surge 600% on Chinese stock market debut

https://www.theguardian.com/technology/2026/aug/19/unitree-shares-surge-humanoid-robot-firm-chine...
1•martyvis•28m ago•1 comments

Build your first FlaskTrack MCP agent

https://flasktrack.com/build-mcp-agent
1•boredumb•30m ago•0 comments

A multi-tenant SaaS built in a 92-hour AI-augmented engineering sprint

https://fast-and-flow-production.onrender.com/case-study
2•caredeo•31m ago•0 comments

IOmap Improvement for Linux 7.3 Takes EXT4 and XFS Performance Further

https://www.phoronix.com/news/IOmap-Linux-7.3-Faster
1•rbanffy•36m ago•0 comments

Greenhouse gas emissions of all world countries – 2025 report

https://edgar.jrc.ec.europa.eu/report_2025
2•leonidasrup•39m ago•0 comments

Rebuilding Linear's delta sync read path

https://linear.app/now/rebuilding-delta-sync-read-path
1•tosh•40m ago•0 comments

Supersonic, a cross-platform Subsonic client

https://github.com/supersonic-app/supersonic
1•tentacleuno•40m ago•0 comments

NASA images show crater carved by a SpaceX rocket that slammed into the moon

https://apnews.com/article/spacex-rocket-moon-crash-crater-52b76d61289c06b7d32348b082a8e6b8
1•bushwart•41m ago•0 comments

CS229 Lecture Notes [pdf]

https://cs229.stanford.edu/main_notes.pdf
1•tosh•42m ago•0 comments

Cloning takes a weekend, finding the 38% took months

https://dev.profullstack.com/~anthony/blog/021-post.html
2•buffer_overlord•47m ago•0 comments

Cerebras Overclocks WSE-3 Waferscale Engine to Boost Inference in "Nexus" CS-4

https://www.nextplatform.com/compute/2026/08/19/cerebras-overclocks-wse-3-waferscale-engine-to-bo...
1•rbanffy•49m ago•0 comments

Clop Returns with Custom Implant in Mass-Extortion Campaign

https://reliaquest.com/blog/clop-returns-with-custom-implant-in-mass-extortion-campaign/
1•nyku•54m ago•0 comments

Many Ways to Win

https://stephango.com/moats
1•futurecat•57m ago•0 comments

Nitrogen pollution from the sky is a likely driver of global vegetative greening

https://nsojournals.onlinelibrary.wiley.com/doi/10.1002/ecog.08631
2•vixen99•58m ago•0 comments

The Great ADHD Myth?

https://www.theguardian.com/tv-and-radio/2026/aug/18/the-great-adhd-myth-review-most-controversia...
1•Gupie•59m ago•0 comments

Oh Yeah That Guy

https://ohyeahthatguy.com/
1•4pkjai•59m ago•0 comments

"The most terrifying 11 hours of my life"

https://meduza.io/feature/2026/08/17/samye-zhutkie-11-chasov-v-zhizni
1•Michelangelo11•1h ago•0 comments

CapsLock Enhancement

http://capslock.vonng.com/
1•figmert•1h ago•0 comments

High Capacity Color Barcode

https://en.wikipedia.org/wiki/High_Capacity_Color_Barcode
1•plaguna•1h ago•0 comments