summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone/recipes-standalone
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* newlib: Adding xilinx specific patches on top of newlib/libgloss 3.1.0Jaewon Lee2020-01-1513-0/+2584
| | | | | | | Adding necessary patches on top of upstream newlib and libgloss 3.1.0 Signed-off-by: Nagaraju Mekala <nmekala@xilix.com> Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* Update XILINX_RELEASE_VERSION to v2020.1Varalaxmi Bingi2020-01-133-3/+3
| | | | | | | Update XILINX_RELEASE_VERSION to v2020.1 Signed-off-by: Varalaxmi Bingi <varalaxmi.bingi@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* gcc-cross-canadian_%.bbappend:temporary hack to build gcc cross canadianJaewon Lee2020-01-091-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | This is a TEMPORARY HACK to build gcc-cross-canadian toolchain for the xilinx-standalone distro. xilinx-standalone.conf will set TCLIB as newlib which will pull in tclibc-newlib.inc which sets TARGET_OS to eabi for arm and elf for everything else. In gcc-cross-canadian.inc (upstream) there is a _remove('--with-sysroot=/not/exist') for TARGET_OS overrides(elf and eabi) which fixes baremetal toolchain builds by preventing the compiler from looking in nonexistent sysroot directories e.g. https://github.com/riscv/meta-riscv/issues/117 But that flag is needed when building for newlib as that is what will specify the path in the arch specific sysroots to look for the header files that were generated. Without setting --with-sysroot the following error would occur: fatal error: stdio.h: No such file or directory 1 | #include <stdio.h> Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* Upgrade recipes to 2020.1Sai Hari Chandana Kalluri2019-12-093-0/+0
| | | | | | Upgrade u-boot, qemu, linux, atf to 2020.1 Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* gcc: Add multilib-list=aprofile configure option for cortex A9Alejandro Enedino Hernandez Samaniego2019-12-091-0/+1
| | | | | | Update configure options to be in sync with the SDK Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* gcc: Separate binutils optionsAlejandro Enedino Hernandez Samaniego2019-12-096-77/+97
| | | | | | binutils options should not be tied to the gcc bbappends Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* gcc-cross-microblazeel: disable multilibAlejandro Enedino Hernandez Samaniego2019-12-091-0/+1
| | | | | | multilib builds are broken on microblaze, disable them Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* toolchain: add cortex-A9 options for gcc and binutilsAlejandro Enedino Hernandez Samaniego2019-12-093-0/+41
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* xilinx-standalone: Reorganize toolchain configure optionsAlejandro Enedino Hernandez Samaniego2019-12-093-19/+192
| | | | | | | | | | | | Previously the GCC configure options per MACHINE were inside the MACHINE.confs, this was wrong since the BSPs are contaminated by the DISTRO options and it should be the other way around. Avoid this contamination by using MACHINE OVERRIDES along with DISTRO OVERRIDES to get the required gcc and binutils configure options by the Xilinx SDK Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>