summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone
Commit message (Collapse)AuthorAgeFilesLines
...
* distro/xilinx-standalone: Make LTO optionalMark Hatle2020-02-274-16/+32
| | | | | | | | | | Some builds may require LTO, while others do not want it. The LTO components are only enabled when using the esw.bbclass and the xilinx-standalone distro. A second xilinx-standalone-nolto was added specifically to provide a default where LTO was disabled. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* zynqmp-fsbl: Fix race condition on copy_psu_initAlejandro Enedino Hernandez Samaniego2020-02-271-3/+1
| | | | | | | | | | | | | | | Theres a race condition that happens when the copy_psu_init task is executed, and claims that the src directory does not exist, when this task is trying to access it. There is no need to create an additional task to copy the psu_init code, it can simply be prepended to do_configure which achieves the same result without having to keep track of other tasks dependencies that might cause an error. Copy the psu_init files on do_configure itself avoiding the race condition. Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* meta-xilinx-standalone: Restructure layer properly, move existing libraries ↵Alejandro Enedino Hernandez Samaniego2020-02-2713-0/+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-0/+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-0/+0
| | | | | | recipes-applications Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* meta-xilinx: meta-xilinx-standalone: comment flto flags by defaultAppana Durga Kedareswara rao2020-02-271-2/+2
| | | | | | | | For the time being fsbl,pmufw users will uncomment the CFLAGS_append line before building the application, once we have proper disto changes in place we can delete this line all together. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
* meta-xilinx: meta-xilinx-standalone: Update source url pathAppana Durga Kedareswara rao2020-02-272-4/+4
| | | | | | | | | | 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-2713-17/+109
| | | | Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
* Microblaze-pmu: Change overrides to reflect machine name chanches from ↵Alejandro Enedino Hernandez Samaniego2020-02-271-0/+1
| | | | | | zynqmp-pmu to microblaze-pmu Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* SOC_FAMILY: Change overridesAlejandro Enedino Hernandez Samaniego2020-02-273-13/+41
| | | | | | | | | | | | | | | | | | | | | | 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>
* esw.bbclass: Make it possible for packages to use the cmake ncurses guiAlejandro Enedino Hernandez Samaniego2020-02-271-0/+2
| | | | | | | | | | | | | | | The ccmake class provides the ncurses cmake ui functionality, inherit this class to make sure all the ESW components are able to invoke the ui. To invoke such ui, a user would perform: bitbake <pkg> -c ccmake To get the diff from the old and new config a user would perform: bitbake <pkg> -c ccmake_diffconfig. 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>
* esw.bbclass: Install artifacts from the build directory vs WORKDIRAlejandro Enedino Hernandez Samaniego2020-02-271-2/+2
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* esw.bbclass: Fix devtool and externalsrc flowAlejandro Enedino Hernandez Samaniego2020-02-271-1/+21
| | | | | | | | | | When using externalsrc, the S variable changes, which causes the class to return an invalid value for the LIC_FILES_CHKSUM variable. Use a workaround with anonymous python to correct this, just in case the externalsrc class is being used. 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>
* Increase layer priorityAlejandro Enedino Hernandez Samaniego2020-02-271-1/+1
| | | | | | | | We need to increase the layer priority for meta-xilinx-standalone, otherwise its not possible to set a branch for decoupling on the DTG flow, since meta-xilinx-internal overrides our changes Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* Fix XILINX_RELEASE_VERSIONAlejandro Enedino Hernandez Samaniego2020-02-271-1/+1
| | | | 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>
* fix license and compatible host for nowAlejandro Enedino Hernandez Samaniego2020-02-271-2/+6
| | | | 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-278-232/+68
| | | | 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>
* newlib: Adjust configuration for standalone to allow BSP libraryMark Hatle2020-02-132-0/+14
| | | | | | | | | | | | | | | Both libgloss and newlib require the same arguents to be passed in. So keep the two files in sync with each other. --disable-newlib-supplied-syscalls This configuration argument tells newlib to NOT provide builtin syscalls, which allows the BSP library to provide them. Note linking to a BSP library will require a custom GCC spec file when linking. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Adjust the microblaze standalone toolchain to match vitis expectations.Mark Hatle2020-02-104-0/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable the following multilibs: . le bs p m fpd m/fpd p/m p/fpd p/m/fpd bs/p bs/m bs/fpd bs/m/fpd bs/p/m bs/p/fpd bs/p/m/fpd le/m64 le/bs le/p le/m le/fpd le/m/fpd le/p/m le/p/fpd le/p/m/fpd le/bs/p le/bs/m le/bs/fpd le/bs/m/fpd le/bs/p/m le/bs/p/fpd le/bs/p/m/fpd le/m64/bs le/m64/p le/m64/m le/m64/fpd le/m64/m/fpd le/m64/p/m le/m64/p/fpd le/m64/p/m/fpd le/m64/bs/p le/m64/bs/m le/m64/bs/fpd le/m64/bs/m/fpd le/m64/bs/p/m le/m64/bs/p/fpd le/m64/bs/p/m/fpd Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* xilinx-standalone.conf: Adding qemu to TOOLCHAIN_HOST_TASKJaewon Lee2020-02-101-0/+2
| | | | | | | | | | | | | When running gcc built for xilinx-standalone using mingw sdk machine, it would throw an error saying the winpthread dll was missing. this is because in tclibc-newlib, TOOLCHAIN_HOST_TASK was being overwritten and omitting nativesdk-packagegroup-sdk-host which pulled in the appropriate package nativesdk-mingw-w64-winpthreads. Manually adding the following to TOOLCHAIN_HOST_TASK to bypass this issue: nativesdk-qemu-xilinx Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Alejandro Enedino Hernandez Samaniegoi <alejandr@xilinx.com>
* Fix arm cortex r/m profilesMark Hatle2020-02-052-20/+8
| | | | | | | | | | | As part of the merge of the code bases, changes were introduced that changed the way the cortexr5 was defined. To sync this between the baremetal compilation and the baremetal toolchain compilation we create a new armrm tune file, define a new tune feature of 'armrm', define 'armrm' as a new machine override based on the feature 'armrm', and move the cortexr5 tuning to a common file. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Limit multilib toolchains to symlinks to the main toolchainMark Hatle2020-01-312-0/+39
| | | | | | | | Multiple copies of the same binary toolchain will not help with anything, so limit use to a single (primary) lib toolchain, and then new symlinks to those toolchains to continue to enable the environment files. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* gcc-runtime: Fix C++ multilib headersMark Hatle2020-01-311-0/+19
| | | | | | | | | The C++ headers are slightly different for different multilibs. The Yocto Project name (canonical arch) is different then the gcc multilib directory name. Put in code that will syncronize these two items, allows C++ support to function properly, avoiding conflicts in the process. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Enable multilib baremetal toolchainsMark Hatle2020-01-3110-25/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | Distro Changes: When building a multilib, we need to disable configsite cache. Otherwise the system will fail to generate the SDK as there are no configsite entries due to newlib based multilibs. Recipe Changes: gcc - globally disable multilib configuration - Disable Linux specific configurations (EXTRACONFFUNCS) gcc-cross-canadian - enable multilib on a recipe specific basis libgcc - add a noop override to do_multilib_install to avoid Linux specific multilib processing newlib - arm/v6+m/nofp and arm/v8-m.base/nofp do not have newlib trap implementations. libgloss contains these, workaround by disabling builtin trap syscall handler. - misc workarounds for multilib installs libgloss - Allow MLPREFIX for newlib dependencies meta-toolchain - adjust to install only the items we want/need packagegroup-newlib-standalone-sdk-target - new pkggroup for the custom baremetal SDK to select the right set of packages Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-bsp: Unify machine confsAlejandro Enedino Hernandez Samaniego2020-01-307-101/+0
| | | | | | | | Unify the meta-xilinx-bsp and meta-xilinx-standalone layers by moving the machine confs to the BSP layer and keeping the standalone layer as a DISTRO layer Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* cortexa72: To keep up with a standard rename cortexa72 to add its SOC_FAMILY ↵Alejandro Enedino Hernandez Samaniego2020-01-301-0/+0
| | | | | | to its name Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* cortexr5: Change overrides to reflect machine name changes from cortexr5 to ↵Alejandro Enedino Hernandez Samaniego2020-01-302-4/+17
| | | | | | zynqmp and versal variants Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* Microblaze-pmu: Change overrides to reflect machine name changes from ↵Alejandro Enedino Hernandez Samaniego2020-01-302-2/+2
| | | | | | zynqmp-pmu to microblaze-pmu Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* Create machines that use SOC_FAMILYAlejandro Enedino Hernandez Samaniego2020-01-306-2/+33
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* layer.conf: Include recipe files from a pattern with no directory requiredAlejandro Enedino Hernandez Samaniego2020-01-301-1/+4
| | | | | | | | Due to the large amount of recipes required from the ESW repo, include a pattern to parse recipes without requiring a directory per recipe Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* gcc-runtime: Move gcc-runtime to GCCs directoryAlejandro Enedino Hernandez Samaniego2020-01-301-0/+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-0/+0
| | | | | | recipes-bsp Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>