summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone
Commit message (Collapse)AuthorAgeFilesLines
...
* Update commit ids for 2021 releaseSai Hari Chandana Kalluri2021-07-141-2/+2
| | | | Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* Update ESW commit id for 2021 releaseSai Hari Chandana Kalluri2021-07-141-4/+4
| | | | Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* Update commit ids for 2021 releaseSai Hari Chandana Kalluri2021-07-141-5/+5
| | | | | | | Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> cherry-pick: f05655c Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* Update ESW commit id for 2021 releaseSai Hari Chandana Kalluri2021-07-141-2/+2
| | | | | | | Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> cherry-pick: 0a19d20 Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* Update commit ids for 2021 releaseSai Hari Chandana Kalluri2021-07-141-2/+2
| | | | | | | Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> cherry-pick: 6635446 Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* xlnx-embeddedsw.bbclass: Change the way in-progress overrides are handledMark Hatle2021-07-142-7/+5
| | | | | | | | | | Instead of hardcoding the values, we move to a format that is compatible with the system bblcass. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com> cherry-pick: 46f5f35 Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* Update commit ids for 2021 releaseSai Hari Chandana Kalluri2021-07-141-1/+1
| | | | | | | Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> cherry-pick: 3d9b301 Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* Update commit id for 2021 releaseSai Hari Chandana Kalluri2021-07-141-1/+1
| | | | Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* update commit ids for 2021 releaseSai Hari Chandana Kalluri2021-07-141-1/+1
| | | | Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* embeddedsw.inc: Add embeddedsw.inc as one stop to change SRCREV & BRANCHSai Hari Chandana Kalluri2021-07-142-0/+6
| | | | | | Use embeddedsw.inc to update SRCREV and BRANCH for all recipes are based on embeddedsw Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* fsb/plm/pmu/psm: Fix standalone buildMark Hatle2021-07-1410-30/+14
| | | | | | | | | | | Issue: CR-1087560 git version no longer requires most patches, so clear these. bin generation was not working consistently for standalone (not xsct) build, correct this behavior. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* embeddedsw: Keep parallel builds disabled, but change to -j1Mark Hatle2021-07-143-3/+3
| | | | | | | WHen processing for cmake, PARLLEL_MAKE is processed by a python chunk and if empty returns 'None', instead of 1. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* embeddedsw: Make it easy to change the output name of the elf binaryMark Hatle2021-07-143-6/+12
| | | | | | | | Issue: ER-6946 Different workflows may require a slightly different name. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Various: Fix eSDK hash changesMark Hatle2021-07-143-5/+8
| | | | | | | | | | | | The various *fw.bb Linux recipes need to exclude the PLM_DEPLOY_DIR from hash calculations. This location can change, but the actual value does not matter. Move plm-firmware, psm-firmware, pmu-firmware to use IMAGE_VERSION_SUFFIX (and the associate image-artifact-names class) by default. This matches how modern deployed components should work. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* fsbl/fsbl-firmware: Split the packaging and building of the fsblMark Hatle2021-07-145-0/+336
| | | | | | | | | | | | | | | | | | | | | Following the example of the psm, pmu and plm, we split the FSBL into both a packaging component (fsbl) and the build of the firmware (fsbl-firmware). This also adds an additional multilib, fsbl-fw, that is used to handle the multiconfig version, as the Linux and baremetal builds are done differently. Typical build approach is: Add to local.conf: BBMULTICONFIG += "fsbl-fw" then build using: MACHINE=zynqmp-generic bitbake fsbl Note, while 'zynq' is implemented, it does not currently function. To build the fsbl for zynq, you must use the meta-xilinx-tools version. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* layer.conf: compatible with gatesgarth onlyMark Hatle2021-07-141-1/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-standalone: Update README.mdMark Hatle2021-07-141-8/+61
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* embeddedsw; Fixups for missed plm and psm issuesMark Hatle2021-07-144-8/+18
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* embeddedsw: Rework plm/pmu/psm firmware and Linux packagingMark Hatle2021-07-147-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-07-141-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-07-145-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-07-1411-11/+17
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* embeddedsw: Update mcpu version in MakefileMark Hatle2021-07-147-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-07-144-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-07-1418-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-07-144-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-07-1414-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-07-143-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-07-141-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-07-142-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-07-144-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-07-1487-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>
* Revert "newlib/libgloss: YP has moved to version 4.1.0, adjust accordingly"Sai Hari Chandana Kalluri2021-07-142-0/+0
| | | | | | This reverts commit 96f122efe48f239f7b5df4025acd5c98a61828b3. Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* newlib/libgloss: YP has moved to version 4.1.0, adjust accordinglyMark Hatle2021-02-032-0/+0
| | | | 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-toolchain: Ensure that a baremetal toolchain can finish buildingMark Hatle2020-12-141-0/+9
| | | | | | | We include base qemu, the toolchain, but nothing else. (Dummy package is required to meet basic dependencies.) Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* newlib: Upstream now disabled builtin symbolsMark Hatle2020-12-042-2/+0
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* libgcc.bbappend: Clear empty lib directoryMark Hatle2020-12-041-0/+3
| | | | | | | | | Due to the way the multilib xilinx-standalone works, one or more empty directories under ${D}/lib may exist. This triggers a QA error about unpackaged files. Use rmdir to delete these directories to ensure they are empty. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* pmu-firmware: Latest toolchain always treats 'assert' as a macroMark Hatle2020-11-302-1/+70
| | | | | | | | | | | | | | | | | | | | | | Rename the structure member from 'assert' to 'resetAssert to avoid a compilation error: | pm_reset.c: In function ‘PmResetDoAssert’: | pm_reset.c:1905:36: error: macro “assert” passed 2 arguments, but takes just 1 | 1905 | reset->ops->assert(reset, action); | | ^ | In file included from .../tmp/work/microblazeel-v11.0-bs-cmp-xilinx-elf/pmu-firmware/v2020.1+gitAUTOINC+e8db5fb118-r0/recipe-sysroot/usr/include/sys/reent.h:503, | from .../tmp/work/microblazeel-v11.0-bs-cmp-xilinx-elf/pmu-firmware/v2020.1+gitAUTOINC+e8db5fb118-r0/recipe-sysroot/usr/include/string.h:11, | from ../misc/zynqmp_pmufw_bsp/psu_pmu_0/include/xil_printf.h:9, | from xpfw_debug.h:57, | from xpfw_default.h:37, | from pm_reset.c:36: | .../tmp/work/microblazeel-v11.0-bs-cmp-xilinx-elf/pmu-firmware/v2020.1+gitAUTOINC+e8db5fb118-r0/recipe-sysroot/usr/include/assert.h:16: note: macro “assert” defined here | 16 | # define assert(__e) ((__e) ? (void)0 : __assert_func (__FILE__, __LINE__, \ | | | Makefile:37: recipe for target ‘pm_reset.o’ failed Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* Uprev standalone toolchain bbappendsMark Hatle2020-11-304-0/+127
| | | | | | | | Move newlib/libgloss from 3.1.0 to 3.% Move the gcc configuration for standalone to gcc 10. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* Remove recipe bbappends pointing to older versionsSai Hari Chandana Kalluri2020-11-194-127/+0
| | | | | | Remove recipe bbappends pointing to older versions. The newer versions are available in meta-microblaze Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* esw.bbclass: Remove trailing / after SSai Hari Chandana Kalluri2020-11-191-2/+2
| | | | Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* update XILINX_VER_MAIN to 2020.2Sai Hari Chandana Kalluri2020-11-171-1/+1
| | | | | git cherry-pick b80c6d4 Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* Update commit id and branch for components for 2020.2 releaseSai Hari Chandana Kalluri2020-11-173-0/+0
| | | | | | | | Update commitid and branch for the following components: arm-trusted-firmware, vcu, linux-xlnx, qemu, u-boot-xlnx,xrt,zocl,bootgen git cherry-pick 9f8d8d7 Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* pmu-firmware_2019.1.bb: use IMAGE_VERSION_SUFFIX instead of DATETIMEJoerg Hofrichter2020-09-301-3/+1
| | | | | | | | | | | | | | | Use variable IMAGE_VERSION_SUFFIX variable instead of DATETIME. Using IMAGE_VERSION_SUFFIX allows easier and more direct changes. The variable is available since Yocto 2.6 and it is used also for other name variables, e.g. IMAGE_NAME. It is set to "-${DATETIME}" per default, so the naming does not change as long as IMAGE_VERSION_SUFFIX is not overridden. For more details, see: https://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#migration-2.6-image-kernel-artifact-naming-changes Signed-off-by: Joerg Hofrichter <joerg.hofrichter@ni.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* esw.bbclass: Use standard REPO, BRANCH variablesSai Hari Chandana Kalluri2020-09-081-5/+4
| | | | | | | Use standard variables to set the BRANCH, SRCREV, REPO instead of EMBEDDEDSW_REPO, EMBEDDEDSW_SRCREV, EMBEDDEDSW_BRANCH variables Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* layer.conf: Set layer compat to dunfell & gatesgarthSai Hari Chandana Kalluri2020-08-111-1/+1
| | | | | | Set layer compat to dunfell and gatesgarth Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* gcc: Fix microblaze SDK toolchainMark Hatle2020-07-131-5/+7
| | | | | | | | | | | | Issue: CR-1069415 Issue: CR-1069801 Linux based SDK toolchains need to disabled multilib support, similar to the existing 0004-64-bit-multilib-hack.patch from OE. This will fix compiling C++ applications, as well as potentially other multilib header and library issues. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* xilinx-standalone.conf: Switch default from -Os to -O2Mark Hatle2020-07-081-1/+1
| | | | | | | | Based on performance measurements as well as recent presentations at ELC it is believed the correct default should always be -O2. -Os should only be selectively used per module instead of default. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-standalone: microblaze_dtb fix config genMark Hatle2020-06-251-16/+12
| | | | | | | | | The configuration generation had a typo in 'divide-hard'. Fixed a logic error with '!' table operator. Before fpu-soft was effectively always on, even when it shouldn't be. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>