summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone/recipes-bsp
Commit message (Collapse)AuthorAgeFilesLines
* Remove 2022.X files, this work is now obsoleteMark Hatle2025-05-0824-603/+0
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone: embeddedsw: Correct 2024.2 pmufw patchMark Hatle2025-03-303-6/+1
| | | | | | | | | | | | | | | | | | The commit: commit 4b39c6111b965ddd43b899302f9f41d49cec47c4 Author: Jonathan Stroud <jonathan.stroud@amd.com> Date: Wed Jan 15 16:31:24 2025 -0700 Backport pmufw fix to 2024.2 that fixes a bug in GEM IO register mapping PMU FW has a bug that stomps on the MIO registers when intializing GEM. Backport this patch from master to 2024.2 builds was applied incorrectly due to recent changes in the way the software was being patched. Correct this and match the current embeddedsw-source implementation. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* embeddedsw: Replace 'cp' with 'install' to avoid damaged shared sourceMark Hatle2025-03-3028-28/+28
| | | | | | | | | | | | | | | | | 'cp' is not always replacing an existing file, but appears to sometimes change the file. This is not normally an issues but when using shared-source and files that are hardlinks, we need to do a Copy-on-Write style operation which install does by default. Adjust all instances of: cp Makefile.Linux Makefile with: install Makefile.Linux Makefile Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* psmfw: Remove psmfw.bin supportRaju Kumar Pothuraju2025-03-302-13/+2
| | | | | | | | | | | We are using psmfw.elf in all flows to build and boot. Remove the psmfw.bin dependency or support from psmfw recipe. Use below command to generate the .bin from .elf. objcopy -O binary psm-$MACHINE.elf psm.bin Signed-off-by: Raju Kumar Pothuraju <rajukumar.pothuraju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* pmufw.bb: Remove pmufw.bin supportRaju Kumar Pothuraju2025-03-302-12/+2
| | | | | | | | | | | We are using pmufw.elf in all flows to build and boot. Remove the pmufw.bin dependency or support from pmufw recipe. Use below command to generate the .bin from .elf. objcopy -O binary pmu-$MACHINE.elf pmu.bin Signed-off-by: Raju Kumar Pothuraju <rajukumar.pothuraju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* plmfw: Remove plmfw.bin supportRaju Kumar Pothuraju2025-03-302-11/+2
| | | | | | | | | | | We are using plmfw.elf in all flows to build and boot. Remove the plmfw.bin dependency or support from plmfw recipe. Use below command to generate the .bin from .elf. objcopy -O binary plm-$MACHINE.elf plm.bin Signed-off-by: Raju Kumar Pothuraju <rajukumar.pothuraju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone: Rework embeddedsw integrationMark Hatle2025-03-3046-144/+172
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 or 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>
* Backport pmufw fix to 2024.2 that fixes a bug in GEM IO register mappingJonathan Stroud2025-01-203-0/+60
| | | | | | | | PMU FW has a bug that stomps on the MIO registers when intializing GEM. Backport this patch from master to 2024.2 builds Signed-off-by: Jonathan Stroud <jonathan.stroud@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* esw-conf: Move from sdt workflow to genericMark Hatle2024-12-082-0/+62
| | | | | | | esw-conf is required by some gen-machine-conf workflows, so it should always be available for the user. 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>