This method uses -M versatilepb which is present on the QEMU 2.5.0 of Ubuntu 16.04. Ubuntu 16.04, QEMU 2.5.0, Raspbian, modified kernel So you might as well use the Lite image which has go GUI for now. You can then login on the terminal that shows on your host terminal. append 'rw earlyprintk loglevel=8 console=ttyAMA0,115200 dwc_otg.lpm_enable=0 root=/dev/mmcblk0p2' \ This prints a loop device, e.g.: /dev/loop0
This only works with latest losetup on Ubuntu 16.04, other methods at:
The easiest way is: sudo losetup -f -show -P -raspbian-jessie.img Git clone -recursive git:///qemu.gitĭownload image and extract the kernel and dts from it: Ubuntu 16.04, QEMU 2.9.0 -M raspi2, Raspbian, vanilla kernelĬompile QEMU 2.9.0 from source: sudo apt-get build-dep qemu-system-arm