跳到正文
Hacker News (official RSS)(github.com)·· 3 小時前品質評分61

clanker-rkqemu 用 QEMU 模擬 RK3588,讓未修改的 Armbian 映像檔開機

Show HN: RK3588 QEMU emulator running unmodified Armbian images

重點導讀

想在電腦上測試 RK3588 的 Linux 系統,常得依賴實體板卡。

  • 這個開源專案在 QEMU 裡加入 RK3588 平臺模擬,目標是讓未修改的 Armbian Ubuntu 映像檔一路開機到桌面。作者列出已完成的記憶體、顯示與周邊模擬,也用接上 VirtIO 顯示卡的方式測試 Armbian 桌面。
  • Mali 顯示功能尚未實作。專案說明大部分工作由 GLM5.3 完成,作者提供硬體檔案與開機里程碑。

AI 伴隨問答

自備 Key 深度分析

針對這篇報導有疑問?可直接點選快捷問題或向 AI 追問背景脈絡與技術細節:

正文

GitHub - petabyt/clanker-rkqemu: Rockchip RK3588 platform implemented in Qemu · GitHub

Skip to content

Navigation Menu

[](https://github.com/)

Sign in

  • Products

All Features

  • Developers
  • Businesses
  • Resources

Search/

Sign in

Sign up

Appearance settings

You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert

{{ message }}

1. petabyt
2. clanker-rkqemu

Repository navigation

More items

[](https://github.com/petabyt/clanker-rkqemu)

Image 9: petabyt

clanker-rkqemu

Public

About

Rockchip RK3588 platform implemented in Qemu

Topics

rk3588rockchip

Resources

Readme

Activity

Stars

4 stars

Watchers

0 watching

Forks

0 forks

Report repository

master

BranchesTags

[](https://github.com/petabyt/clanker-rkqemu/branches)[](https://github.com/petabyt/clanker-rkqemu/tags)

Go to file

Code

Open more actions menu

Latest commit

History

16 Commits

[](https://github.com/petabyt/clanker-rkqemu/commits/master/)16 Commits

Folders and files

NameNameLast commit messageLast commit date
[experiments](https://github.com/petabyt/clanker-rkqemu/tree/master/experiments "experiments")[experiments](https://github.com/petabyt/clanker-rkqemu/tree/master/experiments "experiments")
[notes](https://github.com/petabyt/clanker-rkqemu/tree/master/notes "notes")[notes](https://github.com/petabyt/clanker-rkqemu/tree/master/notes "notes")
[packaging](https://github.com/petabyt/clanker-rkqemu/tree/master/packaging "packaging")[packaging](https://github.com/petabyt/clanker-rkqemu/tree/master/packaging "packaging")
[qemu @ f9587d4](https://github.com/qemu/qemu/tree/f9587d4045c67cd0d8d8bdcd5d0bb5b6b395b63c "qemu")[qemu @ f9587d4](https://github.com/qemu/qemu/tree/f9587d4045c67cd0d8d8bdcd5d0bb5b6b395b63c "qemu")
[scripts](https://github.com/petabyt/clanker-rkqemu/tree/master/scripts "scripts")[scripts](https://github.com/petabyt/clanker-rkqemu/tree/master/scripts "scripts")
[src](https://github.com/petabyt/clanker-rkqemu/tree/master/src "src")[src](https://github.com/petabyt/clanker-rkqemu/tree/master/src "src")
[.gitignore](https://github.com/petabyt/clanker-rkqemu/blob/master/.gitignore ".gitignore")[.gitignore](https://github.com/petabyt/clanker-rkqemu/blob/master/.gitignore ".gitignore")
[.gitmodules](https://github.com/petabyt/clanker-rkqemu/blob/master/.gitmodules ".gitmodules")[.gitmodules](https://github.com/petabyt/clanker-rkqemu/blob/master/.gitmodules ".gitmodules")
[AGENTS.md](https://github.com/petabyt/clanker-rkqemu/blob/master/AGENTS.md "AGENTS.md")[AGENTS.md](https://github.com/petabyt/clanker-rkqemu/blob/master/AGENTS.md "AGENTS.md")
[Makefile](https://github.com/petabyt/clanker-rkqemu/blob/master/Makefile "Makefile")[Makefile](https://github.com/petabyt/clanker-rkqemu/blob/master/Makefile "Makefile")
[README.md](https://github.com/petabyt/clanker-rkqemu/blob/master/README.md "README.md")[README.md](https://github.com/petabyt/clanker-rkqemu/blob/master/README.md "README.md")
[qemu.patch](https://github.com/petabyt/clanker-rkqemu/blob/master/qemu.patch "qemu.patch")[qemu.patch](https://github.com/petabyt/clanker-rkqemu/blob/master/qemu.patch "qemu.patch")

| View all files |

Repository files navigation

More items

rkqemu

[](https://github.com/petabyt/clanker-rkqemu#rkqemu)

Qemu platform support implemented for the RK3588. Goal is to get unmodified Armbian Ubuntu images booting to desktop.

Mostly done by GLM5.3. I gave it the leaked RK3588 TRM and ARM v8a profile spec split up into text files for referencing.

  • - [x] Emulate 16gb LPDDR5 + DDR training
  • - [x] HDMI, VOP2, eDP
  • - [x] GPIO, IOMUX, PMU, sha256 crypto, etc
  • - [x] VirtIO GPU acceleration through PCI bus (Mali is not implemented)
  • - [x] NPU - possibly incorporate research from https://github.com/widgetii/orangepi5plus-npu

Milestones I gave the LLM:

1. Get my rk bootloader working
2. Get the proprietary DDR image working
* I gave it maskrom access to an Orange Pi 5 for it to work out some details

3. Get EDKII working
4. Get ATF working
5. Get minimal Linux/busybox working
6. Boot unmodified Armbian images

Image 10: booting armbian

Build system is setup so that a small patch (qemu.patch) is applied to the qemu submodule, and src/ is symlinked to qemu/hw/arm/rk3588

# Run a genbook image (based on the rk bootloader)
./rk3588-qemu-x86_64.AppImage -M rk3588 -bios rk/genbook_demo.img -display gtk -serial stdio

# Run a stock Armbian image with a GPU attached to PCI bus (native HDMI disconnected)
./rk3588-qemu-x86_64.AppImage \
-M rk3588,pcie-experimental=on,hdmi-connected=off \
-device virtio-gpu-gl-pci,id=vgpu,bus=dw-pcie,addr=0.0,multifunction=on,xres=1280,yres=720 \
-device virtio-keyboard-pci,bus=dw-pcie,addr=0.1 \
-device virtio-tablet-pci,bus=dw-pcie,addr=0.2 \
-netdev user,id=net0 \
-device virtio-net-pci,netdev=net0,bus=dw-pcie,addr=0.3 \
-drive if=sd,format=raw,file=Armbian_26.8.1_Orangepi5_resolute_current_6.18.43_kde-plasma_desktop.img \
-display gtk,gl=on -serial stdio -monitor none
```

16gb Orange Pi 5 is the current testing device. The Armbian image I tested with can be downloaded here.

About

Rockchip RK3588 platform implemented in Qemu

Topics

rk3588rockchip

Resources

Readme

Activity

Stars

4 stars

Watchers

0 watching

Forks

0 forks

Report repository

Releases

Packages

Contributors

Languages

Footer

[](https://github.com/) © 2026 GitHub,Inc.

Footer navigation

You can’t perform that action at this time.

讀者討論

理性交流 · 即時討論