summaryrefslogtreecommitdiffstats
path: root/meta-microblaze/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
* layer.conf: Move from scarthgap to styhead walnascar, bring in old recipes ↵Mark Hatle2024-11-2425-0/+35840
| | | | | | | | | for parse binutils-2.42 and gstreamer-1.22.12 were pulled in from the latest poky scarthgap, as of commit dce4163d42f7036ea216b52b9135968d51bec4c1. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* Merge remote-tracking branch 'origin/scarthgap' into yocto-masterMark Hatle2024-11-21228-4630/+20105
|\ | | | | | | | | | | This moves the system to scarthgap. It is known to NOT work with Styhead and master, Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * meta-microblaze: Update to gcc 13Mark Hatle2024-07-2457-475/+508
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * Revert "meta-microblaze: Import last version of gcc 12.2"Mark Hatle2024-07-24121-5282/+1
| | | | | | | | | | | | | | | | | | This reverts commit 80dc01609f4cf24329cd71adac4dacd2882f82dc. This effectively reverts back to 2024.1 state, GCC won't work but gives us a clean starting point. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * Revert "meta-microblaze: gcc-12.2 fix CVE_STATUS"Mark Hatle2024-07-241-1/+1
| | | | | | | | | | | | This reverts commit 93d2836d4d0f7732e51b96250a1bfe2b2f058202. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * meta-microblaze: gdb: Fix target GDB compilation for Linux nativeMark Hatle2024-07-244-75/+29
| | | | | | | | | | | | | | | | | | | | | | | | Add patch for Linux native issue Add library linkage to libatomic to address: ld: /usr/include/c++/13.3.0/bits/atomic_base.h:1015:(.text+0x16d0c): undefined reference to `__atomic_compare_exchange_1' Also remove extra files no longer required. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * meta-microblaze: gdb: Update to latest versionMark Hatle2024-07-2447-2771/+5280
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * Revert "gdb: Bring in last OE version of gdb 12.1"Mark Hatle2024-07-2416-592/+0
| | | | | | | | | | | | This reverts commit 5db2df9a364b9fee7402c0bf0e2eaa2ecd7bee48. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * meta-microblaze: binutils: Add local patches, including 64-bit supportMark Hatle2024-07-2454-0/+13677
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * meta-microblaze: Update Upstream-StatusMark Hatle2024-07-172-1/+3
| | | | | | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com> (cherry picked from commit 79fa542cb1202cd491fd8a1395892b3e9f905773) Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | meta-microblaze: Update Upstream-StatusMark Hatle2024-11-212-1/+3
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | various: WORKDIR/UNPACKDIR changesMark Hatle2024-06-1012-7/+7
|/ | | | | | | | | | | | Recently oe-core implemented an architetural change that WORKDIR is no longer to be used as a dumping group for miscellaneous files. link: https://lists.openembedded.org/g/openembedded-architecture/topic/cleanup_of_workdir_by/105739556 oe-core: e022d62ba917 ("base/bitbake.conf: Introduce UNPACKDIR") Based on changes submitted by Trevor Woerner <twoerner@gmail.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-microblaze: gcc-12.2 fix CVE_STATUSMark Hatle2024-04-181-1/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* Merge remote-tracking branch 'xilinx/rel-v2024.1' into HEADMark Hatle2024-04-042-0/+34
|\ | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * microblaze: gdb: Fix crash on startupMark Hatle2024-04-012-0/+34
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * microblaze: binutils: Fix objdump/disassemblyMark Hatle2024-04-013-0/+73
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * tcf-agent: Move build fix from meta-petalinuxMark Hatle2023-06-261-0/+2
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * binutils: Disable broken alternativesMark Hatle2023-03-091-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>
| * 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>
| * Revert "meta-microblaze: gdb: Temporarily disable GDB"Mark Hatle2022-11-081-5/+0
| | | | | | | | | | | | This reverts commit 17daecd2918a7cd98f61825704cac1d9d3a046e2. 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>
| * 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>
* | meta-microblaze: Update to current binutilsMark Hatle2024-02-1235-9989/+0
| | | | | | | | | | | | Latest binutils contains everything we need to Linux support. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | meta-microblaze: gdb_12 disable python supportMark Hatle2024-01-312-2/+2
| | | | | | | | | | | | | | | | gdb 12 python support requires 'distutils', which was removed in python 3.12. Disable until we can patch this or upgrade. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | meta-microblaze: Move gcc 13.1 to 13.%Mark Hatle2023-08-239-0/+0
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | meta-microblaze: YP now requires Upstream-Status in patchesMark Hatle2023-07-2196-0/+328
| | | | | | | | | | | | Signed-off-By line is also required and added where missing. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | tcf-agent: Move build fix from meta-petalinuxMark Hatle2023-07-191-0/+2
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | meta-microblaze: Import last version of gcc 12.2Mark Hatle2023-06-0867-0/+5107
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | gdb-cross-canadian: Sync dependency with current pokyMark Hatle2023-05-221-1/+1
| | | | | | | | | | | | | | Poky commit 768c89e306d0486acf8bc76cecef90436f6551b3 changes the default depends, we match this behavior to resolve a dependency issue. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | gdb: Bring in last OE version of gdb 12.1Mark Hatle2023-04-1218-0/+667
| | | | | | | | | | | | | | | | Patches are not yet ported to GDB 13.x. gdb 12.1 as of OE-Core commit: 131c753e000bf3c8814823d36d18e82f4dee26f2 Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | meta-microblaze: python: Add bbappend to avoid QA errorMark Hatle2023-04-121-0/+3
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | meta-microblaze: binutils: Fix patch application failureMark Hatle2023-04-121-9/+8
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | binutils: Disable broken alternativesMark Hatle2023-04-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>
* | meta-microblaze: gcc-source: Always apply microblaze patchesMark Hatle2023-04-101-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>
* | Revert "meta-microblaze: gdb: Temporarily disable GDB"Mark Hatle2022-11-101-5/+0
| | | | | | | | | | | | This reverts commit 17daecd2918a7cd98f61825704cac1d9d3a046e2. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | gdb-microblaze: Update to new version of the portMark Hatle2022-11-1012-2191/+1738
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | gcc-microblaze: Update to new version of the portMark Hatle2022-11-1054-560/+556
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | binutils-microblaze: Update to new version of the portMark Hatle2022-11-1040-2769/+792
|/ | | | Signed-off-by: Mark Hatle <mark.hatle@amd.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: 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: elfutils: Symvers is not supported on microblazeMark Hatle2022-08-311-0/+2
| | | | Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* meta-microblaze: gdb: Temporarily disable GDBMark Hatle2022-08-311-0/+5
| | | | 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>
* 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-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>
* 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>
* 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>