frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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

Social Media Bans Are for Kids. What About Adults?

https://pmz1.substack.com/p/social-media-bans-are-for-kids-what
1•gieksosz•30s ago•0 comments

How climate-resilient homes in India are reducing dependence on air conditioners

https://www.thehindu.com/sci-tech/energy-and-environment/how-climate-resilient-homes-in-india-are...
1•rustoo•7m ago•0 comments

OpenAI just lost its enterprise AI crown to Anthropic

https://www.businessinsider.com/anthropic-tops-openai-business-ai-adoption-ramp-index-2026-5
1•mazokum•8m ago•0 comments

Edith Eger, Auschwitz Survivor Who Helped Others Cope with Trauma, Dies at 98

https://www.wsj.com/world/edith-eva-eger-dead-13268534
1•hodgesrm•14m ago•0 comments

Britain investigates Microsoft over business software dominance

https://www.reuters.com/legal/litigation/uk-opens-antitrust-probe-into-microsofts-business-softwa...
2•frm88•17m ago•1 comments

Random AI Explained Fast

https://www.youtube.com/watch?v=XURpiqSelBw
1•KornClown7•22m ago•0 comments

Perfect Number Bomb(2025)

https://www.quantumcalculus.org/odd-perfect-number-bomb/
1•nill0•23m ago•0 comments

FilePilot AI – local-first desktop file manager with optional AI summaries

https://github.com/cuiheng511/filepilot-ai
2•cui511511•26m ago•0 comments

How the Ingredients of Life Make Our Journey Worthwhile

https://medium.com/create-your-career/how-the-ingredients-of-life-make-our-journey-worthwhile-12e...
1•andsoitis•29m ago•0 comments

US reportedly dropped fraud charges against Adani after he hired Trump's lawyer

https://www.theguardian.com/us-news/2026/may/14/gautam-adani-billionaire-trump
2•dilawar•34m ago•0 comments

Logic bug in the Linux kernel's __ptrace_may_access() function (LPE)

https://www.openwall.com/lists/oss-security/2026/05/15/2
2•Tiberium•37m ago•0 comments

Ask HN: How do you catch regressions when you change your AI agent's prompt?

1•yakshithk_•39m ago•0 comments

C++26 Shipped a SIMD Library Nobody Asked For

https://lucisqr.substack.com/p/c26-shipped-a-simd-library-nobody
2•signa11•40m ago•0 comments

Solar Is Everything

https://www.barchart.com/story/news/37361552/solar-is-everything-teslas-elon-musk-says-other-ener...
2•andsoitis•42m ago•0 comments

Claude free usage limits are nuts. useless

4•paulpauper•48m ago•0 comments

PSVL 1.0 – The most comprehensive source-visible license (276 clauses)

https://github.com/BMBOMICH/PSVL
1•BMBOMICH•48m ago•0 comments

How Claude Code works in large codebases

https://claude.com/blog/how-claude-code-works-in-large-codebases-best-practices-and-where-to-start
43•shenli3514•57m ago•13 comments

The Two Sleeps

https://dylan.gr/1775146616
2•James72689•57m ago•0 comments

GitHub Copilot has released a preview of usage-based billing

https://old.reddit.com/r/GithubCopilot/comments/1tbb5bj/github_copilot_has_finally_released_a_pre...
2•jay_kyburz•57m ago•0 comments

Waymo recalls 1000s of driverless cars after some failed to avoid flooded roads

https://www.latimes.com/business/story/2026-05-14/waymo-recalls-thousands-of-its-driverless-cars-...
2•petethomas•1h ago•0 comments

Coldkey – Post-quantum age key generation and paper backup tool

https://github.com/pike00/coldkey
2•pike00•1h ago•0 comments

Latvian government collapses after Ukrainian drones strike oil facility

https://www.theglobeandmail.com/world/article-latvian-government-collapses-after-ukrainian-drones...
3•petethomas•1h ago•2 comments

Musk accused of 'selective amnesia,' Altman of lying as OpenAI trial nears end

https://www.reuters.com/sustainability/society-equity/elon-musks-court-battle-against-openai-ente...
5•jnord•1h ago•0 comments

Details of the Daring Airdrop at Tristan Da Cunha

https://www.tristandc.com/government/news-2026-05-11-airdrop.php
11•kspacewalk2•1h ago•1 comments

White-collar workers report growing feelings of 'AI brain fry'

https://www.ft.com/content/0ba3bd4f-cc3a-4cad-8a8e-76925da2a711
3•1vuio0pswjnm7•1h ago•0 comments

How Do VPNs Protect Your Privacy? VPN Overview

https://www.privacyguides.org/en/basics/vpn-overview/
4•Cider9986•1h ago•0 comments

Secrets at Rest: SOPS and Age for Docker Compose Homelabs

https://pikemd.com/blog/sops-age-docker-compose/
3•pike00•1h ago•0 comments

Self-destructing $2k Nvidia chips for distributed solar data ctrs in lampposts

https://www.techradar.com/pro/self-destructing-usd2-000-nvidia-chips-will-soon-power-tens-of-thou...
2•toss1•1h ago•0 comments

I ran forensics on closed models and discovered no one is using dense attention

https://blog.0xmmo.co/forensics/post.html
2•mmoustafa•1h ago•0 comments

Countdown to Apophis Close Approach–Cascading Hazards from Asteroid Impacts

https://pubs.usgs.gov/publication/fs20253028/full
1•rolph•1h ago•0 comments