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 /conf | |
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>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/machine/zc706-zynq7.conf | 13 |
1 files changed, 13 insertions, 0 deletions
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" | ||