diff options
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 | ;; |
