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

1•KeyFrog•10s ago

I'm building a project rn that shares ad revenue with users. What do you think?

1•jezzwar•29s ago•0 comments

Primes of the form x^2 + n y^2

https://github.com/rahulsudhu/primes_of_the_form
1•rsuds211•54s ago•0 comments

Free File Converter: How I build it

https://convert.bz/en
1•GemsGame•2m ago•0 comments

Pluto – a new app engine for reMarkable devices

https://twitter.com/mikediarmid/status/2077308240035979353
1•salakar•3m ago•0 comments

RAG system isn't hallucinating. It never found the answer

https://artifipedia.com/blog/rag-retrieval-not-generation
1•stoicstoic•5m ago•0 comments

Show HN: DTAP – test and text anything protocol

https://github.com/melezhik/doubletap
1•melezhik•11m ago•0 comments

Porting nanochat to a TPU: what carries over from PyTorch, and what breaks

https://github.com/tucan9389/nanochat-jax/discussions/1
1•tucan9389•13m ago•0 comments

The State of Age Verification in 2026

https://aztec-labs.com/blog/age-verification-state-2026
1•rzk•20m ago•0 comments

How to Build 1-Minute OHLC Bars from Non-Uniform Market Snapshot Data

https://medium.com/@DolphinDB_Inc/how-to-build-1-minute-ohlc-bars-from-non-uniform-market-snapsho...
1•yiweileng•20m ago•0 comments

Ask HN: How do you track feedback when you post across multiple places?

4•georgi_94•21m ago•0 comments

Ask HN: What Are You Building with AI?

1•fraXis•27m ago•3 comments

Ask HN: Evidence for JavaScript ecosystem being more vulnerable than Rust's?

1•pascahousut•27m ago•0 comments

Locksmith scams: 'I was shut out with my baby and charged £2,200 to get back in'

https://www.theguardian.com/money/2026/jul/15/the-scary-rise-of-locksmith-scams-i-was-shut-out-wi...
2•YeGoblynQueenne•30m ago•0 comments

The Myth of Sisyphus

https://en.wikipedia.org/wiki/The_Myth_of_Sisyphus
1•chistev•30m ago•1 comments

Show HN: A tool that reviews subreddit promotion rules before you post

https://wheretopost.com/
1•elng•31m ago•1 comments

What Do ASML's Q2 2026 Results Tell Us About the AI Boom?

https://mrkt30.com/what-do-asmls-q2-2026-results-tell-us-about-the-ai-boom/
2•technewssss•32m ago•2 comments

Show HN: OpenSCAD Models for Industrial Grade R/C Lawnmower

https://github.com/zelon88/RC_Mower_Trailer
1•zelon88•35m ago•0 comments

FreeBSD 16 Retires the Last GPL Code from Its Base System

https://www.phoronix.com/news/FreeBSD-16-Goes-GPL-Free
2•brandhout•36m ago•0 comments

Chipotle to open its first restaurant in Mexico this week

https://ktla.com/news/nationworld/chipotle-opens-first-location-in-mexico/
1•mikhael•37m ago•0 comments

What makes an AI coding tool worth paying for?

https://vibecodingagency.com/gpu-cloud/
1•vibeagency•40m ago•1 comments

Grok Faces a Trust Crisis After Developers Flag a Major Privacy Concern

https://www.inc.com/julie-lee/elon-musks-grok-faces-a-trust-crisis-after-developers-flag-a-major-...
2•baranul•41m ago•1 comments

Mozilla Syncstorage-Rs (Self-Hosted Firefox Sync)

https://mozilla-services.github.io/syncstorage-rs/
2•hosteur•41m ago•0 comments

Should a smartwatch track the user's emotions?

2•accofrisk•41m ago•3 comments

Always Go with a Monorepo

https://kore-nordmann.de/blog/always_go_with_a_monorepo.html
1•ingve•42m ago•0 comments

Rebuilding Our Notification Platform for Timely Notifications

https://www.patreon.com/engineering/posts/how-we-scaled-162544709
1•birdculture•45m ago•0 comments

Why Are Japanese Retail Traders Shorting the US Dollar?

https://www.disruptionbanking.com/2026/07/15/why-are-japanese-retail-traders-shorting-the-us-dollar/
4•emsidisii•48m ago•0 comments

Web Design Museum

https://www.webdesignmuseum.org/
1•fortuitous-frog•50m ago•0 comments

Code Was Our Medium for Thought

https://wattenberger.com/thoughts/code-is-a-medium-for-thought/
2•goranmoomin•51m ago•0 comments

Pebble July 2026 Update

https://repebble.com/blog/pebble-mega-update-july-2026
1•smig0•51m ago•0 comments