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

Chilean Supreme Court ruling on the protection of brain activity 2023

https://pmc.ncbi.nlm.nih.gov/articles/PMC10929545/
1•rmason•1m ago•0 comments

Show HN: Tocic – Chatbot table of content browser extension

https://addons.mozilla.org/en-US/firefox/addon/tocic-chatbot-table-of-content/
1•a_c•1m ago•0 comments

Ex-Gawker editor AJ Daulerio on life after addiction

https://www.theguardian.com/media/ng-interactive/2026/aug/06/aj-daulerio-gawker-sobriety-addiction
1•Michelangelo11•1m ago•0 comments

Biomes – Exotic Matter Chapter 1 Now Available (Indie Mmorpg)

https://www.glitch.fun/games/42de534c-600f-4228-af9e-b69faef94cce/play
1•bingewave•2m ago•0 comments

How and Why I Stopped Buying New Laptops (2020)

https://solar.lowtechmagazine.com/2020/12/how-and-why-i-stopped-buying-new-laptops/
1•downbad_•3m ago•1 comments

Archive of Animal Photography Reveals 18,000 Species and Counting

https://www.smithsonianmag.com/science-nature/this-amazing-archive-of-animal-photography-reveals-...
2•sohkamyung•9m ago•0 comments

Right to Repair–For Your Body

https://fourthievesvinegar.org/
1•_____k•11m ago•0 comments

Show HN: Dirblock+envblock – tiny whitelist guards for dirs and env secrets

https://github.com/roku-oss/dirblock
1•pfrench42•11m ago•0 comments

Show HN: More Branchless Optimization

https://sites.google.com/view/david-kooi/blog/branchless_in_c
1•kooi•11m ago•0 comments

Show HN: Turnfeed – a social feed inside ChatGPT

https://chatgpt.com/plugins/plugin_asdk_app_69f121f489748191a86a5a4f1dbe27b2?q=turnf
1•TheodorNEngoy•16m ago•0 comments

Show HN: Emacs Liquid Glass

https://github.com/larrasket/emacs-liquid-glass
1•lr0•17m ago•0 comments

Show HN: CrossPlay - Games, puzzles and tools for your e-reader

https://crossplay.ma-r-s.com
1•ma-r-s•18m ago•0 comments

Detecting breaking API changes in Go with golang.org/x/exp/cmd/apidiff

https://medium.com/dev-genius/detecting-breaking-api-changes-in-go-with-apidiff-bd608bbc7996
1•cheikhdev•19m ago•0 comments

How to Survive an Infestation of Toxic Caterpillars

https://www.newyorker.com/science/elements/how-to-survive-an-infestation-of-toxic-caterpillars
1•petethomas•19m ago•0 comments

MacSurf and the State of AI Assisted Projects

https://www.patreon.com/MacSurf/posts/macsurf-state-of-166060679
1•mplsllc•19m ago•0 comments

Tucows

https://en.wikipedia.org/wiki/Tucows
2•reaperducer•21m ago•0 comments

Show HN: Jobman – nohup with retries, timeouts, and dependencies

https://github.com/ryancswallace/jobman
1•ryancswallace•23m ago•1 comments

Working on Economics with Fable 5

https://wilsoniumite.com/2026/08/03/working-on-economics-with-fable-5/
2•Wilsoniumite•25m ago•0 comments

Chernobyl's Robots, or the Hackathon from Hell

https://hackaday.com/2026/08/07/chernobyls-robots-or-the-hackathon-from-hell/
1•rustoo•26m ago•0 comments

Target Is Slicing Open Pokémon Card Boxes Before They're Sold to Deter Scalpers

https://www.ign.com/articles/target-is-slicing-open-pokmon-card-boxes-before-theyre-sold-in-a-bid...
2•TMWNN•27m ago•1 comments

U.S. Department of Energy Launches the Genesis Open Models Initiative

https://genesisopenmodels.anl.gov/
3•moelf•31m ago•0 comments

Cowchat – Let Claude, Codex, and other agents talk to each other locally

https://cowchat.cowboy.inc/
1•ryanlchan•31m ago•0 comments

Musk Refuses Ukrainian Request to Enable Starlink for Deep Strikes Inside Russia

https://united24media.com/world/elon-musk-refuses-ukrainian-request-to-enable-starlink-for-deep-s...
2•CharlesW•31m ago•0 comments

Not-So-Kosher Slaughterhouse

https://rumble.com/v798evg-secret-kosher-slaughterhouse-exposed-in-england-sickening-investigatio...
1•krautburglar•31m ago•0 comments

"I built a speed/distance tracker for my hamster, uploads to his Strava account"

https://www.reddit.com/r/SideProject/comments/1v9uyq0/i_built_a_speeddistance_tracker_for_my_hams...
1•zdw•33m ago•0 comments

The Long, Knotty, World-Spanning Story of String

https://hakaimagazine.com/features/the-long-knotty-world-spanning-story-of-string/
1•ohjeez•33m ago•0 comments

Novella in Blindsight/Echopraxia Universe

https://phulp.com/apophenia.html
1•binbag•34m ago•1 comments

Spytrap – Who's Watching You?

https://play.google.com/store/apps/details?id=com.hwassef.spytrap&hl=en_US
1•Hwassef•35m ago•0 comments

What Was the Internet?

https://www.bostonreview.net/articles/what-was-the-internet/
2•cdrnsf•38m ago•0 comments

Joe Rogan Experience #2537 – David Sinclair [video]

https://www.youtube.com/watch?v=hxid7FofhMw
1•Bender•39m ago•0 comments