You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Dhruv Vyas afd26a6501
Merge pull request #65 from alexswilliams/master
6 years ago
tools Merge pull request #65 from alexswilliams/master 6 years ago
README.md fixed typo 6 years ago
kernel-qemu-3.10.25-wheezy Added jessie 4.1.7 kernel, tools for building kernel and modified README.md 9 years ago
kernel-qemu-4.1.7-jessie Added jessie 4.1.7 kernel, tools for building kernel and modified README.md 9 years ago
kernel-qemu-4.1.13-jessie Added 4.1.13+ kernel 9 years ago
kernel-qemu-4.4.12-jessie Fixed issue #17 by renaming the kernel 4.4.11 8 years ago
kernel-qemu-4.4.13-jessie +iptables, +overlayfs, +config.gz, +fhandle 8 years ago
kernel-qemu-4.4.21-jessie build kernel 4.4.21 (for use with Rpi foundation's 2016-09-23-jessie image) 8 years ago
kernel-qemu-4.4.26-jessie added kernel 4.4.26 (for 2016-11-25-raspbian-jessie) 8 years ago
kernel-qemu-4.4.34-jessie added kernel 4.4.34 (for 2016-11-25-raspbian-jessie) 8 years ago
kernel-qemu-4.9.41-stretch 4.9.41-stretch 7 years ago
kernel-qemu-4.9.59-stretch Updated patch, build script for 4.9.x kernel 7 years ago
kernel-qemu-4.9.59-stretch_with_VirtFS Add prebuilt kernel with VirtFS enabled 6 years ago
kernel-qemu-4.14.50-stretch Added precompiled 4.14.50 kernel 6 years ago
kernel-qemu-4.14.79-stretch Compiled 4.14.79 for 2018-11-13 image 6 years ago
versatile-pb.dtb Build kernel 4.14.50 to match Raspbian 2018-06-27 6 years ago

README.md

qemu-rpi-kernel

Qemu kernel for emulating Rpi on QEMU

While I was searching the internet about emulating QEMU, most of the guides pointed to link https://xecdesign.com/downloads/linux-qemu/kernel-qemu which is dead as of now. So making it available on github for someone who would like to use it. Hope it helps.

This repo contains two types of kernels.

kernel-qemu-3.10.25-wheezy, which is the original kernel from link https://xecdesign.com/downloads/linux-qemu/kernel-qemu - Works fine with any wheezy image with changes mentioned in wiki.

kernel-qemu-4.x.xx-jessie, are newer kernels compiled compatible with jessie as well as they work well with older wheezy images.

kernel-qemu-4.9.xx-stretch, are new kernels compiled compatible with stretch, recommended to use same version of rpi image and kernel: image - http://downloads.raspberrypi.org/raspbian/images/raspbian-2017-12-01/ kernel - https://github.com/raspberrypi/linux/releases/tag/raspberrypi-kernel_1.20171029-1

You need dtb file for qemu to work with newer kernels: qemu-system-arm -kernel kernel-qemu-4.9.59-stretch -cpu arm1176 -m 256 -M versatilepb -dtb versatile-pb.dtb -no-reboot -append "root=/dev/sda2 panic=1 rootfstype=ext4 rw" -net nic -net user,hostfwd=tcp::5022-:22 -hda 2017-11-29-raspbian-stretch-lite.img

Build scripts are kept in tools folder for reference.

Go through wiki page for step by step guide how to emulate Raspberry Pi on Qemu on any platform (Win, linux or Mac OS)