rkqemu Fakes a Rockchip RK3588 in QEMU So Stock Armbian Can Run Without the Board
Its maker says an LLM did most of the work, armed with a leaked chip manual and low-level access to a real single-board computer.

A developer going by petabyt is building an RK3588 board that exists only as software. The rkqemu repository teaches QEMU, the veteran machine emulator, to impersonate the Rockchip chip well enough that an operating system image needs no special edits.
The target is stated flatly: “Goal is to get unmodified Armbian Ubuntu images booting to desktop.” That word “unmodified” does the heavy lifting. Patching a guest until it tolerates your fake hardware is one thing. Making the fake hardware convincing enough for the stock image is a much pickier job (the guest grades your homework).
The repo’s list of what to emulate reads like someone inventorying a board with a flashlight. It includes 16GB of LPDDR5 along with DDR training, the startup routine where memory timing gets calibrated. Yes, the imaginary RAM gets trained too. There’s also HDMI, the VOP2 display processor, eDP, GPIO, IOMUX, the power management unit and SHA-256 crypto.
Graphics take a detour. The chip’s Mali GPU is not implemented. Instead, rkqemu can hang a VirtIO GPU off the PCI bus for acceleration. The stock-image example switches the native HDMI to disconnected, then plugs in virtual graphics, keyboard, tablet and network devices at 1280×720. The board loses its own video port and gains a better imaginary one, which is a trade no soldering iron offers.
That example boots from a raw image attached as an SD card. Its filename spells out the guest: Armbian 26.8.1 for the Orange Pi 5, kernel 6.18.43, with the KDE Plasma desktop. A second command loads a Genbook demo image as the BIOS, built on the Rockchip bootloader. Both call an x86_64 AppImage.
The way it got built is the other half of the fun. The maker says an LLM did most of it, which helps explain the “clanker” in the repository name. For reading material, petabyt writes: “I gave it the leaked RK3588 TRM and ARM v8a profile spec split up into text files for referencing.” A TRM is the technical reference manual, the enormous document that says what each register does.
The model also got hardware to poke. It had maskrom access to an Orange Pi 5, meaning the low-level mode baked into the chip itself, to work out some details. The 16GB version of that board is the current test device.
The maker set the milestones as a ladder. First came petabyt’s own Rockchip bootloader and the proprietary DDR image. Next were EDKII (UEFI firmware) and ATF (Arm’s trusted firmware), then a minimal Linux with BusyBox, and finally unmodified Armbian. Each rung exercises more of the fake chip than the last, so a failure has fewer places to hide.
Under the hood, the setup stays tidy. QEMU rides along as a Git submodule, a small qemu.patch gets applied to it, and the project’s src/ folder is symlinked in as hw/arm/rk3588. The chip code lives apart from the emulator it plugs into, so you can read it without spelunking through all of QEMU.
One big block remains on the wish list: the NPU, the chip’s AI accelerator. The maker says it could possibly draw on separate Orange Pi 5 Plus NPU research.
A likely payoff for tools like this is boring in the best way: boot tests that run before anyone touches hardware. An emulated chip can be restarted by a script, copied to a second machine and broken on purpose. A board in a drawer mostly collects dust and mystery USB cables.
The forecast comes with a condition. An emulator earns trust one matched behavior at a time, because software can pass on a forgiving fake and then trip on fussy silicon. Expect virtual boards to catch the early, dumb failures first (a fine job, since those eat whole evenings).
The method could travel, too. A reference manual, a real board to question and a ladder of pass-or-fail milestones make a recipe that other under-documented chips could borrow. The legally cleaner version starts with a manual the vendor actually handed out.
Until then, brick it twice. It’s imaginary.