summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* meta-xilinx-mali400: xf86-video-armsoc: Only apply when libmali-xlnx is enabledscarthgapMark Hatle2025-05-081-2/+5
| | | | | | | | | The patches add acceleration optimizations to the build, but should only be enabled if libmali-xlnx is going to be used. So switch based on DEPENDS, and then adjust the DEPENDS to be switched based on the PREFERRED_PROVIDER of virtual/libgles1. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xf86-video-armsoc: Move mali400 changes from meta-xilinx-core to ↵Mark Hatle2025-05-084-7/+9
| | | | | | meta-xilinx-mali400 Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* zynqmp-common: Remove vcu machine featureChristian Kohn2025-05-081-1/+1
| | | | | | | | Remove vcu machine feature from zynqmp-common machine as there is no CG or DR device with a VCU. Signed-off-by: Christian Kohn <chris.kohn@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* util-linux: carry the version from upsream masterTrevor Woerner2025-05-0818-2/+1141
| | | | | | | | | | | | | | | | | | wic uses the sfdisk(-native) utility from the util-linux project. Adding support for 4k sectors requires a version of sfdisk that can handle variable-sized sectors specified on the command-line. The version of sfdisk in scarthgap (2.39.3) does not have this feature, but the version in master (2.40.4) does. Signed-off-by: Trevor Woerner <trevor.woerner@amd.com> The microblaze util-linux patch needs to be updated for 2.40 as well. Move existing integration to specifically target the Poky version, while a new 2.40 version is created. This should allow either version if the user decided to use PREFERRED_VERSION. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* wic: add support for sector size to sfdiskTrevor Woerner2025-05-081-6/+6
| | | | | | | | | | Recent versions of the 'sfdisk' utility support non-512 byte sized sector sizes by allowing the user to specify the size the wish to use on the command line. Update wic to provide this option in the case where a user wishes to generate an image with a sector size other than 512 bytes. Signed-off-by: Trevor Woerner <trevor.woerner@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* wic: split out partition label from gpt nameTrevor Woerner2025-05-081-4/+3
| | | | | | | | | | | | | | | | | | | | | A partition's label is stored as part of a partition's meta-data. Whether or not labeling is supported depends on the filesystem type and whether or not that type supports labels. GPT partition names, on the other hand, are stored in the GPT table's metadata and only depends on whether or not GPT partitioning is used; support for GPT partition names is not required per-filesystem. In a wks configuration file, the user specifies they want a filesystem label applied to a filesystem by using the '--label <name>' directive. A user specifies they want a GPT partition name applied to a partition using the '--part-name <name>' directive. The wic code conflates these two and sets a partition's GPT name in either case when a user specifies '--part-name <name>' (correct) and '--label <name>' (not correct). Signed-off-by: Trevor Woerner <trevor.woerner@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* Remove 2022.X files, this work is now obsoleteMark Hatle2025-05-0854-1527/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* device-tree: Fix device-tree include parsingSemyon Barenboym2025-05-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | do_configure adds the EXTRA_DT_INCLUDES files to the DTS using the `/include/` syntax, while Yocto's devicetree.bbclass runs the GCC preprocessor over the resulting DTS file, leaving these include statements untouched (since the GCC preprocessor only follows syntax it recognizes). This patch converts the include syntax to `#include`, ensuring that the preprocessor processes it correctly, following and parsing all included files. This allows a user DTSI to use nested `#include` statements in overlays. e.g.: system-user.dtsi &axi_ad9083_rx_xcvr { sys-clk-select =3D <XCVR_QPLL>; out-clk-select =3D <XCVR_REFCLK_DIV2>; }; Signed-off-by: Semyon Barenboym <semyon.barenboym@abra.co.il> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-mali400: kernel-module-mali: fix do_patch QA issueQuanyang Wang2025-03-3025-12/+25
| | | | | | | Add "Upstream-Status" to the patches to fix do_patch QA issue. Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx: add Upstream-Status to the Xilinx patchQuanyang Wang2025-03-301-0/+1
| | | | | | | | | | This commit is to fix the building error: ERROR: v4l-utils-1.28.1-r0.vr2400 do_patch: QA Issue: Missing Upstream-Status in patch meta-xilinx/meta-xilinx-core/recipes-multimedia/v4l2apps/files/0001-v4l-utils-Add-support-for-new-media-bus-codes.patch Please add according to https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status . [patch-status] Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-core: generic machines: Add arch to -bootbinMark Hatle2025-03-302-2/+2
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-core: qemu-system-aarch64-multiarch: Refactor to support ↵Mark Hatle2025-03-301-17/+59
| | | | | | | | | | | | | | | | | multiple archs Add signal handling for microblze emulation processes. Needed if the APU shuts down unexpectedly. Note, when APU shuts down correctly, the microblaze will return a non-zero code. Ignore this as it leads to a potentially confusing error. Add -bootbin arch:file support, as we need a different 'arch' configuration for future processors. Much of the above was implemented by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-vitis-tc: aarch32-tc: Remove unused multilibsMark Hatle2025-03-301-138/+5
| | | | | | This should save a considerable amount of disk space. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-vitis-tc: meta-xilinx-toolchain: Try to detect invalid configsMark Hatle2025-03-301-0/+6
| | | | | | | | To avoid the user wasting their time on an invalid configuration, attempt to detect a baremetal configuration and tell the user they forgot to select the right DISTRO. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-core: gcc-runtime: Workaround for mingwMark Hatle2025-03-302-0/+8
| | | | | | | | | Mingw32 can fail with libquadmath files not being packaged. This workaround was originally written for PetaLinux, move to meta-xilinx-core. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* 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>
* meta-xilinx-core: image_types_ufs: Workaround psseudo issueMark Hatle2025-03-301-1/+2
| | | | | | | | When two different wic session access the files at the same time, pseudo aborts have been observed. Serializing the wic and wic.ufs works around this issue. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* wic: update to the variable sector versionTrevor Woerner2025-03-301-2/+2
| | | | | | | | | The wic tool now has the ability to take a command-line argument specifying the sector size to use. Switch to this version to build so we no longer need separate wic programs for 512 and 4k. Signed-off-by: Trevor Woerner <trevor.woerner@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xf86-video-armsoc: update driver name for armsoc driverAshish Kumar Vishwakarma2025-03-302-0/+30
| | | | | | | Updating DP driver name Signed-off-by: Ashish Kumar Vishwakarma <ashishkumar.vishwakarma@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* linux-xlnx-dev: Remove unused recipeJohn Toomey2025-03-301-18/+0
| | | | | | | | | | This recipe has not been updated in a number of years and is not currently buildable. Remove the recipe to prevent confusion. Signed-off-by: John Toomey <john.toomey@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-core: add ufs wic supportTrevor Woerner2025-03-301-0/+209
| | | | | | | | | | | | | | | | Add the ability to create *.wic.ufs (etc.) images that use a 4096-byte sector/block size. This solution uses the local layer version of wic and passing in --sector-size 4096 when calling the fork of wic in this layer. (currently only supports ext and vfat) Signed-off-by: Trevor Woerner <trevor.woerner@amd.com> Revised commit message and some integration details Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* wic: add --sector-size cmdline arg to createTrevor Woerner2025-03-305-16/+29
| | | | | | | | | | | | | | Add a command-line argument, --sector-size <N>, to wic's "create" subcommand and allow it to propagate throughout the wic code so it can be used when generating a wic image. Signed-off-by: Trevor Woerner <trevor.woerner@amd.com> Added scripts/lib/scriptpath.py change. Updated the wic version to make it clear it's from this layer. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-core: Bring in a copy of wic from pokyMark Hatle2025-03-3071-0/+18957
| | | | | | | Import a copy of wic and lib/oe as of poky commit: 8f74fa4073d4b2ba8e0d9559aa654f3cafcf373a Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-core: qemu-system-aarch64-multiarch: Move sanity checksMark Hatle2025-03-301-17/+17
| | | | | | | | Before the user may have been forced to specify certain parameters, even if they wanted to just use --help. Move the sanity checks after the help check to avoid unnecessary warnings and errors. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* extract-cdo: Use boot files dump optionSandeep Gundlupet Raju2025-03-301-5/+5
| | | | | | | | Use -dump boot_files option to extract all the required boot files for QEMU boot. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-core: common machines: Update DEFAULTTUNEChristian Kohn2025-03-303-3/+3
| | | | | | | | | Update DEFAULTTUNE for all aarch64 based common machines to cortexa72-cortexa53 to align with Marketing requirements. Signed-off-by: Christian Kohn <chris.kohn@amd.com> Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* extract-cdo: Adjusted to use an intermediate defaultSandeep Gundlupet Raju2025-03-301-2/+5
| | | | | | | | Adjusted to use an intermediate default BOOTGEN_ARCH, so that no override is required. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> 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.
* meta-vitis-tc: Add wic to qemu SDKMark Hatle2025-03-301-0/+3
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-core: wic: Add stand-alone non-create versionMark Hatle2025-03-301-0/+12
| | | | | | | | | The stand-alone, non-create version of wic is available from git.yoctoproject.org, use this stripped-down version. Based on work from: Trevor Woerner <trevor.woerner@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* nativesdk-qemu-xilinx-multiarch-helper: Add RDEPENDS on nativesdk qemuMark Hatle2025-03-301-0/+2
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* 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>
* Rework recipe SECTIONs to remove PETALINUXJohn Toomey2025-03-303-3/+3
| | | | | | | | Signed-off-by: John Toomey <john.toomey@amd.com> Also expanded the DESCRIPTION of 'ISP' Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-vitis-tc: meta-qemu-xilinx: Restrict runqemu and related to LinuxMark Hatle2025-03-301-4/+9
| | | | | | | | | | | | runqemu and related support requires a Linux host operating system to work. We still want to be able to export a QEMU binary for use on Windows, but the wrapper scripts and related will still require Linux. The dependencies are primarily related to python3, as well as bootgen's xcrypt not being available for mingw32. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* qemu-system-aarch64-multiarch: Use boot_files to dump imagesSandeep Gundlupet Raju2025-03-301-3/+4
| | | | | | | | | | | Use boot_files to dump images all the images and remove bh, plm and pcm_cdo dump options. Also add print messages for plm and pmc_cdo load address which helps for debugging. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* versal-generic: Update QEMU_HW_FW_FILES argumentsSandeep Gundlupet Raju2025-03-301-2/+2
| | | | | | | | | | | | | | Fix runqemu QEMU MB instance below warnings. qemu-system-microblazeel: -device loader,file=/scratch/sandeep/yocto/2025.1/yp-bc/build/tmp/deploy/images/versal-vek280-sdt-seg/BOOT-versal-vek280-sdt-seg_bh.bin,addr=0xF201E000,force-raw: warning: short-form boolean option 'force-raw' deprecated Please use force-raw=on instead qemu-system-microblazeel: -device loader,file=/scratch/sandeep/yocto/2025.1/yp-bc/build/tmp/deploy/images/versal-vek280-sdt-seg/CDO/pmc_cdo.bin,addr=0xf2000000,force-raw: warning: short-form boolean option 'force-raw' deprecated Please use force-raw=on instead So use "force-raw=on" in QEMU_HW_FW_FILES arguments. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-core: python3-pybind11Mark Hatle2025-03-301-1/+1
| | | | | | Add nativesdk to BBCLASSEXTEND to match meta-openembedded Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* device-tree: Disable meta-virtualization xen DTSI and apply it only for LinuxMark Hatle2025-03-308-0/+276
| | | | | | | | In meta-virtualization, when used with meta-xilinx-core, the XEN dtsi was always enabled, even in a non-Linux based build. This caused compilation issues as cortex-r5 and other CPUs are missing required parameters for Xen. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-core: common machines: Fix typoMark Hatle2025-03-305-5/+5
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* qemu-devicetrees: Fix nativesdk & target case to not deployMark Hatle2025-03-301-1/+6
| | | | | | | deploy should only be performed in the native case, otherwise a conflict and error can occur. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-vitis-tc: meta-qemu-xilinx: Add runqemu, helpers, qemu device-trees, etc.Mark Hatle2025-03-301-4/+13
| | | | | | | | | | | Allow the qemu SDK to have full access to all of the runqemu related work. This will allow someone with the SDK to use runqemu with a qemuboot.conf file. Remove 'unset OECORE_NATIVE_SYSROOT', this should only be in buildtools-tarball, not in a regular SDK. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-core: Add qemuboot-tool to help process qemuboot.conf filesMark Hatle2025-03-303-0/+109
| | | | | | | | | | | | | | | Used to combine multiple qemuboot.conf files, non-blank values replace prior values. ./qemuboot-tool: <command> <argument> ... load <file> - load a new file merge <file> - load and fill any new/empty variables remove <var> - Remove a variable Commands can be chained, such as: load file1 remove val1 merge file2 Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-core: machines: Refactor QB_* to use dynamic pathsMark Hatle2025-03-303-22/+22
| | | | | | | | Instead of using the hard coded path, ${DEPLOY_DIR_IMAGE} we should be using @DEPLOY_DIR_IMAGE@ where applicable. The exception is QB_DTB where the qemuboot.conf export function will sanitize the path for us. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-core: machine-xilinx-qemu.inc: Clear default QB_SERIAL_OPTMark Hatle2025-03-301-0/+1
| | | | | | | | On AMD FPGA SoC machines, we almost always include the serial port options with the core QB_OPT_APPEND value. If a machine requires QB_SERIAL_OPT it can override them. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-core: xilinx-bootbin: Generate qemuboot.conf fileMark Hatle2025-03-301-0/+8
| | | | | | | | | In the same way that an image recipe would generate a qemuboot.conf, also generate one for the boot.bin. This will allow us to use runqemu with just the boot.bin, as well as merge boot.bin specific items with common (non-machine specific) filesystem qemuboot.conf. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-core: Move APU qemu hw-dtb to QB_DTBMark Hatle2025-03-304-3/+13
| | | | | | | This will allow the caller of runqemu to override the APU's qemu dtb using the standard DEVICE_TREE environment option to runqemu. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-core: qemu-multiarch-helper: Support -dtb as -hw-dtb analog for APUMark Hatle2025-03-301-0/+23
| | | | | | | | | | | | To ensure it is easier to override the APU device-tree, support -dtb as an analog for -hw-dtb to the APU. Additionally, runqemu needs to define a kernel to pass -dtb, so ignore the -kernel parameter as it doesn't do anything in the system emulated APU. Also check and error if an APU DTB is not passed in, either via -dtb or -hw-dtb. This can cause qemu to lock up, try to prevent this error. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-core: Adjust QB_PMU and QB_PLM to QEMU_HW_ prefixMark Hatle2025-03-303-8/+8
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-core: Rename QB_OSPI_FILE and QB_HW_FILE to prefix QEMU_HW_...Mark Hatle2025-03-303-10/+9
| | | | | | Adjust the qemu-system-aarch64-multiarch script to remove reference to these. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-core: Clear QB_* values for common machinesMark Hatle2025-03-305-0/+65
| | | | | | | | The common machine are missing the necessary boot firmware, so clear the QB (qemu) settings. This will make it easier to 'merge' in the board specific configurations, where applicable. Signed-off-by: Mark Hatle <mark.hatle@amd.com>