summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone-sdt
Commit message (Collapse)AuthorAgeFilesLines
* meta-xilinx-standalone: Rework embeddedsw integrationHEADmasterMark Hatle2024-11-244-18/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* layer.conf: Move from scarthgap to styhead walnascar, bring in old recipes ↵Mark Hatle2024-11-241-1/+1
| | | | | | | | | for parse binutils-2.42 and gstreamer-1.22.12 were pulled in from the latest poky scarthgap, as of commit dce4163d42f7036ea216b52b9135968d51bec4c1. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* various: Fix variable usageMark Hatle2024-11-2125-92/+92
| | | | | | | | | | 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>
* meta-xilinx-standalone-sdt: Make libmetal/open-amp optionalMark Hatle2024-11-183-0/+8
| | | | | | | | | | | | | Currently this requires a meta-openamp fork to function properly as the necessary changes have not yet been sent upstream. The fork and branch are: https://github.com/Xilinx/meta-openamp branch: 2024.2 Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* README.sdt.mc.build.md: Add SDT MC build instructionsSandeep Gundlupet Raju2024-11-041-0/+40
| | | | | | | Add SDT Multiconfig baremetal or FreeRTOS build instructions. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* README.sdt.bsp.md: Update instructionsSandeep Gundlupet Raju2024-10-251-15/+6
| | | | | | | | Update README.sdt.bsp.md instructions as README.building.md got updated to fix meta-openamp layer depedency. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* README.sdt.bsp.md: Add SDT build instructionsSandeep Gundlupet Raju2024-10-221-39/+165
| | | | | | | | | 1. Move all SDT build instruction from README.md to README.xsct.bsp.md 2. Add instructions for generating SDT machine configuration files for custom board or design sdt files. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* README.md: Update meta-xilinx-standalone-sdt docs to scarthgapSandeep Gundlupet Raju2024-10-221-162/+14
| | | | | | | | 1. Update meta-xilinx-standalone-sdt docs to scarthgap. 2. Move SDT build instructions to README.sdt.bsp.md Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* recipes-drivers: Update logic to support conditional build of dsitxssKunal Rane2024-10-111-1/+3
| | | | | | | | recipe for dsitxss is made conditional so that it compiles its subcores only if they are available. Signed-off-by: Kunal Rane <kunal.rane@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-sdt: xilinx-freertos: Add xilinx-standalone overrideMark Hatle2024-10-021-0/+3
| | | | | | | | By default the system restricts newlib and other components to xilinx-standalone distribution configuration. xilinx-freertos needs the same override in order for newlib, and other components to be available. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* recipes-drivers: Update logic to support conditional building of MIPI subcoresKunal Rane2024-09-292-2/+4
| | | | | | | | | | MIPI CSI RX SS has dphy subcore which can be optinal to enable in the SS. Meanwhile DSI TX SS has it compulsory. Also added support for MIPI RX PHY and TX PHY Signed-off-by: Kunal Rane <kunal.rane@amd.com> Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
* meta-xilinx-standalone-sdt: recipes-libraries: xilpm: Allow user to set ↵Madhav Bhatt2024-09-241-1/+24
| | | | | | | | | | xilpm library parameters Add handling block so that consumer of xilpm can set library options using some custom flags. Signed-off-by: Madhav Bhatt <madhav.bhatt@amd.com> 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>
* various: meta-xilinx-standalone-experimental renamed to ↵Mark Hatle2024-09-202-2/+2
| | | | | | meta-xilinx-standalone-sdt 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>
* recipes-drivers: Update condition for subcores in multimedia recipesKunal Rane2024-09-168-7/+19
| | | | | | | | HDCP subcores to be included only if its enabled in the subsystem. Updated conditional inclusion of the same in the DP and HDMI recipes. Signed-off-by: Kunal Rane <kunal.rane@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>
* layer.conf: Remove the default XILINX_WITH_ESW valuesMark Hatle2024-09-131-3/+0
| | | | | | | | It is now up to the machine .conf files to define the way the ESW software will be built. 'xsct' or 'sdt' is the usual setting. Subsequent changes will adjust the default BSPs with correct defaults. 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>
* recipes-drivers: Support for multimedia recipesKunal Rane2024-09-0454-9/+642
| | | | | | | | Adding support for multimedia baremetal driver recipes to compile fsbl-firmware. Signed-off-by: Kunal Rane <kunal.rane@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>
* openamp-fw.inc: Update OPENAMP_FW_DEPLOY_DIR to no BPNBen Levinsky2024-08-251-1/+1
| | | | | | | OpenAMP recipe now deploys without BPN. So the variable should account for this. Signed-off-by: Ben Levinsky <ben.levinsky@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-sdt: Enable SDT only if no other flow enabled by defaultMark Hatle2024-08-251-1/+1
| | | | 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>
* openamp-fw.inc: Update OPENAMP_FW_DEPLOY_DIRRaju Kumar Pothuraju2024-08-161-3/+2
| | | | | | | | | Using TOPDIR will fail when TMPDIR redirected to different location than the default one. Use TMPDIR instead of TOPDIR and add open-amp-xlnx directory suffix as per the recent open-amp recipe changes. Signed-off-by: Raju Kumar Pothuraju <rajukumar.pothuraju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-sdt: recipes-applications: peripheral-tests: Add ↵Appana Durga Kedareswara rao2024-08-141-1/+1
| | | | | | | | | missing slash in the do_compile Add the missing slash(\) while generating the bin file. 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-sdt: classes-recipe: esw: Generate lopper meta-data ↵Appana Durga Kedareswara rao2024-08-141-6/+1
| | | | | | | | | | directly into the source folder itself Pass -O option to the lopper command so that all the required artifacts will be copied to the source folder and no need to do explict copy. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* README.md: Add instructions for Zynq-7000 SDT buildSandeep Gundlupet Raju2024-08-081-22/+29
| | | | | | | Add instructions for Zynq-7000 system device tree build. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@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>
* recipes-libraries: Add recipe for xilrsaSandeep Gundlupet Raju2024-08-082-0/+30
| | | | | | | | Add recipe for xilrsa library, Also zynq-7000 fsbl depends on this library. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-sdt: openamp-fw: Expand error message / Fix pathMark Hatle2024-08-051-2/+16
| | | | | | | | | Make it clear the package can't not be built if the specified multiconf is not available in the users configuration. Also fix the default deploy path. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xilffs_2024.2: added bsp configuration required for versal_plmNandanikhil Gajulapally2024-07-311-0/+2
| | | | | | | | | | | | | add missing xilffs bsp configuraiton required for versal_plm to boot from SD1 controller in eMMC1 boot mode when the design has both the controllers enabled. Signed-off-by: Nandanikhil Gajulapally <nandanikhil.gajulapally@amd.com> Apply existing commit 41be3639ea7b0009adeda889bb3ff7916403a245 to 2024.2 version of the recipe. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-sdt: openamp-fw: Update to work with latestBen Levinsky2024-07-281-8/+12
| | | | | | | | There is issue with installing firmware. Update path to work with scarthgap update. Signed-off-by: Ben Levinsky <ben.levinsky@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-sdt: Added recipes for aienginev2 & aiefalJaydip Patel2024-06-252-0/+74
| | | | | | | | | | | Added aienginev2 and aiefal recipes to support AIENGINE in baremtal decoupling flow. AIENGINE v2 is not dependent on ESW repo. It fetches aie-rt repo & compile yocto baremtal driver. Updated latest SRCREV of main-aie branch as there is dependency on CMake APIs to build AIENGINE driver. Signed-off-by: Jaydip Patel <jaydip.patel@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* sanity-meta-xilinx-standalone-sdt.bbclass: Fix sanity checkMark Hatle2024-06-201-4/+4
| | | | | | | | The sanity check was based on the example from meta-security. However, the function was not renamed. This could have caused the meta-security version to be run instead. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-sdt: Fix warning disableMark Hatle2024-06-171-1/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* open-amp-xlnx: Fix parse error when SDT is enabledMark Hatle2024-06-041-1/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* various: Remove SOC_VARIANT, split versal and versal-net, add machine_featuresMark Hatle2024-06-041-17/+10
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* meta-xilinx-standalone-sdt: esw.bbclas: Avoid exceptionMark Hatle2024-06-031-1/+1
| | | | | | | | When the glob '*_g.c' does not exist in the source code an exception could occur. Avoid this by checking if any files were found before looking for the first file. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-sdt: layer.conf: temporary workaroundMark Hatle2024-05-291-1/+1
| | | | | | | Set a default value for XILINX_WITH_ESW until gen-machine-conf can be adjusted. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-sdt: Sync with latest meta-xilinx-standalone changesMark Hatle2024-05-2820-486/+366
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>