Raspberry pi QEMU
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
LICENSE Add LICENSE file Oct 30, 2015
README.md First commit Oct 13, 2015
build-kernel-qemu Fix Oct 13, 2015
kernel-qemu First commit Oct 13, 2015


Kernel Build Notes

QEMU ARM Emulator

Use the script 'build-kernel-qemu' to build a kernel image that can be used to boot QEMU.

Script will download kernel 4.1.7 sources and toolchain used to compile it. A precompiled kernel version is available with the script


Your system is able to execute 32 bit binaries, and you have git tool


Tested by booting Raspbian 8 (Jessie) kernel 4.1.7 system in QEMU

alt tag

You also need to mount raspbian image file and edit /etc/fstab by commenting out mmcblk entries. also on /etc/ld.so.preload you need to comment out all entries

after that, you can boot iamge using qemu:

qemu-system-arm -kernel kernel-qemu -cpu arm1176 -m 256 -M versatilepb -hda 2015-09-24-raspbian-jessie.img -append "root=/dev/sda2 rootfstype=ext4"

Script and sources modified by Cassiano Martin cassiano@polaco.pro.br