diff options
author | Alistair Francis <alistair.francis@xilinx.com> | 2017-11-21 11:10:53 -0800 |
---|---|---|
committer | Nathan Rossi <nathan@nathanrossi.com> | 2017-11-29 23:01:44 +1000 |
commit | 008592e13e9af3195450d6216bbc6eb6170a2e48 (patch) | |
tree | 9ab41ae8fec54cdaf905babdc89967620539707c /conf | |
parent | d6aaa8a9406e1b2b1545c804fd64807543fa6808 (diff) | |
download | meta-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.conf | 13 |
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 @@ | |||
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" | 17 | MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" |
17 | 18 | ||
@@ -27,3 +28,15 @@ KERNEL_DEVICETREE = "zynq-zc702.dtb" | |||
27 | 28 | ||
28 | IMAGE_BOOT_FILES += "boot.bin uEnv.txt ${KERNEL_IMAGETYPE}-zynq-zc702.dtb" | 29 | IMAGE_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 | ||
32 | IMAGE_CLASSES += "qemuboot" | ||
33 | QB_MEM = "-m 1024" | ||
34 | QB_MACHINE = "-machine xilinx-zynq-a9" | ||
35 | QB_OPT_APPEND = "-nographic -serial null -serial mon:stdio" | ||
36 | QB_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 | ||
40 | PREFERRED_PROVIDER_qemu-helper-native = "qemu-xilinx-helper-native" | ||
41 | |||
42 | IMAGE_CLASSES += "qemuboot-xilinx" | ||