summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-bsp
Commit message (Collapse)AuthorAgeFilesLines
...
* xilinx-qemu: Move -multiarch extension to the machine-xilinx-qemuMark Hatle2020-03-174-9/+1
| | | | | | | | All xilinx BSPs that support qemu should use the machine-xilinx-qemu.inc file. So move all references to the -multiarch extension into that location. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-bsp: cleanup qemu referencesMark Hatle2020-03-1713-39/+7
| | | | | | | | | | Move IMAGE_CLASSES setting to common machine-xilinx-qemu.inc, also add preferred provider for the xilinx specific qemu components. Adjust the various BSPs to remove duplicate references to these and non-Xilinx versions of qemu. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* qemu-zynq7: Add qemu wiring for zc706 machineMark Hatle2020-03-171-5/+26
| | | | | | Enable qemuboot for qemu-zynq7 machine using qemu-xilinx provider Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* zc706-zynq7: Add qemu wiring for zc706 machineMark Hatle2020-03-171-5/+19
| | | | | | Enable qemuboot for zc702-zynq7 machine using qemu-xilinx provider Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* zc702-zynq7: Add qemu wiring for zc702 machineSai Hari Chandana Kalluri2020-03-172-6/+21
| | | | | | | Enable qemuboot for zc702-zynq7 machine using qemu-xilinx provider Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-bsp: machine-xilinx-default.inc allow empty WIC_DEPENDSMark Hatle2020-03-161-1/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Revert "libmali-xlnx: Remove virtual provides"Mark Hatle2020-03-161-0/+2
| | | | | | | | This reverts commit 7b930600decc08da3c14ff428f9c4bf70342af5e. This was the incorrect fix for the issues. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-bsp: remove redundant PREFERRED_PROVIDERMark Hatle2020-03-1317-45/+0
| | | | | | | PREFERRED_PROVIDER_virtual/kernel and PREFERRED_PROVIDER_virtual/bootloader are normally set by machine-xilinx-default.inc. Only set these if necessary. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* libmali-xlnx: Remove virtual providesMark Hatle2020-03-131-2/+0
| | | | | | | | | The virtual provides should be handled via PREFERRED_PROVIDER setting in the MACHINE and/or DISTRO configuration files. Setting them in the recipe ends up making them unconditional in some cases leading to incorrect dependencies for the users. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-bsp: Adjust soc to permit multiple CPU/TUNESMark Hatle2020-03-1311-30/+27
| | | | | | | | | | | | | The various Xilinx FPGAs may have more then one CPU type including cortexr5, microblaze and regular ARM Cortex CPUs. Adding a new soc-tune-include.inc will allow the machine to choose a default tune, and then the correct matching tune will be loaded. In a perfect world this wouldn't be required, but doing it this way permits us to target specific optimizations or CPUs in the soc. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-standalone: Move soc overrides from meta-xilinx-defaultMark Hatle2020-03-139-21/+20
| | | | | | | | | | | | | | | | | | | | Any soc overrides belong in the soc configuration files. Also move UBOOT_SUFFIX and UBOOT_ELF defaults into the meta-xilinx-default, as well as specific soc settings in each soc file. This results in the ability to override the value in multiple places based on load order: local.conf (user setting) machine.conf (machine setting) soc-....inc (soc setting) machine-xilinx-default.inc (the actual default) Each step uses ?=, so if the previous step hasn't set it that level will define it's default if necessary. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-bsp: rename machine-xilinx-override to xilinx-soc-family.incMark Hatle2020-03-1330-29/+5
| | | | | | | | | | The machine-xilinx-override is really just an extension to the standard soc-family.inc file. So rename this, move the include of soc-family.inc to this file, move the include to the soc includes to each soc file, and finally adjust the machines to remove machine-xilinx-override as it's no longer necessary. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-bsp: Update recipes to use SOC_FAMILY_ARCH and SOC_VARIANT_ARCHMark Hatle2020-03-137-7/+7
| | | | | | | Using the defaults will ensure that a machine or soc can override the default version. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* machine-xilinx-overrides: Make this genericMark Hatle2020-03-132-17/+7
| | | | | | | | | Move the soc specific contents into the soc configuration file. Adjust the PACKAGE_EXTRA_ARCHS append to a more generic method for setting the SOC_FAMILY and SOC_VARIANT package arch. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-bsp: Remove default valuesMark Hatle2020-03-1316-29/+1
| | | | | | Remove the default values, as they are already set by the soc include. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-bsp: Rename soc configuration masquerading as a tune fileMark Hatle2020-03-1329-26/+26
| | | | | | | The tune files were really soc configuration files. Tune files should only specify toolchain flags that affect optimiation and abi. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* linux-xlnx: Use new default defconfigsMark Hatle2020-03-131-2/+2
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* linux-xlnx: cleanup and make yocto-kernel-cache availableBruce Ashfield2020-03-132-3/+5
| | | | | | | | | | | | | | | | | | | The following cleanups are done: - remove the invalid KBRANCH setting of xlnx_rebase_v4.19, this doesn't belong below the LINUX_VERSION = "5.4" variable, since it confuses users - explicitly set the SRCREV_FORMAT to MACHINE, since we are not using the kernel-cache SRCREV as a rebuild trigger - make the yocto-kernel-cache avialable by default, since there are re-usable kernel features which can be exploited in its directory structure. We use the latest (v5.4) branch and set the SRCREV Signed-off-by: Bruce Ashfield <bruce.ashfield@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Add older version of OpenCV 3.4.3Jaewon Lee2020-03-1010-0/+501
| | | | | | | | | | OpenCV 3.4.3 is not API compatible with OpenCV 4.1, so making the older 3.4.3 version available as needed. This version comes from meta-openembedded commit: 7b9f86ca792852e69a921b284fffaa1f942df96d Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* libglu: Add build time dependency on glesv2 for zynqmpMadhurkiran Harikrishnan2020-03-091-0/+1
| | | | | | | | For ZynqMP, the KHR headers comes from the gles provider (Mali 400), hence add build time dependency on gles. Signed-off-by: Madhurkiran Harikrishnan <madhurkiran.harikrishnan@xilinx.com> Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* cortexa53-zynqmp/cortexa72-versal: Fix cortex based BSPsMark Hatle2020-03-092-22/+2
| | | | | | | The BSPs had defined their own internal tunes. Instead use the yocto project default tunes. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* lopper: Add runtime dependency of python3-dtcMark Hatle2020-03-091-0/+2
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* cairo: For ZynqMP enable glesv2 packageconfigMadhurkiran Harikrishnan2020-03-091-0/+2
| | | | | | | Enable glesv2 packageconfig for cairo and leverage mali400 in zynqmp Signed-off-by: Madhurkiran Harikrishnan <madhurkiran.harikrishnan@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* mesa: Do not provide KHR headersMadhurkiran Harikrishnan2020-03-091-0/+3
| | | | | | | | | KHR headers should be provided by the egl provider for zynqmp, as the egl headers have dependencies on it, which otherwise causes compilation error. Signed-off-by: Madhurkiran Harikrishnan <madhurkiran.harikrishnan@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* Revert "libmali-xlnx: Dont provide KHR headers"Madhurkiran Harikrishnan2020-03-091-0/+2
| | | | | | | | | | This reverts commit 9c2708913ab24d2697124b05bcb9d541a4903547. Mali EGL headers have dependencies on KHR headers and this should be coming from EGL provider rather than mesa. Because EGL application which have dependencies on EGL header, do not pull gl headers. Signed-off-by: Madhurkiran Harikrishnan <madhurkiran.harikrishnan@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* Correcting ':' placement for appending file pathsJaewon Lee2020-03-034-4/+4
| | | | | | | | | When appending file paths the ':' should be at the beginning of the path. The patched appending lines were still working because there was no paths added after the '__default:' Fixing typo to ensure no breakages later Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* lopper: Add lopper utilityMark Hatle2020-03-021-0/+32
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* u-boot-xlnx:Updating defconfig for all zynq machinesJaewon Lee2020-03-028-12/+8
| | | | | | | Update UBOOT MACHINE defconfig to xilinx_zynq_virt_defconfig instead of using custom machine specifc defconfigs. Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* meta-xilinx-standalone: Add dependencies on python3-dtcMark Hatle2020-02-271-0/+2
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Remove hardcoded XILINX_RELEASE_VERSION in recipesMark Hatle2020-02-271-1/+0
| | | | | | | XILINX_RELEASE_VERSION is defined by the layer.conf, so we can and should use the version defined there. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* python3-dtc: Add python3 dtc moduleMark Hatle2020-02-271-0/+27
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* newlib: Move microblaze supportMark Hatle2020-02-2714-0/+2580
| | | | | | | | | meta-xilinx-standalone is only for baremetal work. Theoretically the newlib items can be used on other configurations, so move the microblaze newlib/libgloss work into meta-xilinx-bsp. This mirrors how other microblaze specific work has been handled. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* cortex-r5: Add cortexr5f configurationMark Hatle2020-02-273-3/+8
| | | | | | cortexr5f includes vfp3-d16 support. Enable this and hard float. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* system-zcu102: Create heterogeneous machine configuration for ZCU102 ↵Alejandro Enedino Hernandez Samaniego2020-02-273-0/+77
| | | | | | | | | | | | | | | | | | | | evaluation board. Using the MACHINE=system-zcu102 should allow users to build the required artifacts for the several architectures inside a ZCU102 board. This machine along with the declared multiconfigs set up the wiring to do so, building Linux, PMU firmware and FSBL on a single bitbake invokation: $ bitbake core-image-minimal Three different TMP directories will be used, these depend both on the architecture for which packages are being generated and the C library that was used for that configuration. This should be used as an example that can easily be adapted to other boards. Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* meta-xilinx-standalone: Add support for cortexa72 processorAppana Durga Kedareswara rao2020-02-271-1/+1
| | | | | | | This patch updates the COMPATIBLE_HOST and COMPATIBLE_MACHINE and DTBFILE variables to compile esw use cases for cortexa72 processor. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
* meta-xilinx: Include templates for local.conf and bblayers.confAlejandro Enedino Hernandez Samaniego2020-02-272-0/+260
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* arm-trusted-firmware.inc: installing elf with standard nameJaewon Lee2020-02-261-2/+3
| | | | | | | Installing the elf with a standard name with PN and SRCPV. Needed for update boot wiring Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* kernel-module-mali: Make the driver compatible with kernel 5.4Madhurkiran Harikrishnan2020-02-255-0/+265
| | | | | | | | The patch series makes the Mali400 kernel driver compatible with linux kernel 5.4 Signed-off-by: Madhurkiran Harikrishnan <madhurkiran.harikrishnan@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* Enable kernel configurations for viruatlization distro featureSai Hari Chandana Kalluri2020-02-2112-0/+79
| | | | | | | Enable kernel configurations to support docker/oci containers when virtualization is set as distro feature Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* zcu102-zynqmp.conf: Pass dtb and dtb load address as QB_OPT args for qemubootSai Hari Chandana Kalluri2020-02-211-0/+1
| | | | | | | | | | | | Until now we used to fatload dtb at uboot, Now boot.bin is packaged with dtb so at uboot there is not need to fatload dtb. As a result, boot.scr doesnt contain commands to load dtb at u-boot. Qemu uses boot.scr to autoboot and fails to find dtb loaded at the correct location. For successful qemu boot, pass dtb and dtb load address as qemu launch args using QB_OPT args. Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* Update KERNEL_VERSION to 5.4Sai Hari Chandana Kalluri2020-02-211-1/+1
| | | | | | Update KERNEL_VERSION to 5.4 Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* zcu102-zynqmp.conf: Modify PMU_FIRMWARE_DEPLOY_DIR and PMU_FIRMWARE_IMAGE_NAMESai Hari Chandana Kalluri2020-02-201-2/+2
| | | | | | | | | Set the correct PMU_FIRMWARE_DEPLOY_DIR and PMU_FIRMWARE_IMAGE_NAME based on the flow used to build images. If multiconfig flow is enabled pick pmu elf from pmutmp directory else pick elf from DEPLOYDIR. This is required to ensure that runqemu boots correctly by picking the elfs from the correct path. Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* zcu208-zynqmp: Add support for zcu208 boardSwagath Gadde2020-02-201-0/+38
| | | | | | | | | | | Add machine configuration for zcu208 RFSoC board With required settings for board specific yocto variables needed for compilation of bootloader and kernel. -linux-xlnx is kernel provider -u-boot-xlnx is u-boot provider Signed-off-by: Swagath Gadde <swagathg@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* qemu-system-aarch64-multiarch: Update the binpath for qemu targetsSai Hari Chandana Kalluri2020-02-191-1/+2
| | | | | | | | | Update the binpath for qemu-system-microblazeel and qemu-system-aarch64. Earlier the targets were located under recipe-sysroots-native/usr/bin/qemu-xilinx directory, now the targets are located under recipe-sysroots-native/usr/bin Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* qemu-xilinx.inc: Configure qemu-xilinx with gcryptManjukumar Matha2020-02-181-1/+1
| | | | | | | Configure qemu-xilinx with gcrypt, this is required for the crypto models Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* qemu-xilinx.inc: Remove stale packageconfig optionsManjukumar Matha2020-02-181-4/+0
| | | | | | | OE-core provides the packageconfig option in qemu.inc, use it from upstream. Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* qemu-xilinx-native: Enable packageconfig option for libgcryptManjukumar Matha2020-02-182-1/+0
| | | | | | | Enable packageconfig option for libgcrypt. qemu-xilinx uses libgcrypt for crypto models to implement data model behavior Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* zcu1285-zynqmp.conf:using common u-boot defconfigVaralaxmi Bingi2020-02-171-1/+1
| | | | | | | | This patch will use common uboot defconfig for zcu1285 bsp. Signed-off-by: Varalaxmi Bingi <varalaxmi.bingi@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* qemu-xilinx: Point to master branch by defaultMark Hatle2020-02-131-1/+1
| | | | | | There is no master-next branch on github at this time, use master. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* tune-cortexrm: Include PACKAGE_EXTRA_ARCHS to avoid parsing errorsAlejandro Enedino Hernandez Samaniego2020-02-131-1/+3
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>