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

Where Does the Tone Come from in a Microphone Preamp? [video]

https://www.youtube.com/watch?v=K-vIeA7yy6Q
1•BrokenCogs•23s ago•0 comments

Ask HN: It's World Social Media Day. Which current ones you do and don't enjoy?

1•busymom0•48s ago•0 comments

The mise en abyme in the Drowned World by James G. Ballard [pdf]

https://dialnet.unirioja.es/descarga/articulo/10247620.pdf
1•jruohonen•1m ago•0 comments

Codegrain – browser-based PDF/image/data tools, files never leave your tab

https://private-tools.codegrain.dev/en
1•shaidiuk•1m ago•0 comments

So, did Dolly from 'Moonraker' wear braces or not?

https://old.reddit.com/r/skeptic/comments/1uhwkh4/so_did_dolly_from_moonraker_wear_braces_or_not/
1•Teever•2m ago•0 comments

./the-bored-engineer –episode=1

https://github.com/quantumwake/kas
1•boredengineer•3m ago•0 comments

Booz Allen: What's in America's Code? Testing U.S. and Chinese LLMs for Security

https://www.boozallen.com/expertise/cybersecurity/whats-in-americas-code.html
1•jlark77777•4m ago•0 comments

Anonymous researcher drops 0-day 'exploitarium' repo

https://www.theregister.com/security/2026/06/29/anonymous-researcher-drops-0-day-exploitarium-rep...
1•logickkk1•4m ago•0 comments

Supreme Court strikes down executive order ending birthright citizenship

https://www.scotusblog.com/2026/06/supreme-court-strikes-down-trumps-order-ending-birthright-citi...
1•hallole•4m ago•0 comments

Show HN: Don't ask if devs cheat with AI, test if they're good with it

https://tryevaluator.com
2•skyepstein•8m ago•1 comments

The Origin of Continents and Geology's Theory of Everything

https://worksinprogress.co/issue/on-the-origin-of-continents/
1•duffycommaryan•8m ago•0 comments

Scammers Sell Seeds for Exotic AI-Generated Flowers That Don't Exist

https://www.404media.co/scammers-sell-seeds-for-exotic-ai-generated-flowers-that-dont-exist/
3•Brajeshwar•9m ago•0 comments

Show HN: Let your AI agent manage your link in bio

https://keepp.link/keepp-skill/SKILL.md
1•vasanthps•9m ago•0 comments

The Beauty of Tautologies

https://scottsumner.substack.com/p/the-beauty-of-tautologies
1•surprisetalk•9m ago•1 comments

Show HN: FastReact – FastAPI and React Starter Kit for AI SaaS

https://fastreact.dev/
1•turtledevio•9m ago•0 comments

Claude Code Is Steganographically Marking Requests

https://thereallo.dev/blog/claude-code-prompt-steganography
3•kirushik•10m ago•0 comments

OSS Rust Web framework inspired by Nest.js

https://rustnidus.com/
1•Vicbona•10m ago•0 comments

Why don't tech workers see themselves as workers?

https://techwerkers.nl/en/posts/myth-of-middle-class/
2•lowbar•12m ago•2 comments

We encode time in space, and pay in complexity

https://notes.shixiangxi.com/en/docs/dual-world-theory/preface/
2•sxx0•12m ago•1 comments

The Cantillion Effect – Adam Smith Institute

https://www.adamsmith.org/blog/the-cantillion-effect
2•bilsbie•14m ago•0 comments

Everything Easy is Hard Again (2018)

https://frankchimero.com/blog/2018/everything-easy/
3•downbad_•15m ago•1 comments

Samsung, SK Hynix to Spend $520B on Chip Plants in South Korea

https://www.wsj.com/tech/samsung-sk-hynix-to-spend-520-billion-on-chip-plants-in-south-korea-7d50...
2•mushstory•15m ago•0 comments

Benchmarks and Obscurantism: A "red" line that should not be crossed

https://clickhouse.com/blog/databricks-reyden-benchmark-transparency-clickhouse
1•lightningspirit•16m ago•0 comments

LLM KOSH

https://github.com/rastogivaibhav/llm-kosh
1•rastogivaibhav•16m ago•0 comments

VSCode-pull-request-GitHub repeatedly asked to sign in again using GitHub

https://github.com/microsoft/vscode-pull-request-github/issues/8786
1•Klaster_1•18m ago•0 comments

No Systemd

https://nosystemd.org/
2•standeven•19m ago•0 comments

The labor share of income in the US is at its lowest post-war level

https://libertystreeteconomics.newyorkfed.org/2026/06/the-post-covid-decline-in-the-labor-share/
99•loughnane•19m ago•21 comments

Study Reveals How Leukemia Cells Enter and Damage Lungs

https://nyulangone.org/news/study-reveals-how-leukemia-cells-enter-and-damage-lungs
3•gmays•19m ago•0 comments

Supreme Court strikes down limits on party spending in federal elections

https://apnews.com/article/supreme-court-campaign-finance-party-spending-ohio-91e49ee112197ae1210...
3•khriss•20m ago•1 comments

Agents in Orbs

https://ampcode.com/news/agents-in-orbs
2•tosh•20m ago•0 comments