summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-core
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * *-generic.conf: Update qemu config to remove duplicate optionsMark Hatle2022-07-284-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | runqemu now appears to set -serial mon:stdio by default. This can conflict with the built in parameters. Reported by: Jeremy Puhlman <jpuhlman@mvista.com> It may look unusual, but the remaining -serial null are still required for booting. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> (cherry picked from commit 72754d63ce7552d9b67f907ec82bb540e060435b) Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| | | * qemu-system-aarch64-multiarch: Add --help supportMark Hatle2022-07-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --help may need to be passed in and should be directed to the main APU handler. runqemu may use --help for various reasons. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> (cherry picked from commit c8eb35a80313ce857ab5556f1acf384433cf51bd) Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| | | * microblaze-generic: microblaze requires a device treeMark Hatle2022-07-281-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the device-tree as a dependency and kc705-microblazeel is defined as the default HDF_MACHINE. Also simplify by removing the QB_DTB and using the default value. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> (cherry picked from commit bb1bf5b198104441b5391e5327981a668a103384) Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| | | * zynq-generic: use default QB_DTB valueMark Hatle2022-07-281-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> (cherry picked from commit 9b0fbd1dc351a98442e602ee32d99e02668f3402) Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| | | * machine-xilinx-qemu.inc: Adjust function to verify fstype is validMark Hatle2022-07-281-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Simplify the function to treat microblaze as a soc_family. If we do not have initramfs_image defined, then verify wic.qemu-sd is available before returning that value, otherwise fall back to the dictionary. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> (cherry picked from commit 67e5e1ab7176c5aa3e4c6d903287f16a521f7d41) Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| | | * lopper: Update srcrev for 2022Appana Durga Kedareswara rao2022-07-281-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| | | * qemu-devicetrees: Update SRCREV and remove qemu patch from layersRaju Kumar Pothuraju2022-07-283-41/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removing the patch which replaces the python -> python3 as it was fixed in qemu/dts repo. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| | | * xrt_git.bb: Cleanup += usageMark Hatle2022-07-281-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolve the following warning WARNING: .../meta-xilinx/meta-xilinx-core/recipes-xrt/xrt/xrt_git.bb: EXTRA_OECMAKE:append:versal-ai-core += is not a recommended operator combination, please replace it. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> (cherry picked from commit ef9c8af437edf770d983800c58c5e32df4a740d6) Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| | | * qemu-xilinx-native.inc: add meson and ninjaJeremy Puhlman2022-07-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ERROR: Cannot find Ninja Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> (cherry picked from commit c3acb3cc3f7672cc958848da30d6e1fb4224e807) Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| | | * Updated SRCREV for 2022.2Sivaprasad Addepalli2022-07-272-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
| | | * dfx-mgr: SRCREV: dfxmgr_uio_by_name and examplesSergei Korneichuk2022-07-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The SRCREV is for commits to fix SEGV on Ububtu apt install, DFX_ERR, DFX_DBG macros, listUIO option, dfxmgr_uio_by_name, firmware detection, a few compiler warnings. Signed-off-by: Sergei Korneichuk <sergei.korneichuk@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| | | * extract-cdo: Avoid directly populating ${DEPLOY_DIR_IMAGE}Corey Thompson2022-07-261-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This creates problems when images are deployed from sstate cache. Avoid it by extracting the xilinx-bootbin boot.bin file into the extract-cdo build dir ${B}. Then deploy from the output from ${B}. (Original commit submitted by Corey Thompson <ctompso@ciena.com>) Commit adjusted to change extraction directory vs copying the boot.bin. Update the summary to better reflect what this is doing, as well as the do_compile comment. Disable (noexec) the do_install as this isn't a target package. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
| | | * libdfx_1.0.bb: Manually specify that 'libdfx' package is being replacedMark Hatle2022-07-221-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The commit a64ff0bf015adcefbe691a94ac3e8ecf1a2ba911 updated the upstream source to include correct soname/soversion. Packaging was then modified to follow this example. The end result was that 'libdfx' was replaced by the automatic "libdfx1.0" package. This could result in: Error: Transaction test error: file /usr/lib/libdfx.so from install of libdfx-dev-1.0-r0.1.cortexa72_cortexa53 conflicts with file from package libdfx-1.0-r0.0.cortexa72_cortexa53 The cause was that libdfx wasn't upgraded when libdfx-dev was being installed. To resolve this we use RREPLACES, may look strange but this will instruct the system that "libdfx" is to be replaced by the dynamically generated package based on the soname. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| | | * Updated SRCREV for 2022.2Sivaprasad Addepalli2022-07-221-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
| | | * Updated SRCREV for 2022.2Sivaprasad Addepalli2022-07-211-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
| | | * Updated SRCREV for 2022.2Sivaprasad Addepalli2022-07-202-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
| | | * lopper: Update srcrev for 2022Appana Durga Kedareswara rao2022-07-181-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| | | * Updated SRCREV for 2022.2Siva Addepalli2022-07-182-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| | | * dfx-mgr: Add firmware detection capabilityChristian Kohn2022-07-143-1/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The newly added xlnx-firmware-detect script provides a mechanism for detecting and loading default firmware through dfx-mgr. The script is executed as a pre-step in the dfx-mgr unit file prior to starting the dfx-mgrd. It uses fru-print to read the board ID from an EEPROM and based on that searches for a product specific firmware entry in the firmware search path defined in the dfx-mgr config file. In case the script is able to detect compatible default firmware, it will update the dfx-mgr config file accordingly, otherwise the script will fail but the dfx-mgr daemon is still started and no default firmware will be loaded. Signed-off-by: Christian Kohn <christian.kohn@xilinx.com> Signed-off-by: Shubhangi Mahalle <shubhangi.shrikrushna-mahalle@xilinx.com> Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| | | * lopper: Update srcrev for 2022Siva Durga Prasad Paladugu2022-07-141-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| | | * Set QB_KERNEL_ROOT for zynq-genericJohn Toomey2022-07-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This value is passed to the kernel in order to choose the correct disk but defaults to /dev/vda which does not boot. Signed-off-by: John Toomey <jtoomey@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| | | * Updated SRCREV for 2022.2Sivaprasad Addepalli2022-07-141-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
| | | * Updated SRCREV for 2022.2Sivaprasad Addepalli2022-07-141-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
| | | * Updated SRCREV for 2022.2Sivaprasad Addepalli2022-07-131-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
| | | * Updated SRCREV for 2022.2Sivaprasad Addepalli2022-07-121-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
| | | * Updated SRCREV for 2022.2Manikanta Sreeram2022-07-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | revert u-boot commit to old commit due to kernal fail found for zynq boards Signe-off-by: Manikanta Sreeram <msreeram@xilinx.com>
| | | * Updated SRCREV for 2022.2Sivaprasad Addepalli2022-07-081-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
| | | * u-boot-xlnx-blob.inc: Move to using UBOOT_IMAGE_BLOB_DEFAULTMark Hatle2022-07-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | UBOOT_IMAGE_BLOB may need a machine (override) specific default value, but we always want the user to be above to override this easily. Adding the new UBOOT_IMAGE_BLOB_DEFAULT allows us to set the default in a BSP layer, while continuing to make the UBOOT_IMAGE_BLOB setting easy for the user to adjust. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| | | * u-boot-xlnx: Add support for U-boot user specified dtsSandeep Gundlupet Raju2022-07-071-2/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for U-boot user specified dts by setting below variables in local.conf file. UBOOT_USER_SPECIFIED_DTS:pn-u-boot-xlnx = "versal-vck190-revA-x-ebm-01-revA" This will fetch user specified dts from from u-boot repo path u-boot-xlnx/arch/arm/dts/versal-vck190-revA-x-ebm-01-revA.dts when user doesn't want to use EXT_DTB from device-tree recipes. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| | | * lopper: Update srcrev for 2022.2Ben Levinsky2022-07-071-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Ben Levinsky <ben.levinsky@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| | | * machine:*-generic.conf: Use += instead of appendRaju Kumar Pothuraju2022-07-054-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using append enabling the FSTYPE when using the soc override in petalinux. Using += to add/reflect the value only in yocto or defined with ?= or = operators. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| | | * Updated SRCREV for 2022.2Sivaprasad Addepalli2022-07-052-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
| | | * Updated SRCREV for 2022.2Sivaprasad Addepalli2022-07-041-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
| | | * Updated SRCREV for 2022.2Sivaprasad Addepalli2022-06-302-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
| | | * Updated SRCREV for 2022.2Sivaprasad Addepalli2022-06-291-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
| | | * zynqmp-generic.conf: Add runqemu support for zynqmp-genericRaju Kumar Pothuraju2022-06-271-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch will add runqemu support for zynqmp-generic machines when INITRAMFS/INITRD/EXT4 sets. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| | | * zynq-generic.conf: Add runqemu support for zynq-genericRaju Kumar Pothuraju2022-06-271-5/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch will add runqemu support for zynq-generic machines when INITRAMFS/INITRD/EXT4 sets. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| | | * versal-generic: Add runqemu support for versal-genericRaju Kumar Pothuraju2022-06-271-10/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch will add runqemu support for versal-generic when INITRAMFS/INITRD/EXT4 configurations. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| | | * microblaze-generic: Add runqemu support for microblaze-genericRaju Kumar Pothuraju2022-06-271-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch will add runqemu support for microblaze-generic machines for INITRD/INITRAMFS types. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| | | * machine-xilinx-qemu: Add generic functions to add qemu argsRaju Kumar Pothuraju2022-06-271-2/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch will add generic fuctions to add qemu args as per the configuration set and soc_family. Ex: - Adding Image, rootfs and boot.scr files for zynqmp if in case of IMAGE_INITRAMFS set. - Add boot mode as 5 for versal - Return the rootfs type per configuration - Skip adding rootfs in case of bundle image as kernel image will have it. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| | | * qemuboot-xilinx:machine-xilinx-default: Update kernel imagesRaju Kumar Pothuraju2022-06-272-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For zynq,microblaze qemu supports direct kernel boot by specifying kernel image name to QB_DEFAULT_KERNEL. Adjusting the kernel image based on the bundle image selection. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| | | * image-types-xilinx-qemu: Add qemu-sd-fatimg supportRaju Kumar Pothuraju2022-06-271-3/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | qemu-sd: Qemu 6.X onwards SD image should be of power of 2, this patch will read the generate qemu-sd image and find out its next power of 2 and adjust the size using qemu-img resize command. qemu-sd-fatimg: Due to circular dependencies in yocto when we enable INITRAMFS_IMAGE + wic and we need SD fat image to boot versal on qemu. For this added new image conversion type qemu-sd-fatimg, it will generate the sd fatimg containing boot.bin,boot.scr,rootfs.cpio.gz.u-boot files. Usage: IMAGE_FSTYPES += "cpio.gz.u-boot.qemu-sd-fatimg" NOTE: qemu-sd-fatimg creation is a workaround fix for circular dependencies. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| | | * Updated SRCREV for 2022.2Sivaprasad Addepalli2022-06-232-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
| | | * xrt_git:zocl_git:update commitidrbramand2022-06-221-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: rbramand <rbramand@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| | | * Revert "xrt: Add workaround for xrt/xrt_kernel.h issue"Mark Hatle2022-06-222-34/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit ca0ae12186c4d13305d72cc636e9107a67e38ad2. No longer necessary Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| | | * Updated SRCREV for 2022.2Sivaprasad Addepalli2022-06-211-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
| | | * Updated SRCREV for 2022.2Sivaprasad Addepalli2022-06-202-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
| | | * Updated SRCREV for 2022.2Siva Addepalli2022-06-191-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com> Signed-off-by: Mark Hatle <mhatle@xilinx.com>
| | | * u-boot: Remove deprecated board defconfigsSandeep Gundlupet Raju2022-06-172-18/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Board specific u-boot defconfigs are deprecated from u-boot source, hence remove deprecated defconfigs from u-boot recipes. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@xilinx.com> Signed-off-by: Mark Hatle <mhatle@xilinx.com>
| | | * Updated SRCREV for 2022.2Sivaprasad Addepalli2022-06-171-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>