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

Scientists discover a surprising link between Vitamin C and brain health

https://www.sciencedaily.com/releases/2026/06/260626030428.htm
1•OutOfHere•2m ago•0 comments

Ask HN: When will the stock market crash?

1•roschdal•8m ago•1 comments

DeFi yield comparison, read before depositing

https://hduynam99.substack.com/p/how-to-find-the-best-defi-yield
1•hoangthuytrang•12m ago•0 comments

Birdsong data from Merlin ID app to help global biodiversity project

https://www.theguardian.com/environment/2026/jul/04/merlin-app-birdsong-identification-ebird-biod...
2•andsoitis•13m ago•0 comments

Microsoft Copilot OS revealed in LEAKED video: built on Copilot and agentic AI

https://www.windowscentral.com/microsoft/windows-11/microsoft-copilot-os-revealed-in-leaked-video...
1•type0•13m ago•0 comments

Tell HN: Megalodon.jp is faster than archive.today and doesn't require reCAPTCHA

1•Cider9986•14m ago•0 comments

Out-of-core LLM inference engine written from scratch in Rust

https://github.com/Vage91/Kortex
1•Vage91•16m ago•0 comments

Simulation Game: Can you Terraform Mars?

https://www.nature.com/immersive/d41586-026-01978-8/index.html
1•cybermango•18m ago•0 comments

Tool that stops iCloud from eating your Mac's SSD

https://github.com/rexbrahh/icloud-guard/tree/main
2•rexbrahh•18m ago•1 comments

I just tired of killing AI slop

https://www.surgeos.app/
1•yernururu•21m ago•1 comments

RFC: Stopping runaway AI agent spend with atomic budget reservations

https://github.com/iamapsrajput/agent-budget-protocol/blob/main/RFC.md
1•iamapsrajput•22m ago•0 comments

Freedom from NPM. Happy 4th

https://www.npmjs.com/package/donobu
2•vasusen•23m ago•1 comments

Check my temp mail with 18 custom domain

https://mytempmail.pro
1•Asdfghjkkzxcv•24m ago•0 comments

Cells, boundaries, and the emergence of biological order

https://www.embl.org/news/science-technology/cells-boundaries-and-the-emergence-of-biological-order/
1•hhs•26m ago•0 comments

Mystery of India's red-haired child unlocks hidden colour genes

https://www.nature.com/articles/d44151-026-00124-7
1•cybermango•27m ago•0 comments

Peekdiff – review GitHub PRs without the diff touching my server

https://peekdiff.codebyram.dev
1•sriram-52•27m ago•0 comments

Jellyfish can heal wounds in minutes. Scientists want their secrets

https://www.mbl.edu/news/jellyfish-can-heal-wounds-minutes-scientists-want-their-secrets
1•hhs•27m ago•0 comments

FlashAttention-4: Algorithm and Kernel Pipelining Co-Design

https://research.colfax-intl.com/flashattention-4-algorithm-and-kernel-pipelining-co-design-for-a...
1•skidrow•29m ago•0 comments

New bacterial species discovered in NASA's cleanrooms

https://www.nature.com/articles/d44151-025-00219-7
2•cybermango•29m ago•0 comments

Toward Better Hip Kernel Generation for AMD GPUs

https://scalingintelligence.stanford.edu/blogs/hipkernels/
1•skidrow•29m ago•0 comments

Researchers affirm long-held belief that viruses can trigger Parkinson's disease

https://stories.tamu.edu/news/2026/06/29/researchers-affirm-long-held-belief-that-viruses-can-tri...
1•hhs•31m ago•0 comments

China Is Devastating the Last Stronghold of German Industry

https://www.wsj.com/economy/china-is-devastating-the-last-stronghold-of-german-industry-c7a98514
4•impish9208•33m ago•2 comments

Four Corners – a spin on Connections-like games

https://fourcorners.smol.quest/
1•ens0•35m ago•1 comments

Show HN: WifeBench – My wife vibes LLM rankings

https://www.wifebench.com/
1•fristovic•37m ago•0 comments

Dermatology is wrong about the sun

https://twitter.com/MattZirwas/status/2050586857868591306
1•bilsbie•39m ago•0 comments

Automate Excel with Python: From manual grind to one-click workflow

https://nostarch.com/automate-excel-with-python
1•teleforce•40m ago•0 comments

Trump pardons 11, most for violating Clean Air Act

https://www.reuters.com/legal/government/trump-pardons-11-most-violating-clean-air-act-2026-07-04/
1•Kapura•41m ago•0 comments

Show HN: Isthistechdead.com got a full UI revamp

https://isthistechdead.com/
1•jobehi•43m ago•0 comments

America imports 99% of its fireworks from China

https://justinkuiper.substack.com/p/america-imports-99-of-its-fireworks
3•zdw•46m ago•0 comments

The Structural Failure of Disciplinary Science: What a Machine Found in 2 Hours

https://zenodo.org/records/21198389
1•javieralbuixech•47m ago•0 comments