summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone/recipes-bsp
Commit message (Collapse)AuthorAgeFilesLines
...
* fsbl/plm/pmu/psm firmware: Adjust package archMark Hatle2021-09-284-0/+16
| | | | | | | | Different boards may configure their firmwares differently. One such example is ZU67DR RFSoC which requires libmetal libraries in some configurtions. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* fsbl-firmware: Update to match current configurationMark Hatle2021-09-271-3/+5
| | | | | | | The fsbl has been renamed to fsbl-firmware, and some adjustments to the build method are required to match how standalone and xsct version work. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Update recipe names to 2012.2 from 2021.1Sai Hari Chandana Kalluri2021-09-274-0/+0
| | | | Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* Update recipe names from 2020.2 to 2021.1Sai Hari Chandana Kalluri2021-07-144-0/+0
| | | | Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* fsb/plm/pmu/psm: Fix standalone buildMark Hatle2021-07-1410-30/+14
| | | | | | | | | | | Issue: CR-1087560 git version no longer requires most patches, so clear these. bin generation was not working consistently for standalone (not xsct) build, correct this behavior. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* embeddedsw: Keep parallel builds disabled, but change to -j1Mark Hatle2021-07-143-3/+3
| | | | | | | WHen processing for cmake, PARLLEL_MAKE is processed by a python chunk and if empty returns 'None', instead of 1. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* embeddedsw: Make it easy to change the output name of the elf binaryMark Hatle2021-07-143-6/+12
| | | | | | | | Issue: ER-6946 Different workflows may require a slightly different name. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Various: Fix eSDK hash changesMark Hatle2021-07-143-5/+8
| | | | | | | | | | | | The various *fw.bb Linux recipes need to exclude the PLM_DEPLOY_DIR from hash calculations. This location can change, but the actual value does not matter. Move plm-firmware, psm-firmware, pmu-firmware to use IMAGE_VERSION_SUFFIX (and the associate image-artifact-names class) by default. This matches how modern deployed components should work. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* fsbl/fsbl-firmware: Split the packaging and building of the fsblMark Hatle2021-07-144-0/+331
| | | | | | | | | | | | | | | | | | | | | Following the example of the psm, pmu and plm, we split the FSBL into both a packaging component (fsbl) and the build of the firmware (fsbl-firmware). This also adds an additional multilib, fsbl-fw, that is used to handle the multiconfig version, as the Linux and baremetal builds are done differently. Typical build approach is: Add to local.conf: BBMULTICONFIG += "fsbl-fw" then build using: MACHINE=zynqmp-generic bitbake fsbl Note, while 'zynq' is implemented, it does not currently function. To build the fsbl for zynq, you must use the meta-xilinx-tools version. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* embeddedsw; Fixups for missed plm and psm issuesMark Hatle2021-07-144-8/+18
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* embeddedsw: Rework plm/pmu/psm firmware and Linux packagingMark Hatle2021-07-145-19/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to allow standalone (meta-xilinx-standalone), XSCT (meta-xilinx-tools), and future items to work in the same way the recipes have been restructured. A *-firmware recipe will generate the firmware and stage it to do_deploy. A *fw recipe will take the deployed version and package it for the Linux side of things. This allows the firmware generation to be easily extended without requiring packaging knowledge. Similarly packaging can be extended for alternative boot/upgrade mechanisms as required. In all cases, the MACHINE configuration will specify the default way the components are to be built, along with the names of the item in the deploy directory. The PLM/PSM/PMU_IMAGE_NAME is the name for the generated firmware. PLM/PSM/PMU_DEPLOY_DIR is the path to the constructed firmware. This along with the IMAGE_NAME above can be used to specify the location of an externally generated set of firmware. Addtionally the dependencies for building the plmfw/psmfw/pmufw can be changed easily using PLM/PSM/PMU_DEPENDS and PLM/PSM/PMU_MCDEPENDS. The former specifies dependencies in the same multiconfig, while the later allows the component to require another multiconfig to have finihed. The system has a referenced default, if multiconfig is enabled it will automatically use it, otherwise it will try to use the recipe in the main configuration. (This will fail unless meta-xilinx-tools is available.) Also two multiconfigs hve been implemented: versal-fw and zynqmp-pmufw They can be enabled using BBMULITCONFIG += "zynqmp-pmufw" or versal-fw. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Further adjustments for embeddedsw so it works with meta-xilinx-toolsMark Hatle2021-07-145-23/+32
| | | | | | | | | | | | | Ensure that plm-firmware can run for any microblaze & versal configuration. Ensure that psm-firmware can run for any microblaze & versal configuration. Ensure that pmu-firmware can run for any microblaze & zynqmp configuration. In each case, use EXTRA_OEMAKE to set the bsp_make_vars instead of individual references. This allows meta-xilinx-tools to disable this. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Adjust standalone embeddedsw so it can be bbappended by meta-xilinx-toolsMark Hatle2021-07-1411-42/+17
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* embeddedsw: Update mcpu version in MakefileMark Hatle2021-07-147-0/+41
| | | | | | Use -mcpu=v10.0 instead of indeterminate -mcpu=v. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* embeddedsw: Update for git master tracking versionMark Hatle2021-07-144-6/+167
| | | | | | | Add a new plm/pmu/psm version (non-default) to track upstream embeddedsw for easier development. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Sync to latest embeddedswMark Hatle2021-07-1418-15/+604
| | | | | | | | | | | | | | | Move versal-mb conf to meta-xilinx-standalone Sync to latest official patches for zynqmp_pmufw to deal with assert now now being a macro. Sync to latest official patches for copy_bsp.sh (standalone) configurations. Delete versions that do NOT compile. Update remaining versions to compile on current toolchain. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* embeddedsw: Sync with meta-xilinx-toolsMark Hatle2021-07-144-18/+36
| | | | | | | | | Change the order of embeddedsw and some of the variables used to allow bbappending from meta-xilinx-tools Add Description and Provide from meta-xilinx-tools versions. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* recipes-standalone: Move firmware to embeddedsw directory and simplifyMark Hatle2021-07-1414-0/+299
| | | | | | | | | | | | | 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>
* meta-xilinx-standalone: recipes-bsp: device-tree: Install psu_init* files ↵Appana Durga Kedareswara rao2020-04-081-1/+1
| | | | | | | | | | only for standalone configuration psu_init* files installation is valid only for standalone configuration update the do_install for the same. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* device-tree: Install psu_init files as well for zynqmp machinesAppana Durga Kedareswara rao2020-04-071-1/+1
| | | | | | | | Install psu_init files for zynqmp machines these files are needed for building fsbl for corter5 processor use case as well. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* device-tree.bbappend: Move to COMPATIBLE_HOSTMark Hatle2020-03-261-1/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* external-hdf.bbappend: move to meta-xilinx-tools layerSai Hari Chandana Kalluri2020-03-251-1/+0
| | | | | | Move to meta-xilinx-tools layer and combine with original recipe Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* meta-xilinx-standalone: Add support for zynqMubin Usman Sayyed2020-03-181-0/+2
| | | | | | | | | | | 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-standalone: Add support for versal cortexr5 processorAppana Durga Kedareswara rao2020-03-061-0/+2
| | | | | | | | | This patch updates the COMPATIBLE_MACHINE and DTBFILE variables to compile esw use cases for cortexr5 processor on versal platform. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-standalone/device-tree: remove duplicate internal referencesMark Hatle2020-02-271-16/+4
| | | | | | Some of the components have been moved to internal configuration layers Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* xlnx-compatible-os.bbclass: Class to allow recipes to list OS compatibilityMark Hatle2020-02-272-0/+3
| | | | | | | | | | | | | | | | | | Following the example of base.bbclass in OE-Core, a new COMPATIBLE_OS variable is defined. Similar to COMPATIBLE_MACHINE, it is a regex that can be used to declare TARGET_OS string compatibility on a per-recipe basis. Either the distro configuration or the recipes themselves will need to inherit this class. By default the class assumes we're building a Linux based system, and thus any recipe who has not declared compatibility is compatible with Linux. The default compatible field was copied from bitbake.conf to ensure there are no surprised. Additionally, enable the usage of this class throughout meta-xilinx-standalone layer. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* newlib: Cleanup and merge the two newlib bbappends into a single appendMark Hatle2020-02-272-19/+0
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* newlib: Move microblaze supportMark Hatle2020-02-2713-2596/+0
| | | | | | | | | meta-xilinx-standalone is only for baremetal work. Theoretically the newlib items can be used on other configurations, so move the microblaze newlib/libgloss work into meta-xilinx-bsp. This mirrors how other microblaze specific work has been handled. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* device-tree: Override repo for supported machinesAlejandro Enedino Hernandez Samaniego2020-02-271-1/+6
| | | | | | | | | | | | The deocupling device-tree repo does not currently work with machines like the zcu102-zynqmp, while the default repo does work fine. Set overrides for the decoupling working machines, while keeping the REPO as it was by default for other machines to avoid this error. Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* meta-xilinx: Add support for cortexr5 processorAppana Durga Kedareswara rao2020-02-271-0/+2
| | | | | | | | | | | This patch updates the COMPATIBLE_MACHINE and DTBFILE variables to compile esw use cases for cortexr5 processor on ZynqMP platform. This patch also updates the TUNE_CCARGS in the cortexr5-zynqmp.conf file as per baremetal requirements. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
* libgloss: Dont install libgloss as libxil since we actually have libxilAlejandro Enedino Hernandez Samaniego2020-02-271-3/+4
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* cortexa72: Update cortexa72 machine variable namingAppana Durga Kedareswara rao2020-02-271-3/+2
| | | | | | | cortexa72 processor machine name changed from cortexa72 to coretexa72-versal update the naming convention in the recipes for the same. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
* meta-xilinx-standalone: Add support for cortexa72 processorAppana Durga Kedareswara rao2020-02-271-0/+2
| | | | | | | 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: clean up layerAlejandro Enedino Hernandez Samaniego2020-02-271-2/+0
| | | | | | | | | | | | | 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>
* device-tree: Fix install directoryAlejandro Enedino Hernandez Samaniego2020-02-271-5/+3
| | | | | | | | | | | | 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>
* meta-xilinx-standalone: device-tree belongs on recipes-bspAlejandro Enedino Hernandez Samaniego2020-02-271-0/+30
| | | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@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>
* Enable multilib baremetal toolchainsMark Hatle2020-01-312-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* 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>
* meta-xilinx-standalone: Restructure layer properly, newlib belongs to ↵Alejandro Enedino Hernandez Samaniego2020-01-3013-0/+2602
recipes-bsp Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>