summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone/recipes-bsp
Commit message (Collapse)AuthorAgeFilesLines
* Start 2023.2 developmentMark Hatle2023-03-084-0/+90
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* Remove obsolete 2022 versionsMark Hatle2023-03-058-118/+0
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* embeddedsw: Disable buildpaths QA check for embeddedsw firmwareSandeep Gundlupet Raju2023-03-034-0/+11
| | | | | Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone: recipes-bsp: device-tree: Update recipe for freertos ↵Appana Durga Kedareswara rao2023-02-101-0/+3
| | | | | | | | | distro Add support for freertos distro by updating COMPATIBLE_HOST. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* embeddedsw: Revert 2023.1 workaroundsMark Hatle2023-01-239-64/+0
| | | | | | | | | | Remove workaround for: xpm_domain_iso.c:724:42: error: potential null pointer dereference [-Werror=null-dereference] Also the other workaround can be removed, this has apparently been fixed in the upstream code. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone: Update 2023.1 embeddedsw and git versionMark Hatle2022-12-0812-110/+342
| | | | | | | | | | Update the integration to match 2023 changes. Update the Makefile and versal pathes for 2023 specific version Add a workaround for -Werror -Wnull-dereference failing during some compiles Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* embeddedsw: Add 2023.1 versionsMark Hatle2022-11-024-0/+59
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xlnx-embeddedsw: Cleanup and remove old versions, no longer supportedMark Hatle2022-09-126-69/+0
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* Merge remote-tracking branch 'origin/rel-v2022.2' into honisterMark Hatle2022-09-014-0/+59
|\
| * embeddedsw: Update fsbl image nameSandeep Gundlupet Raju2022-02-242-2/+2
| | | | | | | | | | | | | | | | Update FSBL_IMAGE_NAME to align with expected file name to be fsbl-${MACHINE}. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * various: Move from 2022.1 to 2022.2Mark Hatle2022-02-054-0/+59
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * pmufw: Fix dependency variable typoMark Hatle2022-01-251-1/+1
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * embeddedsw: Update to skip checks in eSDK build/installMark Hatle2022-01-254-12/+49
| | | | | | | | | | | | | | | | | | | | | | | | device-tree, fsbl, plmfw, pmufw, psmfw do basic validation checks, when in an eSDK skip these checks. Otherwise a partially configured system can't generate an eSDK for the end user. Sync Core and Standalone usages to be consistent. Also cleanup the BB_DONT_CACHE to be consistent in all usages. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * embeddedsw: Rework the embeddedsw copy firmware recipesMark Hatle2022-01-2310-3/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fsbl, plmfw, pufw, and psmfw are reworked to provide earlier error messages, and better handle multiconfig builds. Also adjust MACHINE specific changes to use .* for compatibility based on the SOC_FAMILY override. The system doesn't always set the SOC_FAMILY as COMPATIBLE_MACHINE, so this avoids an error of incompatible machine. Align all of the expected firmware filenames to be <firmware>-${MACHINE}. The user can override as necessary. The license moves to CLOSED as we don't know the license of the software being provided by the user or other dependencies. It'll be up to the user to reconcile it. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * Move away from PACKAGE_ARCH = "BOARD_ARCH" or "BOARDVARIANT_ARCH"Mark Hatle2021-12-224-12/+4
| | | | | | | | | | | | | | PACKAGE_ARCH should not be MACHINE_ARCH, unless a specific override is being used for compatibility. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * Move from 2021.2 to 2022.1Mark Hatle2021-11-154-0/+0
| | | | | | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com> (cherry picked from commit eef9f49887e2471768b649450a0769859fd63ba5) Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | Move from 2021.2 to 2022.1Mark Hatle2022-05-024-0/+59
| | | | | | | | | | | | | | | | | | | | Rename recipes from 2021.2 to 2022.1 as necessary. Move internal references to 2022.1 (layer.conf and local.conf.sample) Move kernel to 2022.1 branch, as well as various kernel modules. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* | embeddedsw: Update fsbl image nameSandeep Gundlupet Raju2022-03-282-2/+2
| | | | | | | | | | | | | | | | Update FSBL_IMAGE_NAME to align with expected file name to be fsbl-${MACHINE}. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | pmufw: Fix dependency variable typoMark Hatle2022-02-041-1/+1
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | embeddedsw: Update to skip checks in eSDK build/installMark Hatle2022-02-044-12/+49
| | | | | | | | | | | | | | | | | | | | | | | | device-tree, fsbl, plmfw, pmufw, psmfw do basic validation checks, when in an eSDK skip these checks. Otherwise a partially configured system can't generate an eSDK for the end user. Sync Core and Standalone usages to be consistent. Also cleanup the BB_DONT_CACHE to be consistent in all usages. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | embeddedsw: Rework the embeddedsw copy firmware recipesMark Hatle2022-01-2310-3/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fsbl, plmfw, pufw, and psmfw are reworked to provide earlier error messages, and better handle multiconfig builds. Also adjust MACHINE specific changes to use .* for compatibility based on the SOC_FAMILY override. The system doesn't always set the SOC_FAMILY as COMPATIBLE_MACHINE, so this avoids an error of incompatible machine. Align all of the expected firmware filenames to be <firmware>-${MACHINE}. The user can override as necessary. The license moves to CLOSED as we don't know the license of the software being provided by the user or other dependencies. It'll be up to the user to reconcile it. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | Move away from PACKAGE_ARCH = "BOARD_ARCH" or "BOARDVARIANT_ARCH"Mark Hatle2022-01-144-12/+4
|/ | | | | | | PACKAGE_ARCH should not be MACHINE_ARCH, unless a specific override is being used for compatibility. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-standalone: various fixes for override syntax changesMark Hatle2021-10-251-8/+8
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Convert to new override syntaxSai Hari Chandana Kalluri2021-09-287-16/+16
| | | | | | | | | | This is the result of automated script (0.9.0) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* meta-xilinx-standalone: Sync standalone to latest embeddedswMark Hatle2021-09-286-133/+128
| | | | | | | | | | | | The latest embeddedsw components no longer need integration workarounds, other then the couple of patches being applied. This simplifies eliminates the custom do_configure, and simplifies the do_compile. EXTRA_COMPILER_FLAGS is now different then the default version. The versal defaults were also adjusted to match the expected output. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-standalone: Remove obsolete do_install_appendMark Hatle2021-09-281-7/+0
| | | | | | | | | The do_install append was processing files in early versions of the decoupling development. This development has moved to the meta-xilinx-standalone-experiment layer, but the code blob is obsolete as these items are no longer needed to be copied. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-standalone: device-tree remove obsolete XSCTH usageMark Hatle2021-09-281-8/+0
| | | | | | | XSCTH is only useful when XSCT is being used. This layer does not depends on XSCT, so remove the entries. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* 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>