summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-core
Commit message (Collapse)AuthorAgeFilesLines
...
* Set QB_KERNEL_ROOT for zynq-genericJohn Toomey2022-07-281-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>
* u-boot-xlnx-blob.inc: Move to using UBOOT_IMAGE_BLOB_DEFAULTMark Hatle2022-07-281-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>
* machine:*-generic.conf: Use += instead of appendRaju Kumar Pothuraju2022-07-284-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>
* zynqmp-generic.conf: Add runqemu support for zynqmp-genericRaju Kumar Pothuraju2022-07-281-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-07-281-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-07-281-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-07-281-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-07-281-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-07-282-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-07-281-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>
* u-boot: Remove deprecated board defconfigsSandeep Gundlupet Raju2022-07-282-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>
* xilinx-qemu: Use addto_recipe_sysroot taskRaju Kumar Pothuraju2022-07-283-3/+17
| | | | | | | | | | | | | | | | | To populate the QEMU binaries into sysroot the populate_sysroot task isn't enough for qemu-xilinx-helper-native, we need to use addto_recipe_sysroot task. This patch will correct the mapping. u-boot-zynq-uenv failing to add DEPENDS when EXTRA_IMAGEDEPENDS has recipe:task. This patch will split the recipe name and add it to DEPENDS. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> While unusual, the PR is updated, as the qemu and qemu helper need to have the same version/pr or the path logic doesn't work properly. Signed-off-by: Mark Hatle <mhatle@xilinx.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>
* u-boot-zynq-scr: '@' should be outside the variableRaju Kumar Pothuraju2022-07-231-1/+1
| | | | | | | | Due syntax issue in defining variable the pxelinux.cfg file was not generated properly. This patch will fix that issue. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* fpgautil: Update the fpgautil helpNava kishore Manne2022-07-231-0/+6
| | | | | | | | This patch updates the fpgautil help to describe the usage of fpgautil -R Signed-off-by: Nava kishore Manne <nava.manne@xilinx.com> Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* u-boot-zynq-scr.bb: Use the boot.cmd.generic for boot.scrRaju Kumar Pothuraju2022-07-231-2/+2
| | | | | | | | | | Using specific arch bootcmd script works only for SD bootmode. This patch will allow yocto flow to use the boot.cmd.generic script to generate the boot.scr which will support for jtag/sd/usb/qspi/ospi/nand which already used by petalinux. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* u-boot-zynq-scr: Update the image offsets as per petalinuxRaju Kumar Pothuraju2022-07-231-14/+20
| | | | | | | Update the image offsets/sizes as per the petalinux 2022.2 changes. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* u-boot-zynq-uenv: Use devnum instead sdbootdevRaju Kumar Pothuraju2022-07-231-2/+2
| | | | | | | | Use the devnum uboot env variable to detect and read the images from mmc. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* recipes-kernel: Add udev rules files for linux-xlnx in-tree driversSandeep Gundlupet Raju2022-07-232-0/+39
| | | | | | | | | | | | | This recipe is to add generic udev rules files for linux-xlnx in-tree drivers. - Create a new aie group. - Add udev rules for aie devices and change permissions and ownership group to "aie" so that any new user added to aie groups can access aie devices(/dev/aie0) from linux userspace. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@xilinx.com> Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* zocl: This is not compatible with microblaze architectureMark Hatle2022-07-231-0/+1
| | | | Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* xserver-nodm-init: Fix FILESEXTRAPATHS : placementMark Hatle2022-07-231-1/+1
| | | | Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* libdfx_1.0.bb: Manually specify that 'libdfx' package is being replacedMark Hatle2022-07-231-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> (cherry picked from commit 4dd53057341c8a88a0e89f623330f4f9a1915561) Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* Updated SRCREV for 2022.1Sivaprasad Addepalli2022-07-231-1/+1
| | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
* lopper: Update srcrev for 2022.2Ben Levinsky2022-07-231-1/+1
| | | | | | | Signed-off-by: Ben Levinsky <ben.levinsky@xilinx.com> Signed-off-by: Mark Hatle <mhatle@xilinx.com> (cherry picked from commit bb855e43a4dad0d55b7a8f18fba51cc09fcda71f) Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* dfx-mgr: new SRCREV for xlnx_rel_v2022.1Sergei Korneichuk2022-07-231-1/+1
| | | | | | | For Kria 2022.1 Update2 Signed-off-by: Sergei Korneichuk <sergei.korneichuk@xilinx.com> Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* Updated SRCREV for 2022.1Sivaprasad Addepalli2022-07-231-1/+1
| | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
* meta-xilinx-core:recipes-bsp:arm-trusted-firmware: Remove multiple entry of flagAkshay Belsare2022-07-231-1/+1
| | | | | | | | | | | | The flag PRELOADED_BL33_BASE is populated from petalinux for different platforms. Removing the hardcoded entry which is causing multiple instance of the same flag to the make command Signed-off-by: Akshay Belsare <Akshay.Belsare@xilinx.com> Signed-off-by: Mark Hatle <mhatle@xilinx.com> (cherry picked from commit 1197387e16dec312ddb0a2c356ba9835d85aa15c) Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* Updated SRCREV for 2022.1Siva Addepalli2022-07-231-1/+1
| | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
* lopper: Update srcrev for 2022.2Appana Durga Kedareswara rao2022-07-231-1/+1
| | | | | | | Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com> Signed-off-by: Mark Hatle <mhatle@xilinx.com> (cherry picked from commit 3a5ca8eda7e67dbdeb8dda1036e95745c21a47af) Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* linux-xlnx: Update to latest versionMark Hatle2022-07-231-1/+1
| | | | | | | | Issue: CR-1130331 Fix USB functionality after suspect/resume Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* meta-xilinx-core:recipes-bsp:arm-trusted-firmware: Update BL32 memory sizeAkshay Belsare2022-07-231-1/+1
| | | | | | | | | | | | | PMUFW reserves memory range 0x7ff0_0000 to 0x7fff_ffff for DDR Software Self-Refresh(refer PG201, enabled by defualt). Update the ZYNQMP_BL32_MEM_SIZE to 0x0ff0_0000 and thus memory range from 0x7000_0000 to 0x7fef_ffff. Provencore uses memory range 0x7000_0000 to 0x7fdf_ffff Signed-off-by: Akshay Belsare <Akshay.Belsare@xilinx.com> Signed-off-by: Mark Hatle <mhatle@xilinx.com> (cherry picked from commit 30d666532660082d9c3fb9d96d205fbb3f88e2f0) Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* meta-xilinx-core:recipes-bsp:arm-trusted-firmware: Update PNCD NS IRQAkshay Belsare2022-07-231-1/+1
| | | | | | | | | | | | | | The SDP_PNCD_NS_IRQ flag is meant to set the NS interrupt number that will be used between ProvenCore OS and linux ProvenCore driver ATF is the one triggering this interrupt so it must be aware of its value. This value is hardcoded in ProvenCore binary as 51 As per input from ProvenRun the flag SPD_PNCD_NS_IRQ=51 is to be added, for right NS interruption to be used in PNCD Signed-off-by: Akshay Belsare <Akshay.Belsare@xilinx.com> Signed-off-by: Mark Hatle <mhatle@xilinx.com> (cherry picked from commit cbb8af2b3475620313fedb4fc677498b6461fb45) Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* u-boot-xlnx: Move all u-boot FIT image (blob) implementation to hereMark Hatle2022-07-233-4/+159
| | | | | | | | | | | | | | The implementation appeared to have been split between meta-som and meta-xilinx-core. The core implementation should be generic and in meta-xilinx-core. Specifics for the som board (or other boards) will be captured in the board specific layers. Note: This code may be moved in the future as part of a consolidation of device tree related items. Signed-off-by: Mark Hatle <mhatle@xilinx.com> (cherry picked from commit b3470a5676ffb13addb446d0e8842e83b9c05eb2) Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* libdfx: Remove custom do_install() taskNava kishore Manne2022-07-231-11/+1
| | | | | | | | | | | | A top-level Makefile and install rules have been added in the libdfx repo. This makes the custom do_install() task obsolete. So this patch removes the do_install() from libdfx bb file. Signed-off-by: Nava kishore Manne <nava.manne@xilinx.com> Signed-off-by: Mark Hatle <mhatle@xilinx.com> (cherry picked from commit a64ff0bf015adcefbe691a94ac3e8ecf1a2ba911) Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* qemu-xilinx: Disable dynamic git fetch during buildMark Hatle2022-07-231-1/+0
| | | | | | | | All fetching must happen in the do_fetch operation. Signed-off-by: Mark Hatle <mhatle@xilinx.com> (cherry picked from commit ce70cc1055c32d4ea22a6386d84cbc4bb0cdc39f) Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* libdfx: Update bb file to align with libdfx CMake changes.Nava kishore Manne2022-07-231-5/+1
| | | | | | | | | | This patch updates bb file to align with libdfx latest CMake changes. Signed-off-by: Nava kishore Manne <nava.manne@xilinx.com> Signed-off-by: Mark Hatle <mhatle@xilinx.com> (cherry picked from commit 2848271f22a77abd2086fa4438886f885a75e1ef) Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* u-boot-xlnx.inc: stripping .dtb from BASE_DTS variableVaralaxmi Bingi2022-07-231-1/+1
| | | | | | | | | | | | | This patch will remove the .dtb from BASE_DTS as the .dtb will be added later in the python function. Signed-off-by: Varalaxmi Bingi <varalaxmi.bingi@xilinx.com> Allow CONFIG_DTFILE to be blank. Signed-off-by: Mark Hatle <mhatle@xilinx.com> (cherry picked from commit 0c19d07c7f0bc767c160c8fcce15b30601cd6d8d) Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* lopper: Update srcrev for 2022.1Appana Durga Kedareswara rao2022-07-231-1/+1
| | | | | | | Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com> Signed-off-by: Mark Hatle <mhatle@xilinx.com> (cherry picked from commit 98ea8ecc4cea58161b0994c7519195996c41caba) Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* fpga-manager-script: adding this recipe to meta-xilinxVaralaxmi Bingi2022-07-232-0/+487
| | | | | | | | | | | | | This fpgautil recipe was part of meta-xilinx-tools. This is required in decoupling flow as well till dfx mgr gets stabled and meta-xilinx-tools layer will no be there in decoupling flow. So moving this recipe to meta-xilinx. Signed-off-by: Varalaxmi Bingi <varalaxmi.bingi@xilinx.com> Signed-off-by: Mark Hatle <mhatle@xilinx.com> (cherry picked from commit e75c70e4db78afa8f5c5ec1790359ede5e8bf00e) Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* lopper: updated srcrev for 2022.1Ben Levinsky2022-07-231-1/+1
| | | | | | | Signed-off-by: Ben Levinsky <ben.levinsky@xilinx.com> Signed-off-by: Mark Hatle <mhatle@xilinx.com> (cherry picked from commit 9097f6a96da97bad6a688d0bee40f03423b21d7b) Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* lopper: updated srcrev for 2022.1Appana Durga Kedareswara rao2022-07-231-1/+1
| | | | | | | Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com> Signed-off-by: Mark Hatle <mhatle@xilinx.com> (cherry picked from commit e5b1b99eb133c6b7fa4aafe8b177aff383e9d608) Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* lopper: updated srcrev for 2022.1Appana Durga Kedareswara rao2022-07-231-1/+1
| | | | | | | Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com> Signed-off-by: Mark Hatle <mhatle@xilinx.com> (cherry picked from commit acc5dc830f3216e6140bbad44164589ccea84b1a) Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* dt-processor: Update to use latest lopperBen Levinsky2022-07-231-1/+1
| | | | | | | | | | | | | Latest lopper separates the pruning of nodes into separate lop files. Ensure that: 1. Latest lopper is used 2. These pruning operations are included in the A53 and A72 Linux lopper runs. Signed-off-by: Ben Levinsky <ben.levinsky@xilinx.com> Signed-off-by: Mark Hatle <mhatle@xilinx.com> (cherry picked from commit 1df9b28d5284e2ee333c705ce0b41686a87decba) Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* u-boot-xlnx: Update branch and SRCREV for update releaseChristian Kohn2022-07-231-2/+2
| | | | | | Update the u-boot branch and commit ID for the 2022.1_update1 release. Signed-off-by: Christian Kohn <christian.kohn@xilinx.com>
* linux-xlnx: Update branch and SRCREV for update releaseChristian Kohn2022-07-231-2/+2
| | | | | | Update the kernel branch and commit ID for the 2022.1_update1 release. Signed-off-by: Christian Kohn <christian.kohn@xilinx.com>
* u-boot-xlnx_%.bbappend: reorganizing u-boot recipe codeVaralaxmi Bingi2022-07-231-0/+40
| | | | | | | | | | | This patch will move the u-boot code from meta-xilinx-tools to meta-xilinx. Not all flows use the meta-xilinx-tools layer. Signed-off-by: Varalaxmi Bingi <varalaxmi.bingi@xilinx.com> Signed-off-by: Mark Hatle <mhatle@xilinx.com> (cherry picked from commit ea12b72b50072cf43ce0aa142100d2a3166f21e7) Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* extract-cdo: Avoid directly populating ${DEPLOY_DIR_IMAGE}Corey Thompson2022-05-031-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>
* xrt_git:zocl_git:update commitidrbramand2022-05-022-8/+10
| | | | | Signed-off-by: rbramand <rbramand@xilinx.com> Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* linux-firmware-ti-bt: dbg package requires dev package which requires baseMark Hatle2022-05-021-0/+4
| | | | | | | | | | Add an empty base package w/ an RDEPENDS on the specifically named firmware package. This allows the automatic installation of -dev or -dbg packages to work properly. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com> (cherry picked from commit 3fe9375d75c1e5266cef1feb27c57d6a5b83ca1f) Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* *WORKAROUND* weston-init: Launch weston as root userChristian Kohn2022-05-021-2/+2
| | | | | | | | | Update the systemd service file to launch weston as root user instead of the weston user as otherwise weston errors out with an EGL_BAD_ALLOC error which has not been root caused at this point. Signed-off-by: Christian Kohn <christian.kohn@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>