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

New command-line in macOS 27 for interacting with Foundation Models

https://bsky.app/profile/alex.zenla.io/post/3mnswr2qxb22i
1•alexzenla•32s ago•0 comments

Reading Buffett and Munger, the stuff that stuck had nothing to do with stocks

https://old.reddit.com/r/ValueInvesting/comments/1u0hbzt/spent_my_first_year_actually_reading_buf...
2•dkga•2m ago•0 comments

Our Stock Market Is Broken

https://www.nytimes.com/2026/06/08/opinion/spacex-ipo-stock-market.html
2•2OEH8eoCRo0•6m ago•0 comments

Autonomy Is Not a Switch

https://autonomousagents19.com/blog/governed-autonomy/approval-hybrid-autonomous-three-modes-of-t...
1•KissMySaas•13m ago•0 comments

macOS 27 requires Apple Silicon, as Apple draws down the Intel Mac era

https://arstechnica.com/gadgets/2026/06/macos-27-requires-apple-silicon-as-apple-draws-down-the-i...
2•gk1•15m ago•0 comments

How to Find Consulting Clients (2015)

https://www.gkogan.co/how-to-find-consulting-clients/
1•gk1•16m ago•0 comments

If only you could be so lucky as to feel regret

https://www.bitsofwonder.co/p/if-only-you-could-be-so-lucky-as
1•ogundipeore•17m ago•0 comments

Building Software Is Learning

https://registerspill.thorstenball.com/p/building-software-is-learning
1•baetylus•19m ago•0 comments

Same Query, Three Results: Benchmarking ParadeDB and Postgres FTS

https://www.paradedb.com/blog/benchmarker-iteration
1•jamesgresql•21m ago•1 comments

The Truth About Salt – By a Midwestern Doctor

https://www.midwesterndoctor.com/p/the-truth-about-salt-efa
1•bilsbie•24m ago•0 comments

Federal judge blocks H1B visa $100K fee

https://www.alaskasnewssource.com/2026/06/08/federal-judge-blocks-h1-b-visa-100k-fee/
4•naturalmovement•26m ago•0 comments

Let us filter AI slop, you cowards

https://www.theverge.com/ai-artificial-intelligence/942909/let-us-filter-ai-slop-google-youtube-m...
3•cdrnsf•26m ago•0 comments

1010220

https://www.1010220.com/
1•kidbomb•28m ago•0 comments

A cargo airship lifted by vacuum instead of helium (peer-reviewed)

https://www.sciencedirect.com/science/authShare/S1270963826011788/20260608T232600Z/1?md5=c16e82fa...
1•iliatoli•29m ago•0 comments

Meta Launches 'Workforce Academy' to Train Workers to Build Data Centers

https://www.wsj.com/tech/ai/meta-launches-workforce-academy-to-train-workers-to-build-data-center...
1•sebastian_z•30m ago•0 comments

France Slaps Nintendo with $46M Fine over Switch Joy-Con Drift

https://www.ign.com/articles/france-slaps-nintendo-with-46-million-fine-over-switch-joy-con-drift
1•rcy•30m ago•0 comments

US millionaire big-game hunter dies after being crushed by elephants

https://www.theguardian.com/us-news/2026/apr/24/millionaire-hunter-dies-elephants-gabon
3•PaulHoule•32m ago•3 comments

Getting Lois in Defense?

1•andrebenoit11•34m ago•0 comments

If HN policy disallows AI comments, why is linking to AI generated content ok?

5•ekelsen•35m ago•5 comments

Empire of the Air (PBS, 1992)

https://archive.org/details/empire-of-the-air
1•petethomas•36m ago•0 comments

Tests suggest Russian satellites can jam GPS on a continental scale

https://arstechnica.com/space/2026/06/tests-suggest-russian-satellites-can-jam-gps-on-a-continent...
5•emot•43m ago•0 comments

Elon Musk says SpaceX doesn't need 'magic' to put AI data centers up in space

https://www.marketwatch.com/story/elon-musk-says-spacex-doesnt-need-magic-to-put-ai-data-centers-...
2•emot•43m ago•0 comments

Meta Deletes Face-Recognition System from Smart Glasses App After Wired Report

https://www.wired.com/story/meta-removes-face-recognition-code-meta-ai-app-smart-glasses/
4•littlexsparkee•44m ago•0 comments

Show HN: I recreated AOL Instant Messenger in the browser

https://www.webaim.xyz
3•RgrTheShrubbr•49m ago•0 comments

Loop Engineering

https://twitter.com/i/status/2064127981161959567
2•twapi•52m ago•0 comments

Rutger Bregman and His School for Moral Ambition Lacks Moral Ambition

https://louwrentius.com/rutger-bregman-his-school-for-moral-ambition-lacks-moral-ambition.html
1•louwrentius•52m ago•0 comments

Supporting Exchange and beyond

https://brendan.abolivier.bzh/exchange-pt-2/
1•babolivier•53m ago•0 comments

A new study says people love working from home, but does it love them back?

https://www.npr.org/2026/06/08/nx-s1-5848125/remote-work-mental-health-isolation
2•xrd•54m ago•0 comments

Exposing the Solid State Donut Battery. It's Over. [video]

https://www.youtube.com/watch?v=j5oyVNjrUPI
3•jbardnz•55m ago•0 comments

GNU Binutils 2.46.1 Released

https://sourceware.org/pipermail/binutils/2026-June/149568.html
2•edelsohn•55m ago•0 comments