Skip to content

Instantly share code, notes, and snippets.

@xueliu
Last active December 12, 2019 20:50
Show Gist options
  • Save xueliu/a079d8c00bd1e6cb5e0bb6168782c381 to your computer and use it in GitHub Desktop.
Save xueliu/a079d8c00bd1e6cb5e0bb6168782c381 to your computer and use it in GitHub Desktop.
#!/bin/sh
qemu-system-arm \
-M vexpress-a9 -smp 1 \
-m 256 \
-kernel output/images/zImage \
-dtb output/images/vexpress-v2p-ca9.dtb \
-drive file=output/images/rootfs.ext2,if=sd,format=raw \
-append "console=ttyAMA0,115200 root=/dev/mmcblk0" \
-net nic,model=lan9118 \
-net user \
-nographic
#!/bin/sh
qemu-system-arm \
-M vexpress-a9 -smp 1 \
-m 256 \
-kernel output/images/zImage \
-dtb output/images/vexpress-v2p-ca9.dtb \
-append "console=ttyAMA0,115200 root=/dev/nfs rw nfsroot=10.0.2.2:/src/nfs ip=10.0.2.15::10.0.2.1:255.255.255.0 init=/linuxrc" \
-nographic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment