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

How the 'math wars' in Palo Alto reflect a raging nationwide debate

https://www.sfchronicle.com/bayarea/article/math-class-palo-alto-school-district-22478798.php
1•randycupertino•5m ago•1 comments

LiDAR Lens: web viewer for 1M Lidar terrain across England and Wales

https://lidarlens.sarsen.org
1•winterswift•7m ago•0 comments

Chinese research vessels loiter near undersea cables more than any other nation

https://www.tomshardware.com/tech-industry/chinese-research-vessels-loiter-near-pacific-undersea-...
2•beansovertoast•10m ago•0 comments

The 'Buy, Borrow and Die' Wealth Strategy Has Become a $5T Market

https://www.wsj.com/finance/the-buy-borrow-and-die-wealth-strategy-has-become-a-5-trillion-market...
1•tysone•15m ago•0 comments

Accessory dwelling unit ruling could be a boon to California builders

https://www.sfchronicle.com/politics/article/adu-ruling-boon-california-builders-22495410.php
1•littlexsparkee•18m ago•0 comments

Show HN: An MCP server that writes and sings songs in 76 languages

https://www.songupai.com/mcp-server
1•rakim777•20m ago•0 comments

How Australia Built World’s Biggest Battery-Powered Ferry

https://www.bloomberg.com/news/features/2026-10-26/an-83-year-old-shipbuilder-is-delivering-era-o...
1•toomuchtodo•23m ago•1 comments

OpenXR Spatial Container Extensions Standardize Volumetric App Multitasking

https://www.uploadvr.com/openxr-spatial-container-extensions-standardize-volumetric-app-multitask...
1•andsoitis•24m ago•0 comments

What to do if you discover AI models trained using your copywrighted book?

4•andrea81•26m ago•3 comments

These Neurons Control Territorial Claims

https://edwardbenson.com/tinkering/neuron-explorer
1•eob•27m ago•0 comments

GLM-5.3 Sometimes Considers How Train-Time Actions Shape Future Behavior

https://www.lesswrong.com/posts/R5g8YT25G9DXJJ48n/glm-5-3-sometimes-considers-how-train-time-acti...
2•eatitraw•28m ago•0 comments

16-bit Windows (Windows 1.x, 2.x, 3.0, 3.1, etc.) on 64-bit Windows

https://github.com/otya128/winevdm
7•doener•30m ago•1 comments

Do you want to keep your job? Stop feeding AI models

2•andrea81•31m ago•3 comments

Initial Support for the Apple M4 and Apple A18 Pro Make It into Linux 7.4

https://www.phoronix.com/news/Linux-7.4-SoCs
4•doener•32m ago•0 comments

Show HN: Libtmux-ts 0.1 – tmux library for Node.js, TypeScript, bun

https://github.com/libtmux/libtmux-ts
1•tony•35m ago•0 comments

AMA – "Final Fantasy: The Spirits Within", milestone in CGI, is 25 years old

https://old.reddit.com/r/FinalFantasy/comments/1xgd2qy/ama_final_fantasy_the_spirits_within_miles...
2•kaveh808•35m ago•0 comments

Engineering Explained: I Fact-Checked Every Stunt in the Tesla Roadster Reveal [video]

https://www.youtube.com/watch?v=hJSbro3EBnY
2•lathiat•37m ago•3 comments

Let your agent talk to mine

https://blog.danielbrain.ai/let-your-agent-talk-to-mine
1•bluepnume•37m ago•0 comments

AI wasn't overhyped. Almost everyone underestimated it

https://benjamintodd.substack.com/p/almost-every-ai-forecast-of-the-last
2•gmays•38m ago•0 comments

Show HN: Sparta – A $799 starting point before Vanta

https://marathon.sh/sparta
1•shotgunsparkle•41m ago•1 comments

Show HN: Torsher – a self-hosted, TV-first media center in one container

https://github.com/torsher-app/torsher
1•antonreshetov•44m ago•0 comments

The "let-it-rip" camp is wrong on AI

https://economist.com/by-invitation/2026/10/26/the-let-it-rip-camp-is-wrong-on-ai
1•andsoitis•44m ago•1 comments

Show HN: Marlow – Build full-stack apps with AI and own your code

https://marlow.app/beta
1•kristapsmarlow•45m ago•0 comments

Request for Immediate Release of Yang–Mills AI Output

https://agmai.org/#request-immediate-release
1•kerim-ca•54m ago•0 comments

From RTL and No-RTL to GDS in 3 Weeks

https://www.ustcpetergu.com/MyBlog/experience/2026/10/10/from-rtl-and-no-rtl-to-gds.html
1•paaloeye•55m ago•1 comments

Using Env(1) in the Shebang

https://notes.pault.ag/env-in-shebang/
3•ykgoon•56m ago•0 comments

Why using AI saves doctors time but won't fix physician burnout

https://theconversation.com/why-using-ai-saves-doctors-time-but-wont-fix-physician-burnout-291250
1•beansovertoast•56m ago•0 comments

Roblox downloaded 145 GB of models from our sites without asking

https://open3dlab.com/news/roblox-downloaded-145-gb-of-models-from-our-sites/
2•linksbro•57m ago•0 comments

AI Crisis in Math: Navier-Stokes, Riemann Hypothesis and Complexity Theory [video]

https://www.youtube.com/watch?v=ZAzWPE9CItg
2•vismit2000•58m ago•1 comments

CPU Scheduling Explained [video]

https://www.youtube.com/watch?v=gq6g31usk0k
1•vismit2000•58m ago•0 comments