Show HN: RK3588 QEMU emulator running unmodified Armbian images

https://github.com/petabyt/clanker-rkqemu

Comments

clivedupNov 29, 2026, 6:55 AM
Sorry to be harsh, but the only thing worth demo'ing is getting such emulation accepted by upstream Qemu. That would be awesome!
rolymathNov 29, 2026, 6:04 AM
Can someone explain the ramifications of this
hogehoge51Nov 29, 2026, 6:16 AM
The developer used an agent to write code to emulate a fairly cheap commodity SoC. Generally no one bothers to do this as the cost of writing an emulator can be high, but the hardware is cheap and readily available so most people just use the hardware. That cost gone now you can throw an agent at it. You could use such an emulator for CI/CD pipelines, or simulating distributed systems made up of lots of SoCs, or reverse engineering products based on the SoC.
dmitrygrNov 29, 2026, 6:24 AM
> I gave it the leaked RK3588 TRM

Heh, not even reverse engineered. OP had the TRM. Writing an emulator while having a TRM is a simple job for a persistent 16 year old (source: i did things like that when i was 16)

varispeedNov 29, 2026, 7:39 AM
2 year old LLM would do it.
octoberfranklinNov 29, 2026, 7:00 AM
Yeah but can it run the DDR training blobs? Do that and I'll really be impressed.

edit

> Get the proprietary DDR image working

Wow, shit did you really do this? Or are you simply ignoring the DDR image's writes and feeding it plausible-enough values that it believes "the DDR is trained" and proceeds to the next stage?

Actually emulating the DDR controller would be impressive.

The DDR controller is from Synopsys; most of their DDR controllers are in fact a tiny ARC core (different instruction set). Are you emulating that thing too?

edit

> The current test proves that the image returns success with synthetic controller and PHY responses, not that real DDR training is emulated

Ah, so it's just feeding the DDR training blob whatever values it has to in order to get it to move on to the next step. Too bad. Having a real model of the DDR controller would make it straightforward to write one that's open source... making rk3588 the newest blobless CPU by a large margin.