diff options
author | Alistair Francis <alistair.francis@xilinx.com> | 2017-11-21 11:10:54 -0800 |
---|---|---|
committer | Nathan Rossi <nathan@nathanrossi.com> | 2017-11-29 23:02:30 +1000 |
commit | 1457dbfd4f47862ea6e60095a0be56e9dbb75a63 (patch) | |
tree | 4f4d08b67c5853a2f05e0441d6b10f567833c578 | |
parent | 008592e13e9af3195450d6216bbc6eb6170a2e48 (diff) | |
download | meta-xilinx-1457dbfd4f47862ea6e60095a0be56e9dbb75a63.tar.gz |
zc706-zynq7: Add runqemu support
Add support for both mainline and Xilinx's QEMU.
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | conf/machine/zc706-zynq7.conf | 13 |
2 files changed, 14 insertions, 1 deletions
@@ -20,7 +20,7 @@ Boards/Machines supported by this layer: | |||
20 | * Zynq: | 20 | * Zynq: |
21 | * [Zynq (QEMU)](conf/machine/qemu-zynq7.conf) - `qemu-zynq7` (QEMU Support) | 21 | * [Zynq (QEMU)](conf/machine/qemu-zynq7.conf) - `qemu-zynq7` (QEMU Support) |
22 | * [Xilinx ZC702](conf/machine/zc702-zynq7.conf) - `zc702-zynq7` (with QEMU support) | 22 | * [Xilinx ZC702](conf/machine/zc702-zynq7.conf) - `zc702-zynq7` (with QEMU support) |
23 | * [Xilinx ZC706](conf/machine/zc706-zynq7.conf) - `zc706-zynq7` | 23 | * [Xilinx ZC706](conf/machine/zc706-zynq7.conf) - `zc706-zynq7` (with QEMU support) |
24 | * [Avnet MicroZed](conf/machine/microzed-zynq7.conf) - `microzed-zynq7` | 24 | * [Avnet MicroZed](conf/machine/microzed-zynq7.conf) - `microzed-zynq7` |
25 | * [Avnet PicoZed](conf/machine/picozed-zynq7.conf) - `picozed-zynq7` | 25 | * [Avnet PicoZed](conf/machine/picozed-zynq7.conf) - `picozed-zynq7` |
26 | * [Avnet/Digilent ZedBoard](conf/machine/zedboard-zynq7.conf) - `zedboard-zynq7` | 26 | * [Avnet/Digilent ZedBoard](conf/machine/zedboard-zynq7.conf) - `zedboard-zynq7` |
diff --git a/conf/machine/zc706-zynq7.conf b/conf/machine/zc706-zynq7.conf index 2379aee0..38c3b4b5 100644 --- a/conf/machine/zc706-zynq7.conf +++ b/conf/machine/zc706-zynq7.conf | |||
@@ -12,6 +12,7 @@ | |||
12 | require conf/machine/include/tune-zynq.inc | 12 | require conf/machine/include/tune-zynq.inc |
13 | require conf/machine/include/machine-xilinx-default.inc | 13 | require conf/machine/include/machine-xilinx-default.inc |
14 | require conf/machine/include/machine-xilinx-board.inc | 14 | require conf/machine/include/machine-xilinx-board.inc |
15 | require conf/machine/include/machine-xilinx-qemu.inc | ||
15 | 16 | ||
16 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost usbgadget" | 17 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost usbgadget" |
17 | 18 | ||
@@ -31,3 +32,15 @@ IMAGE_BOOT_FILES += " \ | |||
31 | uEnv.txt \ | 32 | uEnv.txt \ |
32 | " | 33 | " |
33 | 34 | ||
35 | # Although not fully supported you can run this machine on the mainline QEMU 'xilinx-zynq-a9' machine | ||
36 | IMAGE_CLASSES += "qemuboot" | ||
37 | QB_MEM = "-m 1024" | ||
38 | QB_MACHINE = "-machine xilinx-zynq-a9" | ||
39 | QB_OPT_APPEND = "-nographic -serial null -serial mon:stdio" | ||
40 | QB_NETWORK_DEVICE = "-net nic,netdev=net0,macaddr=@MAC@" | ||
41 | |||
42 | # Xilinx's fork of QEMU has much better results, so let's default to that | ||
43 | # Use qemu-xilinx instead of mainline | ||
44 | PREFERRED_PROVIDER_qemu-helper-native = "qemu-xilinx-helper-native" | ||
45 | |||
46 | IMAGE_CLASSES += "qemuboot-xilinx" | ||