# $QEMU -kernel $RPI_KERNEL -cpu arm1176 -m 256 -M versatilepb -dtb versatile-pb.dtb -no-reboot -serial stdio -append "root=/dev/sda2 panic=1 rootfstype=ext4 rw init=/bin/bash" -drive "file=$,index=0,media=disk,format=raw" # the line below can be used for pre-boot modifications seems like it is not needed Hello guys, these are my notes for setting up qemu RPI emulation, based on notes above, modified for strech: brew install qemuĮxport RPI_KERNEL=./kernel-qemu-4.9.41-stretch # Referenced from Emulating Jessie image with 4.1.7 kernel. Ssh -p 5022 Referenced from OSX raspberry pi emulation via QEMU. ![]() append "root=/dev/sda2 panic=1 rootfstype=ext4 rw " \ append "root=/dev/sda2 panic=1 rootfstype=ext4 rw init=/bin/bash " \ M versatilepb -no-reboot -serial stdio \ # Tweak filesystem: start qemu with init flag, switch to guest window to execute tweak and close window afterwards ![]() ![]() # Download filesystem and export location
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |