Skip to content

Instantly share code, notes, and snippets.

@arturfog
Created February 11, 2019 20:26
Show Gist options
  • Save arturfog/2d88161c3b9ba71dec5d6d1d87c5fbd8 to your computer and use it in GitHub Desktop.
Save arturfog/2d88161c3b9ba71dec5d6d1d87c5fbd8 to your computer and use it in GitHub Desktop.
# https://github.com/vfdev-5/qemu-rpi2-vexpress
qemu-system-arm \
-kernel qemu-rpi2-vexpress/kernel-qemu-4.4.1-vexpress \
-dtb qemu-rpi2-vexpress/vexpress-v2p-ca15-tc1.dtb \
-m 2048M -M vexpress-a15 -cpu cortex-a15 -smp cpus=4,maxcpus=4 \
-serial stdio \
-append "rw console=ttyAMA0 root=/dev/mmcblk0p2 rootfstype=ext4 loglevel=8 rootwait fsck.repair=yes memtest=1" \
-sd ${IMG} \
-redir tcp:5022::22 \
-no-reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment