summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-bsp
Commit message (Collapse)AuthorAgeFilesLines
* microblaze machines: Set LINKER_HASH_STYLE defaultsMark Hatle2020-04-035-4/+6
| | | | | | | | | | | For Linux based builds, it should be set to sysv. This will result in the system using a supported hash type. (GNU hash is not supported on Microblaze., so sysv will be used instead.) For baremetal, set the value to "". This will result in no value set, and the system will use the compiler and linker default. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* machines: Remove default SERIAL_CONSOLES_CHECKMark Hatle2020-04-0317-17/+0
| | | | | | | | | | | | | | | | | | By default the machines should not check and remove declared consoles that are not available on first boot. It's up to the user to add this to their build configuration. The recommended user behavior is: SERIAL_CONSOLES_CHECK = ${SERIAL_CONSOLES} but the side effect of this is that if the device configuration changes after the first boot, the additional devices will not be available. (Note, this may result in warning messages with getty unable to connect to certain devices.) Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* machines: Allow the user to override SERIAL_CONSOLESMark Hatle2020-04-0323-23/+23
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* machines: Move from SERIAL_CONSOLE (deprecated) to SERIAL_CONSOLESMark Hatle2020-04-0332-33/+34
| | | | | | | Usage of 'SERIAL_CONSOLE' was deprecarted in late 2013. Move to the using 'SERIAL_CONSOLES', where the format is slightly different. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* opencv_3.4.3.bb: Removing tiny-dnn from SRC_URIJaewon Lee2020-04-031-6/+0
| | | | | | | | Removing tiny-dnn from SRC_URI as it is not picked up by opencv cmake build system. This also fixes a QA warning about using ustable github archive in sources Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* kernel-module-hdmi_git.bb: Add versal supportVishal Sagar2020-04-021-0/+1
| | | | | | | Add support for versal. Signed-off-by: Vishal Sagar <vishal.sagar@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* xrt: Remove references to PACKAGE_CLASSES from xrt recipesSai Hari Chandana Kalluri2020-04-022-4/+0
| | | | | | | | Remove PACKAGE_CLASSES variable being set with the xrt and zocl recipes. By default in meta-xilinx the PACKAGE_CLASSES = packages_rpm which is being set in local.sample.conf file Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* qemu-xilinx.inc: Move the URL to 'gitsm' and disable compile time submodulesMark Hatle2020-03-231-1/+3
| | | | | | | | QEMU has the built in ability to download necessary submodules at compile time. Disable this and change the URL to 'gitsm' so all submodules are downloaded during the fetch step. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Revert "linux-xlnx: Use new default defconfigs"Mark Hatle2020-03-231-2/+2
| | | | | | | | This reverts commit d01f811d4672c30581d68edf3c79fd07a64c61a9. Go back to three separate configs per discussion with Petalinux team. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-bsp: conf: machine: Add standalone based machine for zynqMubin Usman Sayyed2020-03-181-0/+1
| | | | | | | | | This machine can be used with xilinx-standalone-nolto and xilinx-standalone distros to build standalone components for zynq. Signed-off-by: Mubin Usman Sayyed <mubin.usman.sayyed@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* qemuboot-xilinx.bbclass: Remove the subdir added to the qemu target pathSai Hari Chandana Kalluri2020-03-171-4/+0
| | | | | | | | Remove the variable QB_SYSTEM_NAME inside qemuboot-xilinx class as it no longer is needed to include the subdir for the qemu target path. All targets are now moved to bindir and not present in bindir/qemu-xilinx. Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* qemu-xilinx-multiarch-helper-native_1.0.bb: Move multiarch wrapper script to ↵Sai Hari Chandana Kalluri2020-03-172-3/+2
| | | | | | | | | | | | | | bindir Move the multiarch wrapper script from bindir/qemu-xilinx path to bindir directory. All qemu targets have previously been moved from bindir/qemu-xilinx to bindir. Keep the paths consistent by moving the wrapper script to bindir. Once the multiarch wrapper script is installed in bindir the binpath computed within the script needs to be updated to find the qemu targets in the right path. This will ensure that the APU and PMU instances are launched correctly. Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* versal-generic: Move from vck190 to vc-p-a2197-00-versalMark Hatle2020-03-171-2/+2
| | | | | | This move syncronizes qemu call and DTB generation. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* *-generic.conf: Add QEMU support to each of the generic BSPsMark Hatle2020-03-173-4/+180
| | | | | | | Additionally ensure that all u-boot defconfigs use the common configuration for each platform. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* 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>