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

SuperPass: Fast-Tracking Blocking Threads to Mitigate Priority Inversion

https://arxiv.org/abs/2607.18097
1•Jimmc414•1m ago•0 comments

Japan cities hit 40 C, officially marking first "kokushobi"

https://english.kyodonews.net/articles/-/80372
1•geox•1m ago•0 comments

State Reverses Course, Finds Cuyahoga Jail Staff Failed to Start CPR

https://www.themarshallproject.org/2026/07/14/cuyahoga-county-jail-deaths-ohio
1•Jimmc414•1m ago•0 comments

Code mode is all you need: Why agents writing code > calling tools

https://www.browserbase.com/blog/code-mode-is-all-you-need
1•Kylejeong21•2m ago•1 comments

Agent Native Interface for SPI Flashing

https://github.com/jackulau/ratchet
1•JackLau•4m ago•0 comments

Amazon cuts some jobs in its artificial general intelligence unit

https://www.cnbc.com/2026/07/22/amazon-lays-off-some-employees-in-its-agi-unit.html
1•petethomas•4m ago•0 comments

LAN Orangutan – Lightweight network scanner with persistence and Tailscale

https://github.com/291-Group/LAN-Orangutan
1•291Group•6m ago•0 comments

New quantum gravity theory links entropy, dark energy, and life

https://www.sciencedaily.com/releases/2026/07/260719035947.htm
1•aard•8m ago•0 comments

If you pay a hacker's ransom, chances are that they'll come back for more

https://techcrunch.com/2026/07/22/if-you-pay-a-hackers-ransom-chances-are-that-theyll-come-back-f...
1•speckx•9m ago•0 comments

Reddit stock sinks as company weighs blocking Google's AI access to its content

https://qz.com/reddit-stock-google-ai-content-deal-072226
2•01-_-•12m ago•0 comments

Opbox – multiplayer sync for text files on disk

https://www.opbox.dev/
1•sensodine•13m ago•0 comments

AI tech companies have 'hidden debt' worth around $1.65T

https://www.tomshardware.com/tech-industry/big-tech/ai-tech-companies-have-hidden-debt-worth-arou...
5•01-_-•13m ago•0 comments

When your vehicle outlives its cloud: What happens next?

https://arstechnica.com/cars/2026/07/when-your-vehicle-outlives-its-cloud-what-happens-next/
1•apparent•14m ago•0 comments

Jacobian Conjecture for Baby

https://muchmirul.github.io/jacobian-conjecture/
2•porphyra•15m ago•0 comments

Using AI makes people less likely to admit they don't know something

https://www.theregister.com/ai-and-ml/2026/07/19/using-ai-makes-people-less-likely-to-admit-they-...
2•smartmic•18m ago•0 comments

Navigating the volatile silicon market: updates on memory and storage pricing

https://frame.work/blog/updates-on-memory-pricing-and-navigating-the-volatile-memory-market
2•davidjade•18m ago•0 comments

What to Expect from China's New Five-Year Plan

https://institute.global/insights/geopolitics-and-security/what-to-expect-from-chinas-new-five-ye...
1•toomuchtodo•18m ago•1 comments

RefluXFS: LPE in the Linux kernel via XFS reflink race (CVE-2026-64600)

https://www.openwall.com/lists/oss-security/2026/07/22/14
1•ilreb•20m ago•0 comments

Amazon once again locking me out of my own order data

https://bsky.app/profile/jon.moeller.io/post/3mrawmjzsmc2u
3•jmole•21m ago•2 comments

It's time to wake up: An Emacs alarm clock

https://lars.ingebrigtsen.no/2026/07/22/its-time-to-wake-up-an-emacs-alarm-clock/
1•meetpateltech•22m ago•0 comments

AI-maestro: Conduct a roster of AI coding agents against a work board

https://github.com/my-chiefmind/ai-maestro
1•mychiefmind•22m ago•0 comments

Comhad: A TUI replacement for Cyberduck, written in Rust

https://github.com/Eoin-McMahon/comhad
1•emcmahon478•22m ago•0 comments

The Healthcare Industry Is Coming for Your Face

https://www.karenschoellkopf.com/writing/biometric-data-healthcare
2•kgunette•23m ago•0 comments

Low-volume wearable interface for voice computing

https://twitter.com/augmentaltech/status/2079962940896338039
2•tomasero•24m ago•0 comments

How Gumclaw Works

https://gumclaw.github.io/how-i-work/index.html
2•tosh•27m ago•0 comments

Show HN: An open source schema definition for datasheets

https://nkorai.github.io/datasheet-schema/
1•nkorai•27m ago•0 comments

Show HN: Window Hints – Keyboard-first window switching

https://windowhints.com/
1•mihau•28m ago•0 comments

The Architecture of Open Source Applications

https://aosabook.org/en/index.html
2•blobcode•29m ago•0 comments

Amazon Cuts Jobs in Artificial General Intelligence Unit

https://www.wsj.com/tech/ai/amazon-cuts-jobs-in-artificial-general-intelligence-unit-fb86e2ba
5•N_A_T_E•29m ago•2 comments

Show HN: Caustic – a self-hosted compiler with no LLVM, Libc, or external tools

https://github.com/Caua726/Caustic
1•cauaneves•30m ago•0 comments