summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-core/recipes-bsp
Commit message (Collapse)AuthorAgeFilesLines
...
| * machine-xilinx-zynq: Fix BIT_PARITION_ATTR pathSandeep Gundlupet Raju2022-02-021-4/+12
| | | | | | | | | | | | | | | | Fix BIF_PARTITION_ATTR paths for fsbl and u-boot components. Also add missing BIF_PARTITION_ATTR for device-tree. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * xilinx-bootbin: Ensure do_configure pays attention to all of the valuesMark Hatle2022-02-021-0/+1
| | | | | | | | | | | | | | | | | | do_configure processes the BIF_PARTITION_ATTR based on python getVar. This prevents the system from automatically discovering the variables needed for hash calculations to determine if something has changed. Manually add in the list of standard variables processed to ensure the hash updates. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * Updated SRCREV for 2022Sivaprasad Addepalli2022-02-021-1/+1
| | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
| * Updated SRCREV for 2022Sivaprasad Addepalli2022-02-011-1/+1
| | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
| * Updated SRCREV for 2022Sivaprasad Addepalli2022-01-312-2/+2
| | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
| * Set dfx-mgr COMPATIBLE_MACHINES to zynqmp/versalJohn Toomey2022-01-261-0/+4
| | | | | | | | | | | | | | | | | | The dfx-mgr package depends on libdfx which is restricted to zynqmp and versal and it follows that this package should have the same restriction as it is not used on other platforms. Signed-off-by: John Toomey <jtoomey@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * pmufw: Fix dependency variable typoMark Hatle2022-01-251-1/+1
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * embeddedsw: Update to skip checks in eSDK build/installMark Hatle2022-01-255-7/+13
| | | | | | | | | | | | | | | | | | | | | | | | device-tree, fsbl, plmfw, pmufw, psmfw do basic validation checks, when in an eSDK skip these checks. Otherwise a partially configured system can't generate an eSDK for the end user. Sync Core and Standalone usages to be consistent. Also cleanup the BB_DONT_CACHE to be consistent in all usages. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * Updated SRCREV for 2022Sivaprasad Addepalli2022-01-251-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com> Remove the qemu-xilinx uprev, it causes issues with mingw32. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * Revert "Updated SRCREV for 2022"Mark Hatle2022-01-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit a1643135ff0942233bd475b1319e53d75c68defa. Caused QEMU build failure. When building for mingw32: | ../git/hw/misc/xlnx-versal-cframe-reg.c: In function 'cframe_incr_far': | ../git/hw/misc/xlnx-versal-cframe-reg.c:385:18: error: expected identifier or '(' before '=' token | 385 | uint32_t far = ARRAY_FIELD_EX32(s->regs, FAR0, FRAME_ADDR); | | ^ | ../git/hw/misc/xlnx-versal-cframe-reg.c:390:10: error: expected expression before ';' token | 390 | far++; | | ^ | ../git/hw/misc/xlnx-versal-cframe-reg.c:392:13: error: expected expression before '>' token | 392 | if (far > s->cfg.blktype_num_frames[blktype]) { | | ^ | ../git/hw/misc/xlnx-versal-cframe-reg.c:394:13: error: expected expression before '=' token | 394 | far = 0; | | ^ Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * Updated SRCREV for 2022Sivaprasad Addepalli2022-01-251-1/+1
| | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
| * Updated SRCREV for 2022Sivaprasad Addepalli2022-01-251-1/+1
| | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
| * base-pdi: Move COMPATIBLE_MACHINE to .*Mark Hatle2022-01-232-14/+2
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * embeddedsw: Rework the embeddedsw copy firmware recipesMark Hatle2022-01-234-40/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fsbl, plmfw, pufw, and psmfw are reworked to provide earlier error messages, and better handle multiconfig builds. Also adjust MACHINE specific changes to use .* for compatibility based on the SOC_FAMILY override. The system doesn't always set the SOC_FAMILY as COMPATIBLE_MACHINE, so this avoids an error of incompatible machine. Align all of the expected firmware filenames to be <firmware>-${MACHINE}. The user can override as necessary. The license moves to CLOSED as we don't know the license of the software being provided by the user or other dependencies. It'll be up to the user to reconcile it. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * device-tree: Merge experimental and standard flowsMark Hatle2022-01-231-4/+40
| | | | | | | | | | | | | | | | | | | | | | We need a method for regular building to specify a device tree. Since the experimental flow already contained this, merge it in and connect to the existing SYSTEM_DTFILE as a fall back. Also enable addition 'early package failure' messages to alert the user as soon as possible they need to pass in additional information. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * dfx-mgr: Fix override syntaxChristian Kohn2022-01-211-2/+2
| | | | | | | | | | | | | | Fix override syntax in systemd variables. Signed-off-by: Christian Kohn <christian.kohn@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * Updated SRCREV for 2022Sivaprasad Addepalli2022-01-201-1/+1
| | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
| * Updated SRCREV for 2022Sivaprasad Addepalli2022-01-201-1/+1
| | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
| * Updated SRCREV for 2022Sivaprasad Addepalli2022-01-191-1/+1
| | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
| * Updated SRCREV for 2022Sivaprasad Addepalli2022-01-191-1/+1
| | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
| * Updated SRCREV for 2022Sivaprasad Addepalli2022-01-181-1/+1
| | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
| * pmu-rom-native: Remove PACKAGE_ARCH and skip do_configureMark Hatle2022-01-121-1/+1
| | | | | | | | | | | | | | | | | | PACKAGE_ARCH is not relevant to native recipes, remove this do_configure is not used as the package is simply loading in a binary. Skip this as an optimization Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * Updated SRCREV for 2022Sivaprasad Addepalli2022-01-121-1/+1
| | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
| * libdfx: Move to 2022 development branch and commitMark Hatle2022-01-101-2/+2
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * Updated SRCREV for 2022Sivaprasad Addepalli2022-01-101-1/+1
| | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
| * Updated SRCREV for 2022Sivaprasad Addepalli2022-01-101-1/+1
| | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
| * dfx-mgr: Enable systemd hooksSai Hari Chandana Kalluri2022-01-072-6/+29
| | | | | | | | | | | | | | | | Enable SYSTEMD hooks by default as DISTRO_FEATURE is systemd. Enable sysvinit hooks only if DISTRO_FEATURE is sysvinit. Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * Updated SRCREV for 2022Sivaprasad Addepalli2022-01-071-1/+1
| | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
| * pmu-rom-native: Automatically download from public site for QEMU usageMark Hatle2022-01-042-41/+27
| | | | | | | | | | | | | | | | Move the pmu-rom to pmu-rom-native recipe. The ROM is only deployed in the standard directory for qemu-xilinx usage when required by a zynqmp-generic system. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * Revert "dfx-mgr: **** TEMPORARILY **** disable zocl, due to linux 5.15"Mark Hatle2021-12-241-2/+1
| | | | | | | | | | | | | | (dfx-mgr was moved from meta-xilinx-tools, the reverted patch was from before the move) Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * dfx-mgr/libdfx: Move from meta-xilinx-toolsMark Hatle2021-12-222-0/+89
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * Move away from PACKAGE_ARCH = "BOARD_ARCH" or "BOARDVARIANT_ARCH"Mark Hatle2021-12-2210-38/+11
| | | | | | | | | | | | | | PACKAGE_ARCH should not be MACHINE_ARCH, unless a specific override is being used for compatibility. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * platform-init: Split into board specific entriesMark Hatle2021-12-223-13322/+0
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * arm-trusted-firmware: Split board specific entriesMark Hatle2021-12-221-4/+3
| | | | | | | | | | | | Cleanup some of the override syntax. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * xilinx-mcs: Remove obsolete board specific configMark Hatle2021-12-221-1/+0
| | | | | | | | | | | | The board config matches the default config, it's not needed. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * device-tree: Break into base bb and board specific bbappendMark Hatle2021-12-229-1210/+0
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * kc705-bitstream: Move to bsp layer, bsp specificMark Hatle2021-12-221-48/+0
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * Initial restructure/split of meta-xilinx-bspMark Hatle2021-12-2244-0/+16180
| | | | | | | | | | Create a new meta-xilinx-core, move core functionality to the core, keeping board specific files in the bsp layer. zynqmp-generic changed from require <board> to include, so if meta-xilinx-bsp is not available it will not fail. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* u-boot-xlnx: Add support for U-boot user specified dtsSandeep Gundlupet Raju2022-07-281-2/+24
| | | | | | | | | | | | | | | | | 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> Adjust to keep extra_oemake args blank, unless actually needed 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>
* 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-281-2/+14
| | | | | | | | | | | | | | | | | 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>
* 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>
* 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>
* 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>
* 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>