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

The Discovery Tax: Why Coding Agents Waste 2,500 Tokens Before Writing Code

https://blog.jarv.dev/the-discovery-tax
1•runtooldev•4m ago•0 comments

Google's orbital AI data center test packs four TPUs and 1,000W of solar power

https://www.tomshardware.com/tech-industry/data-centers/google-is-blasting-an-experimental-ai-dat...
1•pseudolus•4m ago•0 comments

How to Freelance Now?

1•Alexadar•5m ago•0 comments

Typed-lm: a Rust jev open source alternative

https://github.com/neurono-ml/typed-lm
1•andrelgcclaudin•7m ago•2 comments

LaserActive

https://en.wikipedia.org/wiki/LaserActive
1•tosh•8m ago•0 comments

Catching Rogue Agents in Real Time with Synchronous Control Monitoring

https://max.ax/writing/synchronous-control-monitoring/
1•k5hp•10m ago•0 comments

Enabling the next-generation trait solver on nightly

https://blog.rust-lang.org/2026/08/21/enabling-next-solver-on-nightly/
1•bucket2015•12m ago•0 comments

What Does Your Data Reveal About Sports Betting Apps? Help ProPublica Find Out

https://projects.propublica.org/sports-betting-uploader/
1•beatrixlockwood•12m ago•0 comments

Gameboy Macro (2016)

https://www.instructables.com/Gameboy-Macro/
1•tosh•13m ago•0 comments

Maze Toys

https://maze.toys
1•momentmaker•14m ago•0 comments

In Silicon Valley, the End of Humanity Has Always Been Part of the Plan

https://gizmodo.com/in-silicon-valley-the-end-of-humanity-has-always-been-part-of-the-plan-200081...
1•poopcat•14m ago•0 comments

How to Feel Good

https://evanjconrad.com/posts/how-to-feel-good
1•momentmaker•14m ago•0 comments

Many surgical interventions are little better than placebo

https://www.economist.com/science-and-technology/2026/09/23/many-surgical-interventions-are-littl...
1•sohkamyung•18m ago•0 comments

The computer hacker who tried to take down Man City

https://www.bbc.co.uk/sport/football/articles/cwywld5v28jo
1•birdmania•21m ago•1 comments

The use of humor in depression: An integration of benefits and risks

https://www.sciencedirect.com/science/article/pii/S0272735826000905?via%3Dihub
1•bookofjoe•22m ago•0 comments

JuhRadial MX: Linux control for MX devices and generic

https://github.com/JuhLabs/juhradial-mx
1•JuhLabs•24m ago•0 comments

Show HN: Docspira – JSON/YAML/regex tools that never leave the browser

https://docspira.com/
1•Mortivox•25m ago•0 comments

OpenAI says its AI agents posted user images online in error

https://techxplore.com/news/2026-09-openai-ai-agents-user-images.html
1•geox•25m ago•0 comments

New species of parasitic wasp discovered in Assam's Dibru-Saikhowa National Park

https://researchmatters.in/news/new-first-of-its-kind-species-of-parasitic-wasp-discovered-in-ass...
1•thunderbong•26m ago•0 comments

Harari vs. Henrich: What science says about human evolution

https://josephheath.substack.com/p/harari-vs-henrich
1•Ariarule•30m ago•0 comments

No errors, no warnings, no gods, no masters – HTML Purity is a Fetish

https://shkspr.mobi/blog/2026/09/no-errors-no-warnings-no-gods-no-masters-html-purity-is-a-fetish/
1•edent•31m ago•0 comments

That About Wraps It Up for Stock Mac UI

https://inessential.com/2026/09/22/that-about-wraps-it-up-for.html
1•JumpCrisscross•33m ago•0 comments

Show HN: Blue Lock Farm – a Roblox wiki, database and tools

https://bluelockfarm.com/
1•richardharmer•34m ago•0 comments

Chinese AI models surge in global popularity – and Washington is worried

https://www.cnbc.com/2026/09/26/china-ai-global-adoption.html
1•pseudolus•40m ago•0 comments

The Americans Having the Most Sex

https://www.theatlantic.com/ideas/2026/09/religion-sex-recession-marriage/688774/
1•metanoia_•41m ago•1 comments

Show HN: Asụsụ Ọma, a free app for learning Igbo with native-speaker audio

https://asusuoma.com
1•ebenezerdon•47m ago•0 comments

The Cost of Blue Light: Multiorgan Pathology Induced by LED Exposure

https://www.biorxiv.org/content/10.64898/2026.09.11.750850v1.full
1•bilsbie•49m ago•0 comments

OK, so where are all these data centres?

https://www.ft.com/content/4c3f75a2-c2f9-4ef7-9895-21daf5e92dfe
1•Betelbuddy•49m ago•1 comments

What and Whose Knowledge? Measuring Epistemic Diversity in Large Language Models

https://arxiv.org/abs/2510.04226
1•daniel_iversen•53m ago•0 comments

The Aura Premium

https://twitter.com/netcapgirl/status/2086496076505497757
2•tosh•56m ago•0 comments