diff options
author | Nathan Rossi <nathan.rossi@xilinx.com> | 2013-07-04 07:47:46 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-07-10 09:41:51 +0100 |
commit | f6538c3b649e19088e0f396f84061086c3cc786a (patch) | |
tree | 1a6d1efb338d79eea45af36fa4c35054b2a0fc4a /scripts/runqemu | |
parent | 41563388edbe7f7559070c37c4f5cefd4cf37a96 (diff) | |
download | poky-f6538c3b649e19088e0f396f84061086c3cc786a.tar.gz |
scripts/runqemu: Add support for 'qemumicroblaze' machine
* Add support to boot the 'qemumicroblaze' machine in
qemu-system-microblazeel
* Use the specific machine model for a MicroBlaze system 'petalogix-ml605'
* 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: 2c164a5dfc877d180ef58d46c063573621297929)
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 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index 5ad83dd215..04dc3b0571 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
@@ -108,7 +108,7 @@ while true; do | |||
108 | arg=${1} | 108 | arg=${1} |
109 | case "$arg" in | 109 | case "$arg" in |
110 | "qemux86" | "qemux86-64" | "qemuarm" | "qemumips" | "qemumipsel" | \ | 110 | "qemux86" | "qemux86-64" | "qemuarm" | "qemumips" | "qemumipsel" | \ |
111 | "qemumips64" | "qemush4" | "qemuppc" | "qemuzynq") | 111 | "qemumips64" | "qemush4" | "qemuppc" | "qemumicroblaze" | "qemuzynq") |
112 | [ -z "$MACHINE" ] && MACHINE=$arg || \ | 112 | [ -z "$MACHINE" ] && MACHINE=$arg || \ |
113 | error "conflicting MACHINE types [$MACHINE] and [$arg]" | 113 | error "conflicting MACHINE types [$MACHINE] and [$arg]" |
114 | ;; | 114 | ;; |
@@ -309,6 +309,9 @@ QEMUSH4_DEFAULT_FSTYPE=ext3 | |||
309 | QEMUPPC_DEFAULT_KERNEL=vmlinux-qemuppc.bin | 309 | QEMUPPC_DEFAULT_KERNEL=vmlinux-qemuppc.bin |
310 | QEMUPPC_DEFAULT_FSTYPE=ext3 | 310 | QEMUPPC_DEFAULT_FSTYPE=ext3 |
311 | 311 | ||
312 | QEMUMICROBLAZE_DEFAULT_KERNEL=linux.bin.ub | ||
313 | QEMUMICROBLAZE_DEFAULT_FSTYPE=cpio | ||
314 | |||
312 | QEMUZYNQ_DEFAULT_KERNEL=uImage | 315 | QEMUZYNQ_DEFAULT_KERNEL=uImage |
313 | QEMUZYNQ_DEFAULT_FSTYPE=cpio | 316 | QEMUZYNQ_DEFAULT_FSTYPE=cpio |
314 | 317 | ||