summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-core
Commit message (Collapse)AuthorAgeFilesLines
...
* Modify FIT blob generation to use correct SOM DTBJohn Toomey2023-04-101-4/+4
| | | | | | | | | The DTBs contained in the FIT image should be generated using the SOM specific DTB rather than the system-top.dtb allowing for a single image to boot on both SOM variants. Signed-off-by: John Toomey <john.toomey@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* image-types-xilinx-qemu: Adjust dependencyMark Hatle2023-04-101-1/+1
| | | | | | | | With previous changes, we're now using preferred provider for the qemu that the system is going to use. Switch to using the stock name so prefrerred provider will be evaluated. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* u-boot-tools-xlnx: Avoid YP do_compile workaroundMark Hatle2023-04-101-0/+15
| | | | | | | | | do_compile workaround in YP can result in: | error: object directory ../git2/github.com.Xilinx.u-boot-xlnx.git/objects does not exist; check .git/objects/info/alternates. | fatal: unable to read 9e43f9c6c6c446128d036038e53c2d107d04edc8 Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* weston: Disabling GL_EXT_unpack_subimageParth Gajjar2023-04-102-1/+38
| | | | | | | | | | Disabling GL_EXT_unpack_subimage as it is not supported by GLES2.0 Signed-off-by: Parth Gajjar <parth.gajjar@amd.com> Reworked recipe SRC_URI to only apply to libmali case Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* fpgamanager_custom: Generate .bit.bin when .dtsi found in source directoryRaju Kumar Pothuraju2023-04-101-1/+1
| | | | | | | | | Validating SRC_URI for .dtsi failing when it points to git url. Check .dtsi file exists or not in S directory and generate .bin.bin if found. Signed-off-by: Raju Kumar Pothuraju <rajukumar.pothuraju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* fsbl: Fix typo in skiprecipe messageMark Hatle2023-04-101-1/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* python3-anytree: Set branch to resolve fetch warningMark Hatle2023-04-101-1/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* qemu-xilinx-system-native: Move pmu-rom enablement to recipeMark Hatle2023-04-103-3/+8
| | | | | | | | | | | | Setting the pmu-rom being required by QEMU within the machine.conf will cause the recipe's hash to change, which can cause a ripple effect causing other things to rebuild. Moving this to the recipe, and switching it on based on what licenses the user allows will avoid this conflict. Additionally add a warning message to the xilinx-vars.bbclass if the user has not enabled the license. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* base-pid: Allow microblaze as a supported archMark Hatle2023-04-101-0/+1
| | | | | | | In a multiconfig build, microblaze may be the current architecture. Allow both versal and microblaze to avoid confusing errors. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* core-image-ptest-fast: Add zynq and microblaze limitationsMark Hatle2023-04-101-0/+10
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* kernel-module-mali: Add patch to fix mali probe issueParth Gajjar2023-04-102-0/+47
| | | | | | | Added 0026-Fix-gpu-driver-probe-failure.patch for probe fix Signed-off-by: Parth Gajjar <parth.gajjar@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* core-image-ptest-*: Update QEMU memory for SoCsMark Hatle2023-04-102-0/+10
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* machine-xilinx-default.inc: Set default virtual/dtb providerMark Hatle2023-04-101-0/+3
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* u-boot-xlnx: Add u-boot-tools-xlnxMark Hatle2023-04-1014-55/+123
| | | | | | | | | Update the PREFERRED VERSION to select the new u-boot version, add preferred provider for u-boot-tools to be u-boot-tools-xlnx. Split the microblaze configs to support older and newer versions as well. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* microblaze-generic: Make it clear it uses 2GB of memoryMark Hatle2023-04-101-0/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* zynqmp-generic: Add a comment explaining network configMark Hatle2023-04-101-0/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* versal-generic: Fix network device configurationMark Hatle2023-04-101-2/+2
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* qemu: Fix nativesdk-qemu disablingMark Hatle2023-04-101-1/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* fpgamanager_custom: Add support for dtsi and prebuilt dtboSandeep Gundlupet Raju2023-04-101-30/+105
| | | | | | | | | | | | | | | | | 1. Add support for prebuilt dtbo input from firmware recipe. 2. Add support for dtsi which is generated outside of dtg as input from from firmware recipe. 3. Add support for versal. bbclass can support three flows, flow is decided by user inputs in SRC_URI XSA + pl-partial-custom.dtsi -> dtg + dtc dtsi + bit/bin/pdi -> dtc (no xsct involved) dtbo + bit/bin/pdi -> none (no xsct involved) Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* machines: Remove LOADADDR from kernel argsMark Hatle2023-04-103-6/+0
| | | | | | | The arguments will be added by gen-machine-conf, if the user requires them. The default configurations do not use these. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xilinx-deprecated: Remove support for BOARD and BOARD VARIANTMark Hatle2023-04-107-116/+1
| | | | | | | | | | | We still warn the user. This will likely be moved to fatal in the near future, but this would impact some automated test cases so preserve it as a warning for now. Also remove all of the support infrastructure for the BOARD/BOARD_VARIANT values. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* mesa-gl: Use of mesa-gl assumes you have libmali-xlnxMark Hatle2023-04-101-2/+12
| | | | | | | | | | If a program wants OpenGL, but not GLE you still need files from libmali in order to compile. Add necessary links to header files in the -dev package. Since we now depend on libmali-xlnx, we also now have a machine specific package. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* arm-trusted-firmware.inc: Use softer assignmentRaju Kumar Pothuraju2023-04-101-6/+8
| | | | | | | | | | | Use softer assignemnt for ATF_CONSOLE zynqmp to override from .conf file. Signed-off-by: Raju Kumar Pothuraju <rajukumar.pothuraju@amd.com> Adjusted to use an intermediate default, so no override is required. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* dynamic-layers: Move YAML_DT_BOARD_FLAGS to machine conf filesSandeep Gundlupet Raju2023-04-101-13/+0
| | | | | | | | Move YAML_DT_BOARD_FLAGS from device-tree.bbappend to respective generic machine conf files. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* microblaze-generic: Update machine conf file using gen-machineconf toolSandeep Gundlupet Raju2023-04-101-17/+21
| | | | | | | | | | | 1. Update machine conf file using gen-machineconf tool by parsing kc705 xsa. 2. Move variables which changes based on xsa before required inclusion file to handle pre-expansion values. 3. Use UIMAGE_LOADADDR in KERNEL_EXTRA_ARGS instead of LOADADDR. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* versal-net-generic: Update machine conf file using gen-machineconf toolSandeep Gundlupet Raju2023-04-101-2/+13
| | | | | | | | | | 1. Update machine conf file using gen-machineconf tool by parsing versal-net static xsa. 2. Move variables which changes based on xsa before required inclusion file to handle pre-expansion values. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* versal-generic: Update machine conf file using gen-machineconf toolSandeep Gundlupet Raju2023-04-101-11/+41
| | | | | | | | | | | 1. Update machine conf file using gen-machineconf tool by parsing vck190 xsa. 2. Use TFA_BL33_LOAD for TF-A preloadded bl33 base address. 3. Move variables which changes based on xsa before required inclusion file to handle pre-expansion values. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* zynq-generic: Update machine conf file using gen-machineconf toolSandeep Gundlupet Raju2023-04-101-18/+50
| | | | | | | | | | | | 1. Update machine conf file using gen-machineconf tool by parsing zc702 xsa. 2. Add UIMAGE_LOADADDR to KERNEL_EXTRA_ARGS. 3. Move variables which changes based on xsa before required inclusion file to handle pre-expansion values. 4. Add uImage to IMAGE_BOOT_FILES. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* zynqmp-generic: Update machine conf file using gen-machineconf toolSandeep Gundlupet Raju2023-04-101-44/+85
| | | | | | | | | | | | | | 1. Update machine conf file using gen-machineconf tool by parsing zcu102 xsa. 2. Use TFA_BL33_LOAD for TF-A preloadded bl33 base address. 3. Move variables which changes based on xsa before required inclusion file to handle pre-expansion values. 4. Remove uEnv.txt from IMAGE_BOOT_FILES. 5. Disable U-boot SPL boot by default. User has to set explicitly to use it. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* arm-trusted-firmware: Add BL33 preloadded base addressSandeep Gundlupet Raju2023-04-101-0/+3
| | | | | | | | | Add BL33 preloadded base address to EXTRA_OEMAKE for ZynqMP and Versal. In machine or local configuration file user can set TFA_BL33_LOAD value. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* weston-init: Don't replace weston.iniChristian Kohn2023-04-102-10/+2
| | | | | | | | | | | | | Instead of replacing the template weston.ini from the original recipe, augment it as needed: 1. There is a PACKAGECONFIG option to set idle-time=0. Use it. 2. For zynqmp device enablement, set gbm-format=rgb565. This keeps the template weston.ini intact so the user can easily uncomment the desired options while running on the target. Signed-off-by: Christian Kohn <chris.kohn@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* qemu-xilinx: Refactor to enable qemu ver 7.1Mark Hatle2023-04-1013-62/+46
| | | | | | Refactor QEMU integration as the versions now match the Langdale core version. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* soc-tune-include.inc: Make crypto tune availableChristian Kohn2023-04-101-0/+1
| | | | | | | | Make cortexa72-cortexa53-crypto tune available so it can be easily turned on by the user. Signed-off-by: Christian Kohn <chris.kohn@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* Remove unused autologin variableJohn Toomey2023-04-101-1/+0
| | | | | Signed-off-by: John Toomey <john.toomey@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* mesa: Refactor lima enablementMark Hatle2023-04-101-5/+6
| | | | | | Set when DISTRO_FEATURES ! 'libmali' and MACHINE_FEATURES = 'mali400' Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* various: Refactor mali400 related bbappendsMark Hatle2023-04-1010-31/+60
| | | | | | Combination of MACHINE_FEATURES = 'mali400' and DISTRO_FEATURES = 'libmali'. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* linux-xlnx: Enable lima when not using libmalMark Hatle2023-04-101-3/+3
| | | | | | Enabled when MACHINE_FEATURES 'mali400' and DISTRO_FEATURES ! 'libmali'. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* kernel-module-vcu: Move to using a kernel feature for VCUMark Hatle2023-04-101-3/+0
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* mesa-demos: Move mesa-demos from meta-petalinuxMark Hatle2023-04-105-5/+165
| | | | | | | Move mesa-demos work from meta-petalinux, fix libmali integration and remove the testapps workaround. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* machine: Refactor mali400 supportMark Hatle2023-04-102-12/+22
| | | | | | | | | | | | | | | Define a new MACHINE_FEATURE called mali400 that is used to determine if the hardware has a mali400. Define a new DISTRO_FEATURE called libmali, as well as one called lima to indicated which configuration to build. Both the MACHINE_FEATURE and DISTRO_FEATURE must be enabled to activate the new code. This means any recipe that gets libmali-xlnx is expected to be: PACKAGE_ARCH = "${MACHINE_ARCH}" Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* glmark2: Move mali related items from meta-petalinuxMark Hatle2023-04-103-0/+585
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* soc-zynqmp: Move from vcu override to MACHINE_FEATURESMark Hatle2023-04-101-5/+6
| | | | | | | | | | The override was not being used anywhere, this was just acting as a potential tigger for recipes. Instead, we define the MACHINE_FEATURES vcu and will use that to determine if VCU functionality is enabled. By default the zynqmp-ev has VCU feature present. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* vcu: Move vcu recipes to trigger off MACHINE_FEATURES vcuMark Hatle2023-04-107-17/+24
| | | | | | Side effect of this change, all vcu recipes are now package arch of machine. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* qemuboot-xilinx: Return empty if soc_family not definedMark Hatle2023-04-101-0/+2
| | | | | | Fix an issue when soc_family is not defined that an exception was thrown. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* fpgamanager-custom: Remove zynqmp and zynq COMPATIBLE_MACHINE overridesChristian Kohn2023-04-101-2/+6
| | | | | | | | | | | Assignemnts like COMPATIBLE_MACHINE:zynqmp = ".*" won't allow recipes that inherit from this bbclass to restrict the COMPATIBLE_MACHINE via machine overrides. Therefore remove the COMPATIBLE_MACHINE assignments here and force downstream recipes set the desired value. Don't allow microblaze to use this bbclass. Also set PACKAGE_ARCH in this bbclass. Signed-off-by: Christian Kohn <chris.kohn@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* mali400: Added patch for compatibility with 6.1 kernelYash Ladani2023-04-102-0/+68
| | | | | | | | | Added 0025-Import-DMA_BUF-module-and-update-register_shrinker-f.patch which has register_shrinker API changes and DMA_BUF Import to make mali400 compilation compatible with 6.1 kernel. Signed-off-by: Yash Ladani <yash.ladani@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xrt_git:zocl_git:update commitidrbramand2023-04-101-1/+1
| | | | | Signed-off-by: rbramand <rbramand@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* u-boot-xlnx-scr: Load openamp.dtbo if presentMark Hatle2023-04-105-1/+41
| | | | | | | Loading the devicetree/openamp.dtbo if present and merge into the loaded system dtb. (Note, not all boot modes support this behavior.) Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* u-boot-xlnx-uenv: Dynamically load openamp.dtbo if presentMark Hatle2023-04-101-1/+4
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* open-amp-device-tree: Add a DTBO generating recipe for OpenAMPMark Hatle2023-04-104-0/+90
| | | | | | The recipe will generate a DTBO for OpenAMP Signed-off-by: Mark Hatle <mark.hatle@amd.com>