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

Paul's Automotive DIY Repair Guides

https://www.paulstravelpictures.com/Articles/index.htm
1•js2•3m ago•0 comments

Jonathan Swift vs. AI

https://www.thedial.world/articles/news/schools-teachers-artificial-intelligence
1•cainxinth•3m ago•0 comments

Wow Forever Classfinder – Find Your Perfect Class

https://wowforeverclassfinder.com/
1•marc0janssen•5m ago•0 comments

Unsealed files describe OpenAI "research mission" to supplant human authors

https://www.publishersweekly.com/pw/by-topic/digital/copyright/article/101300-unsealed-files-show...
2•ilamont•5m ago•0 comments

Building a Low-Maintenance Technical Blog with Astro and Cloudflare Pages

https://pragmaticbydefault.com/posts/astro-and-cloudflare-pragmatic-blog/
1•lukasz_km•8m ago•0 comments

Implications of the EBR-II Inherent Safety Demonstration Test (1986) [pdf]

https://www.oecd-nea.org/upload/docs/application/pdf/2020-07/neacrp-a-1986-0773.pdf
1•fedecaccia•10m ago•0 comments

New bill to protect American citizens access to AI – Please read and share

https://righttorun.us
7•howdoweknowit•10m ago•0 comments

US DOT unveils new air traffic control system aimed at reducing flight delays

https://www.transportation.gov/briefing-room/trumps-transportation-secretary-sean-p-duffy-deliver...
1•tolugenius•11m ago•0 comments

Stocks had a great Monday, but something alarming occurred not seen since 1999

https://www.cnbc.com/2026/09/21/stocks-had-a-great-day-on-the-surface-but-something-alarming-occu...
1•MilnerRoute•12m ago•2 comments

'Planetary boundaries' necessary for flourishing of life have been breached

https://www.theguardian.com/environment/2026/sep/21/planetary-boundaries-breached-scientists-warn...
2•pseudolus•13m ago•0 comments

Microsoft: September updates break File History backup feature

https://www.bleepingcomputer.com/news/microsoft/microsoft-september-updates-break-file-history-ba...
1•speckx•13m ago•0 comments

The data does not show mass unemployment

https://lemire.me/blog/2026/09/21/nomassunemployment/
1•4lx87•18m ago•0 comments

OpenBSD's hypervisor now supports guest SMP

https://github.com/openbsd/src/commit/d74b165ebc85c9aaf5150f25e6088f52d9fc0f04
1•rockhardandrew•19m ago•0 comments

Vibecoding isn't a crime How Distribute Your App on Linux after Flathub refusal

https://grigio.org/vibecoding-isnt-a-crime-how-to-deal-with-flatpak-flathub-refusals-and-actually...
3•grigio•20m ago•0 comments

If You Want to Learn Algebra, You Need to Have Automaticity on Basic Arithmetic

https://www.justinmath.com/if-you-want-to-learn-algebra-you-need-to-have-automaticity-on-basic-ar...
2•gmays•20m ago•0 comments

A Game Boy Advance emulator in Rust that renders Pokémon FireRed in 3D

https://github.com/x0cero/gba
1•0ARCH•21m ago•0 comments

Webinar: From Data Sheet to Design, Building with AMD Spartan UltraScale+ FPGAs

https://us02web.zoom.us/webinar/register/WN_ICecaVKkQ4G4C0JE7bUoiw#/registration
1•signalhound•22m ago•0 comments

US data centres 'are short six NYCs of electricity'

https://www.ft.com/content/f29de45a-3d32-4d9f-90cd-615f7466c1de
2•frereubu•23m ago•0 comments

GitHub has taken down Bend's repository

https://twitter.com/VictorTaelin/status/2102118439892762936
6•marvinborner•23m ago•0 comments

The Epidemiology of a Cognitive Virus

https://data4sci.substack.com/p/the-epidemiology-of-a-cognitive-virus
1•Anon84•24m ago•0 comments

Show HN: Blackgit – use Git to only download those cared files

https://github.com/zhuzhonghua/blackgit
2•zhonghua•28m ago•0 comments

Xiaomi MiMo v2.6

https://mimo.xiaomi.com/mimo-v2-6
81•volf_•29m ago•14 comments

What if we regulated AI like cars?

https://rkp.science/regulating_ai_like_cars.html
1•rkp8000•29m ago•0 comments

Current landscape of innovative drug development and regulatory support in China

https://www.nature.com/articles/s41392-025-02267-y
1•wslh•31m ago•0 comments

94% on AIME with 1B Params

https://paradigma.inc/blog/limite-1b-violetto/
1•E-Reverance•33m ago•0 comments

Why are all these longevity bros such total snowflakes?

https://www.thenewworld.co.uk/holly-thomas-why-are-all-these-longevity-bros-such-total-snowflakes/
2•simonebrunozzi•34m ago•3 comments

The Forgotten Battle of East Lansing

https://eastlansinginfo.news/the-forgotten-battle-of-east-lansing/
1•rmason•34m ago•0 comments

Ask HN: Do you love your job?

1•good-idea•34m ago•3 comments

Your computer is more powerful than you think

https://www.fsf.org/bulletin/2026/summer/your-computer-is-more-powerful-than-you-think
2•smartmic•36m ago•1 comments

White by Default: Bias in Criminal Racial Assignment

https://uncorrelated.xyz/posts/white-by-default-systematic-bias-in-us-criminal-racial-assignment/
2•like_any_other•38m ago•0 comments