Show HN:RK3588 QEMU 模拟器运行未修改的 Armbian 镜像
Show HN: RK3588 QEMU emulator running unmodified Armbian images

原始链接: https://github.com/petabyt/clanker-rkqemu

QEMU 现已支持 RK3588 平台,目标是将未修改的 Armbian Ubuntu 镜像启动至桌面。实现主要使用 GLM5.3 以及 RK3588 TRM 和 ARM v8a 参考资料。构建过程对一个子模块应用了小的 qemu.patch,并将 src 软链接到 qemu/hw/arm/rk3588。使用示例包括运行 genbook 或原版 Armbian 镜像,可选地在 PCIe 总线上挂载 GPU、输入和网络设备。测试目前针对 16GB Orange Pi 5,并提供可下载的 Armbian 镜像。

黑客新闻 新 | 过去 | 评论 | 提问 | 展示 | 工作 | 提交 登录 展示 HN:运行未修改 Armbian 镜像的 RK3588 QEMU 模拟器 ( github.com/petabyt ) 9 分 由 petabyt 1 小时前 | 过去 | 收藏 | 讨论 帮助 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

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.

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.

联系我们 contact @ memedata.com