Skip to content
This repository has been archived by the owner on Apr 26, 2018. It is now read-only.

Latest commit

 

History

History
36 lines (25 loc) · 1.02 KB

README.md

File metadata and controls

36 lines (25 loc) · 1.02 KB

QEMU Raspberry Pi 3 support

Adds machine type "raspi3" to boot AArch64 kernels in qemu. This patch is provided as-is, without any kind of warranty in the hope that it will be useful.

IMPORTANT NOTE: Thanks to a good soul, this patch made it through to qemu mainline. As a consequence, sooner or later every qemu binary will support "-M raspi3", therefore these patches not needed any more.

Usage

  1. download latest qemu source
  2. overwrite files from this repo (or if you prefer patches diffs here)
  3. compile qemu
./configure --target-list=aarch64-softmmu --enable-modules --enable-tcg-interpreter --enable-debug-tcg --python=/usr/bin/python2.7
make -j4
  1. install qemu
sudo make install
  1. run with the following command
qemu-system-aarch64 -M raspi3 -kernel kernel8.img

Enjoy! Keep in mind that qemu's BCM2837 peripherals support is far from being perfect, but close enough.

bzt