summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-bsp/conf/machine/qemu-zynqmp-cg.conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta-xilinx-bsp/conf/machine/qemu-zynqmp-cg.conf')
-rw-r--r--meta-xilinx-bsp/conf/machine/qemu-zynqmp-cg.conf42
1 files changed, 42 insertions, 0 deletions
diff --git a/meta-xilinx-bsp/conf/machine/qemu-zynqmp-cg.conf b/meta-xilinx-bsp/conf/machine/qemu-zynqmp-cg.conf
new file mode 100644
index 00000000..cb92bc71
--- /dev/null
+++ b/meta-xilinx-bsp/conf/machine/qemu-zynqmp-cg.conf
@@ -0,0 +1,42 @@
1#@TYPE: Machine
2#@NAME: QEMU ZynqMP CG machine
3#@DESCRIPTION: Machine configuration for running a ZynqMP CG system on QEMU w/ testimage
4
5# This machine is NOT designed to be inherited by other machines or used as an
6# example of how to create a machine. It is only useful for running testimage
7# with runqemu.
8
9#### Preamble
10MACHINEOVERRIDES =. "${@['', 'qemu-zynqmp-cg:']['qemu-zynqmp-cg' !='${MACHINE}']}"
11#### Regular settings follow
12
13# The following is from conf/machine/include/qemu.inc, but we can not use it
14# as it changes other values that need to come from the distro and the
15# AMD machine settings
16XSERVER ?= "xserver-xorg \
17 ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-swrast xserver-xorg-extension-glx', '', d)} \
18 xf86-video-fbdev \
19 xf86-video-modesetting \
20 "
21
22MACHINE_FEATURES = "alsa bluetooth usbgadget screen vfat"
23
24MACHINEOVERRIDES =. "qemuall:"
25
26IMAGE_FSTYPES += "tar.bz2 ext4"
27
28# Don't include kernels in standard images
29RDEPENDS:${KERNEL_PACKAGE_NAME}-base = ""
30
31# Provide the nfs server kernel module for all qemu images
32KERNEL_FEATURES:append:pn-linux-yocto = " features/nfsd/nfsd-enable.scc"
33KERNEL_FEATURES:append:pn-linux-yocto-rt = " features/nfsd/nfsd-enable.scc"
34KERNEL_FEATURES:append:pn-linux-xlnx = " features/nfsd/nfsd-enable.scc"
35
36
37# Now include the generic machine which already supports QEMU booting
38require conf/machine/zynqmp-cg-generic.conf
39
40#### No additional settings should be after the Postamble
41#### Postamble
42PACKAGE_EXTRA_ARCHS:append = "${@['', ' qemu_zynqmp_cg']['qemu-zynqmp-cg' != '${MACHINE}']}"