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

Who Owns the Model of You?

https://0set0set.github.io/articles/alma-a-self-model-for-ai-agents/
1•0set0set•2m ago•0 comments

Apple Is Going to Raise Device Prices – But When?

https://daringfireball.net/linked/2026/06/22/apple-device-prices-when
1•tosh•3m ago•0 comments

EV demand powers Europe car market in May, Chinese rivals expand share

https://www.reuters.com/world/china/ev-demand-powers-europe-car-market-may-chinese-rivals-expand-...
1•JumpCrisscross•3m ago•0 comments

Object Oriented Semantic Layer

https://medium.com/@tkfbcny/object-oriented-semantic-layer-5e57ac66af53
1•kassette•4m ago•0 comments

Recommendations for Using LLM-Backed Generative AI in FOSS Contributions

https://sfconservancy.org/llm-gen-ai/llm-backed-generative-ai-recommendations.html
1•pella•4m ago•0 comments

Show HN: Aharness – Enforce coding-agent workflows as state machines on Codex

https://github.com/Alfredvc/aharness
1•alfredvc•5m ago•0 comments

MicroSphere – The indie web on your device

https://micro.mjanssen.nl/microsphere/
1•marc0janssen•5m ago•1 comments

It's Only When You Look Back

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

Unlimited OCR Works

https://arxiv.org/abs/2606.23050
1•ilreb•6m ago•0 comments

What Are AI Agents? A 2026 Definition, Types, and Why 95% Never Reach Production

https://news.ycombinator.com/submit
1•Deepyanti•8m ago•0 comments

Chatting with an AI Won't Make You a Top Programmer

https://lemire.me/blog/2026/06/21/chatting-with-ai-wont-make-you-a-top-programmer/
1•ibobev•8m ago•0 comments

Ultra-Wide 0.5x Lenses Have Utility Beyond 'Photography'

https://daringfireball.net/linked/2026/06/22/ultra-wide-05x-lenses-have-utility-beyond-photography
1•tosh•9m ago•0 comments

A Python tool to scan browser extension packages for malware

https://github.com/ernos/browser-xpi-malware-scanner
1•pebnop•9m ago•1 comments

Anki – Powerful, Intelligent Flashcards

https://apps.ankiweb.net/
1•StefanBatory•9m ago•0 comments

Ask HN: How are pro-LLM projects doing compared to anti-LLM ones?

1•pullshark91•11m ago•1 comments

A Next.js SaaS Boilerplate - Ship your SaaS faster

https://yousship.com
11•ybenarab•15m ago•0 comments

The Way to Protect Your Digital Privacy

https://hister.org/posts/the-ultimate-way-to-protect-digital-privacy
4•mstef•15m ago•0 comments

p99 0ms* Autocomplete

https://ruurtjan.com/articles/p99-0ms-autocomplete-for-240-million-domain-names
1•pul•19m ago•0 comments

Meta to invest $900M in India's CRED, taps founder to lead WhatsApp

https://www.reuters.com/world/india/indian-fintech-firm-cred-raise-900-million-meta-45-billion-va...
1•rakkhi•19m ago•0 comments

Car Hacking with Claude Code

https://www.csselectronics.com/pages/can-bus-reverse-engineering-ai-llm-claude
1•martinfalch•20m ago•0 comments

Europol is going rogue – so Brussels is doubling its budget?

https://euobserver.com/222391/europol-is-going-rogue-so-brussels-is-doubling-its-budget/??
2•austinallegro•24m ago•0 comments

Vietnamese US deportee returns home after a year in South Sudan

https://www.eyeradio.org/joyful-to-return-home-vietnamese-us-deportee-returns-home-after-a-year-i...
2•_tk_•25m ago•0 comments

Signed OKF – Provenance for Google's Open Knowledge Format

https://github.com/dynamicfeed/signed-okf
2•dynamicfeedai•27m ago•0 comments

Ian Fleming Explains How to Write a Thriller

https://lithub.com/ian-fleming-explains-how-to-write-a-thriller/
3•frereubu•27m ago•0 comments

We built the fastest API for GLM-5.2

https://twitter.com/philipkiely/status/2069212319746506968
2•ljosifov•28m ago•0 comments

The curious history the invention of the CMD+K quick switcher

https://ux.stackexchange.com/questions/153299/how-did-cmd-k-come-to-be-the-standard-shortcut-for-...
2•birdculture•33m ago•0 comments

Digital Health Tools Are Reshaping Healthcare in the United States

https://nyulangone.org/news/digital-health-tools-are-reshaping-healthcare-united-states
2•giuliomagnifico•39m ago•0 comments

Kafka's Broken Promise: There Is No Goldilocks Log

https://www.opendata.dev/blog/announcing-opendata-log/
3•rmoff•40m ago•0 comments

Israel targeted Gaza children resulting in genocide, UN inquiry says

https://www.reuters.com/world/middle-east/israel-targeted-gaza-children-resulting-genocide-un-inq...
110•supercopter•41m ago•28 comments

We ran 1k queries through ChatGPT: 48 domains produced 22.5% of citations

https://growtika.com/blog/chatgpt-citation-economy
4•Growtika•43m ago•0 comments