How to emulate the Raspberry Pi 2 on QEMU?

后端 未结 3 1355
清酒与你
清酒与你 2021-02-04 06:32

Some time ago I emulated the Raspberry Pi following this article, but this approach has several problems:

  1. It is very slow.
  2. The display solution is limited
3条回答
  •  你的背包
    2021-02-04 07:21

    If you want to run a Raspberry Pi 2 build bot or something similar you should take a look at running Qemu in user/static mode. I tried this using Linux in a virtual machine, it's quite fast compared to Qemu system emulation. Unfortunately it only emulates the CPU so you won't be able to test games or Wayland/Weston.

    I was able to build a kernel for my Pi 2 in roughly a hour using this method.

提交回复
热议问题