summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* meta-microblaze: gcc-source: Always apply microblaze patchesMark Hatle2023-04-101-2/+2
| | | | | | | | | The microblaze patches are safe for all configurations. But due to the use of the gcc-source package being shared for native, cross, target, sdk, etc we need a single full source that covers all configurations. Otherwise we run into problems with sstate-cache re-use and a lot of duplication. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* Move PLNX/Vitis standalone toolchain helpers to meta-petalinuxMark Hatle2023-04-101-23/+0
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* packagegroup-standalone-cross-canadian: Move from bbappend to new bbMark Hatle2023-04-101-0/+23
| | | | | | | We want to avoid modifying the default package, as it can break Yocto Project Compatibility guidelines. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* Move multilib specific PLNX/Vitis items to meta-petalinuxMark Hatle2023-04-103-54/+0
| | | | | | | These items are specific to the special PetaLinux/Vitis multilib toolchain, move these to meta-petalinux. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* newlib: Remove PLNX/Vitis multilib helpersMark Hatle2023-04-102-9/+0
| | | | | | | These are only used for the special PetaLinux/Vitis multilib toolchain and should not be generally applied. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* machines: Move special TC machines to meta-petalinuxMark Hatle2023-04-106-1097/+1
| | | | | | | The special toolchains are really only applicable to a PetaLinux/Vitis toolchain build. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* gcc: Remove multilib standalones configsMark Hatle2023-04-108-230/+0
| | | | | | | Standalone multilibs are only needed when building a PetaLinux specific toolchain. So remove this from the general bbappends. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* binutils: Disable multilib support, not requiredMark Hatle2023-04-101-1/+0
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-toolchain: Remove multilib changesMark Hatle2023-04-101-2/+0
| | | | | | | Changing this breaks YP compatibility requirements. We have moved to a custom recipe, meta-xilinx-toolchain to build the special toolchains. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* gnu-toolchain-canadian: Fix symlink generation for mingw32Mark Hatle2023-04-101-1/+3
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* Revert "xrt: Move AIE settings to meta-xilinx-tools"Mark Hatle2023-04-101-0/+14
| | | | | | | | This reverts commit 0e471db25311caf15b412e68eed4087eb7c664d3. AIE has been moved to this layer. Restore previous configuration. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* ai-engine: Moved from meta-xilinx-toolsMark Hatle2023-04-103-0/+91
| | | | | | Moves from meta-xilinx-tools as of commit 91c18d664dedc5c8e66f0744ec85a4d3c8bc300a. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* machine-xilinx-default.inc: defining default dtb for fitimageVaralaxmi Bingi2023-04-101-0/+4
| | | | | | | | | | | | When we tried to create fitimage it will pick the dtb from linux recipe-sysroot path. There are multiple dtb files in linux sysroot in sdt case and we did not specified any default dtb file to package in fitimage and it was picking baremetal dtb file which is leading to kernel panic. There is a variable in yocto to specify the default dtb file to pick for fitimage FIT_CONF_DEFAULT_DTB. If we specify the above then the fitimage is generated properly and able to boot successfully. Signed-off-by: Mark Hatle <mark.hatle@amd.com> Signed-off-by: Varalaxmi Bingi <varalaxmi.bingi@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* Revert "machine-xilinx-default: Implement default FIT_CONF_DEFAULT_DTB"Mark Hatle2023-04-101-7/+0
| | | | This reverts commit 6ad9836940fa9c3541b5339c84d6d86e36734e24.
* xrt: Move AIE settings to meta-xilinx-toolsMark Hatle2023-04-101-14/+0
| | | | | | | AIE components are only provided by meta-xilinx-tools layer, so the configuration and dependencies need to be in the same layer. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* machine-xilinx-default: Implement default FIT_CONF_DEFAULT_DTBMark Hatle2023-04-101-0/+7
| | | | | | | | | | | | | When using a system device tree build there will be more then one device-tree that is constructed. If a fit image is constructed, then an DTB needs to be selected. We use the CONFIG_DTFILE as the default, which should inherit from the SYSTEM_DTFILE. The default for SYSTEM_DTFILE is empty as a fallback which should restore the default behavior of first DTB found is the one used. This also has ramifications for other recipes that use DTB files and unifies everything. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* u-boot-tools-xlnx: Add compatibility RPROVIDESMark Hatle2023-04-101-1/+7
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* qemu: For alternative provider, add rdependsMark Hatle2023-04-101-3/+4
| | | | | | | | | We want to be able to install qemu-xilinx-dev package, if the user requests qemu-dev. We can't just hard code a list, as the virtualization layer can modify the packages produced based on the existence of Xen or not. So dynamically compute the variable append. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* linux-firmware-ti-bt: Fix git branch URL warningsSandeep Gundlupet Raju2023-04-101-22/+28
| | | | | | | | | | | Fix git branch URL warnings and indentation. WARNING: linux-firmware-ti-bt-1.0-r0 do_package_write_rpm_setscene: URL: git://git.ti.com/ti-bt/service-packs.git;protocol=https does not set any branch parameter. The future default branch used by tools and repositories is uncertain and we will therefore soon require this is set in all git urls. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone: recipes-bsp: device-tree: Update recipe for freertos ↵Appana Durga Kedareswara rao2023-04-101-0/+3
| | | | | | | | | distro Add support for freertos distro by updating COMPATIBLE_HOST. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* qemu: May end up depending on libmali, set PACKAGE_ARCHMark Hatle2023-04-103-0/+15
| | | | | | | If qemu ends up depending on libmali, we want to set the PACKAGE_ARCH to machine value as this version is now machine specific. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-core: No longer ignore mesa, mesa-gl or virgl dependenciesMark Hatle2023-04-101-3/+0
| | | | | | | | As we now support enabling for libmali and lima, we want to ensure that the components are rebuilt if/when we switch between the configurations. This is especially true on a non-graphics optimized part. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* microblaze-tc.conf: Disable pie support, not available on microblazeMark Hatle2023-04-101-0/+8
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* u-boot-xlnx: Support both .dtb and .dts files being setMark Hatle2023-04-101-1/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xilinx-bootbin: Enable versalnet arch command optionSandeep Gundlupet Raju2023-04-101-1/+15
| | | | | | | | | 1. Enable versalnet -arch command option for versal-net devices. 2. Add COMPATIBLE_MACHINE for SOC and don't allow building for Microblaze. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* qemu-xilinx: Only set virtfs for target qemuMark Hatle2023-04-101-1/+1
| | | | | | | virtfs does not currently work on mingw32 due to a dependency on libcap-ng with does not work. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* glmark2: Added patch to resolve runtime errors for glmark2-es2Yash Ladani2023-04-102-0/+62
| | | | | | | | This patch resolves the macro redefination and precision differ error in glmark2-es2 application. Signed-off-by: Yash Ladani <yash.ladani@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* machine-xilinx-qemu.inc: Disable qemu-xilinx, prefer Yocto qemu on targetSandeep Gundlupet Raju2023-04-101-1/+0
| | | | | Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@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>
* meta-xilinx-standalone: Add binutils workaroundMark Hatle2023-04-101-0/+8
| | | | | | | | | | Workaround for: ERROR: binutils-cross-canadian-aarch64-2.39-r0 do_package_qa: QA Issue: non -staticdev package contains static .a library: binutils-cross-canadian-aarch64 path '/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-oesdk-linux/usr/lib/aarch64-xilinx-elf/bfd-plugins/libdep.a' [staticdev] Need for the workaround was introduced with latest version of poky (langdale) Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* qemu-xilinx: Add Yocto Project upstream patchesMark Hatle2023-04-102-30/+19
| | | | | | | Yocto Project upstream patches resolve integration issues, and resolve various CVEs. Include these into the qemu-xilinx recipe. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* ultra96-zynqmp: Use ultra96-arm as QEMU HW PS DTBSandeep Gundlupet Raju2023-04-101-0/+3
| | | | | Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* zynqmp-generic: Set variables for QEMU HW PS and PMU DTBSandeep Gundlupet Raju2023-04-101-2/+8
| | | | | | | | Set variables for QEMU DTB PATH, PS DTB and PMU DTB for zynqmp_generic, this allows user to use different QEMU HW DTB to match their board. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-setup.bb: rename BB_ENV_EXTRAWHITE to BB_ENV_PASSTHROUGH_ADDITIONSVaralaxmi Bingi2023-04-101-2/+2
| | | | | Signed-off-by: Varalaxmi Bingi <varalaxmi.bingi@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* 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>
* Revert "standalone gcc-runtime_%.bbappend: Add workaround for getentropy and ↵Mark Hatle2023-04-101-2/+0
| | | | | | | | | | related" This reverts commit a906596017b9fd3e55555862700594aad8867c27. No longer necessary after change made to embeddedsw 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>
* ultra96-zynqmp: Fix serial issue for qemu bootSandeep Gundlupet Raju2023-04-101-1/+8
| | | | | | | | | runqemu assumes psu_uart_0 is used but in Ultra96 psu_uart_1 is the primary uart device, So set psu_uart_0 as null to fix qemu boot issue. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> 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>
* esw.bbclass: Fix parse error when CONFIG_DTFILE isn't definedMark Hatle2023-04-101-0/+1
| | | | 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>