summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* qemu-system-aarch64-multiarch: Add support for custom machine pathSandeep Gundlupet Raju2025-03-301-4/+26
| | | | | | | | | | | | | | | | | | | | | | | | | For some use case user would like to provide custom machine path for qemu boot. By default we will create a temporary files using the tempfile.mkdtemp method, when user provides a custom machine path from runqemu command line args then skip the tempfile.mkdtemp method. Here is how user can specify a custom machine path from qemuparams option. $ runqemu nographic qemuparams="-machine-path /<custom-mach-path>" Also note when using custom machine path its user responsibility to clean that path before running the runqemu launch. QEMU machine-path option is a socket path. Being a socket path it’s limited to a max of 107 characters. Since we’re passing in a path, the socket itself is part of the path so it’s probably closer to 90 characters. Also add missing Copyright and SPDX-License-Identifier. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* bmap-writer: Backport bmap-writer and libtinyxml2John Toomey2025-03-303-0/+70
| | | | | | | Backport bmap-writer recipe from meta-openembedded master Signed-off-by: John Toomey <john.toomey@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xilinx-bootbin: Add apu subsystem attribute to bifSandeep Gundlupet Raju2025-03-301-1/+1
| | | | | | | | Add apu_ss attibute name to versal bif files as this is required linux power management which is enabled by default in kernel defconfig. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* qtbase: Enable examples and other packageconfigSandeep Gundlupet Raju2025-03-301-0/+7
| | | | | | | | Enable examples and other packageconfig which is required for packagegroup-xilinx-qt. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-core: embeddedsw: Add workaround for mcdependsMark Hatle2025-03-306-0/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Multiconfig dependencies are configured to be specific to a single from and to multiconfig, for example: mc:default:xilinx-image-recovery:core-image-tiny-initramfs:do_image_complete The above says, when in the 'default' multiconfig, we depend on the 'xilinx-image-recovery' multiconfig, and need to run the do_image_complete task within the core-image-tiny-initramfs recipe. Two workarouns are present, the first adjusts: mc::to_mc:recipe:task to be mc:${BB_CURRENT_MC}:to_mc:recipe_task This will allow the mcdependencies produced by gen-machine-conf to wor in any multiconfig the user may have. In the future we will adjust gen-machine-conf to use ${BB_CURRET_MC} instead. Second there is a bug/oversight in bitbake where the BB_CURRENT_MC reports 'default', but the system is expecting '' (blank) when in the default Linux multiconfig. We will do this conversion to avoid any issues. A patch for bitbake is in progress. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone: xlnx-embeddedsw.bbclass: Fix shared source_date_epochMark Hatle2025-03-301-0/+22
| | | | | | | We need to create a custom do_deploy_source_date_epoch to copy the file from the shared location, where applicable. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* python3-pybind11: switch from pypi to cmakeTrevor Woerner2025-03-301-2/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both python3-pybind11 and python3-pybind11-json exist in upstream meta-oe. However, as part of another task, when python3-bokeh_3.5.1 was updated one of its dependencies (python3-contourpy_1.2.1) required a newer version of python3-pybind11 than what was available in meta-oe scarthgap. A second task now needs python3-pybind11-json as well, which has a dependency on python3-pybind11. With the old: inherit pypi python_setuptools_build_meta python3-pybind11-json was not able to find python3-pybind11 during its configure stage: | CMake Error at CMakeLists.txt:26 (find_package): | By not providing "Findpybind11.cmake" in CMAKE_MODULE_PATH this project has | asked CMake to find a package configuration file provided by "pybind11", | but CMake did not find one. | | Could not find a package configuration file provided by "pybind11" | (requested version 2.2.4) with any of the following names: | | pybind11Config.cmake | pybind11-config.cmake | | Add the installation prefix of "pybind11" to CMAKE_PREFIX_PATH or set | "pybind11_DIR" to a directory containing one of the above files. If | "pybind11" provides a separate development package or SDK, be sure it has | been installed. Switching to: inherit cmake python_setuptools_build_meta fixes this issue and allows the python3-pybind11-json recipe from upsream meta-oe to configure (and build) successfully. Signed-off-by: Trevor Woerner <trevor.woerner@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* cdo-deploy: Create separate recipe to deploy cdo filesRaju Kumar Pothuraju2025-03-301-0/+33
| | | | | | | | | | | Create recipe to deploy cdo files from system-device-tree dir to deploy dir. bootgen will fail if the image path in the bif is larger, this will fix that issue by using images from deploy dir. Signed-off-by: Raju Kumar Pothuraju <rajukumar.pothuraju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* packagegroup-xilinx-x11: Add x11 packagegroupJohn Toomey2025-03-301-0/+17
| | | | | Signed-off-by: John Toomey <john.toomey@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* embeddedsw: Replace 'cp' with 'install' to avoid damaged shared sourceMark Hatle2025-03-3029-29/+29
| | | | | | | | | | | | | | | | | '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>
* meta-vitis-tc: riscv-tc: Enable medany memory modelMark Hatle2025-03-301-0/+3
| | | | | | Per request, enable medany memory model with riscv 64-bit and newlib tclibc. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-vitis-tc: riscv-tc: Enable 'b' extension multilibsMark Hatle2025-03-303-37/+102
| | | | | | | | | 'b' extensions require binutils 2.43 or newer. Update the generation script to correctly identify and set the TUNE_FEATURE for riscv 32-bit and 64-bit. This may be needed in the future. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-core: Backport 2.43.1 from styheadMark Hatle2025-03-3024-0/+35918
| | | | | | | | | | | | | | | | In order to support additional risc-v extensions, specifically 'b', binutils 2.43.1 is required. Backport binutils 2.43.1 from styhead as of commit: commit b2cd1dea0459acec76e601987ad4b0661babfcc3 Author: Deepthi Hemraj <Deepthi.Hemraj@windriver.com> Date: Tue Nov 12 04:28:09 2024 -0800 binutils: stable 2.43.1 branch update Set this version as NOT preferred. We do not want to override the regular Scarthgap binutils version unless we explicitly need this version. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* psmfw: Remove psmfw.bin supportRaju Kumar Pothuraju2025-03-304-31/+6
| | | | | | | | | | | 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-305-29/+6
| | | | | | | | | | | 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>
* extract-cdo: Create symlink for pmc_cdo.binSandeep Gundlupet Raju2025-03-301-1/+1
| | | | | | | | Remove installing pmc_cdo.bin to DEPLOYDIR and create pmc_cdo.bin symlink in DEPLOYDIR. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* plmfw: Remove plmfw.bin supportRaju Kumar Pothuraju2025-03-304-28/+6
| | | | | | | | | | | 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>
* mali400: Updated default EGLconfig id for rgb565Parth Gajjar2025-03-301-1/+2
| | | | | | | | RGB565 is default EGL config. So need to update config id to corresponding eglconfig entry. Signed-off-by: Parth Gajjar <parth.gajjar@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* machine-xilinx-versal-net.inc: Update cpu core to a78 for versal-netSandeep Gundlupet Raju2025-03-301-1/+42
| | | | | | | Update cpu core to a78 for versal-net devices. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-multimedia: packagegroup-xilinx-gstreamer: Move to correct directoryMark Hatle2025-03-301-0/+0
| | | | | | | The recipe was put in the wrong directory by mistake, this broke the inclusion of the meta-xilinx-multimedia items. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xilinx-bootbin: Remove hardcoded boot scriptSandeep Gundlupet Raju2025-03-301-1/+1
| | | | | | | | Remove hardcoded boot script and use UBOOT_BOOT_SCRIPT variable for default u-boot boot script. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xen: Add xen-guest-example cfg for Xen DomU guestSandeep Gundlupet Raju2025-03-302-0/+21
| | | | | | | Add xen-guest-example configuration file for Xen DomU guest linux. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* mali400: Added patch for compatibility with 6.12 kernelYash Ladani2025-03-302-0/+135
| | | | | | | | | Added 0030-Update-driver-to-make-it-compatible-with-6.12-kernel.patch Which has shrinker, strscpy and .remove handler related changes to make driver compatible with 6.12 kernel. Signed-off-by: Yash Ladani <yash.ladani@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* u-boot-xlnx-scr: Enable addendum if BOOTMODE is xenSandeep Gundlupet Raju2025-03-302-5/+3
| | | | | | | | Enable SCRIPT_SED_ADDENDUM if BOOTMODE is set to xen by including mxv-xen-boot-cmd inclusion file to u-boot-xlnx-scr bbappend. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* u-boot-xlnx-scr: Adjusted to use an intermediate defaultSandeep Gundlupet Raju2025-03-301-21/+30
| | | | | | | | Adjusted to use an intermediate default for KERNEL, DEVICETREE and RAMDISK image offsets, so no override is required. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xilinx-bootbin: Update to work with multiple optionaldata fieldsRaju Kumar Pothuraju2025-03-301-3/+3
| | | | | | | | optionaldata fields can be multiple update the logic to work with multiple with ';' separated. Signed-off-by: Raju Kumar Pothuraju <rajukumar.pothuraju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-core: initramdisk-xilinx: Exclude from World BuildMark Hatle2025-03-301-0/+2
| | | | | | | | The recipe name (PN) depends on the existence of the initram disk name. This may or may not be set, so simply exclude this from a world build to avoid any potential issues. (Required for yocto-check-layer script) Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-core: layer.conf: Fix yocto-check-layer for xrt/zoclMark Hatle2025-03-301-0/+3
| | | | | | | | Prevent xrt/zocl from building when ocl-icd is not the PREFERRED_PROVIDER for virtual/opencl-icd. This fixes an issue where yocto-check-layer's use of the world build fails. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* packagegroup-xilinx-gstreamer: Move some items to meta-xilinx-multimediaMark Hatle2025-03-302-4/+6
| | | | | | | | | | | | The following items don't exist in a regular Yocto Project configurtion, only enable if meta-xilinx-multimedia is available: gst-shark gstd gst-perf gstreamer1.0-omx Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* device-tree: ENABLE_OPENAMP_DTSI add a third state '2' for pre-integratedMark Hatle2025-03-302-1/+7
| | | | | | | | | The tri-state is now defined as: ENABLE_OPENAMP_DTSI = 0 or empty: Build a dtbo ENABLE_OPENAMP_DTSI = 1: Bundle into the device-tree the openamp items ENABLE_OPENAMP_DTSI = 2 (!= 0, 1 or empty): Do nothing, assume openamp is already integrated into the device-tree Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* packagegroup-xilinx-audio: sox is only available with meta-multimediaMark Hatle2025-03-303-1/+3
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone: Fix typo in sanity messageMark Hatle2025-03-301-1/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* u-boot boot script variableTrevor Woerner2025-03-307-9/+14
| | | | | | | | | | | | Many parts of the build assume the u-boot script will be supplied by u-boot-xlnx-scr. The script will be supplied, instead, by the variable UBOOT_BOOT_SCRIPT, whose default value is u-boot-xlnx-scr. Signed-off-by: Trevor Woerner <trevor.woerner@amd.com> Extend change from just versal to all systems. 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>
* versal-common: Change default tune to cortexa72-cortexa53Christian Kohn2025-03-301-1/+1
| | | | | | | | | It was decided to keep the default tune aligned accross all aarch64 based machines. Therefore, change the default tune to cortexa72-cortexa53. Signed-off-by: Christian Kohn <chris.kohn@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone: Rework embeddedsw integrationMark Hatle2025-03-3049-158/+212
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Enable fpga-overlay machine feature for common machinesChristian Kohn2025-03-305-3/+7
| | | | | | | | Enable the fpga-overlay machine feature for all common machines to allow dynamic bitstream/PDI loading. Signed-off-by: Christian Kohn <chris.kohn@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* firmware: Update COMPATIBLE_MACHINEChristian Kohn2025-03-302-4/+2
| | | | | | | | | | Allow any machine to build and install firmware recipes. Rather than checking compatibility at build-time, defer this task to run-time software to support inclusion of firmware in common images. Signed-off-by: Christian Kohn <chris.kohn@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* dfx_user_dts: Simplify compatible machine logicChristian Kohn2025-03-301-7/+2
| | | | | | | | | | COMPATIBLE_MACHINE and PACKAGE_ARCH defaults are already set as part of the devicetree class which this class inherits, therefore remove those entries. Use COMPATIBLE_HOST instead of COMPATIBLE_MACHINE to disallow microblaze builds. Signed-off-by: Christian Kohn <chris.kohn@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* packagegroup-xilinx-multimedia: Move packagegroup-xilinx-qt to dynamic layerSandeep Gundlupet Raju2025-03-302-1/+1
| | | | | | | | Move packagegroup-xilinx-qt to meta-qt5 dynamic layer packagegroup-xilinx-multimedia.append file. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* packagegroups: Move packagegroup-xilinx-qt to dynamic layersSandeep Gundlupet Raju2025-03-301-0/+0
| | | | | | | Move packagegroup-xilinx-qt recipe to meta-qt5 dynamic layers. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* layer.conf: Add meta-qt5 layer to BBFILES_DYNAMICSandeep Gundlupet Raju2025-03-301-10/+21
| | | | | | | | | 1. Add meta-qt5 layer to BBFILES_DYNAMIC variable. 2. Update LAYERRECOMMENDS variable with all dynamic layers and other recipes depends layer. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* Merge remote-tracking branch 'origin/rel-v2024.2' into scarthgap-nextMark Hatle2025-03-3017-12/+167
|\ | | | | | | Merge in latest 2024.2 changes
| * raft: Update SRCREVSalih Erim2025-02-261-1/+1
| | | | | | | | | | | | | | | | | | | | Changelog: power-management: Add VR-R-A2488-01 board support power-management: Scalingtype bug fixed power-management: Update VE-X-A2112-00 board file Signed-off-by: Salih Erim <salih.erim@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * sdt update: 2024.2_1111_2_02260716Manikanta Sreeram2025-02-263-6/+6
| |
| * sdt update: 2024.2_1111_2_02240307Manikanta Sreeram2025-02-243-6/+6
| |
| * raft: Update SRCREVSalih Erim2025-02-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | Changelog: power-management: Initial support for VE-X-A2112-00 board power-management: Copyright dates updated to 2025 power-management: MPQ72693 voltage get and set scaling power-management: Power sensors configs read & write updated. Signed-off-by: Salih Erim <salih.erim@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * raft: Beam-GUI compatibility and new board supportsSalih Erim2025-02-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | power-management: Round total power values. power-management: Usage example updated. power-management: pmtool CLI parser changed. power-management: temperature examples usage fixed power-management: Initial support for VEK385 regulators power-management: client api names refactored power-management: Fixes on APIs power-management: feature list and check functionality power-management: Newer API returns and scaling functions power-management: VEK385 config update power-management: VCK190 config update Signed-off-by: Salih Erim <salih.erim@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * Enable UCD90320 kernel moduleJonathan Stroud2025-02-041-0/+1
| | | | | | | | | | Signed-off-by: Jonathan Stroud <jonathan.stroud@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * sdt update: 2024.2_1111_2_02040028Manikanta Sreeram2025-02-043-6/+6
| |