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

South Korea's Fake Online Stores Help Shopping Addicts Save Money

https://www.odditycentral.com/news/south-koreas-fake-online-stores-help-shopping-addicts-save-mon...
1•networked•1m ago•0 comments

CBC will no longer air NHL games in 'end of an era' as broadcast deal expires

https://www.cbc.ca/sports/cbc-nhl-hockey-night-in-canada-ends-9.7236977
1•canucker2016•1m ago•0 comments

Zigzag Decoding with AVX-512

https://zeux.io/2026/06/17/zigzag-decoding-avx512/
1•matt_d•2m ago•0 comments

The 14-point US-Iran peace plan, annotated

https://www.cnn.com/2026/06/17/politics/us-iran-memo-annotated-intl-vis
1•SilverElfin•2m ago•0 comments

Trump admin blocking Fable 5 rerelease unless Anthropic ensures no jailbreaks

https://www.wired.com/story/the-white-house-wants-anthropic-to-block-all-jailbreaks-that-may-not-...
3•reasonableklout•3m ago•1 comments

JPMorgan Chase cuts off Anthropic access for its Hong Kong staff

https://www.ft.com/content/de83d303-6a03-456b-bfb9-7b11dd502ab3
1•frb•3m ago•0 comments

An open-source AI just beat OpenAI's GPT-5.5 at coding (1/6th the price)

https://docs.z.ai/guides/llm/glm-5.2
1•Raj_Sidwadkar•6m ago•0 comments

GLM 5.2 playing text adventures

https://entropicthoughts.com/glm-5-2-playing-text-adventures
1•kqr•7m ago•0 comments

An Open Source Implementation of Notebook LM

https://github.com/lfnovo/open-notebook
1•saikatsg•9m ago•0 comments

Explaining Attention with Program Synthesis

https://arxiv.org/abs/2606.19317
1•E-Reverance•12m ago•0 comments

Data Viz and Table Design from the Letterpress Era

https://chris-parmer.com/data-viz-from-the-letterpress-era/
1•chriddyp•13m ago•0 comments

Estimate and pay your Q2 taxes

https://www.kip-ai.com/estimate
1•prudhvid•14m ago•0 comments

Does Your Programming Language Ever Surprise You in a Good Way?

https://donraab.medium.com/does-your-programming-language-ever-surprise-you-in-a-good-way-eb29e1e...
1•ingve•21m ago•0 comments

The Australian Government to Require SMS/MMS Sender ID Registraion

https://www.acma.gov.au/sms-sender-id-register
5•anitil•24m ago•2 comments

How to Become a Person After Smartphones Have Rotted Your Brain

https://www.thenewatlantis.com/publications/how-to-become-a-person-after-smartphones-have-rotted-...
2•the-mitr•24m ago•0 comments

Six months of AI in 2026, and a whole lot of noise

https://jatniel.dev/en/bytes/six-months-of-ai-in-2026-and-a-whole-lot-of-noise
1•jtnl•26m ago•0 comments

LLMs: Don't use a sledgehammer when tweezers will do

https://superuserdone.com/posts/2026-06-18-dont-use-a-sledgehammer/
1•SuperUserDone•27m ago•0 comments

Catching bad LLM behavior: OpenAI's new Deployment Simulation

https://openai.com/index/deployment-simulation/
1•Raj_Sidwadkar•27m ago•0 comments

DeepSeek Introduces Vision

https://chat.deepseek.com/
2•RIshabh235•29m ago•0 comments

Tesla remotely disabled the €6,200 FSD feature I had used for months

https://teslatookwhatipaidfor.com/en/
2•bartoszhernas•31m ago•2 comments

Environment AI writing code for simulations to test new models of particles

https://github.com/openwave-labs/openwave/blob/main/MODELS.md
1•eln1•34m ago•1 comments

Stack Overflow for Agents

https://stackoverflow.blog/2026/06/10/announcing-stack-overflow-for-agents/
3•marinesebastian•39m ago•0 comments

World-famous Robin Hood oak tree has died

https://news.sky.com/story/world-famous-robin-hood-oak-tree-has-died-13555186
3•austinallegro•52m ago•0 comments

Cervical cancer deaths fall to zero in young women given vaccine

https://www.bbc.com/news/articles/c621z28z138o
3•geox•53m ago•0 comments

What my trade data taught me that 3 years of reading couldn't

https://www.traderscompanion.org
1•mathono•55m ago•1 comments

MBook – a proposal for a new, simple e-book format based on Markdown

https://kevinboone.me/mbook.html
2•mindracer•55m ago•0 comments

The AI debate is about free will

https://juileebhosale.substack.com/p/the-ai-debate-is-really-about-free
3•dropbox_miner•1h ago•0 comments

Show HN: I revived yuiblog.com, Yahoo's defunct front end engineering blog

http://derek.io/yuiblog/page/101/
2•drgath•1h ago•0 comments

HelpNearby reached 25 countries in 20 days – built by 15-year-old Sudan

https://help-nearby.org
1•Hyrezyxx•1h ago•0 comments

Show HN: Memharness – Bi-temporal memory for AI agents, in one SQLite file

https://github.com/las7/memharness
1•sakuraiben•1h ago•1 comments