summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone/recipes-bsp
Commit message (Collapse)AuthorAgeFilesLines
* meta-xilinx-standalone: Rework embeddedsw integrationHEADmasterMark Hatle2024-11-2442-138/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce a new embeddedsw-source recipe that is a single point for unpack, and patch of the sources. This will allow someone to universally patch (via a bbappend or similar) the esw sources. As part of this work, we transfered the various patches for fsbl, pmu, plm, and psm to the universe source recipe. Most of this is transparent to any recipe using xlnx-embeddedsw. The class automaticaly detects if the recipe is a user our the special embeddedsw-source recipe and enables the correct behavior. Since the esw sources expect the S and B to be the same, the cmake objects get written into S, we are not able to follow the gcc-source example. Instead recipes that use the xlnx-embeddedsw class will hard link or copy the source files to their working directory. This avoid the penalty for fetch, unpack and patch. Note these recipes may also add their own SRC_URI which WILL be processed as normal. This is often used to introduce special tcl scripts. See the do_copy_shared_src task injected by the xlnx-embeddedsw.bbclass for technical details. Additionally, correct some of the existing patch Upstream-Status entries to conform to current YP guidelines. For 2024.2 introduce a special Xil_Assert fix for the current toolchain which is more strict on type conversion.. See the patch itself for more details. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* various: Remove 2022.x versionsMark Hatle2024-11-2422-569/+0
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* various: Fix variable usageMark Hatle2024-11-2132-32/+32
| | | | | | | | | | Remove most direct references to WORKDIR. S = "${WORKDIR}" is no longer allowed, adjust this to refer to UNPACKDIR ${WORKDIR}/package is also incorrect, adjust to ${PKGD}. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* recipes-bsp: Add lib prefix for rf and dfe recipesSandeep Gundlupet Raju2024-10-0928-84/+84
| | | | | | | | | Add lib prefix for rf and dfe recipes as these recipes names conflicts with multiconfig rf and dfe baremetal drive recipes. Since these are linux libraries add lib prefix to recipes. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* rfdc-examples: Move from recipes-bsp to recipes-appsSandeep Gundlupet Raju2024-10-0913-177/+0
| | | | | | | | Move rfdc-examples recipes from recipes-bsp to recipes-apps as these are linux applications. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* imgrcry: Rework image-recover recipeJohn Toomey2024-09-204-2/+22
| | | | | | | | | | | | Rework the image recover recipe to match image selector. imgrcry is now the top level recipe which will pull in the required version of image-recovery depending on build flow. This change also updates the output file name in a number of places and fixes an issue in image selector. Signed-off-by: John Toomey <john.toomey@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* recipes-bsp: Move all rfsoc apps from petalinux layerSandeep Gundlupet Raju2024-08-2841-0/+1205
| | | | | | | | Move all rfsoc apps from meta-petalinux layer as these apps are independent of xsct or sdt builds. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* image-selector: Add SDT image selector recipeJohn Toomey2024-08-162-0/+20
| | | | | | | | Also add imgsel wrapper allowing for the correct image-selector recipe to be built depending if the XSCT or SDT flow is in use Signed-off-by: John Toomey <john.toomey@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* various: Remove SOC_VARIANT, split versal and versal-net, add machine_featuresMark Hatle2024-06-042-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | SOC_VARIANT has been remove, we are now only using the YP standard SOC_FAMILY configuration. The defined families are: zynq, zynqmp, versal and versal-net. Our decision of breaking up versal-net from versal, is based on the SoC CPU changes from cortexa72/r5 to cortexa78/r52, thus we're treating it as a different SoC family. In order to capture the individual capabilities that we used to handle via SOC_VARIANT, we have defined the following features (some may have been previously defined): - mali400 (zynqmp eg and ev) - vcu (zynqmp ev) - rfsoc (zynqmp dr RF capabiltiies) - aie - (versal ai & premium) - vdu - (versal ai) SOC_VARIANT_ARCH and SOC_FAMILY_ARCH are now obsolete and replaced by MACHINE_ARCH. This is based on the guideline that any recipes that use MACHINE_FEATURES should be MACHINE_ARCH specific. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* embeddedsw: Rework fsbl, pmu, plm and psm codeMark Hatle2024-05-2881-1207/+962
| | | | | | | Clenaup and rework the code so that the 'generic' implementation no longers affects xsct, or SDT (or future) variations. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone: Remove obsolete entries, move override into sdt layerMark Hatle2024-05-281-7/+0
| | | | | | | | | | DTC_FLAGS and DT_INCLUDE should only be defined within the context of the layer providing the device tree components. It is obsolete in the generic case. Spit the COMPATIBLE_HOST, xilinx-freertos belongs in the SDT layer. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* device-tree: Remove obsolete COMPATIBLE_MACHINEMark Hatle2024-05-282-9/+0
| | | | | | These machines have not been defined for a while, remove them. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone: adjust bbappends for YP best practicesMark Hatle2024-05-2810-105/+110
| | | | | | | Ensure that each bbappend only applies when XILINX_WITH_ESW or a related DISTRO is enabled. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone: Create 2024.2 recipesMark Hatle2024-05-214-0/+84
| | | | | | | Adjust the way the PREFERRED_VERSION happens to allow us to use the same login in layers that depend on this one. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* WIPMark Hatle2024-04-0417-68/+632
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* Merge remote-tracking branch 'xilinx/rel-v2024.1' into master-nextMark Hatle2024-03-264-0/+90
|\ | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * meta-xilinx-standalone: Branch embeddedsw integration to 2024.1Mark Hatle2023-08-294-0/+90
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | Merge remote-tracking branch 'origin/rel-v2023.2' into nanbieldMark Hatle2023-10-234-0/+90
|\| | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * Start 2023.2 developmentMark Hatle2023-03-084-0/+90
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | Merge remote-tracking branch 'origin/rel-v2023.1'Mark Hatle2023-05-1810-4/+330
|\| | | | | | | | | | | | | Resolved conflicts Preserved 2022* versions 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>
* | fsbl-firmware: Update integrationMark Hatle2023-04-101-1/+1
| | | | | | | | | | | | | | | | Set COMPATIBLE_HOST more loosely to allow for baremetal builds. Update processing to use OBJCOPY and add additional deploy names. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | embeddedsw: Disable buildpaths QA check for embeddedsw firmwareSandeep Gundlupet Raju2023-04-104-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-04-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>
* | meta-xilinx-standalone: Sync embeddedsw and git versionMark Hatle2023-04-104-109/+10
|/ | | | | | Update the integration to match latest changes. 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>