diff options
| author | Alistair Francis <alistair.francis@xilinx.com> | 2016-05-12 14:37:39 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-12 23:47:15 +0100 |
| commit | ff3bc6c61f5946aa5e91a77442d828ec1a03387d (patch) | |
| tree | 4693ce7860557b4c5d74d859280426db546d55f0 /scripts/runqemu-internal | |
| parent | 21fbcdb9f7f4f979763b1764d2ef682d450ab1c7 (diff) | |
| download | poky-ff3bc6c61f5946aa5e91a77442d828ec1a03387d.tar.gz | |
runqemu: Add suport for qemuzynqmp
(From OE-Core rev: d2a7c1db9bff6ae3844e3d017e94f29d1501bf57)
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu-internal')
| -rwxr-xr-x | scripts/runqemu-internal | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal index ac1c703c53..5671b4f434 100755 --- a/scripts/runqemu-internal +++ b/scripts/runqemu-internal | |||
| @@ -498,6 +498,24 @@ config_qemuzynq() { | |||
| 498 | fi | 498 | fi |
| 499 | } | 499 | } |
| 500 | 500 | ||
| 501 | config_qemuzynqmp() { | ||
| 502 | set_mem_size 2048 | ||
| 503 | QEMU=qemu-system-aarch64 | ||
| 504 | |||
| 505 | export QEMU_AUDIO_DRV="none" | ||
| 506 | if [ "x$SERIALSTDIO" = "x" ] ; then | ||
| 507 | QEMU_UI_OPTIONS="-nographic" | ||
| 508 | else | ||
| 509 | QEMU_UI_OPTIONS="" | ||
| 510 | fi | ||
| 511 | |||
| 512 | # Networking and system options required for QEMU ZynqMP machine | ||
| 513 | QEMU_NETWORK_CMD="-net nic -net nic -net nic -net nic -net user,net=10.10.70.0,dhcpstart=10.10.70.1,host=10.10.70.101" | ||
| 514 | QEMU_SYSTEM_OPTIONS="$QEMU_NETWORK_CMD -M xlnx-ep108 -serial mon:stdio -dtb $DEPLOY_DIR_IMAGE/${QEMU_DTB}.dtb" | ||
| 515 | |||
| 516 | QEMUOPTIONS="$QEMU_SYSTEM_OPTIONS $QEMU_UI_OPTIONS -tftp $DEPLOY_DIR_IMAGE" | ||
| 517 | } | ||
| 518 | |||
| 501 | config_qemumicroblaze() { | 519 | config_qemumicroblaze() { |
| 502 | set_mem_size 256 | 520 | set_mem_size 256 |
| 503 | QEMU=qemu-system-microblazeel | 521 | QEMU=qemu-system-microblazeel |
| @@ -533,6 +551,9 @@ case "$MACHINE" in | |||
| 533 | "qemuzynq") | 551 | "qemuzynq") |
| 534 | config_qemuzynq | 552 | config_qemuzynq |
| 535 | ;; | 553 | ;; |
| 554 | "qemuzynqmp") | ||
| 555 | config_qemuzynqmp | ||
| 556 | ;; | ||
| 536 | "qemumicroblaze") | 557 | "qemumicroblaze") |
| 537 | config_qemumicroblaze | 558 | config_qemumicroblaze |
| 538 | ;; | 559 | ;; |
