summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* gcc-runtime: Make the baremetal changes specific to class-targetMark Hatle2020-01-241-7/+8
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* gcc-microblaze: Remove multilib builds that arent working (m64)Alejandro Enedino Hernandez Samaniego2020-01-242-0/+30
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* gcc-xilinx-standalone: Enable multilib builds for baremetal microblazeAlejandro Enedino Hernandez Samaniego2020-01-241-1/+0
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* gcc-runtime: Set correct overrides now that the build has been fixed in oe-coreAlejandro Enedino Hernandez Samaniego2020-01-241-9/+13
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* Revert "binutils/gcc: Refactor the oeconf"Mark Hatle2020-01-246-14/+167
| | | | This reverts commit a45b1acf46f01cc5eb3ae130ab61766ed635340e.
* versal-generic: Add versal-generic machine configurationSai Hari Chandana Kalluri2020-01-241-0/+15
| | | | | | Add versal-generic machine configuration Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* Using tune-cortexa72-cortexa53.inc for versal and zynqmp tunesJaewon Lee2020-01-222-4/+4
| | | | | | | | | | | Using the optimized tune file (tune-cortexa72-cortexa53.inc) instead of armv8a tune for versal and zynqmp. Also changing DEFAULTTUNE from aarch64 to cortexa72-cortexa53 as otherwise it was taking aarch64, the first declared default Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* Revert "Revert "**TEMPORARY**: Removing preferred provider overrides for ↵Sai Hari Chandana Kalluri2020-01-221-6/+6
| | | | | | | mali backend"" This reverts commit 7719c87e2574a6ed2b15b99c43ecbee5cebb3b69. Removing libmali as preferred provider due to CR-1052821
* microblaze gdb/binutils: Adding necessary patches for microblazeJaewon Lee2020-01-2091-360/+14419
| | | | | | | | | Binutils and GDB updated to include common commits. These commits were syncronized between binutils and gdb sources, and then equally applied as microblaze specific bbappends. Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* gdb: Switching microblaze to use upstream gdb version 8.3.1Jaewon Lee2020-01-2020-2495/+0
| | | | | | | | Previously we were using gdb 7.7.1 just for microblaze for compatibility issues, now switching back to upstream version 8.3.1 and removing no longer needed 7.7.1 bb files and patches Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* binutils/gcc: Refactor the oeconfMark Hatle2020-01-166-167/+14
| | | | | | | | | The special arguments do not appear to be needed, and using the standard configuration arguments will more easily enable other components as well. Note, additional refactoring will be needed, only aarch64 has been verified. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* gcc-runtime: Enable bulding libsdtc++ for baremetal applicationsAlejandro Enedino Hernandez Samaniego2020-01-161-0/+24
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* cortexa*.conf: Change arch-armv8.inc to arch-armv8a.incJaewon Lee2020-01-152-3/+3
| | | | | | Changing arch-armv8.inc to arch-armv8a.inc to match upstream name change Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* newlib: Adding xilinx specific patches on top of newlib/libgloss 3.1.0Jaewon Lee2020-01-1513-0/+2584
| | | | | | | Adding necessary patches on top of upstream newlib and libgloss 3.1.0 Signed-off-by: Nagaraju Mekala <nmekala@xilix.com> Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* gcc-source: Adding microblaze patch to fix compiler crash with ↵Jaewon Lee2020-01-152-0/+78
| | | | | | | | | | | -freg-struct-return Adding microblaze specific patch to fix a bug in MB GCC regarding the passing struct values in registers. Currently we are only handling SImode With this patch all other modes are handled properly Signed-off-by: Nagaraju Mekala <nmekala@xilix.com> Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* "**TEMPORARY**" linux-xlnx.inc: Trim PV variable expansionSai Hari Chandana Kalluri2020-01-141-1/+1
| | | | | | | | | | | | | | | | | | | | | PV variable is set to expand as PV = "${LINUX_VERSION}${LINUX_VERSION_EXTENSION}+git${SRCPV}" where: XILINX_RELEASE_VERSION ?= "" LINUX_VERSION_EXTENSION ?= "-xilinx-${XILINX_RELEASE_VERSION}" During package compilation, the sstatecache generates a siginfo filename using the packagename, PV, machine arch and SRCPV. For microblaze machines i.e microblazeel-v11.0-bs-cmp-mh-div-generic and microblazeel-v11.0-bs-cmp-ml-generic, when signinfo file is generated it fails with the following error: OSError: [Errno 36] File name too long: 'yocto/2020.1/2020.1-next/build/sstate-cache/bd/sigtask.v21dhivl' -> 'yocto/2020.1/2020.1-next/build/sstate-cache/bd/sstate:linux-xlnx:microblazeel_v11.0_bs_cmp_ml_generic-xilinx-linux:4.19-xilinx-v2020.1+gitAUTOINC+3120d3694a:r0:microblazeel_v11.0_bs_cmp_ml_generic:3:bd73041379cd33962d98eb44c1b73f20f24daf3ace4a4ddc605548dc63e7f62d_kernel_version_sanity_check.tgz.siginfo' To fix the error, trim the PV variable by removing the LINUX_VERSION_EXTENSION to get PV = "${LINUX_VERSION}+git${SRCPV}" Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* Update XILINX_RELEASE_VERSION to v2020.1Varalaxmi Bingi2020-01-135-5/+5
| | | | | | | Update XILINX_RELEASE_VERSION to v2020.1 Signed-off-by: Varalaxmi Bingi <varalaxmi.bingi@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* gcc-cross-canadian_%.bbappend:temporary hack to build gcc cross canadianJaewon Lee2020-01-091-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | This is a TEMPORARY HACK to build gcc-cross-canadian toolchain for the xilinx-standalone distro. xilinx-standalone.conf will set TCLIB as newlib which will pull in tclibc-newlib.inc which sets TARGET_OS to eabi for arm and elf for everything else. In gcc-cross-canadian.inc (upstream) there is a _remove('--with-sysroot=/not/exist') for TARGET_OS overrides(elf and eabi) which fixes baremetal toolchain builds by preventing the compiler from looking in nonexistent sysroot directories e.g. https://github.com/riscv/meta-riscv/issues/117 But that flag is needed when building for newlib as that is what will specify the path in the arch specific sysroots to look for the header files that were generated. Without setting --with-sysroot the following error would occur: fatal error: stdio.h: No such file or directory 1 | #include <stdio.h> Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* libgpg-error: Add microblaze platform specific gpg-error.h fileManjukumar Matha2020-01-062-0/+31
| | | | | | | | | | Add support for microblaze by generating the platform specific gpg-error.h file. This was generated based on a patch from Nathan Rossi, using qemu_wrapper_cmdline, more detials on patch can be found here https://github.com/nathanrossi/meta-xilinx/commit/107f4564041c64a68bb3250f4c5f96bd9d257aaf Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* layer.conf: Update XILINX_RELEASE_VERSION to v2020.1Manjukumar Matha2020-01-062-2/+2
| | | | | | Update XILINX_RELEASE_VERSION to v2020.1 Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* kc705-microblaze: Update u-boot patch for kc705Manjukumar Matha2020-01-061-15/+19
| | | | | | Update u-boot patch for kc705 Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* u-boot-zynq-scr:Add initrd label to pxe configSwagath Gadde2019-12-172-0/+2
| | | | | | | | | | | | This patch adds the initrd label command to pxe config file which is required to boot linux in pxeboot with initrd image. initrd <path> - if this label is chosen, use tftp to retrieve the initrd at <path>. it will be stored at the address indicated in the initrd_addr_r environment variable, and that address will be passed to bootm Signed-off-by: Swagath Gadde <swagathg@xilinx.com>
* arm-trusted-firmware.inc: Changing generic DEBUG to DEBUG_ATFJaewon Lee2019-12-171-4/+4
| | | | | | Changing generic 'DEBUG' flag to 'DEBUG_ATF' for better readability. Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* libmali-xlnx: Provide single shlib provider for libMali.so.9Sai Hari Chandana Kalluri2019-12-161-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libmali-xlnx provides multiple shared libraries to support the update alternatives mechanism. For this, shared libraries with different backends are installed to the target and softlinked to libmali-xlnx.so. When do_package task runs, 1. It creates a pkgdata/libmali-xlnx file that generates a list of packages. In this case: PACKAGES: libmali-xlnx-src libmali-xlnx-dbg libmali-xlnx-staticdev libmali-xlnx-dev libmali-xlnx-doc libmali-xlnx-locale libmali-xlnx libmali-xlnx-x11 libmali-xlnx-fbdev libmali-xlnx-wayland libmali-xlnx-headless 2. It also tries to identify what are the shlibs files and creates a pkgdata/shlibs2/libmali-xlnx.list file. - The .list file contains a list of all shared object files being provided by a package. - This list is created by looking at list of packages from above one by one. - It creates a list of available .so files for target os and then uses objdump -p to get more info(NEEDED and SONAME) about the object files - Writes to .list file with list of .so files and the paths installed. - This is generated by only looking at the .so files in each package and not the defaiult backend being used in the recipe. In Zeus, with this commit f7d46843e93f1acb4872bd5bcc12ed734de5168b on package.bbclass, multiple shlib_providers for the same file error. Hence when packages like cairo, qtbase build they error out with the following error: Multiple shlib providers for libMali.so.9: libmali-xlnx, libmali-xlnx,libmali-xlnx, libmali-xlnx Why this error generates for packages using libmali-xlnx: When cairo/qtbase packages run do_package task, bitbake generates a shlibs_provider_map list containing information (soname,ldir,ver) for the given package using shlibs2/*.list files copied to pkgdata-sysroots. libmali-xlnx.list contains list of all .so files installed inspite default MALI_BACKEND_DEFAULT provider. Since the shlibs_provider_map contains more than one provider, bitbake generates the above error and fails. To fix the above issue, append to the do_package task to update the libmali-xlnx.list to specify only the MALI_BACKEND_DEFAULT provider shlib and discard the remaining unused shlibs. Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* Revert "**TEMPORARY**: Removing preferred provider overrides for mali backend"Jaewon Lee2019-12-161-6/+6
| | | | This reverts commit 03115b3c35560617b2ffa9e911a6c1071ff6ad30.
* glibc-locale_%.bbappend: Fix directory installed but not shipped issueJaewon Lee2019-12-121-0/+4
| | | | | | | | | | Fixing "Files/directories were installed but not shipped in any package" issue where /usr/lib/locale directory was being populated with no files included. Appeding a loop to delete empty directories in libdir to bypass this issue Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* meson: Adding patch to add microblaze as supported CPUJaewon Lee2019-12-122-0/+29
| | | | | | Adding patch to add microblaze as supported CPU Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* **TEMPORARY**: Removing preferred provider overrides for mali backendJaewon Lee2019-12-091-6/+6
| | | | | | | | | | | | | | Temporarily removing preferred provider overrides for mali backed to bypass mali packaging issues for ex: Multiple shlib providers for libMali.so.9 QA Issue: /usr/lib/libQt5EglFSDeviceIntegration.so.5.13.2 contained in package qtbase requires libMali.so.9()(64bit), but no providers found in RDEPENDS_qtbase? [file-rdeps] Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* Upgrade recipes to 2020.1Sai Hari Chandana Kalluri2019-12-0917-0/+0
| | | | | | Upgrade u-boot, qemu, linux, atf to 2020.1 Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* gcc: Add multilib-list=aprofile configure option for cortex A9Alejandro Enedino Hernandez Samaniego2019-12-091-0/+1
| | | | | | Update configure options to be in sync with the SDK Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* gcc: Separate binutils optionsAlejandro Enedino Hernandez Samaniego2019-12-096-77/+97
| | | | | | binutils options should not be tied to the gcc bbappends Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* gcc-cross-microblazeel: disable multilibAlejandro Enedino Hernandez Samaniego2019-12-091-0/+1
| | | | | | multilib builds are broken on microblaze, disable them Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* toolchain: add cortex-A9 options for gcc and binutilsAlejandro Enedino Hernandez Samaniego2019-12-093-0/+41
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* xilinx-standalone: Reorganize toolchain configure optionsAlejandro Enedino Hernandez Samaniego2019-12-097-161/+194
| | | | | | | | | | | | Previously the GCC configure options per MACHINE were inside the MACHINE.confs, this was wrong since the BSPs are contaminated by the DISTRO options and it should be the other way around. Avoid this contamination by using MACHINE OVERRIDES along with DISTRO OVERRIDES to get the required gcc and binutils configure options by the Xilinx SDK Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* xilinx-standalone: Add staticdev packages for newlib and libgloss to ↵Alejandro Enedino Hernandez Samaniego2019-12-091-0/+3
| | | | | | | | | | | dependencies For the cross canadian toolchain we need to have both the libc.a and libgloss.a. We add them to the LIBC_DEPENDENCIES which are wired in core to be added to the sdk via the TOOLCHAIN_TARGET_TASK variable Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* xilinx-standalone: switch override and appendAlejandro Enedino Hernandez Samaniego2019-12-094-8/+12
| | | | | | Instead of overriding the append, we need to append the override. Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* Adds MACHINE.conf containing default tune for Cortex A72Alejandro Enedino Hernandez Samaniego2019-12-091-0/+54
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* toolchain: Provide specific configuration for cross(-canadian) gcc and binutilsAlejandro Enedino Hernandez Samaniego2019-12-096-14/+149
| | | | | | | | | | | | | | | Since we need specific configuration for the SDK toolchain, we need to override the configuration coming from oe-core, this configuration needs to be per MACHINE. Use GCC_CONFIGURE_COMMON_XILINX_STANDALONE to define the default config shared amongst MACHINES, and use a GCC_CONFIGURE_<MACHINE> variable to append to this common configuration options on each MACHINE that we want. Use the same procedure for binutils Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* Adds MACHINE.conf containing default tune for Cortex A53Alejandro Enedino Hernandez Samaniego2019-12-091-0/+14
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* Adds MACHINE.conf containing default tune for Cortex R5Alejandro Enedino Hernandez Samaniego2019-12-091-0/+13
| | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* gcc-cross: Dont override EXTRA_OECONF unless DISTRO is xilinx-standaloneAlejandro Enedino Hernandez Samaniego2019-12-091-1/+1
| | | | | | | | | For the xilinx-standalone DISTRO, we need to keep some of the configure options that we lose when setting TCLIBC=newlib, although this should only happen when we are selecting xilnx-standalone as the DISTRO, otherwise, we would be overriding the configure options for GCC when this bbappend is parsed Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
* qemu-*: Upgrade QEMU version 2.11 -> 4.1.5Sai Hari Chandana Kalluri2019-12-097-180/+15
| | | | | | Upgrade QEMU version from 2.11 -> 4.1.5 for 2020.1 release Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* Move recipes to use _%.bb instead of versionSai Hari Chandana Kalluri2019-12-092-0/+0
| | | | | | | The changes in these recipes are version independent. Hence move them to _%.bb Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* tune-versal.inc: Rename include file from arch-armv8 to arch-armv8aSai Hari Chandana Kalluri2019-12-091-1/+1
| | | | | | Rename include file from arch-armv8.inc -> arch-armv8a.inc Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* vck190-versal.conf: Add deploy dir for psm and plm firmwareSai Hari Chandana Kalluri2019-12-091-0/+3
| | | | | | Add deploy dir path for plm and psm to support multiconfig builds. Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* versal-mb.conf: Add machine configuration to support standalone buildSai Hari Chandana Kalluri2019-12-091-0/+11
| | | | | | | | for versal components like plm, psm-firmware versal-mb.conf supports versal SOC standalone component builds such as plm, psm-firmware. It provides required configuration to use microblaze toolchain needed for the builds.
* psm-firmware_2019.2.bb: Create psm-firmware recipe for standalone buildSai Hari Chandana Kalluri2019-12-091-0/+71
| | | | | | | | Create psm-firmware recipe for standalone build. PSM is a PS Management unit responsible for controlling the power islands, error processing and other control functions within the PS. Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* plm_2019.2.bb: recipe to build plm standaloneSai Hari Chandana Kalluri2019-12-092-0/+74
| | | | | | | | Add recipe to build plm as standalone component. plm is platform loader and manager for versal devices.It performs boot and configuration of the Versal ACAP device. Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* u-boot-xlnx: Add the platform init file for zcu216-zynqmpSai Hari Chandana Kalluri2019-12-091-0/+1
| | | | | | | Add u-boot-xlnx platform init file for zcu216-zynqmp machine Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* arm-trusted-firmware_2019.2.bbappend: Update compilation flagSai Hari Chandana Kalluri2019-12-091-0/+1
| | | | | | | | | This patch updates compilation flag for versal silicon. This flag is only needed for s80 device. Signed-off-by: Vineeth Chowdary <vineeth.chowdary@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>