aboutsummaryrefslogtreecommitdiffstats
path: root/meta-xilinx-bsp
AgeCommit message (Collapse)Author
2021-04-20layer.conf: compatible with gatesgarth onlyMark Hatle
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
2021-03-20plmfw/psmfw: Fix missing do_deploy addtask, and local checkMark Hatle
If the fw is pulling from the same config, we don't want to re-deploy the firmware (it will fail.) Otherwise copy it from the other config into our config, as other tools may look for it. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
2021-03-20soc-*.inc: Fix the firmware filename to the expected one in meta-xilinx-toolsMark Hatle
The restructure of the code missed the filename structure, the filenames used by meta-xilinx-tools were intended to be the correct ones. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
2021-03-12embeddedsw; Fixups for missed plm and psm issuesMark Hatle
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
2021-03-09embeddedsw: Rework plm/pmu/psm firmware and Linux packagingMark Hatle
In order to allow standalone (meta-xilinx-standalone), XSCT (meta-xilinx-tools), and future items to work in the same way the recipes have been restructured. A *-firmware recipe will generate the firmware and stage it to do_deploy. A *fw recipe will take the deployed version and package it for the Linux side of things. This allows the firmware generation to be easily extended without requiring packaging knowledge. Similarly packaging can be extended for alternative boot/upgrade mechanisms as required. In all cases, the MACHINE configuration will specify the default way the components are to be built, along with the names of the item in the deploy directory. The PLM/PSM/PMU_IMAGE_NAME is the name for the generated firmware. PLM/PSM/PMU_DEPLOY_DIR is the path to the constructed firmware. This along with the IMAGE_NAME above can be used to specify the location of an externally generated set of firmware. Addtionally the dependencies for building the plmfw/psmfw/pmufw can be changed easily using PLM/PSM/PMU_DEPENDS and PLM/PSM/PMU_MCDEPENDS. The former specifies dependencies in the same multiconfig, while the later allows the component to require another multiconfig to have finihed. The system has a referenced default, if multiconfig is enabled it will automatically use it, otherwise it will try to use the recipe in the main configuration. (This will fail unless meta-xilinx-tools is available.) Also two multiconfigs hve been implemented: versal-fw and zynqmp-pmufw They can be enabled using BBMULITCONFIG += "zynqmp-pmufw" or versal-fw. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
2021-03-09meta-xilinx-bsp: Move multiconfig into meta-xilinx-standalone-experimentalMark Hatle
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
2021-03-05Reorganize the various layer componentsMark Hatle
Machines: Move baremetal machines to meta-xilinx-standalone Layers: - Add new meta-xilinx-standalone-experimental This layer may require components that may not yet be available to the general public. It will contain various experiemntal integration work. - meta-xilinx-standalone This layer should be functional and contain the necessary items to build a baremetal toolchain that can use libxil (replacement to libgloss) from the Xilinx embeddedsw components. (Note, libxil is NOT built as part of this work!) The layer also contains the buildable components for the various firmware components required to startup various Xilinx FPGAs. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
2021-02-23meta-xilinx-bsp/conf/layer.conf: No longer allow dangling bbappendsMark Hatle
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
2021-02-23Avoid warnings from bbappends to meta-openembeddedMark Hatle
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
2021-02-17layer.conf: adding xxd as a host toolJaewon Lee
Adding xxd as a host tool as it's a dependent tool when uboot is configured to use a default environment file Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
2021-02-17u-boot-zynq-scr: remove exit from boot scriptRaju Kumar Pothuraju
This patch removes the exit from boot script which is after the boot command. in successfull case boot command gives handoff to kernel and exit never executes. Signed-off-by: Swagath Gadde <swagath.gadde@xilinx.com> Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
2021-02-17xilinx-board.inc: inserting a '-' in between board and boardvariantJaewon Lee
Inserting a '-' in between board and boardvariant to align with the format of soc and soc family Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
2021-02-17Updating machine overrides to match new formatJaewon Lee
Previously machine override for a soc variant was SOC_VARIANT appended to SOC_FAMILY. A '-' was included in between to align with how versal handles machine overrides. Updating machine overrides to match this format Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
2021-02-17SOC_VARIANT versal: removing previously required prepended '-'Jaewon Lee
Removing the need to prepend a '-' to SOC_VARIANT for versal variants for ex. '-ai-core' Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
2021-02-17u-boot-zynq-scr.bb: Add PRE_BOOTENV variableRaju Kumar Pothuraju
Add PRE_BOOTENV in uboot-zynq-scr to add boot commands into boot.scr. Defining FIT_IMAGE_OFFSET variables for QSPI and NAND. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
2021-02-17u-boot-zynq-scr: Add microblaze support for boot.scrRaju Kumar Pothuraju
Adding microblaze support for boot.scr and moving the generic boot script from petalinux to yocto layers. The generic boot script will read the boot_target variable on uboot and based on the bootmode it will execute the boot commands. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
2021-02-17microblaze: Defining UBOOT_MACHINE and wiping UBOOT_INITIAL_ENVJaewon Lee
Defining UBOOT_MACHINE as microblaze-generic_defconfig and setting UBOOT_INITIAL_ENV to empty to be able to compile uboot as microblaze env/common.o doesn't have default_environment section Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
2021-01-28picozed-zynq7.dts: add marvell,88e1510 to eth phyDavid Roman
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
2021-01-28meta-xilinx-bsp: Move uboot-device-tree to meta-xilinx-tools layerVaralaxmi Bingi
This component requires xsct, provided by meta-xilinx-tools. It was determined that all components that make use of xsct should be located in meta-xilinx-tools. Signed-off-by: Varalaxmi Bingi <varalaxmi.bingi@xilinx.com> Reword commit message Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
2021-01-28linux-xlnx: Fix build with patch from upstream kernel for gcc-10.Philip Balister
Signed-off-by: Philip Balister <philip@balister.org> Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
2021-01-28u-boot-xlnx: Fix build error by applying patch from upstream u-boot.Philip Balister
Signed-off-by: Philip Balister <philip@balister.org> Adjusted where the append is added, and commented when to remove it. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
2020-12-22qemu-xilinx: Fix patch puzz warning during do_patchSai Hari Chandana Kalluri
Rework 0001-Add-enable-disable-udev.patch to fix patch fuzz warnings Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-12-22Cleanup QB_MACHINE for xilinx machinesSai Hari Chandana Kalluri
Pick correct QB_MACHINE name for each of the machine from qemuboot-xilinx.bbclass. Remove QB_MACHINE from machine.conf Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-12-22linux-xlnx.inc: Update overlay config fragmentsRaju Kumar Pothuraju
Updating overlay config fragments path. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-12-22zcu102-zynqmp.conf: Fix qemuboot for zcu102-zynqmpSai Hari Chandana Kalluri
Fix machine name being passed to zcu102-zynqmp qemu boot arg. Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-12-22ultra96: Using BOARD level hiearchy for ultra96 overridesJaewon Lee
Using BOARD level hierarchy to rewire ultra96 specific overrides. Each package using BOARD override has to also redefine PACKAGE_ARCH using BOARD_ARCH Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
2020-12-22Adding BOARD and BOARD_VARIANT level hierarchyJaewon Lee
Going to generic machine confs, we can no longer use machine overrides for specific machine changes. Adding BOARD and BOARD_VARIANT level hierarchy for packaging for zynqmp/zynq/versal generic machines confs. BOARD and BOARD_VARIANT must be set accordingly to use these hierarchy levels properly Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
2020-12-22weston: Update the weston patches to comply with weston-9.0Madhurkiran Harikrishnan
Removed the patch pertaining to eglconfig for pbuffer surfaces as it is merged in the mainline. Upadate the patch which removes the opaque substitute to comply with weston-9.0. Signed-off-by: Madhurkiran Harikrishnan <madhurkiran.harikrishnan@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-12-22Update LICENSE_CHECKSUM for kernel-module-hdmiSai Hari Chandana Kalluri
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-12-22xilinx-board.inc: fixing BOARD_ARCH and BOARDVARIANT_ARCH namesJaewon Lee
Fixing arch variables, removing SOC_ for BOARD_ARCH and BOARDVARIANT_ARCH variables Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
2020-12-04machine/aarch64-tc.conf: Fix incorrect ilp32 pkgarchMark Hatle
If there is a _ in the package arch, the sstate-control files are written with a _. However, when they are used they somehow get translated to a -, triggering a warning message. The warning though means that the sstate component was not actually staged into the recipe-sysroot, causing a later build failure. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
2020-11-30meta-microblaze: Move gcc patch that was missed in the prior workMark Hatle
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
2020-11-18opencl-clhpp, ocl-icd: Remove recipes from meta-xilinxSai Hari Chandana Kalluri
Remove opencl-clhpp, ocl-icd from meta-xilinx layer as the recipes are provided in meta-openemebedded Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-11-17xrt: Remove stale patch to fix endian issues with latest version of boostSai Hari Chandana Kalluri
xrt source has been updated to remove the endian check. The local patch is no longer needed with the latest version of boost Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-11-17linux-xlnx_2020.2: Fix previous git cherry-pickSai Hari Chandana Kalluri
Previous git cherry-pick for linux-xlnx_2020.2 recipe happens incorrectly as a result the SRC_URI_append patches are removed. Include them back for successful compilation of perf Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-11-17 updating XRT/Zocl commit id for 2020.2ch vamshi krishna
git cherry-pick e32c768 Signed-off-by: ch vamshi krishna <chvamshi@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-11-17Various: Packages using libGL may need to be declared SOC_VARIANT_ARCHMark Hatle
Issue: CR-1082769 libGL is either provided by mesa or libmali. Each of the modified recipes contains a direct library link to the provider of libGL. Due to this we need to specify precise dependencies and declare the package as the right architecture to break a potential install conflict. If we don't do this, the package will be generated as aarch64, but won't be installable as the dependency on libmali can't be satisfied unless the user has libmali, which is only available on zynqmpev and zyncmpeg. git cherry-pick 6c0b7e5 Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
2020-11-17libmali-xlnx: Fix the package archMark Hatle
Issue: CR-1082769 The package arch needs to be set to match the specific variants that we use in the overrides to enable this, specifically zynqmpev and zynqmpeg. Using SOC_VARIANT_ARCH instead of SOC_FAMILY_ARCH (zynqmp) is correct. git cherry-pick e7ce9ed Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
2020-11-17 updating final XRT commit id for 2020.2ch vamshi krishna
git cherry-pick da93135 Signed-off-by: ch vamshi krishna <chvamshi@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-11-17bootgen: Update commit id for 2020.2 releaseSai Hari Chandana Kalluri
Update bootgen commit id for 2020.2 release git cherry-pick 73c70b5 Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-11-17 updating xrt commit idch vamshi krishna
git cherry-pick fb24aab Signed-off-by: ch vamshi krishna <chvamshi@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-11-17update XILINX_VER_MAIN to 2020.2Sai Hari Chandana Kalluri
git cherry-pick b80c6d4 Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-11-17Update commit id and branch for components for 2020.2 releaseSai Hari Chandana Kalluri
Update commitid and branch for the following components: arm-trusted-firmware, vcu, linux-xlnx, qemu, u-boot-xlnx,xrt,zocl,bootgen git cherry-pick 9f8d8d7 Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-11-03opencv_3.4.3: Remove support for opencv 3.4Sai Hari Chandana Kalluri
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-11-03perf: Fix compilation issuesSai Hari Chandana Kalluri
Fix perf variable definition and libtraceevent with binutils. The above errors are fixed by including the following patches to the kernel tree: 0001-libtraceevent-Fix-build-with-binutils-2.35.patch 0001-perf-bench-Share-some-global-variables-to-fix-build-.patch 0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patch 0001-perf-tests-bp_account-Make-global-variable-static.patch Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-11-03kernel-module-hdmi: Update commit id and license md5sum for 2020.2Vishal Sagar
Update branch, commit id and LICENSE md5sum for 2020.2 Signed-off-by: Vishal Sagar <vishal.sagar@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-10-29xrt_git.bb: Replace deprecated boost macrosSai Hari Chandana Kalluri
xrt source includes boost/detail/endian.hpp to detect endianess. In Yocto, gatesgarth, boost version is 1.74 which has deprecated some older macros resulting in the below error /workspaces/ckalluri/yocto/master-dev/builds-versal/tmp/work/cortexa72-cortexa53-xilinx-linux/xrt/202010.2.7.0-r0/git/src/runtime_src/xocl/core/kernel.cpp:24:10: fatal error: boost/detail/e ndian.hpp: No such file or directory | 24 | | compilation terminated. To fix the compilation issue, currently include a patch on top of xrt source that replaces the deprecated BOOST_BYTE_ORDER macro with __BYTE_ORDER macro to detect endianess. Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-10-29kernel-module-dp: Add support for Xilinx DP driversSandeep Gundlupet Raju
This recipe will pull in the Xilinx DP drivers and associated components, for soft IP, to be built as an out-of-tree modules. Following out-of-tree modules will be built dp-rx (v4l2): The DisplayPortPlay 1.4 Rx Subsystem is a feature-rich soft IP incorporating all the necessary logic to properly interface with PHY layers and provide DP decoding functionality. The subsystem is a hierarchical IP that bundles a collection of DP RX-related IP sub-cores and outputs them as a single IP. The subsystem outputs multi-pixel video to AXI4-Stream Protocol interface. dp-tx (drm): The DisplayPortPlay 1.4 Tx subsystem is a feature-rich soft IP incorporating all the necessary logic to properly interface with xilinx PHY layers and provide DP encoding functionality. The subsystem is a hierarchical IP that bundles a collection of DP TX-related IP sub-cores and outputs them as a single IP. The subsystem takes incoming video and transfers them to an DP stream. The stream is then forwarded to the video PHY layer. video-phy (phy): Xilinx Video Phy implements the physical layer for enabling the plug-and-play connectivity with dp MAC transmit and receive subsystems. This driver is also used as the repository for common files used by dp rx and tx drivers including hdcp1.4 and hdcp2.x software stack. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-10-23Add meta-python2 in bblayers.confSai Hari Chandana Kalluri
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
2020-10-23xilinx-board.inc: Introducing inc file to add BOARD/BOARD_VARIANTJaewon Lee
Introducing an include file to add levels of hiearchy to PACKAGE_ARCH, namely BOARD and BOARD_VARIANT To use this, future confs will need to have the following line: require conf/machine/include/xilinx-board.inc Along with BOARD/BOARD_VARIANT definitions Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>