summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* binutils/gdb: Disable hunk from microblaze patchgatesgarthMark Hatle2021-04-202-2/+2
| | | | | | | | | | The disabled chunk triggers a compilation failure when trying to build newlib for microblaze64. ld: MicroBlaze architecture of input file `/tmp/ccHA6bsQ.o' is incompatible with MicroBlaze output ld: warning: cannot find entry symbol _start; defaulting to 0000000000000050 Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* binutils/gdb: Fix various microblaze 64 issuesMark Hatle2021-04-206-13/+412
| | | | | | | Issue: CR-1089197 Issue: CR-1093443 Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* layer.conf: compatible with gatesgarth onlyMark Hatle2021-04-205-5/+5
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* libgloss: Fix crt*.o files that are stripped, when they shouldn't beMark Hatle2021-04-081-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>
* binutils: Workaround for Microblaze 64 linking failureMark Hatle2021-04-061-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-04-062-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>
* meta-xilinx-standalone: Update README.mdMark Hatle2021-03-201-8/+61
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* plmfw/psmfw: Fix missing do_deploy addtask, and local checkMark Hatle2021-03-202-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-03-202-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>
* embeddedsw; Fixups for missed plm and psm issuesMark Hatle2021-03-125-9/+19
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* embeddedsw: Rework plm/pmu/psm firmware and Linux packagingMark Hatle2021-03-0926-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-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>
* meta-xilinx-bsp: Move multiconfig into meta-xilinx-standalone-experimentalMark Hatle2021-03-092-0/+0
| | | | 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-0589-0/+57
| | | | | | | | | | | | | | | | | | | | 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-bsp/conf/layer.conf: No longer allow dangling bbappendsMark Hatle2021-02-231-2/+0
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Avoid warnings from bbappends to meta-openembeddedMark Hatle2021-02-235-0/+5
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* layer.conf: adding xxd as a host toolJaewon Lee2021-02-171-0/+2
| | | | | | | | Adding xxd as a host tool as it's a dependent tool when uboot is configured to use a default environment file Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* u-boot-zynq-scr: remove exit from boot scriptRaju Kumar Pothuraju2021-02-172-16/+0
| | | | | | | | | | This patch removes the exit from boot script which is after the boot command. in successfull case boot command gives handoff to kernel and exit never executes. Signed-off-by: Swagath Gadde <swagath.gadde@xilinx.com> Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* xilinx-board.inc: inserting a '-' in between board and boardvariantJaewon Lee2021-02-171-2/+2
| | | | | | | | Inserting a '-' in between board and boardvariant to align with the format of soc and soc family Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Updating machine overrides to match new formatJaewon Lee2021-02-178-26/+26
| | | | | | | | | | Previously machine override for a soc variant was SOC_VARIANT appended to SOC_FAMILY. A '-' was included in between to align with how versal handles machine overrides. Updating machine overrides to match this format Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* SOC_VARIANT versal: removing previously required prepended '-'Jaewon Lee2021-02-174-8/+8
| | | | | | | | Removing the need to prepend a '-' to SOC_VARIANT for versal variants for ex. '-ai-core' Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* u-boot-zynq-scr.bb: Add PRE_BOOTENV variableRaju Kumar Pothuraju2021-02-171-3/+6
| | | | | | | | | Add PRE_BOOTENV in uboot-zynq-scr to add boot commands into boot.scr. Defining FIT_IMAGE_OFFSET variables for QSPI and NAND. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* u-boot-zynq-scr: Add microblaze support for boot.scrRaju Kumar Pothuraju2021-02-173-9/+273
| | | | | | | | | | Adding microblaze support for boot.scr and moving the generic boot script from petalinux to yocto layers. The generic boot script will read the boot_target variable on uboot and based on the bootmode it will execute the boot commands. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* microblaze: Defining UBOOT_MACHINE and wiping UBOOT_INITIAL_ENVJaewon Lee2021-02-173-0/+7
| | | | | | | | | Defining UBOOT_MACHINE as microblaze-generic_defconfig and setting UBOOT_INITIAL_ENV to empty to be able to compile uboot as microblaze env/common.o doesn't have default_environment section Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* 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>
* picozed-zynq7.dts: add marvell,88e1510 to eth phyDavid Roman2021-01-281-1/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* meta-xilinx-bsp: Move uboot-device-tree to meta-xilinx-tools layerVaralaxmi Bingi2021-01-281-78/+0
| | | | | | | | | | | | This component requires xsct, provided by meta-xilinx-tools. It was determined that all components that make use of xsct should be located in meta-xilinx-tools. Signed-off-by: Varalaxmi Bingi <varalaxmi.bingi@xilinx.com> Reword commit message Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* linux-xlnx: Fix build with patch from upstream kernel for gcc-10.Philip Balister2021-01-282-0/+52
| | | | | Signed-off-by: Philip Balister <philip@balister.org> Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* u-boot-xlnx: Fix build error by applying patch from upstream u-boot.Philip Balister2021-01-282-0/+32
| | | | | | | | Signed-off-by: Philip Balister <philip@balister.org> Adjusted where the append is added, and commented when to remove it. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* qemu-xilinx: Fix patch puzz warning during do_patchSai Hari Chandana Kalluri2020-12-221-5/+7
| | | | | | Rework 0001-Add-enable-disable-udev.patch to fix patch fuzz warnings Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* Cleanup QB_MACHINE for xilinx machinesSai Hari Chandana Kalluri2020-12-225-5/+0
| | | | | | | Pick correct QB_MACHINE name for each of the machine from qemuboot-xilinx.bbclass. Remove QB_MACHINE from machine.conf Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* linux-xlnx.inc: Update overlay config fragmentsRaju Kumar Pothuraju2020-12-221-1/+1
| | | | | | | Updating overlay config fragments path. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* zcu102-zynqmp.conf: Fix qemuboot for zcu102-zynqmpSai Hari Chandana Kalluri2020-12-222-4/+3
| | | | | | Fix machine name being passed to zcu102-zynqmp qemu boot arg. Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* ultra96: Using BOARD level hiearchy for ultra96 overridesJaewon Lee2020-12-226-8/+14
| | | | | | | | Using BOARD level hierarchy to rewire ultra96 specific overrides. Each package using BOARD override has to also redefine PACKAGE_ARCH using BOARD_ARCH Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* Adding BOARD and BOARD_VARIANT level hierarchyJaewon Lee2020-12-223-0/+3
| | | | | | | | | | | Going to generic machine confs, we can no longer use machine overrides for specific machine changes. Adding BOARD and BOARD_VARIANT level hierarchy for packaging for zynqmp/zynq/versal generic machines confs. BOARD and BOARD_VARIANT must be set accordingly to use these hierarchy levels properly Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* weston: Update the weston patches to comply with weston-9.0Madhurkiran Harikrishnan2020-12-223-93/+7
| | | | | | | | | Removed the patch pertaining to eglconfig for pbuffer surfaces as it is merged in the mainline. Upadate the patch which removes the opaque substitute to comply with weston-9.0. Signed-off-by: Madhurkiran Harikrishnan <madhurkiran.harikrishnan@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* Update LICENSE_CHECKSUM for kernel-module-hdmiSai Hari Chandana Kalluri2020-12-221-1/+1
| | | | Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* xilinx-board.inc: fixing BOARD_ARCH and BOARDVARIANT_ARCH namesJaewon Lee2020-12-221-4/+4
| | | | | | | Fixing arch variables, removing SOC_ for BOARD_ARCH and BOARDVARIANT_ARCH variables Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* 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>