summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* python3-anytree: Set branch to resolve fetch warningMark Hatle2023-04-101-1/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* dt-processor.sh: Minor revisions for better user errorsMark Hatle2023-04-101-1/+4
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* libxil: Move from require to includeMark Hatle2023-04-101-1/+18
| | | | | | | | | | Due to the change of the machine.conf where LIBXIL_CONFIG is set to the multiconfig, some non-baremetal configurations may not generate a config file. Using include will prevent this from being an early parse error, while the python function will disble libxil when no configuration file is present. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xilinx-standalone.inc: Further sync with upstream disro settingsMark Hatle2023-04-102-15/+4
| | | | | | | | | | | | | Many of the settings/workaround have been replaced by changes in the upstream OE-Core tclibc-newlib. Additionally adding the DISTROVERRIDES with an append was potentially changing -native recipes hashes. Move this only where needed to avoid this behavior. Also sync settings with meta-petalinux, such as the buildhistory. This is now moved to the local.conf file. 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>
* xilinx-standalone.inc: Sync with poky distro settingsMark Hatle2023-04-101-0/+18
| | | | | | | | | | | | | | | | | Certain settings appear to have an overall affect on recipe hashes. Use petalinux (poky) distro as an example for base settings to ensure native items built in one config SHOULD also be re-usable in the bareemetal config. This has a side effect of NOT disabling static binaries in baremetal, but this seems like a reasonable default, since there really isn't a concept of dynamically loaded libraries. If necessary, the user can still override this, but will need to specifically select class-target to do so. Similarly SECURITY_CFLAGS and SECURITY_LDFLAGS are available by empty by default. The default cflags/ldflags for baremetal usage are likely different from a Linux system, so can be used in the future if requried. 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>
* device-tree: Remove YAML_DT_BOARD_FLAGS from bbappendSandeep Gundlupet Raju2023-04-102-42/+0
| | | | | | | | Remove YAML_DT_BOARD_FLAGS from bbappend as it is moved to board machine conf files. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* pmu-firmware: Move compiler flags from ultra96 machine fileSandeep Gundlupet Raju2023-04-101-2/+7
| | | | | Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* zedboard-zynq7: Remove BOARD machineoverrideSandeep Gundlupet Raju2023-04-101-3/+0
| | | | | Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* ultra96-zynqmp: Update machine conf file using gen-machineconf toolSandeep Gundlupet Raju2023-04-101-12/+52
| | | | | | | | | | | 1. Update machine conf file using gen-machineconf tool by parsing ultra96 reva xsa. 2. Use use soc variant based generic machine inclusion. 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>
* versal: Add new vpk120-versal machine conf file using gen-machineconf toolSandeep Gundlupet Raju2023-04-101-0/+48
| | | | | | | | | 1. Add new versal eval board machine conf file using gen-machineconf tool by parsing respective xsa. 2. Use soc variant based generic machine inclusion. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* microblazeel: Update kc705 machine conf file using gen-machineconf toolSandeep Gundlupet Raju2023-04-104-105/+43
| | | | | | | | | | | | | 1. Update below microblazeel eval board machine conf file using gen-machineconf tool by parsing respective 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> 3. Remove kc705-bitstream, use standard bitstream-extraction now Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* versal: Update machine conf file using gen-machineconf toolSandeep Gundlupet Raju2023-04-103-16/+133
| | | | | | | | | | | | | | 1. Update below versal eval board machine conf file using gen-machineconf tool by parsing respective xsa. - vck190-versal - vck5000-versal - vmk180-versal 2. Move variables which changes based on xsa before required inclusion file to handle pre-expansion values. 3. Use use soc variant based generic machine inclusion. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* zynqmp: Update machine conf file using gen-machineconf toolSandeep Gundlupet Raju2023-04-108-57/+342
| | | | | | | | | | | | | | | | | | | | | | | 1. Update below zynqmp eval board machine conf file using gen-machineconf tool by parsing respective xsa. - zcu102-zynqmp - zcu104-zynqmp - zcu106-zynqmp - zcu111-zynqmp - zcu1275-zynqmp - zcu1285-zynqmp - zcu216-zynqmp 2. Move variables which changes based on xsa before required inclusion file to handle pre-expansion values. 3. Disable U-boot SPL boot and kernel device tree by default. User has to set explicitly to use it. 4. Use use soc variant based generic machine inclusion Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Remove zcu208-zynqmp, no public XSA. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* zynq7: Update machine conf file using gen-machineconf toolSandeep Gundlupet Raju2023-04-102-37/+73
| | | | | | | | | | | 1. Update zc702 and zc706 machine conf file using gen-machineconf tool by parsing zc702 and zc706 xsa. 2. Move variables which changes based on xsa before required inclusion file to handle pre-expansion values. 3. Remove BOARD MACHINEOVERRIDES in conf file. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> 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>