summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* esw.bbclass: Adjust get_xlnx_cmake_process to use both tune and machineMark Hatle2020-03-171-12/+14
| | | | | | | | | Using just machine requires us to list all possible machines, which really isn't sustainable long term. Instead we want to look at the tune and translate that to the xlnx cmake specific value. In some microblaze instances we want to use also use the machine to select custom variants. 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>
* meta-xilinx-standalone: recipes-libraries: xilloader: Update depends listAppana Durga Kedareswara rao2020-03-171-1/+1
| | | | | | | | with the recent updates on xilloader library it has dependency on xilpuf library update the depends list for the same. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-standalone: recipes-libraries: Fix workaroundsAppana Durga Kedareswara rao2020-03-172-9/+3
| | | | | | | | | | | There is an issue of circular dependency in xilpm and xilplmi libraries which got fixed now in the esw repo. Since the circular dependency issue got resolved, This patch removes the workarounds from the xilpm and xilplmi recipes. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-standalone: recipes-libraries: Add recipe for xilpufAppana Durga Kedareswara rao2020-03-171-0/+6
| | | | | | | This recipe compiles the xilpuf library Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@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>
* microblaze_dtb.py: Move to scripts subdirMark Hatle2020-03-171-0/+0
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-standalone: recipes-libraries: Update depends list for socket modeAppana Durga Kedareswara rao2020-03-171-0/+1
| | | | | | | | This recipe updates the depends list to add support for compiling socket mode applications. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-standalone: recipes-applications: freertos-lwip-udp-perf-server: ↵Appana Durga Kedareswara rao2020-03-171-0/+41
| | | | | | | | | Add recipe for compiling freertos lwip udp perf server application This recipe compiles the freertos lwip udp perf server application. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-standalone: recipes-applications: freertos-lwip-udp-perf-client: ↵Appana Durga Kedareswara rao2020-03-171-0/+41
| | | | | | | | | Add recipe for compiling freertos lwip udp perf client application This recipe compiles the freertos lwip udp perf client application. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-standalone: recipes-applications: freertos-lwip-tcp-perf-server: ↵Appana Durga Kedareswara rao2020-03-171-0/+41
| | | | | | | | | Add recipe for compiling freertos lwip tcp perf server application This recipe compiles the freertos lwip tcp perf server application. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-standalone: recipes-applications: freertos-lwip-tcp-perf-client: ↵Appana Durga Kedareswara rao2020-03-171-0/+41
| | | | | | | | | Add recipe for compiling freertos lwip tcp perf client application This recipe compiles the freertos lwip tcp perf client application. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-standalone: recipes-applications: freertos-lwip-echo-server: Add ↵Appana Durga Kedareswara rao2020-03-171-0/+41
| | | | | | | | | recipe for compiling freertos lwip echo server application This recipe compiles the freertos lwip echo server application. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-standalone: recipes-applications: lwip-udp-perf-client: Add ↵Appana Durga Kedareswara rao2020-03-171-0/+41
| | | | | | | | | recipe for compiling lwip udp perf client application This recipe compiles the lwip udp perf client application. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-standalone: recipes-applications: lwip-udp-perf-server: Add ↵Appana Durga Kedareswara rao2020-03-171-0/+41
| | | | | | | | | recipe for compiling lwip udp perf server application This recipe compiles the lwip udp perf server application. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-standalone: recipes-applications: lwip-tcp-perf-server: Add ↵Appana Durga Kedareswara rao2020-03-171-0/+41
| | | | | | | | | recipe for compiling lwip tcp perf server application This recipe compiles the lwip tcp perf server application. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-standalone: recipes-applications: lwip-tcp-perf-client: Add ↵Appana Durga Kedareswara rao2020-03-171-0/+41
| | | | | | | | | recipe for compiling lwip tcp perf client application This recipe compiles the lwip tcp perf client application. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-standalone: recipes-applications: freertos-hello-world: Add ↵Anirudha Sarangi2020-03-161-0/+33
| | | | | | | | | | recipe for freertos hello world This recipe compiles the freertos hello world application, Signed-off-by: Anirudha Sarangi <anirudha.sarangi@xilinx.com> Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-standalone: recipes-libraries: Add recipe for freertosAnirudha Sarangi2020-03-161-0/+12
| | | | | | | | This recipe compiles the freertos bsp. Signed-off-by: Anirudha Sarangi <anirudha.sarangi@xilinx.com> Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-standalone: classes: Update CMAKE_SYSTEM_NAME for FreertosAnirudha Sarangi2020-03-162-2/+3
| | | | | | | | This patch updates the CMAKE_SYSTEM_NAME variable for freertos. Signed-off-by: Anirudha Sarangi <anirudha.sarangi@xilinx.com> Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-standalone: conf: distro: Add new distro for freertosAnirudha Sarangi2020-03-161-0/+8
| | | | | | | | | This patch adds new distro xilinx-freertos for compiling esw freertos use cases in yocto flow. Signed-off-by: Anirudha Sarangi <anirudha.sarangi@xilinx.com> Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@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>
* microblaze_dtb.py: Convert a dtb to one or more microblaze TUNE_FEATURESMark Hatle2020-03-091-0/+174
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because the microblaze is adjustable on the FPGA, we need a way for the system to adjust the TUNE_FEATURES for a given build. The device tree can specify the capabilities of the microblaze implementations defined in a specific design. If present, these can then be processed to provide a set of TUNE_FEATURES for each declared microblaze CPU. The output of the tool is formated in a way that it can be directly included in the user's local.conf, or placed in a file that is included by a machine or other file. The user will only have to declare the DEFAULTTUNE value that matches one of the generated tunes. General rules that are implemented: TUNE_FEATURE CONDITION ------------ ------------------------------- microblaze (all microblaze cpus) bigendian xlnx,endianness is not 1 64-bit xlnx,data-size is 64 barrel-shift xlnx,use-barrel is 1 pattern-compare xlnx,use-pcmp-instr is 1 reorder xlnx,use-reorder-instr is not 0 frequency-optimized xlnx,area-optimized is 2 multiply-low xlnx,use-hw-mul is 1 multiple-high xlnx,use-hw-mul is 2 divide-hard xlnx,use-div is 1 fpu-soft xlnx,use-fpu is not 1 or 2 fpu-hard xlnx,use-fpu is 1 fpu-hard-extended xlnx,use-fpu is 2 vX.YY model value of X.YY[.Z] Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* README.md: Add information about the new embeddedsw supportMark Hatle2020-03-091-1/+8
| | | | | | | Embeddedsw support is still in early proof of concept phase, so we want to make sure any users know this. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* README.md: revise README.md basedMark Hatle2020-03-091-8/+7
| | | | Signed-off-by: Mark Hatle <mark.hatle@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>