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

Jitter: Making Things Better with Randomness

https://brooker.co.za/blog/2015/03/21/backoff.html
1•hiohio•2m ago•0 comments

Phones Banned, Chinese Students Turn to Paper Short Dramas

https://www.sixthtone.com/news/1019331
1•wmchen•2m ago•0 comments

Surf95 ▸ Surf the Old Web

https://surf95.com/
1•kurtis_reed•4m ago•0 comments

Cerebras and Nvidia Collaborate to Accelerate Agentic Inference

https://nvidianews.nvidia.com/news/cerebras-and-nvidia-collaborate-to-accelerate-agentic-inference
1•gmays•7m ago•0 comments

Warren Buffett's Son Howard Buffett Became Ukraine's Largest Private Donor

https://www.forbes.com/sites/forbesinternational/2026/11/21/how-warren-buffetts-son-howard-buffet...
1•axiologist•9m ago•1 comments

Protect the AI We Love. Preserve Our Freedom to Choose

https://drive.google.com/file/d/1yyFrJiewV5rYIUA9pqwlbOST9m06USsw/view?usp=drivesdk
1•Roger-Evelyn•9m ago•0 comments

The Drawn Maps · Habibi Code

https://www.habibicode.org/thedrawnmaps
3•n_plus_1_acc•12m ago•1 comments

CoW B+ Trees are Fun

https://nubskr.com/2026/11/29/nubSQL/
2•signa11•13m ago•0 comments

CrimeWatch MCP

https://github.com/LordMoMA/crimewatch-mcp
1•lordmoma•13m ago•0 comments

How I made a RISC-V CPU in Minecraft Bedrock

https://www.youtube.com/watch?v=sP3tFTvJkNQ
1•sashiono•15m ago•0 comments

German company sets its sights on super heavy rocket after historic launch

https://arstechnica.com/space/2026/12/germanys-isar-aerospace-unveils-plan-for-europes-first-supe...
3•Tomte•19m ago•0 comments

Engels' Pause

https://en.wikipedia.org/wiki/Engels%27_pause
2•nreece•20m ago•0 comments

Show HN: MCP Station – daily checks of every remote server in the MCP Registry

https://mcpstation.net/
1•mcpstation•25m ago•0 comments

I took $200 –> $95k trading the weather in under 3 months

https://philiplesniak.substack.com/p/how-i-took-200-95k-trading-the-weather
2•whoami_nr•25m ago•1 comments

Common travel problems that can lead to an actual business

1•dvarma_wayo•25m ago•2 comments

An interactive chart of Buffett's 61 years at Berkshire

https://threadsearch.app/charts
1•econumi•27m ago•0 comments

A 0.5B model transfer any Images to SVG 100token/s on Mac

https://github.com/Ziang-Chen/ultimate-svg-metal
1•z_c_cloud•27m ago•0 comments

Dew, A new Arc-like browser with Chromium and WebKit

https://dewbrowser.com/
3•gaybees•28m ago•1 comments

Not Slop: Haskell in the Age of AI

https://www.well-typed.com/blog/2026/12/haskell-vs-ai/
3•pvdebbe•28m ago•0 comments

Court rejects Sarkozy appeal in Libya campaign financing case

https://www.bbc.com/news/articles/cmp3vxqnk3p4o
1•begueradj•29m ago•0 comments

Step 5: Bringing Frontier Intelligence into Everyday Work

https://www.stepfun.com/step-5
1•lainsoykaf•29m ago•0 comments

Laravel Rust: 18× the throughput of Laravel PHP

https://laravel.com/blog/laravel-rust-benchmark
1•ksec•31m ago•1 comments

Clojol: A high-performance, fast-startup implementation of Clojure (unofficial)

https://github.com/kimtg/Clojol
1•ktg•31m ago•1 comments

Polars CLI

https://pola.rs/posts/announcing-agentic-polars-cli/
2•jonbaer•32m ago•0 comments

How Social Engineering Attacks Work and How to Defend Against Them

https://www.freecodecamp.org/news/social-engineering-attacks-developers/
2•rafeuddaraj•35m ago•0 comments

Show HN: Yoink – Android app, download media, preserve messages, verifiy claims

https://yoink.frankoge.com
3•frankdotdev•37m ago•0 comments

Polymarket is dying thanks to bad engineering

https://twitter.com/llmfeeder/status/2128007892737597859
3•cft•40m ago•0 comments

Knotless: Git on ATProto

https://knotless.dev/
2•jcbhmr•41m ago•1 comments

Baidu's Unlimited SVG generates SVGs from images stroke by stroke

https://huggingface.co/baidu/Unlimited-SVG
7•slymax•42m ago•0 comments

New integrations now go to the Home Assistant Marketplace

https://contributors.home-assistant.io/blog/2026/12/01/new-integrations-go-to-the-marketplace/
1•Volundr•43m ago•0 comments