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

SHOW HN: Every Repo as a Unique Galaxy

https://gitgalaxy.io/
1•squid-protocol•53s ago•0 comments

Frankie: AI analyst you can email to get work done

https://getcompound.ai/blog/introducing-frankie
1•somerandomness•4m ago•0 comments

The Work of Helping A.I. Destroy Work

https://www.nytimes.com/2026/07/10/business/ai-white-collar-jobs.html
1•bookofjoe•5m ago•1 comments

MindRoom: AI agents that live in Matrix and work everywhere

https://www.nijho.lt/post/mindroom/
1•AdamGibbins•6m ago•0 comments

The case of the 500-mile email (2002)

https://www.ibiblio.org/harris/500milemail.html
1•downbad_•7m ago•1 comments

Pentagon suspends CMMC phase two requirements, launches review of program

https://federalnewsnetwork.com/cybersecurity/2026/07/pentagon-suspends-cmmc-phase-two-requirement...
2•petethomas•7m ago•0 comments

MIT's New Method Flags AI Models Trained on CASM Without Generating It

https://insideai.news/news/ai-safety/mits-new-method-flags-ai-models-trained-on-child-abuse-image...
1•sdoering•10m ago•0 comments

A Study of Microsoft's Early 2026 Rollout of Claude Code and GitHub Copilot CLI

https://arxiv.org/abs/2607.01418
1•softwaredoug•10m ago•0 comments

Yes, You Can Trick AI into Exonerating Someone

https://braddelong.substack.com/p/semi-crosspost-kelsey-piper-yes-you
1•gumby•12m ago•0 comments

OpenAI's new Agent Sandbox Cloud [video]

https://www.youtube.com/watch?v=OqM67QG_Ikk
1•iacguy•13m ago•0 comments

Noisia: Harmful Workload Generator for PostgreSQL

https://github.com/lesovsky/noisia/
1•handfuloflight•14m ago•0 comments

Starship – Critical Path [video]

https://www.youtube.com/watch?v=-a0ecQMq-rM
1•throwitaway222•15m ago•0 comments

AI use case library – Who is deploying AI, and what happened (150+ cases)

https://aiweekly.co/ai-use-cases
1•adu_onemore•17m ago•0 comments

Human Emacs

https://human-emacs.org/
3•birdculture•18m ago•0 comments

France powers down several nuclear reactors due to extreme heat

https://www.lemonde.fr/en/france/article/2026/07/12/france-powers-down-several-nuclear-reactors-d...
6•_Microft•19m ago•1 comments

Grok Build uploading full repos and .envs to GCP

https://twitter.com/xbtoshi/status/2076338252051841512
2•ashleypeacock•20m ago•1 comments

Trump notifies Congress of new war against Iran

https://www.politico.com/news/2026/07/13/trump-notifies-congress-of-new-war-against-iran-00995170
9•bushwart•20m ago•2 comments

AI Agents for Increasing Revenue

https://alum.so/
1•Sumiran7•20m ago•0 comments

The Tick That Hunts Down Its Hosts–Including Us

https://www.newyorker.com/magazine/2026/07/06/the-tick-that-hunts-down-its-hosts-including-us
1•randycupertino•22m ago•0 comments

Venice's access fee doesn't reduce tourism: it selects who can afford it

https://andreafontana.it/en/venice-entry-ticket-overtourism.html
1•trikko•23m ago•0 comments

Microsoft commits $2.5B, 6k employees AI implementation unit

https://www.cnbc.com/2026/07/02/microsoft-commits-2point5-billion-6000-employees-ai-implementatio...
1•rbanffy•23m ago•1 comments

Quantum-Augmented Databases Study Aims to Break Bottlenecks Slowing Data Systems

https://viterbischool.usc.edu/news/2026/07/toward-quantum-augmented-databases-new-usc-study-could...
1•rbanffy•23m ago•0 comments

Brazilian woman held as a slave for 38 years (2021)

https://www.dw.com/en/brazilian-woman-held-as-a-slave-for-38-years/a-56177797
2•toilet•23m ago•1 comments

Human settlement of East Polynesia coincident with prolonged S. Pacific drought

https://www.pnas.org/doi/10.1073/pnas.1920975117
2•janalsncm•26m ago•0 comments

Welcome to the Modern World. Is The Most Unhelpful Thing You Can Say to a Dev

https://codemonkey.studio/welcome-to-the-modern-world-why-that-might-be-the-most-unhelpful-thing-...
1•rmason•27m ago•1 comments

Brain-inspired hardware brings faster, low-power anomaly detection to AI systems

https://techxplore.com/news/2026-07-brain-hardware-faster-power-anomaly.html
1•rbanffy•27m ago•0 comments

I built a domain name discovery tool I don't hate

https://domaame.com
1•cybrjoe•27m ago•1 comments

Meta's AI Glasses Will Activate the Camera Without the Camera Indicator Light

https://www.privacyguides.org/news/2026/07/13/the-next-version-of-metas-ai-glasses-will-activate-...
1•Cider9986•28m ago•0 comments

Evelyn Berezin: instamatic for UAL, then first word processor

https://www.invent.org/inductees/evelyn-berezin
1•stmw•29m ago•0 comments

Apple sues OpenAI after ex-engineer allegedly used bug to steal trade secrets

https://arstechnica.com/tech-policy/2026/07/apple-sues-openai-after-ex-engineer-allegedly-used-bu...
2•bookmtn•30m ago•0 comments