summaryrefslogtreecommitdiffstats
path: root/conf/machine/zcu102-zynqmp.conf
Commit message (Collapse)AuthorAgeFilesLines
* meta-xilinx: Restructuring meta-xilinx to support multiple layersManjukumar Matha2017-12-131-77/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As discussed previously on mailing list, we are proceeding with layer restructuring. For rocko release we will have the following layers meta-xilinx ->meta-xilinx-bsp (current meta-xilinx) ->meta-xilinx-contrib In the subsequent releases we will add other layers from Xilinx meta-xilinx ->meta-xilinx-bsp (current meta-xilinx) ->meta-petalinux ->meta-xilinx-tools ->meta-xilinx-contrib This will provide one clone to get all the required meta layers from Xilinx for a complete solution, and the users can blacklist any layer which they don't want to use using bblayer.conf. This will enables us to help our vendors/partners to add their reference designs, board definitions etc. Recipe changes : * Move reference design zybo-linux-bd.bb to meta-xilinx-contrib * Move kernel patches realted to zybo-linux-bd-zynq7 board to meta-xilinx-contrib * Update README Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* conf/machine: Add virtual/boot-bin dependency and set providerNathan Rossi2017-12-041-0/+1
| | | | | | | | | | | | | Add virtual/boot-bin to EXTRA_IMAGEDEPENDS for all Zynq and ZynqMP targets that use the deployed boot.bin from U-Boot. Set the default provider for virtual/boot-bin to the current virtual/bootloader provider. This handles the differing u-boot/u-boot-xlnx defaults and also sets up the default provider for consumers of machine-xilinx-default.inc. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* zcu102-zynqmp: Setup runqemu to boot from an SD imageNathan Rossi2017-11-211-11/+16
| | | | | | | | | | | | | | | | This sets up the zcu102-zynqmp machine to by default generate a padded SD card image for which runqemu can use to boot from. This image includes all the components that are expected from to boot and mirrors the same requirements that the real board has. The QEMU args are changed to default to the SD boot mode and only U-Boot SPL is passed in as a ROM image to boot the QEMU instance. This setup mimics the boot flow of the physical target where the Boot ROM loads U-Boot SPL and the PMU Firmware from the boot.bin. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* zcu102-zynqmp: Update kernel device treesNathan Rossi2017-11-211-1/+1
| | | | | | | | | | | | The linux-xlnx kernel no longer has a zynqmp-zcu102.dtb target, use the zynqmp-zcu102-rev1.0.dtb target for the default device tree. Drop the revB device tree, this is no longer required for QEMU and production boards are rev 1.0. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Reviewed-by: Alistair Francis <alistair.francis@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* zcu102-zynqmp: Use 'rev 1.0' U-Boot config and deploy boot.binNathan Rossi2017-11-211-1/+2
| | | | | | | | Build the rev 1.0 version of U-Boot and setup the deployment of boot.bin. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* zcu102-zynqmp.conf: Add serial consoles checkManjukumar Matha2017-11-071-0/+1
| | | | | | | | There are instances when serial console check if required to disable consoles when it is not defined by SERIAL_CONSOLES. Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* pmu-firmware: Make the recipe provide virtual/pmu-firmwareNathan Rossi2017-10-021-1/+2
| | | | | | | | | | | | | | | Make the pmu-firmware recipe provide a non-prefixed virtual/pmu-firmware. Due to the common use of a class extender the PROVIDES variable will be remapped with the 'zynqmp-pmu-' prefix. In order to ensure the provider is always without a prefix modify the PROVIDES after the recipe has been parsed (and any class extender mapping is already processed). Additionally set the zcu102-zynqmp machine to use the virtual/pmu-firmware target and set the zynqmp-pmu-pmu-firmware recipe as the default provider. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* zcu102-zynqmp: Remove pinning of older kernel, u-boot and atf versionsNathan Rossi2017-06-031-6/+0
| | | | | | | | | | Remove the version pinning to the older kernel, u-boot and arm-trusted-firmware versions. These versions are now functional as pmu-firmware can be built and executed for the zcu102 physical hardware as well as within QEMU. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Tested-by: Alistair Francis <alistair.francis@xilinx.com>
* zcu102-zynqmp: Setup the use of multiarch QEMUNathan Rossi2017-06-031-3/+19
| | | | | | | | | Setup the qemuboot variables and qemu-xilinx-helper-native environment to use the multiarch script to start a QEMU multiarch instance with the MicroBlaze PMU. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Tested-by: Alistair Francis <alistair.francis@xilinx.com>
* zcu102-zynqmp: Enable building of PMU recipes and build pmu firmwareNathan Rossi2017-06-031-1/+3
| | | | | | | | | Enable the building of 'zynqmp-pmu' recipes, and setup the pmu-firmware to be built for the image. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Tested-by: Alistair Francis <alistair.francis@xilinx.com> Tested-by: Koteswararao Nayudu <kotin@xilinx.com>
* zcu102-zynqmp.conf: Remove mali as machine featureManjukumar Matha2017-05-301-1/+1
| | | | | | | | | | | | | | | Remove mali as machine feature. This is not required, any dependencies on mali userspace libraries should be resolved through gles1/gles2/egl preffered provider. for ex: PREFERRED_PROVIDER_virtual/libgles1_zynqmp = "libmali-xlnx" PREFERRED_PROVIDER_virtual/libgles2_zynqmp = "libmali-xlnx" PREFERRED_PROVIDER_virtual/egl_zynqmp = "libmali-xlnx" MALI userspace libraries inturn should depends on out-of-tree mali kernel module. Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Reviewed-by: Nathan Rossi <nathan@nathanrossi.com>
* arm-trusted-firmware_git.bb: Make ATF machine independentManjukumar Matha2017-05-301-1/+1
| | | | | | | | Make arm-trusted-firmware machine independent Signed-off-by: Cyril Chemparathy <cyril.chemparathy@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Reviewed-by: Nathan Rossi <nathan@nathanrossi.com>
* zcu102-zynqmp: Enable all the zcu102 kernel device treesNathan Rossi2017-05-301-1/+1
| | | | | | | | | | | | Enable all of the available kernel device trees for the zcu102. This includes the 'zcu102-zynqmp.dtb'. The 'revB' device tree is kept as the first entry due to its use for QEMU. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Acked-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Tested-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* zcu102-zynqmp: Pin to pre-v2017.1 versions of kernel, u-boot and atfNathan Rossi2017-05-151-0/+6
| | | | | | | | | | Pin the versions of linux-xlnx, u-boot-xlnx and arm-trusted-firmware to the version prior to xilinx-v2017.1. This is due to the added requirement of pmu-firmware for xilinx-v2017.1. Currently it is not possible to boot the zcu102-zynqmp machine in QEMU with the newer versions due to missing the pmu rom as well as the pmu firmware itself. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* 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>