diff options
author | Nathan Rossi <nathan.rossi@xilinx.com> | 2013-07-04 07:47:01 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-07-10 09:41:51 +0100 |
commit | 41563388edbe7f7559070c37c4f5cefd4cf37a96 (patch) | |
tree | 4df8558d3b63ed5cfabd30728edd0a969bc66772 /scripts/runqemu | |
parent | ce1638c50dc44c69717c67049dcc76a1cb5b7e75 (diff) | |
download | poky-41563388edbe7f7559070c37c4f5cefd4cf37a96.tar.gz |
scripts/runqemu: Add support for 'qemuzynq' machine
* Add support to boot the 'qemuzynq' machine in qemu-system-arm
* Use the specific machine model for Zynq 'xilinx-zynq-a9'
* Use the DTB generated from the kernel build as the DTB for boot
* Force use of initrd rootfs (either in ext or cpio formats)
(From OE-Core rev: 1e4b1d95e1f47654e928f38cd091ffe272689844)
Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-x | scripts/runqemu | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index 406092be3c..5ad83dd215 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
@@ -107,7 +107,8 @@ KVM_ENABLED="no" | |||
107 | while true; do | 107 | while true; do |
108 | arg=${1} | 108 | arg=${1} |
109 | case "$arg" in | 109 | case "$arg" in |
110 | "qemux86" | "qemux86-64" | "qemuarm" | "qemumips" | "qemumipsel" | "qemumips64" | "qemush4" | "qemuppc") | 110 | "qemux86" | "qemux86-64" | "qemuarm" | "qemumips" | "qemumipsel" | \ |
111 | "qemumips64" | "qemush4" | "qemuppc" | "qemuzynq") | ||
111 | [ -z "$MACHINE" ] && MACHINE=$arg || \ | 112 | [ -z "$MACHINE" ] && MACHINE=$arg || \ |
112 | error "conflicting MACHINE types [$MACHINE] and [$arg]" | 113 | error "conflicting MACHINE types [$MACHINE] and [$arg]" |
113 | ;; | 114 | ;; |
@@ -308,6 +309,9 @@ QEMUSH4_DEFAULT_FSTYPE=ext3 | |||
308 | QEMUPPC_DEFAULT_KERNEL=vmlinux-qemuppc.bin | 309 | QEMUPPC_DEFAULT_KERNEL=vmlinux-qemuppc.bin |
309 | QEMUPPC_DEFAULT_FSTYPE=ext3 | 310 | QEMUPPC_DEFAULT_FSTYPE=ext3 |
310 | 311 | ||
312 | QEMUZYNQ_DEFAULT_KERNEL=uImage | ||
313 | QEMUZYNQ_DEFAULT_FSTYPE=cpio | ||
314 | |||
311 | AKITA_DEFAULT_KERNEL=zImage-akita.bin | 315 | AKITA_DEFAULT_KERNEL=zImage-akita.bin |
312 | AKITA_DEFAULT_FSTYPE=jffs2 | 316 | AKITA_DEFAULT_FSTYPE=jffs2 |
313 | 317 | ||