Last active
December 12, 2019 20:50
-
-
Save xueliu/a079d8c00bd1e6cb5e0bb6168782c381 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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