summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorAlistair Francis <alistair.francis@xilinx.com>2017-11-21 11:10:53 -0800
committerNathan Rossi <nathan@nathanrossi.com>2017-11-29 23:01:44 +1000
commit008592e13e9af3195450d6216bbc6eb6170a2e48 (patch)
tree9ab41ae8fec54cdaf905babdc89967620539707c /conf
parentd6aaa8a9406e1b2b1545c804fd64807543fa6808 (diff)
downloadmeta-xilinx-008592e13e9af3195450d6216bbc6eb6170a2e48.tar.gz
zc702-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/zc702-zynq7.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/conf/machine/zc702-zynq7.conf b/conf/machine/zc702-zynq7.conf
index 1430c840..1bf37304 100644
--- a/conf/machine/zc702-zynq7.conf
+++ b/conf/machine/zc702-zynq7.conf
@@ -12,6 +12,7 @@
12require conf/machine/include/tune-zynq.inc 12require conf/machine/include/tune-zynq.inc
13require conf/machine/include/machine-xilinx-default.inc 13require conf/machine/include/machine-xilinx-default.inc
14require conf/machine/include/machine-xilinx-board.inc 14require conf/machine/include/machine-xilinx-board.inc
15require conf/machine/include/machine-xilinx-qemu.inc
15 16
16MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" 17MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost"
17 18
@@ -27,3 +28,15 @@ KERNEL_DEVICETREE = "zynq-zc702.dtb"
27 28
28IMAGE_BOOT_FILES += "boot.bin uEnv.txt ${KERNEL_IMAGETYPE}-zynq-zc702.dtb" 29IMAGE_BOOT_FILES += "boot.bin uEnv.txt ${KERNEL_IMAGETYPE}-zynq-zc702.dtb"
29 30
31# Although not fully supported you can run this machine on the mainline QEMU 'xilinx-zynq-a9' machine
32IMAGE_CLASSES += "qemuboot"
33QB_MEM = "-m 1024"
34QB_MACHINE = "-machine xilinx-zynq-a9"
35QB_OPT_APPEND = "-nographic -serial null -serial mon:stdio"
36QB_NETWORK_DEVICE = "-net nic,netdev=net0,macaddr=@MAC@"
37
38# Xilinx's fork of QEMU has much better results, so let's default to that
39# Use qemu-xilinx instead of mainline
40PREFERRED_PROVIDER_qemu-helper-native = "qemu-xilinx-helper-native"
41
42IMAGE_CLASSES += "qemuboot-xilinx"