summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-core/recipes-bsp
Commit message (Collapse)AuthorAgeFilesLines
...
* Updated SRCREV for 2022.1Siva Addepalli2022-07-231-1/+1
| | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@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>
* 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>
* 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>
* 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>
* 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>
* boot.cmd.generic:add support for usb bootSwagath Gadde2022-05-021-1/+1
| | | | | | | This patch will add support for usb devices which is needed when it is in boot_targets. Signed-off-by: Swagath Gadde <swagath.gadde@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* libdfx: update libdfx bb file to enable shared library supportNava kishore Manne2022-05-021-7/+7
| | | | | | | | | | This patch updates libdfx bb file to enable shared library support Signed-off-by: Nava kishore Manne <nava.manne@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com> (cherry picked from commit 65230983f4183fddbe4a45cb85da656eb5054c55) Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* dfx-mgr: fix systemd service fileSergei Korneichuk2022-05-022-3/+10
| | | | | | | | | | Fix ExecStart and Description. Add Documentation and comments. Fix warnings during systemd start-up. Signed-off-by: Sergei Korneichuk <sergei.korneichuk@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com> (cherry picked from commit 299550b94abee3c8653fbcbc4f2e1f94fae7741e) Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* dfx-mgr: new SRCREV, remove xrtSergei Korneichuk2022-05-021-1/+1
| | | | | | | | | Remove xrt due to changes in the new SRCREV Signed-off-by: Sergei Korneichuk <sergei.korneichuk@xilinx.com> Signed-off-by: Mark Hatle <mhatle@xilinx.com> (cherry picked from commit 9403fc26b709c6babf868b8b6e2fab927220563d) Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* dfx-mgr: new SRCREV, remove libdfxgraphSergei Korneichuk2022-05-021-7/+3
| | | | | | | | | | Remove libdfxgraph package since the new SRCREV is due to removal of the opendfx-graph code. Signed-off-by: Sergei Korneichuk <sergei.korneichuk@xilinx.com> Signed-off-by: Mark Hatle <mhatle@xilinx.com> (cherry picked from commit 6945929681a1466a5310e7cce1c30e0aa9d6b7d3) Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* Fix ATF provencore enable not workingJohn Toomey2022-05-021-1/+1
| | | | | | | | | | | | | | arm-trusted-firmware checks if "provencore" is in COMBINED_FEATURES but this is not correct as COMBINED_FEATURES contains the intersection of MACHINE_FEATURES and DISTRO_FEATURES rather than the union and the required settings do not get applied. This change checks for "provencore" in MACHINE_FEATURES. Signed-off-by: John Toomey <jtoomey@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com> (cherry picked from commit 5cae9775ec4a1744a6bd43d8d0ad828e6ca256e0) Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Enable ProvenCore in ATF with MACHINE_FEATURESJohn Toomey2022-05-021-0/+3
| | | | | | | | | | | | The ProvenCore secure OS required changes have been merged into the ATF repo but require extra settings to be passed in order to enable it. When "provencore" is found in MACHINE_FEATURES the required settings are passed using EXTRA_OEMAKE. Signed-off-by: John Toomey <jtoomey@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com> (cherry picked from commit bee4893778edbb935867cfae50825544a53d0cb9) Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Revert "**TEMPORARY** atf: set ATF_MEM_BASE, ATF_MEM_SIZE to bypass size ↵Venkatesh Yadav Abbarapu2022-05-021-2/+2
| | | | | | | | issues with latest gcc version" This reverts commit 00c9ca7989542caef20ea30bbf263d66d3942cad. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Move from 2021.2 to 2022.1Mark Hatle2022-05-023-7/+7
| | | | | | | | | | Rename recipes from 2021.2 to 2022.1 as necessary. Move internal references to 2022.1 (layer.conf and local.conf.sample) Move kernel to 2022.1 branch, as well as various kernel modules. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* u-boot-xlnx: oe-core now provides an xxd-native if requiredMark Hatle2022-03-281-1/+1
| | | | | | | Remove host-tool requirement, switch to using Yocto Project provided xxd-native, provided by vim-native. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* device-tree: Allow the CONFIG_DTFILE to be a dts and cleanupMark Hatle2022-03-281-11/+10
| | | | | | | | | Cleanup the conditionals, as only one file is allowed to be specified. Also use the converted version so if a dts is passed in, the dtb will be installed after it is generated. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Revert "device-tree: Allow the CONFIG_DTFILE to be a dts"Mark Hatle2022-03-281-2/+2
| | | | | | This reverts commit f03941e1d98828e17d2bd9d6de56f61baa712f52. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* device-tree: Allow the CONFIG_DTFILE to be a dtsMark Hatle2022-03-281-2/+2
| | | | | | | | | Instead of processing the CONFIG_DTFILE, process the converted (generated) DTB files. This resolves an issue where a user passes in a DTS, the system generated a DTB and attempts to install both the DTS and DTB triggering an unexpected file problem during package generation. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* pmufw: Fix dependency variable typoMark Hatle2022-02-041-1/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* embeddedsw: Update to skip checks in eSDK build/installMark Hatle2022-02-045-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>
* Set dfx-mgr COMPATIBLE_MACHINES to zynqmp/versalJohn Toomey2022-02-041-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>
* xilinx-bootbin: Sync versal and ensure items can be defined in local.confMark Hatle2022-02-043-13/+17
| | | | | | | | | | Use ??= to define the default values. This ensures a ?= (or =) can be used in a .bbappend, or a user can define a default value in the local.conf or machine.conf file. Also add a default config for versal that matches zynqmp and zynq. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* machine-xilinx-zynq: Fix BIT_PARITION_ATTR pathSandeep Gundlupet Raju2022-02-041-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-041-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>
* Revert "dfx-mgr: **** TEMPORARILY **** disable zocl, due to linux 5.15"Mark Hatle2022-01-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: Fix override syntaxChristian Kohn2022-01-241-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>
* bootbin: Adjust BIF_PARTITION_ATTRMark Hatle2022-01-241-1/+19
| | | | | | | | | | | The order is critical for the system to boot properly. Add a comment explaing the requirements, making the various parts parameterized to allow the optional parameters to be adjusted. The bitstream element will typically be added by a bbappend in a layer such as meta-xilinx-tools. Signed-off-by: Mark Hatle <mark.hatle@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-221-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>
* pmu-rom-native: Remove PACKAGE_ARCH and skip do_configureMark Hatle2022-01-141-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>
* dfx-mgr: Enable systemd hooksSai Hari Chandana Kalluri2022-01-142-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>
* pmu-rom-native: Automatically download from public site for QEMU usageMark Hatle2022-01-142-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>
* dfx-mgr/libdfx: Move from meta-xilinx-toolsMark Hatle2022-01-142-0/+89
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Move away from PACKAGE_ARCH = "BOARD_ARCH" or "BOARDVARIANT_ARCH"Mark Hatle2022-01-1410-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 Hatle2022-01-143-13322/+0
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* arm-trusted-firmware: Split board specific entriesMark Hatle2022-01-141-4/+3
| | | | | | Cleanup some of the override syntax. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* xilinx-mcs: Remove obsolete board specific configMark Hatle2022-01-141-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 Hatle2022-01-149-1210/+0
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* kc705-bitstream: Move to bsp layer, bsp specificMark Hatle2022-01-141-48/+0
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Initial restructure/split of meta-xilinx-bspMark Hatle2022-01-1444-0/+16162
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>