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

Josh helps Rust manage code across multiple repositories

https://blog.rust-lang.org/inside-rust/2026/06/04/how-josh-helps-rust-manage-code-across-multiple...
1•Tiberium•3m ago•0 comments

My Opinion on RL

2•umjunsik132•8m ago•0 comments

The Art of Kite Flying (1430–1929)

https://publicdomainreview.org/collection/art-of-kite-flying/
2•benbreen•12m ago•0 comments

Show HN: Woltspace – a lodge for your coding agents

https://www.woltspace.com/
2•jerpint•15m ago•0 comments

GitHub Banned All CI for Our (OSS) Org Because of Bad Drive-By Contributors

4•BlueMatt•16m ago•0 comments

Americans and AI 2026: Chatbots, Smart Devices and Views on Impact

https://www.pewresearch.org/internet/2026/06/17/americans-and-ai-2026-chatbots-smart-devices-and-...
3•toomuchtodo•22m ago•1 comments

Rightwing populist 'El Tigre' wins Colombia election

https://www.ft.com/content/49294716-56be-40a4-ba31-b4e376ccb47f
2•petethomas•22m ago•0 comments

Zombie unicorns are haunting Silicon Valley

https://www.economist.com/business/2026/06/21/zombie-unicorns-are-haunting-silicon-valley
7•andsoitis•25m ago•1 comments

Crossary – AI-assisted field mapping that outputs signed Excel files

https://www.crossary.com
2•migueljpalmeida•26m ago•0 comments

Japan's Toto to invest $495M in chip materials, targeting 1-nm era

https://asia.nikkei.com/business/tech/semiconductors/japan-s-toto-to-invest-495m-in-chip-material...
5•Nrbelex•28m ago•1 comments

Never Too Late

https://stephengbarr.substack.com/p/its-never-too-late-practical-tips
2•SGBmedia•30m ago•0 comments

Remaking BBC test cards to teach you video processing

https://www.youtube.com/watch?v=U_6HxPkrgcg
1•unleaded•31m ago•0 comments

Job application asked for my SAT scores

https://mrmarket.lol/job-application-asked-for-my-sat-scores/
3•mrmarket•31m ago•0 comments

2k retired Google Pixel phones get a second life as a private cloud

https://www.theregister.com/on-prem/2026/06/18/2000-retired-google-pixel-phones-get-a-second-life...
2•joebuckwilliams•33m ago•0 comments

Early prototype of Stonehenge unearthed 3 miles from prehistoric landmark

https://www.nbcnews.com/world/united-kingdom/stonehenge-united-kingdom-prehistoric-prototype-summ...
2•gmays•39m ago•1 comments

Keogram: The Sky in 2025

https://apod.nasa.gov/apod/ap260621.html
1•mef51•39m ago•0 comments

Entity Core Protocol

https://github.com/EntityChurch/entity-core-protocol/blob/master/specs/ENTITY-CORE-PROTOCOL.md
1•billatbillslab•41m ago•1 comments

You're probably using Agent Skills wrong

https://notes.ansonbiggs.com/youre-probably-using-agent-skills-wrong/
2•MisterBiggs•49m ago•0 comments

Hacking their bodies for a longer life: is there science behind their methods?

https://www.nature.com/articles/d41586-026-01884-z
2•olalonde•53m ago•0 comments

World-first catch: new shark species

https://www.eurekalert.org/news-releases/1132305
2•gmays•57m ago•0 comments

Show HN: Baserates.dev, memorize programmer napkin math

https://www.baserates.dev/
1•stopachka•1h ago•0 comments

The Doom Justifies the Valuation

https://geohot.github.io//blog/jekyll/update/2026/06/21/the-doom-justifies-the-valuation.html
39•inatreecrown2•1h ago•20 comments

The Next Black President

https://www.vanityfair.com/story/the-next-black-president
7•Kapura•1h ago•1 comments

Ask HN: Are you being "529 Overloaded" by Anthropic too?

4•hmokiguess•1h ago•1 comments

QEMU with Espressif

https://github.com/espressif/qemu
2•arbayi•1h ago•0 comments

Older iPhones are vulnerable to a flaw Apple likely can't fix

https://mashable.com/tech/older-iphones-vulnerable-to-a-flaw-apple-cant-fix
3•gnabgib•1h ago•0 comments

Claude: Elevated Error Rates for Opus 4.8, Opus 4.7, Opus 4.6, and Sonnet 4.6

https://status.claude.com/incidents/lv35v0q9nsj2
32•forks•1h ago•35 comments

(Reverse Engineering) Apple Internals: Swift in the Kernel

https://blog.calif.io/p/apple-internals-swift-in-the-kernel
3•dnw•1h ago•0 comments

1983 Northern Telecom Commodore Phone

https://www.oldtelephoneroom.ca/1983-northern-telecom-commodore-phone/
16•arexxbifs•1h ago•2 comments

Give your sandboxed agents API keys they can't read

https://www.superserve.ai/blog/introducing-secrets/
2•Amit_Patil_010•1h ago•0 comments