summaryrefslogtreecommitdiffstats
path: root/conf/machine/zcu102-zynqmp.conf
Commit message (Collapse)AuthorAgeFilesLines
* zcu102-zynqmp: Update QB_MEM to 4GB to match boardNathan Rossi2017-04-281-1/+1
| | | | | | | | | Update the QB_MEM value to match the size of memory that is expected to be emulated for the board. The ZCU102 board has 4GB of DRAM attached to the PS. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
* qemuboot-xilinx.bbclass: Rework qemu-xilinx setupNathan Rossi2017-04-281-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change reworks how the meta-xilinx layer enables and provides the custom version of QEMU based on Xilinx's fork of QEMU. The existing implementation relied on the single sysroot which was changed in oe-core such that now recipes have their own sysroots (RSS support). Additionally oe-core now provides the QEMU binaries to the runqemu script via the 'qemu-helper-native' recipes sysroot as opposed to the image sysroot. These rework changes allow for a single machine to select the targeted QEMU version as well as to provide the qemuboot config specific to the targeted QEMU version. The selection of QEMU version is now handled by PREFERRED_PROVIDER mechanics with the meta-xilinx layer providing an additional recipe that is equivalent to qemu-helper-native and which also provides said target allowing for the machine to select via the use of PREFERRED_PROVIDER_qemu-helper-native. This recipe (qemu-xilinx-helper-native) however instead provides the sysroot populated with qemu-xilinx instead of qemu. Additionally the XILINX_QEMUBOOT variable is replaced with the qemuboot-xilinx.bbclass, this provides the overrides for setting up qemu-xilinx specific QB_* args. Additionally this bbclass points runqemu at the qemu-xilinx-helper-native sysroot for QEMU binaries. These changes also work towards making the meta-xilinx layer better handle multiple qemuboot.conf variants as well as handling different QEMU versions. This change also removes the 'qemu-system-xilinx' MACHINE_FEATURES, this is due to MACHINE_FEATURES no longer being available for native recipes. Additionally there is no longer any logic that needs to know this any way. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
* zcu102-zynqmp: Default qemuboot to using Xilinx QEMUNathan Rossi2017-02-161-9/+9
| | | | | | | | | | Currently the mainline QEMU is lacking full support for emulating the ZCU102 board. So use the more functional Xilinx QEMU for this board. Also reformat some of the appends to QB_* variables for clarity. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
* zcu102-zynqmp: fix machine name in confJean-Francois Dagenais2017-02-141-1/+1
| | | | | Signed-off-by: Jean-Francois Dagenais <jeff.dagenais@gmail.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* conf/machine/*.conf: Move to QB_NETWORK_DEVICE for QEMU targetsNathan Rossi2017-02-011-2/+1
| | | | | | | | | | | | | Move the setup of network devices to the new QB_NETWORK_DEVICE variable, this avoids the need to configure slirp or tap options from the machine configuration. Additionally this provides the benefit of letting runqemu handle the setup of tap and slirp arguments, allowing for it to provide features such as host-guest port forwarding for slirp. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Tested-by: Alistair Francis <alistair.francis@xilinx.com>
* zcu102: Add support for running Xilinx's QEMUAlistair Francis2017-01-181-1/+18
| | | | | Signed-off-by: Alistair Francis <alistair.francis@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* zynqmp: Consolidate the QEMU dependenciesAlistair Francis2017-01-181-4/+0
| | | | | Signed-off-by: Alistair Francis <alistair.francis@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* zynqmp: Update the machines to take advantage of Xilinx's QEMUAlistair Francis2016-10-111-0/+4
| | | | | | | | Now that their is a .bb for Xilinx's QEMU and QEMU device trees we can update the machines to ensure this is built where applicable. Signed-off-by: Alistair Francis <alistair.francis@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* machine-xilinx-qemu.inc: Move common runqemu setup to includeNathan Rossi2016-10-111-9/+2
| | | | | | | | | | | | | Move the common setup for QEMU machines into an include call 'machine-xilinx-qemu.inc'. This include is added to any machine that has a QEMU model. It sets up common QB_* values as well as inheriting the qemuboot class and adding the EXTRA_IMAGEDEPENDS on qemu-native. This include also has helper functions to automatically determine the DTB from KERNEL_DEVICETREE/MACHINE_DEVICETREE and automatically setup the 'console=' kernel command line based on SERIAL_CONSOLE. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* ep108-zynqmp, zcu102-zynqmp: Add runqemu supportNathan Rossi2016-09-301-0/+16
| | | | | | | | | | The ep108-zynqmp machine already has support in QEMU however was exposed as the qemuzynqmp machine. QEMU 2.7 introduced support for the 'xlnx-zcu102' machine model. This allows for runqemu to boot a machine based on the ep108 or zcu102 hardware. The support added is based on the configuration that was in qemuzynqmp. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* zcu102-zynqmp: Add the 'mali' machine featureNathan Rossi2016-08-171-1/+1
| | | | Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* zcu102-zynqmp.conf: Add support for ZCU102 boardManjukumar Matha2016-05-041-0/+23
Add support for ZCU102 Zynq UltraScale+ MPSoC evaluation board Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>