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

Build Your First 3D Editor – Create a 3D Space on an Infinite Grid

https://aibodh.com/posts/bevy-tutorial-build-your-first-3d-editor-in-rust/
1•febin•1m ago•0 comments

Serial Dekhne Wala App – Elo TV

https://play.google.com/store/apps/details?id=com.eloelo&hl=en_US
1•Chirag12boss•4m ago•1 comments

Russia buys gasoline from India to tackle shortages

https://www.reuters.com/business/energy/russia-buys-gasoline-india-tackle-shortages-sources-say-2...
2•vrganj•6m ago•1 comments

China tells its ethnic minorities to integrate or face consequences

https://www.cnn.com/2026/07/01/china/china-ethnic-unity-law-intl-hnk
2•breve•6m ago•0 comments

Watch a Steam Controller Skitter Itself to Its Charge Puck

https://hackaday.com/2026/07/01/watch-a-steam-controller-skitter-itself-to-its-charge-puck/
1•StingyJelly•8m ago•1 comments

Software Security Analysis in 2030 and Beyond: A Research Roadmap

https://dl.acm.org/doi/10.1145/3708533
1•pjmlp•8m ago•0 comments

The Field Equation, living shader geometry folded into a breathing object

https://sand-morph.up.railway.app/the-field-equation
1•echohive42•9m ago•0 comments

The Fall of the Theorem Economy

https://davidbessis.substack.com/p/the-fall-of-the-theorem-economy
1•varjag•10m ago•0 comments

PlayStation will stop releasing games on discs in 2028

https://www.bbc.com/news/articles/c0ryjyvjq41o
2•isaacfrond•11m ago•0 comments

EU could announce social media ban for kids in September

https://www.euractiv.com/news/eu-plans-to-announce-social-media-ban-for-kids-in-september/
1•Klaster_1•14m ago•0 comments

Notes: Principles of Neural Design

https://act65com.wordpress.com/2018/08/13/notes-principles-of-neural-design/
1•Kotlopou•17m ago•0 comments

Token Leaderboards

https://www.didon.app/blog/ai-token-leaderboards-employee-usage-tracking
2•babakzy•18m ago•0 comments

EU top court dismisses Google fight against record €4B EU antitrust fine

https://www.reuters.com/world/eu-top-court-dismisses-google-fight-against-record-41-billion-eu-an...
4•bontoJR•21m ago•0 comments

Agents.md is lying to your agent – and nothing checks it

https://hunch-pi.vercel.app/blog/post?slug=agents-md-is-lying-to-your-agent
1•huchdave•22m ago•0 comments

Google Reader was building the wrong future

https://buttondown.com/blog/google-reader
2•maguay•25m ago•0 comments

The Age of Personalized Hardware Is Coming

https://geastack.com/blog-the-age-of-personalized-hardware-is-coming
2•arbayi•29m ago•0 comments

Books, Highlights and Progress on Every E-Reader: BookFusion for KOReader

https://www.blog.bookfusion.com/your-books-highlights-progress-onevery-e-reader-bookfusion-for-ko...
2•skillachie•30m ago•0 comments

Synthetic Customers Earn Their Stripes

https://www.bain.com/insights/synthetic-customers-earn-their-stripes/
2•fzliu•30m ago•0 comments

Show HN: MyWritingTwin: an AI Writing Profile that makes LLMs sound like you

https://www.mywritingtwin.com
3•writingdna•40m ago•1 comments

Spent EV Batteries Get Second Life as Higher-Performance Battery Material

https://today.ucsd.edu/story/spent-ev-batteries-get-second-life-as-higher-performance-battery-mat...
3•giuliomagnifico•42m ago•0 comments

EXo Platform 7.2: Native AI Powering a Unified and Intelligent Digital Workplace

https://www.exoplatform.com/blog/exo-platform-7-2-ai-powered-unified-digital-workplace/
3•jaouanebrahim•44m ago•1 comments

A bug I ran into when using Java Modules

https://old.reddit.com/r/java/comments/1ul2wiz/a_bug_i_ran_into_when_using_java_modules_plus/
2•Tomte•44m ago•0 comments

Word Count for Blog Posts: How Long Should Yours Be?

https://fastwordcount.com/blog/real-time-word-counter-boost-your-writing-efficiency/
1•rajkverma123•48m ago•2 comments

Grasse and the London Connection (2025)

https://www.englishmaningrasse.com/post/grasse-and-the-london-connection
1•zeristor•52m ago•0 comments

A 'new way of thinking' boosted math proficiency in an East Palo Alto school

https://www.paloaltoonline.com/east-palo-alto/2026/07/01/a-new-way-of-thinking-boosted-math-profi...
6•hbarka•54m ago•0 comments

Pasqal exceeds 1k Atoms in Quantum Processor

https://www.pasqal.com/newsroom/pasqal-exceeds-1000-atoms-in-quantum-processor/
2•fofoz•57m ago•0 comments

Evaluation order and nontermination in query languages

https://www.rntz.net/post/2026-06-11-datalog-nontermination.html
2•luu•1h ago•0 comments

Show HN: Noter – AI agent dashboard for monitoring coding harnesses locally

https://noterai.tech
1•carlobizzaro•1h ago•0 comments

Show HN: Deterministic Simulation Testing

https://workers.io/blog/deterministic-simulation-testing/
1•chaitanyya•1h ago•0 comments

The Download: Anthropic Launches Claude Science, and California's Carbon Manure

https://www.technologyreview.com/2026/07/01/1139996/the-download-anthropic-claude-science-califor...
2•joozio•1h ago•0 comments