summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone-sdt
Commit message (Collapse)AuthorAgeFilesLines
* meta-xilinx-standalone-sdt: check_sdt_enabled.bbclass: Update messageMark Hatle2025-03-301-1/+1
| | | | | | | The message should refer to 'recipe' not 'package'. While subtle, 'package' could confuse someone. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* Revert "iperf3: backport upstream patch"Mark Hatle2025-03-303-25/+0
| | | | | | This reverts commit 876f1d5c8f20071832d908c72dd8ce24fb09aa9e. Fix now upstream.
* iperf3: backport upstream patchTrevor Woerner2025-03-303-0/+25
| | | | | | | | | | | | The team working on the XXV + EOE implementation (25G PL Ethernet using SFP+) observed a bug in iperf3 which causes a roughly 50% drop in the bitrate (from 9.57Gbps down to 5.35Gbps). On scarthgap iperf3 is at version 3.16; this bug is fixed in version 3.18. Instead of bumping the entire code base to 3.18 it would be safer to simply apply the fix for this bug onto 3.16 instead. Link: https://github.com/esnet/iperf/pull/1708/commits/ac6b9f7fd335ddebc5212eed40083ef4cd3cb86d Signed-off-by: Trevor Woerner <trevor.woerner@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* psmfw: Remove psmfw.bin supportRaju Kumar Pothuraju2025-03-301-6/+0
| | | | | | | | | | | 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-301-6/+0
| | | | | | | | | | | 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-301-6/+0
| | | | | | | | | | | 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>
* esw: Add CMAKE_SUBMACHINE supportSandeep Gundlupet Raju2025-03-301-0/+3
| | | | | | | | For some platforms we need to set both CMAKE_MACHINE and CMAKE_SUBMACHINE for esw component to build. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone: Rework embeddedsw integrationMark Hatle2025-03-302-13/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Merge remote-tracking branch 'origin/rel-v2024.2' into scarthgap-nextMark Hatle2025-03-302-62/+0
|\ | | | | | | Merge in latest 2024.2 changes
| * esw-conf: Move from sdt workflow to genericMark Hatle2024-12-082-62/+0
| | | | | | | | | | | | | | 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>
* | 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>