summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone
Commit message (Collapse)AuthorAgeFilesLines
...
| * | embeddedsw; Fixups for missed plm and psm issuesMark Hatle2021-03-124-8/+18
| | | | | | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * | embeddedsw: Rework plm/pmu/psm firmware and Linux packagingMark Hatle2021-03-097-19/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to allow standalone (meta-xilinx-standalone), XSCT (meta-xilinx-tools), and future items to work in the same way the recipes have been restructured. A *-firmware recipe will generate the firmware and stage it to do_deploy. A *fw recipe will take the deployed version and package it for the Linux side of things. This allows the firmware generation to be easily extended without requiring packaging knowledge. Similarly packaging can be extended for alternative boot/upgrade mechanisms as required. In all cases, the MACHINE configuration will specify the default way the components are to be built, along with the names of the item in the deploy directory. The PLM/PSM/PMU_IMAGE_NAME is the name for the generated firmware. PLM/PSM/PMU_DEPLOY_DIR is the path to the constructed firmware. This along with the IMAGE_NAME above can be used to specify the location of an externally generated set of firmware. Addtionally the dependencies for building the plmfw/psmfw/pmufw can be changed easily using PLM/PSM/PMU_DEPENDS and PLM/PSM/PMU_MCDEPENDS. The former specifies dependencies in the same multiconfig, while the later allows the component to require another multiconfig to have finihed. The system has a referenced default, if multiconfig is enabled it will automatically use it, otherwise it will try to use the recipe in the main configuration. (This will fail unless meta-xilinx-tools is available.) Also two multiconfigs hve been implemented: versal-fw and zynqmp-pmufw They can be enabled using BBMULITCONFIG += "zynqmp-pmufw" or versal-fw. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * | xilinx-standalone.inc: Don't require uninativeMark Hatle2021-03-091-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | If the distribution enables uninative, then in a multiconfig setting, all distributions must use AND configure uninative support. This is not desired and should only be enabled in the primary configuration. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * | Further adjustments for embeddedsw so it works with meta-xilinx-toolsMark Hatle2021-03-055-23/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure that plm-firmware can run for any microblaze & versal configuration. Ensure that psm-firmware can run for any microblaze & versal configuration. Ensure that pmu-firmware can run for any microblaze & zynqmp configuration. In each case, use EXTRA_OEMAKE to set the bsp_make_vars instead of individual references. This allows meta-xilinx-tools to disable this. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * | Adjust standalone embeddedsw so it can be bbappended by meta-xilinx-toolsMark Hatle2021-03-0511-11/+17
| | | | | | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * | embeddedsw: Update mcpu version in MakefileMark Hatle2021-03-057-0/+41
| | | | | | | | | | | | | | | | | | Use -mcpu=v10.0 instead of indeterminate -mcpu=v. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * | embeddedsw: Update for git master tracking versionMark Hatle2021-03-054-6/+167
| | | | | | | | | | | | | | | | | | | | | Add a new plm/pmu/psm version (non-default) to track upstream embeddedsw for easier development. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * | Sync to latest embeddedswMark Hatle2021-03-0518-15/+604
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move versal-mb conf to meta-xilinx-standalone Sync to latest official patches for zynqmp_pmufw to deal with assert now now being a macro. Sync to latest official patches for copy_bsp.sh (standalone) configurations. Delete versions that do NOT compile. Update remaining versions to compile on current toolchain. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| * | embeddedsw: Sync with meta-xilinx-toolsMark Hatle2021-03-054-18/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | Change the order of embeddedsw and some of the variables used to allow bbappending from meta-xilinx-tools Add Description and Provide from meta-xilinx-tools versions. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
| * | recipes-standalone: Move firmware to embeddedsw directory and simplifyMark Hatle2021-03-0514-24/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create a new embeddedsw.inc file, This will contain all of the refereces for SRCREV, and SRC_URI and other components that may be necessary. Changing the filename or passing SRC_VER will switch the various source version information. As new releases happen, they can be added to the list while incompatible ones can be removed. This now allows us to focus on adjusting the recipes as necessary. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
| * | plm/pmu/psm-firmware: Set version to 2019.2 in order to match SRCREVMark Hatle2021-03-053-3/+3
| | | | | | | | | | | | | | | | | | | | | The actual version is 2019.2 according to the SRCREV. These components have not yet been merged forward to 2020.2. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
| * | plm-firmware: Rename from plm to match other firmware, update S/BMark Hatle2021-03-051-6/+6
| | | | | | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
| * | pmu/psm-firmware: Move from S to B which allows code to be patchedMark Hatle2021-03-052-11/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The system should never reference or build software that is above the 'S' directory. So S being the top of the source tree, and B (build) being the location where we are running out build components will work correctly and meet the Yocto Project requirements. This also has a side effect of allowing patching of components above the build directory, if necessary. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
| * | meta-xilinx-standalone machines: Update to match embeddedswMark Hatle2021-03-054-22/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | microblaze-pmu: Rename to microblaze-zynqmp-pmu Also upon inspection of embeddedsw, it was setting the CPU version to v9.2. Fix this. versal-mb: Rename to microblaze-versal-fw microblaze-plm: Remove (duplicate of above) Also upon inspection of embeddedsw, it was setting the CPU version to v10.0. Fix this. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
| * | Reorganize the various layer componentsMark Hatle2021-03-0587-1173/+1097
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Machines: Move baremetal machines to meta-xilinx-standalone Layers: - Add new meta-xilinx-standalone-experimental This layer may require components that may not yet be available to the general public. It will contain various experiemntal integration work. - meta-xilinx-standalone This layer should be functional and contain the necessary items to build a baremetal toolchain that can use libxil (replacement to libgloss) from the Xilinx embeddedsw components. (Note, libxil is NOT built as part of this work!) The layer also contains the buildable components for the various firmware components required to startup various Xilinx FPGAs. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
| * | meta-xilinx-standalone: Prevent user error, when meta-microblaze is requiredMark Hatle2021-02-032-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the user chooses to build a microblaze target, the compiler can fail to patch properly as a symptom. Users may think it's a simple patch failure, but really they forgot to include the meta-microblaze layer itself. Declare the meta-microblaze layer as a recommended layer, and verify in the gcc-source bbappend that it has been included, if a microblaze target is being built. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* | | meta-xilinx: Clean up vendor specific machine configuration filesSandeep Gundlupet Raju2022-07-281-25/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Add new metal-xilinx-vendor layer which supports vendor specific machine configuration files, device-tree, kernel, platform-init etc. 2. Moved below vendor machine conf files, dt and related configs from meta-xilinx-bsp and meta-xilinx-contrib to meta-xilinx-vendor layer. - microzed-zynq7.conf - minized-zynq7.conf - picozed-zynq7.conf - zedboard-zynq7.conf - zybo-zynq7.conf - zybo-linux-bd-zynq7.conf - ultra96-zynqmp.conf 3. Obsolete qemu-zynq7, s3adsp1800-qemu-microblazeeb, v350-versal and vc-p-a2197-00-versal from meta-xilinx-bsp layer. Users should use zynq-generic.conf for zynq7000 qemu boot should be functionally equivalent to qemu-zynq7. 4. Add new MAINTAINERS.md file and move maintainers, Mailing list and Patches content from meta-xilinx-* README.md to MAINTAINERS.md file. 5. Updated README.md file for supported board machines files in meta-xilinx-bsp, meta-xilinx-contrib and meta-xilinx-vendor layers. 6. Disabled old drm kernel patches for zybo-linux-bd-zynq mahcine in meta-xilinx-contrib layer as these patches doesn't apply on 5.x kernel, if we don't hear from patch submitter we will remove these patches from meta-xilinx-contrib layer. 7. Removed drm kernel cache metadate for zybo-linux-bd-zynq7 machine as these configs are already available in xilinx_zynq_defconfig. 8. Fixed build issue for u-boot by changing PREFERRED_PROVIDER_virtual/bootloader from u-boot to u-boot-xlnx. 9. Add meta-xilinx-vendor to bblayers.conf.sample Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@xilinx.com> Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* | | Move from 2021.2 to 2022.1Mark Hatle2022-05-026-4/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | embeddedsw: Update fsbl image nameSandeep Gundlupet Raju2022-03-282-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Update FSBL_IMAGE_NAME to align with expected file name to be fsbl-${MACHINE}. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | | gcc standalone: Add workaround for microblaze -Os bugMark Hatle2022-02-122-2/+0
| | | | | | | | | | | | | | | | | | | | | Remove -enable-target-optspace, which forces -Os when building various internal libraries. 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-044-12/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Remove hardknott from LAYERSERIES_COMPATJohn Toomey2022-02-041-1/+1
| | | | | | | | | | | | | | | | | | | | | We do not maintain support for hardknott so it is being removed Signed-off-by: John Toomey <jtoomey@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | | Remove gatesgarth from LAYERSERIES_COMPATJohn Toomey2022-02-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | We do not build, test or support gatesgarth in any of our layers so it makes sense to remove this for the various layer.conf files Signed-off-by: John Toomey <jtoomey@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | | meta-xilinx-standalone: Remove obsolete machinesMark Hatle2022-01-237-37/+0
| | | | | | | | | | | | | | | | | | | | | These machines are no longer necessary, as the regular "generic" machine with an alterantive DEFAULTTUNE should be used instead. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | | xilinx-microblaze.bbclass: Fail if meta-microblaze is not includedMark Hatle2022-01-231-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the user uses a microblaze tune, we need to check if meta-microblaze is part of their build. If not stop, and tell them they need to add it. meta-microblaze is not a layers dependency as it is not needed for most builds. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | | embeddedsw: Rework the embeddedsw copy firmware recipesMark Hatle2022-01-2310-3/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Move away from PACKAGE_ARCH = "BOARD_ARCH" or "BOARDVARIANT_ARCH"Mark Hatle2022-01-144-12/+4
| | | | | | | | | | | | | | | | | | | | | 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>
* | | meta-xilinx-standalone: Move from cortexr5f to cortexr5Mark Hatle2022-01-142-2/+2
| | | | | | | | | | | | | | | | | | | | | After moving from Xilinx specific cortex r5 turning file, the 5f is no longer defined. Move to the now standard 'cortexr5' definition. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | | Remove cortexrm tune, as Yocto Project now has cortex-r tunesMark Hatle2022-01-143-35/+57
| | | | | | | | | | | | | | | | | | | | | armrm override is now replaced by armv7r and armv8r overrides. Adjust recipes to match the new usage. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | | Move baremetal include to meta-xilinx-standaloneMark Hatle2022-01-141-0/+7
| | | | | | | | | | | | | | | | | | | | | This was missed in the prior move of the components to meta-xilinx-standalone layer. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | | gcc-runtime: Fix a missing _ to : transitionMark Hatle2022-01-141-1/+1
| | | | | | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | | meta-toolchain: Adjust the bbappend to work with a 'fuller' size SDKMark Hatle2022-01-141-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | The user may have specified additional host tools for the toolchain, allow this -- as a new meta-xilinx-toolchain was introduced for the cut-down prebuilt toolchain. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | | aarch32-tc.conf: Fix reference to cortex-a9 tune fileMark Hatle2022-01-141-1/+1
| | | | | | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | | gcc-source: Move from gcc 10 to gcc 11 supportMark Hatle2022-01-142-13/+14
| | | | | | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | | Revert "gcc: Import gatesgarth version, converted to new variable syntax"Mark Hatle2022-01-142-0/+0
| |/ |/| | | | | | | | | This reverts commit 2c819946b5258291d1725dabb3f5180d36971bd6. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | xlnx-embeddedsw: Move 2021.2 from -next to stable branchMark Hatle2021-11-021-5/+5
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | Updated SRCREV for 2021Sivaprasad Addepalli2021-11-021-1/+1
| | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
* | Updated SRCREV for 2021Sivaprasad Addepalli2021-11-021-1/+1
| | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
* | Updated SRCREV for 2021Sivaprasad Addepalli2021-11-021-1/+1
| | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
* | Updated SRCREV for 2021Sivaprasad Addepalli2021-11-021-1/+1
| | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
* | Updated SRCREV for 2021Sivaprasad Addepalli2021-11-021-2/+2
| | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
* | Updated SRCREV for 2021Sivaprasad Addepalli2021-11-021-1/+1
| | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
* | Updated SRCREV for 2021Sivaprasad Addepalli2021-11-021-1/+1
| | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>
* | aarch64-tc: Fix cortexa72-cortexa53 referenceMark Hatle2021-11-011-1/+1
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | meta-xilinx-standalone: various fixes for override syntax changesMark Hatle2021-10-2513-46/+46
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | meta-xilinx-standalone: gcc-source bbappend changesMark Hatle2021-10-252-14/+13
| | | | | | | | | | | | | | | | | | | | | | The regular (all version) bbappend will work with both gcc 10 and gcc 11. It only needs to tell the system it is compatible with baremetal builds. The special gcc-source_10 version works with the unique microblaze gcc only. This verifies, and configures the microblaze toolchain for the large multiconfig SDK build. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | gcc: Import gatesgarth version, converted to new variable syntaxMark Hatle2021-10-252-0/+0
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | Convert to new override syntaxSai Hari Chandana Kalluri2021-09-2830-501/+501
| | | | | | | | | | | | | | | | | | | | This is the result of automated script (0.9.0) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* | Updated SRCREV for 2021Sivaprasad Addepalli2021-09-281-1/+1
| | | | | | | | Signed-off-by: Siva Addepalli <sivaprasad.addepalli@xilinx.com>