summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone/recipes-standalone
Commit message (Collapse)AuthorAgeFilesLines
* recipes-standalone: Move firmware to embeddedsw directory and simplifyMark Hatle2021-03-054-275/+0
| | | | | | | | | | | | | Create a new embeddedsw.inc file, This will contain all of the refereces for SRCREV, and SRC_URI and other components that may be necessary. Changing the filename or passing SRC_VER will switch the various source version information. As new releases happen, they can be added to the list while incompatible ones can be removed. This now allows us to focus on adjusting the recipes as necessary. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* plm/pmu/psm-firmware: Set version to 2019.2 in order to match SRCREVMark Hatle2021-03-053-3/+3
| | | | | | | The actual version is 2019.2 according to the SRCREV. These components have not yet been merged forward to 2020.2. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* plm-firmware: Rename from plm to match other firmware, update S/BMark Hatle2021-03-051-6/+6
| | | | Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* pmu/psm-firmware: Move from S to B which allows code to be patchedMark Hatle2021-03-052-11/+13
| | | | | | | | | | | | The system should never reference or build software that is above the 'S' directory. So S being the top of the source tree, and B (build) being the location where we are running out build components will work correctly and meet the Yocto Project requirements. This also has a side effect of allowing patching of components above the build directory, if necessary. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* Reorganize the various layer componentsMark Hatle2021-03-051-32/+0
| | | | | | | | | | | | | | | | | | | | 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>
* pmu-firmware: Latest toolchain always treats 'assert' as a macroMark Hatle2020-11-302-1/+70
| | | | | | | | | | | | | | | | | | | | | | Rename the structure member from 'assert' to 'resetAssert to avoid a compilation error: | pm_reset.c: In function ‘PmResetDoAssert’: | pm_reset.c:1905:36: error: macro “assert” passed 2 arguments, but takes just 1 | 1905 | reset->ops->assert(reset, action); | | ^ | In file included from .../tmp/work/microblazeel-v11.0-bs-cmp-xilinx-elf/pmu-firmware/v2020.1+gitAUTOINC+e8db5fb118-r0/recipe-sysroot/usr/include/sys/reent.h:503, | from .../tmp/work/microblazeel-v11.0-bs-cmp-xilinx-elf/pmu-firmware/v2020.1+gitAUTOINC+e8db5fb118-r0/recipe-sysroot/usr/include/string.h:11, | from ../misc/zynqmp_pmufw_bsp/psu_pmu_0/include/xil_printf.h:9, | from xpfw_debug.h:57, | from xpfw_default.h:37, | from pm_reset.c:36: | .../tmp/work/microblazeel-v11.0-bs-cmp-xilinx-elf/pmu-firmware/v2020.1+gitAUTOINC+e8db5fb118-r0/recipe-sysroot/usr/include/assert.h:16: note: macro “assert” defined here | 16 | # define assert(__e) ((__e) ? (void)0 : __assert_func (__FILE__, __LINE__, \ | | | Makefile:37: recipe for target ‘pm_reset.o’ failed Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* Update commit id and branch for components for 2020.2 releaseSai Hari Chandana Kalluri2020-11-173-0/+0
| | | | | | | | 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>
* pmu-firmware_2019.1.bb: use IMAGE_VERSION_SUFFIX instead of DATETIMEJoerg Hofrichter2020-09-301-3/+1
| | | | | | | | | | | | | | | Use variable IMAGE_VERSION_SUFFIX variable instead of DATETIME. Using IMAGE_VERSION_SUFFIX allows easier and more direct changes. The variable is available since Yocto 2.6 and it is used also for other name variables, e.g. IMAGE_NAME. It is set to "-${DATETIME}" per default, so the naming does not change as long as IMAGE_VERSION_SUFFIX is not overridden. For more details, see: https://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#migration-2.6-image-kernel-artifact-naming-changes Signed-off-by: Joerg Hofrichter <joerg.hofrichter@ni.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* 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>
* Revise COMPATIBLE_MACHINE settingsMark Hatle2020-03-173-7/+3
| | | | | | | | | | | 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>
* Remove hardcoded XILINX_RELEASE_VERSION in recipesMark Hatle2020-02-273-3/+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>
* meta-xilinx-standalone: Restructure layer properly, move existing libraries ↵Alejandro Enedino Hernandez Samaniego2020-02-2713-128/+0
| | | | | | from decoupling to recipes-libraries Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* meta-xilinx-standalone: device-tree belongs on recipes-bspAlejandro Enedino Hernandez Samaniego2020-02-271-30/+0
| | | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-standalone: Restructure layer properly, pmufw and fsbl belong on ↵Alejandro Enedino Hernandez Samaniego2020-02-272-75/+0
| | | | | | recipes-applications Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* meta-xilinx: meta-xilinx-standalone: Update source url pathAppana Durga Kedareswara rao2020-02-271-2/+2
| | | | | | | | | | This patch does the below --> Updated the esw.bbclass SRC_URI to point to gitenterprise/decoupling/embeddedsw master-next-test branch. --> Updated the device-tree recipe SRC_URI to point to gitenterprise/decoupling/device-tree-xlnx master-next-test branches. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
* fsbl: avoid using underscore in the directory filenameAlejandro Enedino Hernandez Samaniego2020-02-271-0/+0
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* zynqmp-fsbl: Copy psu_init files to source codeAppana Durga Kedareswara rao2020-02-271-1/+10
| | | | Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
* device-tree: Install psu_init files as wellAlejandro Enedino Hernandez Samaniego2020-02-271-0/+9
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* meta-xilinx-standalone: Add support for PLM and dependent library recipesAppana Durga Kedareswara rao2020-02-2712-15/+99
| | | | Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
* SOC_FAMILY: Change overridesAlejandro Enedino Hernandez Samaniego2020-02-272-9/+9
| | | | | | | | | | | | | | | | | | | | | | The ESW repo requires to pass the application that is being built along with the proessor architecture (family) where it will be executed to workaround some of the driver/libraries functionality. For us to be able to override variables depending on the application we need to create separate machines depending on the family that will be used, e.g. microblaze-pmu and microblaze-plm, or family where it could be zynqmp or versal, these are passed by the XLNX_CMAKE_PROCESSOR and XLNX_CMAKE_MACHINE variables respectively, these separate machines will be built using separate multiconfigs, and while this is an expensive solution, since it costs: parsing and building time along with storage use for each of the multiconfigs, this is the correct solution due to their incompatibility on their dependencies. As part of these changes, it is also required to change the existing overrides for the MACHINES that already existed for them to keep the existing functionality on the standalone toolchain. Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* libxil: Unify flow and get DTB using the device-tree recipe instead of ↵Alejandro Enedino Hernandez Samaniego2020-02-272-9/+5
| | | | | | creating it manually Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* pmufw: Install artifacts from the build directory vs WORKDIRAlejandro Enedino Hernandez Samaniego2020-02-271-1/+1
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* device-tree: the Flags used from device tree have to be set on the device ↵Alejandro Enedino Hernandez Samaniego2020-02-272-2/+3
| | | | | | tree recipe, not in the libxil one Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* libxil: Fix DTB and DTG flow to make it more transparent for the userAlejandro Enedino Hernandez Samaniego2020-02-271-15/+11
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* libxil: fix device tree flags for a53Alejandro Enedino Hernandez Samaniego2020-02-271-0/+3
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* zynqmp-fsbl: Sync flow with pmufwAlejandro Enedino Hernandez Samaniego2020-02-271-5/+15
| | | | | | | | | | Install and package the elf file so it is stripped Deploy the stripped elf file fix filename to contain the elf extension Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* device-tree: switch to AUTOREV to keep up with the repo changes for nowAlejandro Enedino Hernandez Samaniego2020-02-271-1/+2
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* device-tree.bbappend: add appent to support cortexa53 MACHINEAlejandro Enedino Hernandez Samaniego2020-02-271-0/+12
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* libxil: add flow for a53 using dtgAlejandro Enedino Hernandez Samaniego2020-02-271-11/+20
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* pmufw: fix filename on elf file and fix task order to get stripped elf file ↵Alejandro Enedino Hernandez Samaniego2020-02-271-3/+3
| | | | | | deployed Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* pmufw: Install and hence package and strip the pmufw elf fileAlejandro Enedino Hernandez Samaniego2020-02-271-4/+14
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* Add recipes for building zynqmp fsbl applicationAppana Durga Kedareswara rao2020-02-271-0/+24
|
* Add recipes for xilffs and xilpm librariesAppana Durga Kedareswara rao2020-02-272-0/+12
|
* esw: first step to move everything into an embeddedsw classAlejandro Enedino Hernandez Samaniego2020-02-277-232/+28
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* pmufw: recipes for pmufw app generation in decoupled flowAppana Durga Kedareswara rao2020-02-277-2/+204
| | | | Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
* libxil: Add recipes for libxil and xilstandaloneAppana Durga Kedareswara rao2020-02-272-0/+91
| | | | | | | | | | | Add both recipes which use the cmake class for basic funcitonality. Append the required arguments to generate the correct toolchain file And use AUTOREV while in development for easier adoption. Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
* Microblaze-pmu: Change overrides to reflect machine name changes from ↵Alejandro Enedino Hernandez Samaniego2020-01-301-1/+1
| | | | | | zynqmp-pmu to microblaze-pmu Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* gcc-runtime: Move gcc-runtime to GCCs directoryAlejandro Enedino Hernandez Samaniego2020-01-301-65/+0
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* meta-xilinx-standalone: Restructure layer properly, newlib belongs to ↵Alejandro Enedino Hernandez Samaniego2020-01-3013-2602/+0
| | | | | | recipes-bsp Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* newlib: Keep version numbers on bbappendsAlejandro Enedino Hernandez Samaniego2020-01-302-0/+0
| | | | | | | | Keep the version numbers in case the version changes, so do_patch fails and forces us to revise the patches and make sure they are still required Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* meta-xilinx-standalone: Restructure layer properly, gcc and binutils belong ↵Alejandro Enedino Hernandez Samaniego2020-01-306-71/+0
| | | | | | on recipes-devtools Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* gcc-cross-canadian: Fix issue being unable to find stdio.hMark Hatle2020-01-281-0/+10
| | | | | | | | | An error in commit: 7e99d6d01b7b685048b35ac77ea6938ab2708097 resulted in dropping the section that restored the --with-sysroot workaround. This is required for the standard lib and include patches to be defined by the toolchain. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* gcc: Remove cortexa53 errata fixesMark Hatle2020-01-242-4/+0
| | | | | | | The Xilinx errata documents does not list the parts as affected by these errata, so remove them in order to generate better code. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* binutils/gcc: Refactor the oeconfMark Hatle2020-01-247-282/+88
| | | | | | | | | | | | | | | The result of the refactoring is equivalent to before the changes, with the following changes: - cortexa72 has been removed - cortexa53 has been replaced with aarch64 - zc702-zynq7 has been replaced with arm - zynqmp-pmu has been replaced with microblaze In order to avoid a multilib cflag collision on arm, clear the TUNE_CCARGS on arm (and cortexr5). Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* gcc-runtime: Make the baremetal changes specific to class-targetMark Hatle2020-01-241-7/+8
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* gcc-xilinx-standalone: Enable multilib builds for baremetal microblazeAlejandro Enedino Hernandez Samaniego2020-01-241-1/+0
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* gcc-runtime: Set correct overrides now that the build has been fixed in oe-coreAlejandro Enedino Hernandez Samaniego2020-01-241-9/+13
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* Revert "binutils/gcc: Refactor the oeconf"Mark Hatle2020-01-246-14/+167
| | | | This reverts commit a45b1acf46f01cc5eb3ae130ab61766ed635340e.
* binutils/gcc: Refactor the oeconfMark Hatle2020-01-166-167/+14
| | | | | | | | | The special arguments do not appear to be needed, and using the standard configuration arguments will more easily enable other components as well. Note, additional refactoring will be needed, only aarch64 has been verified. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* gcc-runtime: Enable bulding libsdtc++ for baremetal applicationsAlejandro Enedino Hernandez Samaniego2020-01-161-0/+24
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>