summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone-sdt/recipes-bsp
Commit message (Collapse)AuthorAgeFilesLines
* meta-xilinx-standalone: Rework embeddedsw integrationHEADmasterMark Hatle2024-11-242-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Fix variable usageMark Hatle2024-11-214-13/+13
| | | | | | | | | | 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>
* imgrcry: Rework image-recover recipeJohn Toomey2024-09-201-0/+18
| | | | | | | | | | | | 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>
* device-tree: Move bbappend to correct dirJohn Toomey2024-09-191-0/+0
| | | | | Signed-off-by: John Toomey <john.toomey@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* image-selector: Remove unnecessary PROVIDESJohn Toomey2024-09-161-2/+1
| | | | | Signed-off-by: John Toomey <john.toomey@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-sdt: sdt-artifacts: Support the old format for local ↵Mark Hatle2024-09-131-1/+4
| | | | | | | | | | | files To aid the transition to the new SDT_URI, provide a compatible way to use the previous SYSTEM_DTFILE_DIR and a fallback. Note, this will only work for local files. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-sdt: sdt-artifacts: Rework to implment SDT_URIMark Hatle2024-09-133-113/+78
| | | | | | | | | | | | | | | | | | Rename to a version-less component. We're not tied to a specific version of Vivado for this. Replace SDT_PROT, SDT_PATH, SDNAME and SDT_FILENAME with: SDT_URI - URI for the system device tree download SDT_URI[sha256sum] - sha256 for the file refernced in SDT_URI SDT_URI[S] - Specific extracted S(OURCE) dir (optional) If SDT_URI is a local directory, SDT_URI[sha256sum] is not required. SDT_URI[S] must be set if the component is extracted into a subdirectory of ${WORKDIR}. Most configurations will likely need this. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* device-tree.bbappend: Move kria specific DT_INCLUDE to meta-kriaRaju Kumar Pothuraju2024-09-041-1/+0
| | | | | | | Move kria specific DT_INCLUDE to meta-kria Signed-off-by: Raju Kumar Pothuraju <rajukumar.pothuraju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-sdt: fsbl-firmware: Fix dependencies on sdt-artifactsMark Hatle2024-09-041-6/+6
| | | | | | Additionally rework the fsbl-firmware's access to the PSU_INIT files. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* image-selector: Add missing manifest generationJohn Toomey2024-08-271-0/+4
| | | | | Signed-off-by: John Toomey <john.toomey@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-sdt: base-pdi: Use PDI_PATH_DEPENDS for pdi sourceMark Hatle2024-08-251-1/+2
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-sdt: base-pdi: Move from meta-amd-adaptive-socsMark Hatle2024-08-252-0/+17
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* sdt-artifacts: Only copy if the SDT_FILE_NAME is definedMark Hatle2024-08-161-1/+1
| | | | | | | | This resolves an issue when SDT_FILE_NAME is not set that results in: cp: cannot copy a directory, '.../tmp/work/.../sdt-artifacts/2024.2//image', into itself, '.../tmp/work/.../sdt-artifacts/2024.2/image/usr/share/sdt/zynqmp-generic/image' Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* fsbl-firmware_sdt.inc: Add support to fetch cached ps init filesSandeep Gundlupet Raju2024-08-161-25/+10
| | | | | | | | | | Add support to fetch cached ps init files from sdt-artifacts repo. Also make sdt-artifacts as conditional DEPENDS. Set USE_SDT_ARTIFACTS variable to "1" in machine file, if SDT artifacts are used from repo. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* sdt-artifacts: Recipe to clone sdt artifactsSandeep Gundlupet Raju2024-08-162-0/+113
| | | | | | | | | | | This recipe will provide a feature to clone sdt artifacts using https, http and file protocol. sdt artfacts will be downloaded and extract to SYSROOT_DIRS(/usr/share) directory. Machine conf files and other recipes are use this sdt artifacts such as PDI_PATH, SYSTEM_DTFILE paths. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* device-tree: Add dir include required for SDT flowJohn Toomey2024-08-161-0/+2
| | | | | Signed-off-by: John Toomey <john.toomey@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* image-selector: Add SDT image selector recipeJohn Toomey2024-08-161-0/+45
| | | | | | | | 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>
* fsbl-firmware_sdt: Add support for zynq-7000 sdt fsblSandeep Gundlupet Raju2024-08-081-14/+22
| | | | | | | Add support for zynq-7000 sdt fsbl builds. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-sdt: Sync with latest meta-xilinx-standalone changesMark Hatle2024-05-2814-243/+89
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone: Remove obsolete entries, move override into sdt layerMark Hatle2024-05-281-0/+1
| | | | | | | | | | 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>
* meta-xilinx-standalone-sdt: Rename from ...-experimentalMark Hatle2024-05-2810-0/+380
Add symlink to old name for temporarily compatibility. Signed-off-by: Mark Hatle <mark.hatle@amd.com>