summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-core
Commit message (Collapse)AuthorAgeFilesLines
...
* | | qemu-xilinx: Split qemu-xilinx packaging when vmsep is enabledSandeep Gundlupet Raju2023-04-102-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When hosts are using vmsep(VM seperation) distro feature, then they need qemu on the target to launch guests. Copy the qemu package split inclusion file from meta-virtualization and rename to qemu-xilinx. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | | cairo: add trace to PACKAGECONFIG to fix do_package error while enabling ↵Quanyang Wang2023-04-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | multilib Issue: LINCD-8359 In cairo_1.16.0.bb, the macro MULTILIB_SCRIPTS is set to be "${PN}-perf-utils:${bindir}/cairo-trace" which indicates that the script cairo-trace will be handled using update-alternatives with multilib. But in the bbappend meta-xilinx-bsp/recipes-graphics/cairo/cairo_%.bbappend, the "trace" is removed from PACKAGECONFIG and this will cause that the class multilib_script can't find the cairo-trace script. The error log is as below: ERROR: cairo-1.16.0-r0 do_package: Error executing a python function in exec_python_func() autogenerated: ...... Exception: bb.process.ExecutionError: Execution of 'build/tmp-glibc/work/cortexa53-wrs-linux/cairo/1.16.0-r0/temp/run.multilibscript_rename.22582' failed with exit code 1: mv: cannot stat 'build/tmp-glibc/work/cortexa53-wrs-linux/cairo/1.16.0-r0/package/usr/bin/cairo-trace': No such file or directory WARNING: exit code 1 from a shell command. So add "trace" back to PACKAGECONFIG to fix the do_package error. Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | | cairo: Preserve stock configuration for lima, only override for libmaliMark Hatle2023-04-101-1/+6
| | | | | | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | | libmali-xlnx: install packages only when related DISTRO_FEATURES are selectedQuanyang Wang2023-04-101-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue: LINCD-4047 When DISTRO_FEATURES doesn't contain fbdev, ${D}${libdir}/fbdev/${MONOLITHIC_LIBMALI} will not be installed, and this will trigger the build warning as below: WARNING: libmali-xlnx-r9p0-01rel0-r0 do_package: libmali-xlnx:NOT adding alternative provide /usr/lib64/libMali.so.9.0: /usr/lib64/fbdev/libMali.so.9.0 does not exist So only add ${PN}-x11/fbdev/wayland to PACKAGES when related DISTRO_FEATURES is selected. Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | | u-boot-xlnx: do not install u-boot.dtb when secure boot feature is enabledMeng Li2023-04-101-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue: LINUXEXEC-21580 When secure boot feature is enabled, the linux-yocto deploy function installs u-boot.dtb into deploy directory after saving the pub key into it. So, it doesn't need to install u-boot.dtb again in u-boot-xlnx bbappend file. Signed-off-by: Meng Li <Meng.Li@windriver.com> Moved from meta-xilinx-tools to meta-xilinx/meta-xilinx-core Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | | kernel-module-vcu: Enable the module by MACHINE_FEATUREMark Hatle2023-04-101-4/+3
| | | | | | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | | xilinx-deprecated: Using BOARD and BOARD_VARIANT is now an errorMark Hatle2023-04-101-1/+1
| | | | | | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | | 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>