summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* linux-xlnx: Update commit ids for 2021 releaseSai Hari Chandana Kalluri2021-07-141-1/+2
| | | | Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* hdmi: Update commit id and branch for 2021 releaseSai Hari Chandana Kalluri2021-07-141-3/+3
| | | | Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* vcu: Update commit id and branch for 2021 releaseSai Hari Chandana Kalluri2021-07-144-12/+12
| | | | Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* Update commit id and branch for 2021 releaseSai Hari Chandana Kalluri2021-07-143-16/+15
| | | | Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* kernel-module-*: Do not set PACKAGE_ARCH to something less specificMike Looijmans2021-07-144-8/+0
| | | | | | | | | | | | | | | | | | | Issue: CR-1098191 The kernel-module recipes set PACKAGE_ARCH = "${SOC_FAMILY_ARCH}" which is broken because kernel modules depend on the kernel which is MACHINE specific. The assignment claims that you could use a kernel module built for some other board for any other zynqmp board, which is not true since their kernel versions and configuration will differ. Remove the assignment so that the kernel module becomes MACHINE_ARCH again. This solves issues with kernel modules that refuse to install during the do_rootfs stage, and various setscene tasks running over and again when switching between MACHINEs. Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* linux-yocto*.bbappend: Add local files path for mb patchMark Hatle2021-07-141-0/+2
| | | | | | | | | Issue: CR-1098186 Without this change, a parse error may occur related to being unable to find one or more local patches. Signed-off-by: Mark Hatle <mark.hatle@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>
* machine-xilinx-default.inc: fpga-manager change to fpga-overlay DISTRO_FEATUREJaewon Lee2021-07-141-1/+1
| | | | | | | | | IMAGE_FEATURES should only control which package are getting included into the image, it shouldnt control configuration/compile options. Keeping the fpga-manager IMAGE_FEATURE but also using fpga-overlay DISTRO_FEATURE to set FPGA_MNGR_RECONFIG_ENABLE which controls config options Signed-off-by: Jaewon Lee <jaewon.lee@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-146-5/+11
| | | | | | | | | | | | 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>
* psm/plm/pmu/fsbl: Exclude TOPDIR from hashMark Hatle2021-07-143-0/+5
| | | | | | | | | | | Issue: CR-1096936 TOPDIR is only used to find the file to copy in the case of a multiconfig build. However, even in this case the value of TOPDIR does not effect the resulting build. Exclude this variable to avoid unnecessary rebuilds of firmware in the eSDK. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* conf/bblayers.conf.sample: meta-browser organization has changedMark Hatle2021-07-141-1/+1
| | | | | | We want meta-browser/meta-chromium to be used with ultra96 webapp Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* linux-xlnx.inc: Use weaker assignment for KBUILD_DEFCONFIGRaju Kumar Pothuraju2021-07-141-4/+4
| | | | | | | | Using weaker assignment for KBUILD_DEFCONFIG to override without forcevariable. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* *.conf: use weaker assignment for UBOOT_MACHINERaju Kumar Pothuraju2021-07-1422-22/+22
| | | | | | | | Using weaker assingnment for UBOOT_MACHINE to update this value in petalinux without _forcevariable. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* soc-zynq/soc-zynqmp: Set default filename to match bootgenMark Hatle2021-07-142-2/+2
| | | | | | | meta-xilinx-tools and bootgen produced a version called 'fsbl-<machine>', adjust the name to match expectations. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* soc-zynq/soc-zynqmp: Set default locations for fsbl firwmareMark Hatle2021-07-142-0/+13
| | | | | | | | Match the behavior of the pmu, psm, and plm firmwares. Set the default deployment directory, filename, and dependencies for the soc-zynq and soc-zynqmp systems. FSBL is only present on thse two systems. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* fsbl/fsbl-firmware: Split the packaging and building of the fsblMark Hatle2021-07-147-8/+403
| | | | | | | | | | | | | | | | | | | | | 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-145-6/+5
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* u-boot-zynq-scr: update QSPI/NAND commandsRaju Kumar Pothuraju2021-07-142-35/+21
| | | | | | | | | | | In past using the if check in qspi/nand to check if user wants to use fitimage/separate images default is fitimage, this leads to rebuild the boot.scr if user wants to use separate images. This patch will remove if check and use direct commands if proper image found bootm will run and boots the kernel. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* u-boot-zynq-scr: Add env variable support to skip loading ramdisk imagesRaju Kumar Pothuraju2021-07-142-3/+4
| | | | | | | | | | | Having ramdisk images in FAT, rootfs extracted into EXT4 and want to boot direct EXT4 boot without pivot is not working since the bootscript is loading the ramdisk image from FAT. To avoid this adding env variables to skip loading ramdisk images. These can be part of uEnv.txt or uboot. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* libgloss: Fix crt*.o files that are stripped, when they shouldn't beMark Hatle2021-07-141-0/+7
| | | | | | | | | | | Issue: CR-1062133 For some reason libgloss installs the crt*.o files with executable bit set, this causes the build system to strip these as executables. However, it makes it impossible to use the .o files to properly link applications later on. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* u-boot-zynq-scr: Add uEnv.txt support in bootscriptRaju Kumar Pothuraju2021-07-142-1/+19
| | | | | | | This patch will add uEnv.txt support in bootscript. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* binutils: Workaround for Microblaze 64 linking failureMark Hatle2021-07-141-9/+0
| | | | | | | | The typecast is causing linking to not work properly, however it does cause a compilation warning to return that a typecast is likely needed. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* meta-microblaze gcc-source: Fix barrel shift for versions under v10.0Mark Hatle2021-07-142-0/+50
| | | | | | | Issue reported by Daniel Mack via the meta-xilinx mailing list. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* vck-sc-zynqmp.conf: Setting BOARD in MACHINE confJaewon Lee2021-07-141-1/+1
| | | | | | | Set BOARD in MACHINE conf as workaround for build scripts not using generic confs Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* microblazeel-v11.0-bs-cmp-mh-div-generic.conf: include xilinx-boardRaju Kumar Pothuraju2021-07-141-0/+1
| | | | | | | | Including xilinx-board.inc to add BOARD variables support for mb generic machine. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* various: Ensure that DATETIME is no usedMark Hatle2021-07-142-0/+4
| | | | | | | We should be using IMAGE_VERSION_SUFFIX instead, but this requires that the user either directory or indirectly inher image-artifact-names. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* qemu-xilinx-helper-native: Change the way we find the oe-core filesMark Hatle2021-07-141-8/+2
| | | | | | | | | | | Issue: SSW-773 Due to changing the order of the search paths in meta-petalinux to allow us to override classes, the way we find the oe-core files needs to also change. Instead of using a search approach, just assume that the files we need will always come from oe-core itself. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* ] adding aiefal dependency for XRTch vamshi krishna2021-07-141-2/+2
| | | | | Signed-off-by: ch vamshi krishna <chvamshi@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* libgles: libmali: Update the branch to 2021.1Madhurkiran Harikrishnan2021-07-141-2/+2
| | | | | | | The new update has the latest eglplatform header from khronos. Signed-off-by: Madhurkiran Harikrishnan <madhurkiran.harikrishnan@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* meta-xilinx-standalone: Update README.mdMark Hatle2021-07-141-8/+61
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* plmfw/psmfw: Fix missing do_deploy addtask, and local checkMark Hatle2021-07-142-2/+9
| | | | | | | | If the fw is pulling from the same config, we don't want to re-deploy the firmware (it will fail.) Otherwise copy it from the other config into our config, as other tools may look for it. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* soc-*.inc: Fix the firmware filename to the expected one in meta-xilinx-toolsMark Hatle2021-07-142-2/+2
| | | | | | | The restructure of the code missed the filename structure, the filenames used by meta-xilinx-tools were intended to be the correct ones. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* u-boot-zynq-scr.bb: Use ramdisk.cpio image when switch_root enabledRaju Kumar Pothuraju2021-07-141-1/+3
| | | | | | | | Use the ramdisk.cpio.gz.u-boot image for pxeboot when INITRAMFS_IMAGE has the image name *initramfs*. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* embeddedsw; Fixups for missed plm and psm issuesMark Hatle2021-07-145-9/+19
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* embeddedsw: Rework plm/pmu/psm firmware and Linux packagingMark Hatle2021-07-1426-71/+279
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* meta-xilinx-bsp: Move multiconfig into meta-xilinx-standalone-experimentalMark Hatle2021-07-142-0/+0
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* versal-generic: Add HDF_MACHINE for versal-genericSai Hari Chandana Kalluri2021-07-141-0/+2
| | | | Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@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>