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

AI-website-cloner-template: Clone any website using AI coding agents

https://github.com/JCodesMore/ai-website-cloner-template
3•vantareed•5m ago•0 comments

Half-Life 2 in a Browser

https://hl2.slqnt.dev/
2•panza•6m ago•0 comments

Show HN: LoveInvoice – a free invoice tool for freelancers and small businesses

https://loveinvoice.com
1•rkn7•6m ago•0 comments

Bad Epoll: The bug Mythos missed

https://compsec.snu.ac.kr/blog/badepoll
4•j-jaeyoung•6m ago•0 comments

How Big Tech Hides the True Cost of the AI Buildout [video]

https://www.youtube.com/watch?v=YrJzjC4kKCY
1•AbbeFaria•10m ago•0 comments

Ask HN: What do you do to save tokens?

3•bonigv•11m ago•0 comments

India trades over four-fifths of the equity options. Nine in ten lose

https://indiadispatch.com/p/nse-ipo
2•bahularora•12m ago•0 comments

Ask HN: What was the biggest contributor to your happiness in the past year?

2•chistev•15m ago•1 comments

Faster KNN search in Manticore: 2-pass HNSW, batched distances, and AVX-512

https://manticoresearch.com/blog/knn-hnsw-performance/
1•snikolaev•15m ago•0 comments

A 25-Year-Old Blog Looks Back at 40 Years of Computing

https://www.markround.com/blog/2026/06/17/25-its-only-when-you-look-back/
2•damethos•21m ago•0 comments

Nakba Exhibition in Canadian Museum of Human Rights

https://humanrights.ca/exhibition/palestine-uprooted-nakba-past-and-present
1•xg15•26m ago•0 comments

Treat the Context Window as a Data Assembly Problem

https://klr-pattern.github.io/pydantic-resolve/blog_context_assembly_for_llm/
1•tank-34•26m ago•0 comments

Americans are inundated with suspected scams

https://apnews.com/article/poll-scams-law-enforcement-social-media-389f8d824b89fa434c297729f2aaf56d
3•rawgabbit•28m ago•2 comments

The Ancient Horsemen Who Created the Modern World [pdf]

https://reich.hms.harvard.edu/sites/reich.hms.harvard.edu/files/inline-files/The%20Ancient%20Hors...
1•andsoitis•38m ago•0 comments

What is China's SpaceSail, and could it rival Elon Musk's Starlink?

https://www.theguardian.com/world/2026/jun/25/china-spacesail-rival-elon-musk-starlink-space-sate...
1•giuliomagnifico•39m ago•0 comments

Ask HN: A Common Dilemma for Startup Owners

1•TheRickyRed•40m ago•5 comments

Draft Sequence of the Neandertal Genome (2010)

https://pmc.ncbi.nlm.nih.gov/articles/PMC5100745/
2•andsoitis•44m ago•0 comments

What Jess Livingston and Paul Graham learned about resilience from Y Combinator [video]

https://www.youtube.com/watch?v=KBjtRJSblMU
1•nomilk•45m ago•0 comments

Hands-on with the $24,950 Slate auto

https://arstechnica.com/features/2026/06/we-take-a-ride-in-slates-24950-electric-pickup/
2•geerlingguy•46m ago•1 comments

Singapore Tops Global per Capita Usage of Anthropic's Claude AI

https://opentools.ai/news/singapore-tops-global-per-capita-usage-of-anthropics-claude-ai
1•LostMyLogin•46m ago•0 comments

Ancient DNA Found on Cave Walls

https://www.miragenews.com/ancient-dna-found-on-cave-walls-1698320/
2•andsoitis•48m ago•0 comments

Michael Caine's new AI audiobook is everything that's wrong with Hollywood

https://metro.co.uk/2026/06/24/michael-caines-new-audiobook-everything-wrong-hollywood-28904009/
1•handfuloflight•49m ago•1 comments

NASA rover detects potential signatures of ancient microbial life on Mars

https://www.theguardian.com/science/2026/jun/24/nasa-rover-detects-potential-signatures-ancient-m...
3•seanhunter•1h ago•1 comments

Anduril Taps Israeli Air Force Chief for Expansion

https://fivetakes.news/anduril-industries-former-israeli-air-force-chief-to-head-israel-operation...
1•mmeirovich•1h ago•0 comments

Can LLMs verify PCB designs?

https://autocuro.com/blog/can-llms-verify-pcb-designs
1•teleforce•1h ago•0 comments

AI-built codebase is probably ungoverned. Here's what that means

https://shaunwilliamson3.substack.com/p/your-ai-built-codebase-is-probably
1•Auditome•1h ago•0 comments

Hyundai and Kia added official GrapheneOS support to their apps

https://xcancel.com/GrapheneOS/status/2069846696574472688#m
2•Cider9986•1h ago•1 comments

Show HN: Giving away $25k worth of apps

https://openluxe.co/pro
1•chandlerwilcox•1h ago•0 comments

Charlie Kirk's legacy is a 30-year sentence for moving zines

https://www.theverge.com/policy/956404/prairieland-sentencing-zines-trump-antifa
3•morsch•1h ago•0 comments

Show HN: Hezo – Self-hosted teams of AI agents that never see your real secrets

https://hezo.ai
1•hiddentao•1h ago•0 comments