summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Rename plm_git.bb to plm-standalong_git.bbMark Hatle2020-03-251-0/+0
| | | | | | | | | | Issue: CR-1058773 There is already a plm_git contained within the meta-xilinx-tools repository. We need to disambiguate the standalone (buildable) version while both will still exist. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* esw.bbclass: Only work with xilinx-standalone distroMark Hatle2020-03-241-0/+3
| | | | | | | | | | | | | | | | Issue: CR-1058773 There are two versions of the plm recipe. One that works with the traditional Linux based build (basically includes a prebuilt version) and one that is built from source using the standalone configuration. There is currently no way to say a recipe is only supported when used with a particular distribution, so we add code to the esw class that makes it only usable with xilinx-standalone and xilinx-standalone-lto. In the future, we may change the way this is done. Signed-off-by: Mark Hatle <mark.hatle@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>
* xilinx-standalone.conf: Add workaround for microblaze -Os bugMark Hatle2020-03-201-0/+3
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-standalone: classes: esw: Update ESW_CFLAGS with spec fileMubin Usman Sayyed2020-03-181-0/+5
| | | | | | | | | | | | | | This is being done to avoid using unwanted startup files from newlib. Alll esw ARM processor machines are using their own crt0 implementation, and microblaze based machines are using all startup files from newlib. Signed-off-by: Mubin Usman Sayyed <mubin.usman.sayyed@xilinx.com> Rebase patch to avoid machine specific overrides, make this arch specific instead. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-standalone: Add support for zynqMubin Usman Sayyed2020-03-182-0/+7
| | | | | | | | | | | Updated COMPATIBLE_MACHINE, DTBFILE, XSCTH_PROC and some other variables related to CMAKE build system. Signed-off-by: Mubin Usman Sayyed <mubin.usman.sayyed@xilinx.com> Rebase for updated esw/compatible machine changes. 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>
* esw.bbclass: Move DTBFILE to a single definitionMark Hatle2020-03-181-6/+1
| | | | | | | | | The DTBFILE defintions were each the same, and specified only on a per machine basis. Moving to a default will allow this to work with an arbitrary number of macines, and also allow a machinet override the value if necessary. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Revise COMPATIBLE_MACHINE settingsMark Hatle2020-03-176-25/+7
| | | | | | | | | | | Change the compatible machine so that everything is compatible with the esw software. Then select specific recipes that have more precise compatibility requirements. The COMPATIBLE_MACHINE is a regex, so we can use this to select zynqmp, microblaze or other components as necessary. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* 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>