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

Leadership Lessons from the Odyssey

https://danielmangum.com/posts/odyssey-leadership-lessons/
1•hasheddan•1m ago•0 comments

The EV1 Archive

https://v212.org/museum/ev1/ev1.html
1•andsoitis•4m ago•0 comments

New Boeing 737 MAX Software Glitch Could Disrupt Navigation Feature

https://www.wsj.com/business/airlines/new-boeing-737-max-software-glitch-could-disrupt-navigation...
1•trimbo•6m ago•0 comments

42x faster prompt lookup drafting in llama.cpp

https://jadidbourbaki.github.io/blog/prompt-lookup-llama-cpp/
1•pptadversary•10m ago•0 comments

The Case for Learning in the Era of AI

https://jonbehnken.substack.com/p/the-case-for-learning
1•greedywhale•10m ago•1 comments

Show HN: Way to divide parameter space in LLM training

https://zenodo.org/records/22976821
1•genji970•11m ago•0 comments

OpenAI: Self-replicating prompt injections exist

https://alignment.openai.com/misalignment-reports/self-replicating-prompt-injections-exist/
1•dnw•12m ago•0 comments

Just Ask Jev: Reinforcement Learning for Calibrated Decisions

https://arxiv.org/abs/2609.29429
1•Anon84•13m ago•0 comments

Redium: A small and declarative JavaScript-based UI library

https://github.com/rolandbrake/Redium
1•rolandbrake•18m ago•0 comments

PHP 4.1.1 Simulator: A jsfiddle-style edit-run page for 2001 era PHP

https://simphp.infinitefun.com/
1•generativist•18m ago•0 comments

Finding All Solutions to LinkedIn-Queens Puzzle

https://wyounas.github.io/model-checking/puzzles/2026/06/06/finding-all-solutions-to-linkedin-que...
1•simplegeek•20m ago•0 comments

AI Replacing Me? Please Do

https://medium.com/@azolf/ai-replacing-me-please-do-e353ac6a4bc1
3•azolf•20m ago•0 comments

Show HN: Grabbit – agent-first screenshot API (MCP and one-line CLI)

https://www.grabbit.live
1•acossta•20m ago•0 comments

What will AI do to our jobs and our wages? [video]

https://www.youtube.com/watch?v=qFf1_gRU2Lw
2•Wilsoniumite•21m ago•0 comments

The Beatles have permeated research papers across academic disciplines

https://phys.org/news/2026-09-beatles-permeated-papers-academic-disciplines.html
1•pseudolus•23m ago•0 comments

Show HN: Pawl – iOS gambling blocker you unlock with a physical Security Key

https://github.com/jasonepage/Pawl
1•jpage2•23m ago•2 comments

ChatGPT has a data synchronisation bug that can easily cause data loss

https://emil.fi/d/chatgptdataloss.txt
1•emilfihlman•24m ago•1 comments

Don't Solve My Sudoku

https://blog.ubavic.rs/19/
1•ubavic•27m ago•0 comments

AI models have caught up with Unity dev

https://www.reddit.com/r/gamedev/comments/1wo5asm/ai_models_have_caught_up_with_unity_dev_my/
2•reasonableklout•28m ago•0 comments

Mechanistic reasoning in biology among elementary school children

https://www.tandfonline.com/doi/full/10.1080/10508406.2024.2432682
1•wslh•29m ago•0 comments

David Letterman meets Manny the Hippie in Haight-Ashbury (1996) [video]

https://www.youtube.com/watch?v=7QrRDUasQp8
1•MilnerRoute•29m ago•0 comments

Handwritten Notes for Friends and Machines

https://ifup.org/blog/handwritten-notes-with-friends-and-machines/
1•philips•30m ago•0 comments

AI Exec: We May Have Pulled Off "The Largest Theft of Labor in Human History"

https://www.motherjones.com/politics/2026/09/openai-chatgpt-microsoft-copyright-legal-case-docume...
3•pluc•31m ago•0 comments

Ask HN: Did you not get the warnings about building thinking machines in Dune?

4•roschdal•36m ago•3 comments

Video CDs Break Windows Explorer

https://clydesnotes.blogspot.com/2026/08/video-cds-break-windows-explorer.html
2•ClydeN•36m ago•0 comments

Stock Buybacks and Quarterly Thinking: How America Fell Behind in Battery Tech

https://www.ineteconomics.org/perspectives/blog/the-u-s-battery-maker-that-could-and-the-u-s-auto...
2•paimapi•39m ago•0 comments

Show HN: CaughtShipping – curfew app for developers, enforced by a public wall

https://caughtshipping.com/
1•misulicus•40m ago•0 comments

Who is going to teach the junior developers?

https://blog.luap.info/who-is-going-to-teach-junior-developers.html
6•polote•42m ago•4 comments

Seed Game

https://seed.game/early-access
2•jackhalford•42m ago•0 comments

Show HN: Shielded Bitcoin – private payments on Bitcoin, proven in the browser

https://shielded.bitcoin.pe/
1•harshjv•43m ago•0 comments