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

Guards Guards – small gotcha in Elixir guard expressions

https://hauleth.dev/post/guards-guards/
1•hauleth•7m ago•0 comments

If You Can Facilitate a Retrospective, You Can Audit Your AI

https://age-of-product.com/ai-delegation-audit/
1•swolpers•10m ago•0 comments

A guide on how to run Nemotron 3 Super 120B Thinking on 2 Nvidia DGX Spark

https://corti.com/serving-nemotron-super-120b-with-a-1m-token-context-on-a-2-node-dgx-spark-cluster/
1•TechPreacher•11m ago•0 comments

Grok Is More Important Than Clean Air, DOJ Says

https://www.motherjones.com/environment/2026/06/grok-doj-justice-naacp-clean-air-act-gas-turbine-...
1•virgildotcodes•13m ago•0 comments

The post that no one will read

https://twitter.com/MedMarrouchi/status/2071161041598157196
1•medmarrouchi•13m ago•0 comments

Polymarket customers lose $3M in supply-chain attack

https://www.bleepingcomputer.com/news/security/polymarket-customers-lose-3-million-in-supply-chai...
1•01-_-•22m ago•0 comments

Show HN: FOMO – See what your community pays attention to

https://usefomo.co
1•JadAmmar•22m ago•0 comments

Intel's next-gen 52-core Nova Lake CPU could pull up to 474W

https://www.tomshardware.com/pc-components/cpus/intels-next-gen-52-core-nova-lake-cpu-could-pull-...
1•01-_-•23m ago•0 comments

Memory-Hierarchy Understanding Tools

https://github.com/ob/cache
1•signa11•25m ago•0 comments

Collecting and Analysing Yandex Maps blurs

https://www.nrk.no/order-138_-russia_s-growing-defense-industry-hides-behind-yandex_s-blurs-1.179...
1•hgulldahl•28m ago•1 comments

Hermes MoA virtual models:8% higher than Opus 4.8, 11% higher than GPT 5.5

https://twitter.com/NousResearch/status/2070610321278988385
3•aurenvale•32m ago•0 comments

Get Numb Before You Get Good

https://commoncog.com/get-numb-get-good/
1•jimsojim•34m ago•0 comments

You can now run Max AI models on Apple Silicon

https://forum.modular.com/t/max-models-can-now-run-on-apple-silicon-gpus/3283
1•melodyogonna•36m ago•0 comments

Pie – PHP Installer for Extensions

https://github.com/php/pie
1•hronak•36m ago•1 comments

Wikipedia Cofounder Larry Sanger Banned from Site for 'Canvassing'

https://www.404media.co/wikipedia-cofounder-larry-sanger-banned-from-site-for-canvassaing/
1•latexr•39m ago•0 comments

2026.06.19: EuroQCI Feedback

https://blog.cr.yp.to/20260619-euroqci.html
1•commandersaki•39m ago•0 comments

Prism: An Impure Functional Language with Typed Effects

https://www.stephendiehl.com/posts/prism/
5•leontrolski•43m ago•0 comments

Show HN: Beaches of Greece, natural-language search for Greek beaches

https://beachesofgreece.com
1•tomerlir•44m ago•0 comments

RAM crisis provokes enthusiast to try Windows 11 on DDR1-era hardware

https://www.tomshardware.com/software/windows/ram-crisis-provokes-enthusiast-to-try-windows-11-on...
1•bushwart•49m ago•0 comments

What data access pattern is as slow as possible?

https://blog.weineng.me/posts/slowest_add
2•fanf2•50m ago•0 comments

Vertical Slices in Practice

https://event-driven.io/en/vertical_slices_in_practice/
1•theanonymousone•53m ago•0 comments

Unfathomable bugs #10: The Broken Windows Build

https://algassert.com/post/2603
1•giovannibajo1•54m ago•0 comments

Text Files as a User Interface

https://ratfactor.com/cards/text-files-as-ui
1•mpweiher•55m ago•0 comments

When will the decimals in A/B repeat?

https://www.johndcook.com/blog/2026/06/27/decimal-period/
1•ibobev•57m ago•0 comments

Omarchy is the best thing I've stopped thinking about. 1 year review blog

https://codebynight.dev/posts/one-year-omarchy-learning-os-not-just-linux-setup/
2•shivc•57m ago•1 comments

Height of Harmonic Numbers

https://www.johndcook.com/blog/2026/06/27/height-of-harmonic-numbers/
1•ibobev•57m ago•0 comments

The Internet Doesn't Need More Content, It Needs More You

https://arunrocks.com/the-internet-needs-more-you/
1•arocks•57m ago•0 comments

Spritework on the ZX Spectrum: Preparing Our Graphics

https://bumbershootsoft.wordpress.com/2026/06/27/spritework-on-the-zx-spectrum-preparing-our-grap...
2•ibobev•58m ago•0 comments

Life lessons and hot takes from my 30s

https://shreyasprakash.com/life-lessons-30s/
2•mondo_daemon•1h ago•0 comments

Ask HN: Hiii

1•hari_vardhan•1h ago•0 comments