| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Baremetal toolchain machines are specific to creating a very specific Xilinx
multilib toolchain configuration. These are not expected to be functional
MACHINE parameters for anything except SDK building.
The expected usage is:
MACHINE=<value> DISTRO=xilinx-standalone bitbake meta-toolchain
Add aarch32-tc
Multilibs:
base: (none)
arm/v5te/softfp: -marm -march=armv5te+fp -mfloat-abi=softfp
arm/v5te/hard: -marm -march=armv5te+fp -mfloat-abi=hard
thumb/nofp: -mthumb -mfloat-abi=soft
thumb/v7/nofp: -mthumb -march=armv7 -mfloat-abi=soft
thumb/v7+fp/softfp: -mthumb -march=armv7+fp -mfloat-abi=softfp
thumb/v7+fp/hard: -mthumb -march=armv7+fp -mfloat-abi=hard
thumb/v7-a/nofp: -mthumb -march=armv7-a -mfloat-abi=soft
thumb/v7-a+fp/softfp: -mthumb -march=armv7-a+fp -mfloat-abi=softfp
thumb/v7-a+fp/hard: -mthumb -march=armv7-a+fp -mfloat-abi=hard
thumb/v7-a+simd/softfp: -mthumb -march=armv7-a+simd -mfloat-abi=softfp
thumb/v7-a+simd/hard: -mthumb -march=armv7-a+simd -mfloat-abi=hard
thumb/v7ve+simd/softfp: -mthumb -march=armv7ve+simd -mfloat-abi=softfp
thumb/v7ve+simd/hard: -mthumb -march=armv7ve+simd -mfloat-abi=hard
thumb/v8-a/nofp: -mthumb -march=armv8-a -mfloat-abi=soft
thumb/v8-a+simd/softfp: -mthumb -march=armv8-a+simd -mfloat-abi=softfp
thumb/v8-a+simd/hard: -mthumb -march=armv8-a+simd -mfloat-abi=hard
Add aarch64-tc
Multilibs:
Base: (none)
ilp32: -mabi=ilp32
- ilp32 requires a custom machine dict
- Add xlnx-standalone.bbclass
- Enable with PACKAGEQA_EXTRA_MACHDEFFUNCS
Add arm-rm-tc
Multilibs:
Base: (none)
arm/v5te/softfp: -marm -march=armv5te+fp -mfloat-abi=softfp
arm/v5te/hard: -marm -march=armv5te+fp -mfloat-abi=hard
thumb/nofp: -mthumb -mfloat-abi=soft
thumb/v7/nofp: -mthumb -march=armv7 -mfloat-abi=soft
thumb/v7+fp/softfp: -mthumb -march=armv7+fp -mfloat-abi=softfp
thumb/v7+fp/hard: -mthumb -march=armv7+fp -mfloat-abi=hard
thumb/v6-m/nofp: -mthumb -march=armv6s-m -mfloat-abi=soft
thumb/v7-m/nofp: -mthumb -march=armv7-m -mfloat-abi=soft
thumb/v7e-m/nofp: -mthumb -march=armv7e-m -mfloat-abi=soft
thumb/v7e-m+fp/softfp: -mthumb -march=armv7e-m+fp -mfloat-abi=softfp
thumb/v7e-m+fp/hard: -mthumb -march=armv7e-m+fp -mfloat-abi=hard
thumb/v7e-m+dp/softfp: -mthumb -march=armv7e-m+fp.dp -mfloat-abi=softfp
thumb/v7e-m+dp/hard: -mthumb -march=armv7e-m+fp.dp -mfloat-abi=hard
thumb/v8-m.base/nofp: -mthumb -march=armv8-m.base -mfloat-abi=soft
thumb/v8-m.main/nofp: -mthumb -march=armv8-m.main -mfloat-abi=soft
thumb/v8-m.main+fp/softfp: -mthumb -march=armv8-m.main+fp -mfloat-abi=softfp
thumb/v8-m.main+fp/hard: -mthumb -march=armv8-m.main+fp -mfloat-abi=hard
thumb/v8-m.main+dp/softfp: -mthumb -march=armv8-m.main+fp.dp -mfloat-abi=softfp
thumb/v8-m.main+dp/hard: -mthumb -march=armv8-m.main+fp.dp -mfloat-abi=hard
Add microblaze-tc
Multilibs:
base: (none)
bs: -mxl-barrel-shift
le: -mlittle-endian
m: -mno-xl-soft-mul
m/mh: -mno-xl-soft-mul -mxl-multiply-high
le/m: -mlittle-endian -mno-xl-soft-mul
le/m/mh: -mlittle-endian -mno-xl-soft-mul -mxl-multiply-high
bs/le: -mxl-barrel-shift -mlittle-endian
bs/m: -mxl-barrel-shift -mno-xl-soft-mul
bs/m/mh: -mxl-barrel-shift -mno-xl-soft-mul -mxl-multiply-high
bs/le/m: -mxl-barrel-shift -mlittle-endian -mno-xl-soft-mul
bs/le/m/mh: -mxl-barrel-shift -mlittle-endian -mno-xl-soft-mul -mxl-multiply-high
m64/le: -m64 -mlittle-endian
m64/le/m: -m64 -mlittle-endian -mno-xl-soft-mul
m64/le/m/mh: -m64 -mlittle-endian -mno-xl-soft-mul -mxl-multiply-high
m64/bs/le: -m64 -mxl-barrel-shift -mlittle-endian
m64/bs/le/m: -m64 -mxl-barrel-shift -mlittle-endian -mno-xl-soft-mul
m64/bs/le/m/mh: -m64 -mxl-barrel-shift -mlittle-endian -mno-xl-soft-mul -mxl-multiply-high
- 64-bit MicroBlaze requires a custom machine dict
- Add xlnx-standalone.bbclass
- Enable with PACKAGEQA_EXTRA_MACHDEFFUNCS
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Please enter the commit message for your changes. Lines starting
with '#' will be ignored, and an empty message aborts the commit.
Date: Thu Jan 30 12:17:59 2020 -0800
On branch multilib-baremetal
Your branch is ahead of 'xilinx/master-next' by 2 commits.
(use "git push" to publish your local commits)
Changes to be committed:
|
|
|
|
|
|
|
|
| |
Multiple copies of the same binary toolchain will not help with anything,
so limit use to a single (primary) lib toolchain, and then new symlinks
to those toolchains to continue to enable the environment files.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
|
| |
The C++ headers are slightly different for different multilibs. The Yocto
Project name (canonical arch) is different then the gcc multilib directory
name. Put in code that will syncronize these two items, allows C++ support
to function properly, avoiding conflicts in the process.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Distro Changes:
When building a multilib, we need to disable configsite cache. Otherwise
the system will fail to generate the SDK as there are no configsite entries
due to newlib based multilibs.
Recipe Changes:
gcc - globally disable multilib configuration
- Disable Linux specific configurations (EXTRACONFFUNCS)
gcc-cross-canadian - enable multilib on a recipe specific basis
libgcc - add a noop override to do_multilib_install to avoid Linux specific
multilib processing
newlib - arm/v6+m/nofp and arm/v8-m.base/nofp do not have newlib trap
implementations. libgloss contains these, workaround by
disabling builtin trap syscall handler.
- misc workarounds for multilib installs
libgloss - Allow MLPREFIX for newlib dependencies
meta-toolchain - adjust to install only the items we want/need
packagegroup-newlib-standalone-sdk-target - new pkggroup for the
custom baremetal SDK to select the right set of packages
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
| |
Unify the meta-xilinx-bsp and meta-xilinx-standalone layers
by moving the machine confs to the BSP layer and keeping the
standalone layer as a DISTRO layer
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
|
|
|
|
|
|
| |
to its name
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
|
|
|
|
|
|
| |
zynqmp and versal variants
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
|
|
|
|
|
|
| |
zynqmp-pmu to microblaze-pmu
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
|
|
|
|
| |
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
|
|
|
|
|
|
|
|
| |
Due to the large amount of recipes required from the ESW repo,
include a pattern to parse recipes without requiring a directory
per recipe
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
|
|
|
|
| |
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
|
|
|
|
|
|
| |
recipes-bsp
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
|
|
|
|
|
|
|
|
| |
Keep the version numbers in case the version changes, so
do_patch fails and forces us to revise the patches and make
sure they are still required
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
|
|
|
|
|
|
| |
on recipes-devtools
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
|
|
|
|
|
|
|
|
| |
backend"""
This reverts commit 55aa631780a5d804324bbb348b5df9b5d0c1f934.
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
|
|
|
|
|
|
|
|
|
| |
An error in commit: 7e99d6d01b7b685048b35ac77ea6938ab2708097 resulted in
dropping the section that restored the --with-sysroot workaround. This
is required for the standard lib and include patches to be defined by the
toolchain.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
| |
This reverts commit a03c94376187956352609887c25d2cb1fa4a0485.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
| |
Update gdb item (not really applicable, but included to be complete).
Fix an issue w/ microblaze 64 IMML instruction.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
| |
The Xilinx errata documents does not list the parts as affected by these
errata, so remove them in order to generate better code.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The result of the refactoring is equivalent to before the changes, with the
following changes:
- cortexa72 has been removed
- cortexa53 has been replaced with aarch64
- zc702-zynq7 has been replaced with arm
- zynqmp-pmu has been replaced with microblaze
In order to avoid a multilib cflag collision on arm, clear the TUNE_CCARGS on
arm (and cortexr5).
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
| |
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
| |
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
|
|
|
|
| |
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
|
|
|
|
| |
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
|
|
|
|
| |
This reverts commit a45b1acf46f01cc5eb3ae130ab61766ed635340e.
|
|
|
|
|
|
| |
Add versal-generic machine configuration
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
mali backend""
This reverts commit 7719c87e2574a6ed2b15b99c43ecbee5cebb3b69.
Removing libmali as preferred provider due to CR-1052821
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
|
|
|
|
|
|
| |
Changing arch-armv8.inc to arch-armv8a.inc to match upstream name change
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
-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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.1
Signed-off-by: Varalaxmi Bingi <varalaxmi.bingi@xilinx.com>
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Update XILINX_RELEASE_VERSION to v2020.1
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
| |
Update u-boot patch for kc705
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Changing generic 'DEBUG' flag to 'DEBUG_ATF' for better readability.
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
This reverts commit 03115b3c35560617b2ffa9e911a6c1071ff6ad30.
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Adding patch to add microblaze as supported CPU
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 u-boot, qemu, linux, atf to 2020.1
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
|
|
|
|
|
|
| |
Update configure options to be in sync with the SDK
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
|