summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone
Commit message (Collapse)AuthorAgeFilesLines
...
* meta-xilinx-standalone: Add support for cortexa72 processorAppana Durga Kedareswara rao2020-02-272-0/+8
| | | | | | | This patch updates the COMPATIBLE_HOST and COMPATIBLE_MACHINE and DTBFILE variables to compile esw use cases for cortexa72 processor. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
* meta-xilinx-standalone: classes: Update md5 checksum as per latest licenseAppana Durga Kedareswara rao2020-02-271-1/+1
| | | | | | | Recently esw license.txt modified, this updates the esw.bbclass md5 checksum value as per latest license. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
* meta-xilinx-standalone: recipes-applications: Add recipe for compiling hello ↵Appana Durga Kedareswara rao2020-02-271-0/+3
| | | | | | | | world application This recipe adds support for compiling hello world application. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
* meta-xilinx-standalone: recipe-drivers: Add recipe for compiling zdma driver ↵Appana Durga Kedareswara rao2020-02-271-0/+3
| | | | | | | | examples This recipe compiles the zdma driver examples. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
* meta-xilinx-standalone: recipe-drivers: Add recipe for compiling mcdma ↵Appana Durga Kedareswara rao2020-02-271-0/+3
| | | | | | | | driver examples This recipe compiles the mcdma driver examples. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
* meta-xilinx-standalone: recipes-drivers: Add recipe for compiling llfifo ↵Appana Durga Kedareswara rao2020-02-271-0/+3
| | | | | | | | driver examples This recipe compiles the llfifo driver examples. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
* meta-xilinx-standalone: recipes-drivers: Add recipe for compiling axidma ↵Appana Durga Kedareswara rao2020-02-271-0/+3
| | | | | | | | driver examples This recipe compiles the axidma driver examples. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
* meta-xilinx-standalone: recipes-drivers: Add recipe for compiling axicdma ↵Appana Durga Kedareswara rao2020-02-271-0/+3
| | | | | | | | driver examples This recipe compiles the axicdma driver examples. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
* meta-xilinx-standalone: recipes-drivers: Add recipe for compiling ↵Appana Durga Kedareswara rao2020-02-271-0/+3
| | | | | | | | axiethernet driver examples This recipe compiles the axiethernet driver examples. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
* distr/xilinx-standalone: Switch default optimization from ESW to DistroMark Hatle2020-02-272-3/+3
| | | | | | | | | | | Instead of using ESW_CFLAGS for the optimization level, fall back to the default Yocto Project method of 'FULL_OPTIMIZATION' and 'SELECTED_OPTIMIZATION'. FULL_OPTIMIZATION is moved from -O2 to -Os, the other components retain the default Yocto Project setitng of '-pipe ${DEBUG_FLAGS}'. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* libraries: Add inherit on python3native on libraries that were invoking ↵Alejandro Enedino Hernandez Samaniego2020-02-273-3/+3
| | | | | | | | | | | nativepython3 When invoking nativepython3, we need to make sure that there is a dependency to python3-native, along with this, the python3native class provides additional wiring for using the python3 version that was built by the build system Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* meta-xilinx-standalone: clean up layerAlejandro Enedino Hernandez Samaniego2020-02-275-12/+8
| | | | | | | | | | | | | This layer has been used as testing for the decoupling effort hence there was (and still is) code that needed to be cleaned up in general. Put #TODO on things that are still left to do, either clean up code, move machine confs to the bsp layer or remove the deprecated pmu-firmware recipe and handle dependencies correctly by bitbake' Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* meta-xilinx-standalone: recipes-drivers: Add recipe for compiling emacps ↵Appana Durga Kedareswara rao2020-02-271-0/+3
| | | | | | | | driver examples This recipe compiles the emacps driver examples. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
* meta-xilinx-standalone: recipes-drivers: Add recipe for compiling csudma ↵Appana Durga Kedareswara rao2020-02-271-0/+3
| | | | | | | | driver examples This recipe compiles the csudma driver examples. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
* meta-xilinx-standalone: classes: Add bbclass for building esw examplesAppana Durga Kedareswara rao2020-02-271-0/+22
| | | | | | | | | | | | This patch adds bbclass which contains the common code for building the esw examples. This class does the below --> Task generate_eglist generates the linker script for the given dtb along with this it updates EXAMPLE_LIST CMAKE variable for the recipe. --> deploys the images to the tmp/deploy folder. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
* meta-xilinx-standalone: Using S instead of WORKDIRAppana Durga Kedareswara rao2020-02-274-13/+14
| | | | | | | | | | External source class manipulates S to point to external source directories, so use this variable instead of WORKDIR. Point S to the top directory as we need to access scripts directory in top directory. And instead, using OECMAKE_SOURCEPATH to point to deeper driver specific directory with necessary cmake files. Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
* device-tree: Fix install directoryAlejandro Enedino Hernandez Samaniego2020-02-272-6/+4
| | | | | | | | | | | | There was a typo in the patch that installed the psu_init code which initially tried to install files on the /var directory. Since this is a baremetal component, there is basically no convention on where files should be installed, for now to comply a bit more with bitbake, install these files on includedir to fix the install-vs-shipped issue. Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* 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>