summaryrefslogtreecommitdiffstats
path: root/meta-microblaze
Commit message (Collapse)AuthorAgeFilesLines
* meta-microblaze: Remove diffutils bbappendMark Hatle2023-06-192-15/+0
| | | | | | | | Change is no longer needed, now upstream. Signed-off-by: Mark Hatle <mark.hatle@amd.com> (cherry picked from commit ee903da38d5a5d5580cb87cc05cc09983a602d34) Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-microblaze: packagegroup-core-tools-testapps: Disable packagesMark Hatle2023-04-111-0/+9
| | | | | | Disable items that don't work on microblaze Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* systemd: rebase microblaze patchesMark Hatle2023-04-114-111/+121
| | | | | | Rebase/rework microblaze patches for the latest systemd version Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* README: Update microblaze layer langdale release infoSandeep Gundlupet Raju2023-03-151-6/+10
| | | | | | | Update meta-microblaze README with langdale release info. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* binutils: Disable broken alternativesMark Hatle2023-03-101-0/+2
| | | | | | | | | | ld.gold and dwp are not supported on Microblaze, disable gprof is not generated on Microblaze, disable this alternative Signed-off-by: Mark Hatle <mark.hatle@amd.com> (cherry picked from commit 57d6ff39e32c46f81cccad97fd8634f3aad88e16) Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* glibc: libc.so.6 contains a textrel on microblazeMark Hatle2023-03-101-0/+1
| | | | | | | | Disable the textrel warning, as it is expected. Signed-off-by: Mark Hatle <mark.hatle@amd.com> (cherry picked from commit 6eca19d4576391e01571b762c3e18e2f3f16c3f4) Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-microblaze: gcc-source: Always apply microblaze patchesMark Hatle2023-02-241-2/+2
| | | | | | | | | The microblaze patches are safe for all configurations. But due to the use of the gcc-source package being shared for native, cross, target, sdk, etc we need a single full source that covers all configurations. Otherwise we run into problems with sstate-cache re-use and a lot of duplication. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* Partial revert "packagegroup-core-tools-debug/testapps: Clear unsupported ↵Mark Hatle2022-11-081-2/+0
| | | | | | | | | | items when on microblaze" This is a partial revert of commit 36428595d7da5a18ebf5ec173ecfbfc8bb7c73cb Revert disabling of gdb and gdbserver in packagegroup-core-tools-debug. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* Revert "meta-microblaze: gdb: Temporarily disable GDB"Mark Hatle2022-11-083-9/+0
| | | | | | This reverts commit 17daecd2918a7cd98f61825704cac1d9d3a046e2. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* Revert "ltp: Disable ltp gdb dependency only on Microblaze"Mark Hatle2022-11-081-2/+0
| | | | | | This reverts commit a88a734282fb007f81e0d8e365eccfc7d8a375e3. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* gdb-microblaze: Update to new version of the portMark Hatle2022-11-0812-2191/+1738
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* newlib-microblaze: Update to new version of the portMark Hatle2022-11-0711-38/+48
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* gcc-microblaze: Update to new version of the portMark Hatle2022-11-0754-560/+556
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* binutils-microblaze: Update to new version of the portMark Hatle2022-11-0740-2769/+792
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* newlib/libgloss: Rebase patch for current versionMark Hatle2022-09-222-25/+18
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* packagegroup-core-tools-debug/testapps: Clear unsupported items when on ↵Mark Hatle2022-09-212-0/+4
| | | | | | microblaze Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* rust_microblaze.bbclass: Prevent rust from being available on microblazeMark Hatle2022-09-212-0/+7
| | | | | | | | rust does not support microblaze. So we want to automatically skip any recipes that inherit rust support. Otherwise the failure is delayed until do_configure time, instead of parse time. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* ltp: Disable ltp gdb dependency only on MicroblazeMark Hatle2022-09-211-0/+2
| | | | | | | On-target gdb does not work on microblaze, disable the dependency. This may affect certain ltp test cases. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* binutils: update to current oe-core 2.39 versionMark Hatle2022-09-0139-694/+794
| | | | Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* meta-microblaze: elfutils: Moved to OE-CoreMark Hatle2022-09-011-2/+0
| | | | Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* gcc: Update patches for Langdale gccMark Hatle2022-09-0121-331/+297
| | | | Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* meta-microblaze: openssl: Change now in OE-CoreMark Hatle2022-09-012-93/+0
| | | | Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* meta-microblaze: disable of seccomp moved to oe-coreMark Hatle2022-09-011-3/+0
| | | | Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* meta-microblaze: Move to gcc-12 to match OE-CoreMark Hatle2022-09-0155-1/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* meta-microblaze: Switch layer to support langdaleMark Hatle2022-09-011-1/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* meta-microblaze: elfutils: Symvers is not supported on microblazeMark Hatle2022-08-311-0/+2
| | | | Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* meta-microblaze: openssl: Use -latomic for microblazeMark Hatle2022-08-312-0/+93
| | | | Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* meta-microblaze: layer.conf: seccomp is not supported with microblazeMark Hatle2022-08-311-0/+3
| | | | Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* meta-microblaze: gdb: Temporarily disable GDBMark Hatle2022-08-313-0/+9
| | | | Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* binutils: Update patches for Langdale binutilsMark Hatle2022-08-3114-705/+372
| | | | Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* meta-microblaze: newlib: match OE versionMark Hatle2022-08-312-0/+0
| | | | Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* meta-microblaze: libxcrypt: Workaround no longer requiredMark Hatle2022-08-312-19/+0
| | | | Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* meta-microblaze: zstd: Move bbappend to apply to all 1.5.x versionsMark Hatle2022-08-311-0/+0
| | | | Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* meta-microblaze: glibc: Workaround now upstreamMark Hatle2022-08-314-106/+0
| | | | Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* meta-microblaze: Switch layer to kirkstoneMark Hatle2022-08-311-1/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* meta-xilinx: Clean up vendor specific machine configuration filesSandeep Gundlupet Raju2022-07-281-18/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Add new metal-xilinx-vendor layer which supports vendor specific machine configuration files, device-tree, kernel, platform-init etc. 2. Moved below vendor machine conf files, dt and related configs from meta-xilinx-bsp and meta-xilinx-contrib to meta-xilinx-vendor layer. - microzed-zynq7.conf - minized-zynq7.conf - picozed-zynq7.conf - zedboard-zynq7.conf - zybo-zynq7.conf - zybo-linux-bd-zynq7.conf - ultra96-zynqmp.conf 3. Obsolete qemu-zynq7, s3adsp1800-qemu-microblazeeb, v350-versal and vc-p-a2197-00-versal from meta-xilinx-bsp layer. Users should use zynq-generic.conf for zynq7000 qemu boot should be functionally equivalent to qemu-zynq7. 4. Add new MAINTAINERS.md file and move maintainers, Mailing list and Patches content from meta-xilinx-* README.md to MAINTAINERS.md file. 5. Updated README.md file for supported board machines files in meta-xilinx-bsp, meta-xilinx-contrib and meta-xilinx-vendor layers. 6. Disabled old drm kernel patches for zybo-linux-bd-zynq mahcine in meta-xilinx-contrib layer as these patches doesn't apply on 5.x kernel, if we don't hear from patch submitter we will remove these patches from meta-xilinx-contrib layer. 7. Removed drm kernel cache metadate for zybo-linux-bd-zynq7 machine as these configs are already available in xilinx_zynq_defconfig. 8. Fixed build issue for u-boot by changing PREFERRED_PROVIDER_virtual/bootloader from u-boot to u-boot-xlnx. 9. Add meta-xilinx-vendor to bblayers.conf.sample Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@xilinx.com> Signed-off-by: Mark Hatle <mhatle@xilinx.com>
* gdb: Fix error in inline_frame_snifferMark Hatle2022-07-282-0/+62
| | | | | | | | | Depth: Total number of inline functions [refer inline-frame.c] state->skipped_frames : Number of inline functions skipped. the current unwind_pc is causing an issue when we try to step into inline functions[Depth is becoming 0]. It’s incrementing pc by 8 even with si instruction. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-microblaze: gdb is now availableMark Hatle2022-07-281-2/+0
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-microbalze: gdb: Enable gdb and gdbserver on microblazeMark Hatle2022-07-2814-985/+1301
| | | | | | | Replace existing integration with new work that enables target gdb and gdbserver. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* ltp: Disable ltp gdb dependency only on MicroblazeMark Hatle2022-03-281-0/+2
| | | | | | | On-target gdb does not work on microblaze, disable the dependency. This may affect certain ltp test cases. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* gdb: Disable on-target GDB for microblazeMark Hatle2022-03-281-0/+7
| | | | | | | | | | | | | Failure: ../../gdb-10.2/bfd/cpu-microblaze.c:75:1: warning: missing initializer for field 'max_reloc_offset_into_insn' of 'bfd_arch_info_type' {aka 'const struct bfd_arch_info'} [-Wmissing-field-initializers] | 75 | }, | | ^ | In file included from ../../gdb-10.2/bfd/cpu-microblaze.c:23: | ./bfd.h:1998:14: note: 'max_reloc_offset_into_insn' declared here | 1998 | signed int max_reloc_offset_into_insn; | | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-microblaze: Move to glibc backportMark Hatle2022-03-283-51/+35
| | | | | | Move to a backport of the official fix for glibc BZ #28883. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-microblaze: Set OLDEST_KERNEL version is 3.15Mark Hatle2022-02-121-0/+2
| | | | | | | Version 3.15 is required to enable pselect instead of (new)select syscall when using the select function. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-microblaze: Fix glibc issues related to select/pselectMark Hatle2022-02-124-0/+122
| | | | | | | | | | | | | *) Select syscall is not implemented on microblaze, newselect should be used instead, but commit 4c3df0eba5e8fe98f0de917ade9b2ebba6951c5f from glibc removed this behavior. Presumably by accident. *) When the code path that doesn't use select, but instead uses pselect32 is used, microblaze provides it's own implementation but this implementation is only available when ASSUME_PSELECT is disabled. We need to fallback to the default Linux implementation. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* microblaze binutils: Integrate community binutils contributionsMark Hatle2022-02-044-0/+388
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Three bug fixes suggested by community member dednev@rambler.ru: *elf*-microblaze-relaxation.patch short description: The roots of invalid data offsets (pointer) after relaxation are in internal symbol table cache handling. If symbol table was cached while section processing for garbage collection, the elf_tdata (abfd)->symtab_hdr pointer is not NULL, but (Elf_Internal_Sym *) symtab_hdr->contents array contains data for local symbols only. But in the repeated relocation processing there is no check whenever the symbol index is local (ELF32_R_SYM (irelscan->r_info) < symtab_hdr->sh_info) or global. This leads to the buffer overflow (global symbol index is out of bounds) and following invalid relocation processing, especially in extra relocation data modifications (f.e. irelscan->r_addend could be decreased by arbitrary values). *elf*-microblaze-no-keep-memory.patch short description: There is incorrect newly allocated buffers handling if internal memory caching is disabled (without --no-keep-memory ld switch). This leads to possible double free(...) calls for such data and results in unexpected ld termination with abort(). I've fixed this issue by implementing similar to the elf32-avr.c data buffer handling. *elf*-imm-check-for-relaxation.patch short description: I've reverted Xilinx path to the original GNU binutils bfd code for microblaze, because this patch incorrectly leaves some "imm -1" instructions in resulting binary file after relaxation and increases executable size. If you look at the IMM instruction argument processing in binutils/gas/config/tc-microblaze.c you will see, that gas checks are similar to the original bfd microblaze_elf_relax_section(...) Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Remove hardknott from LAYERSERIES_COMPATJohn Toomey2022-02-041-1/+1
| | | | | | | We do not maintain support for hardknott so it is being removed Signed-off-by: John Toomey <jtoomey@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Remove gatesgarth from LAYERSERIES_COMPATJohn Toomey2022-02-041-1/+1
| | | | | | | | We do not build, test or support gatesgarth in any of our layers so it makes sense to remove this for the various layer.conf files Signed-off-by: John Toomey <jtoomey@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Add missing README.mdJohn Toomey2022-02-041-0/+28
| | | | | Signed-off-by: John Toomey <jtoomey@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Initial restructure/split of meta-xilinx-bspMark Hatle2022-01-141-1/+1
| | | | | | | | | | Create a new meta-xilinx-core, move core functionality to the core, keeping board specific files in the bsp layer. zynqmp-generic changed from require <board> to include, so if meta-xilinx-bsp is not available it will not fail. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* microblaze systemd: Add additional missing architecture supportMark Hatle2022-01-146-1/+868
| | | | | | | | | | | | | | Rename a mispelled patch name Add a patch that defines the microblaze syscalls. Disable stack-protection, as it is not supported on Microblaze at this time. Add a patch to resolve an undefined gcc internal, that is not enabled on microblaze. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>