766 Commits

Author SHA1 Message Date
Chris Johns
eb3608133b tester: Change to a simpler TFTP server
- Add a simpler TFTP to allow parallel test hardware

- Remove the imported tftpy server

Closes #4063
2020-09-01 09:18:04 +10:00
Christian Mauderer
37ad446d9d trace: Use c++14 instead of c++11 if possible
llvm version 10 uses features from c++14 standard in the headers. With
that, the record/record-main-lttng.cc doesn't build any more. This patch
makes sure that c++14 is used if it is available.
2020-07-23 18:33:01 +02:00
Sebastian Huber
dcceeade33 Remove support for epiphany target
Update #3941.
2020-07-03 07:36:39 +02:00
Sebastian Huber
351bb7e41d Change version to RTEMS 6
Update #4020.
2020-06-30 09:30:38 +02:00
Chris Johns
4f5485eb51 rtems-test: target_exe_filter fails when there is no filter
Closes #4006
5.1
2020-06-17 08:43:00 +10:00
Chris Johns
6de89d9268 linkers/ld: Output all reloc records to the RAP file
Updates #3969
2020-05-05 11:31:04 +10:00
kaidoho
a1a05c7c63 Allow build with i686-w64-mingw32
Closes #3630
2020-04-28 11:45:22 +10:00
Hesham Almatary
ea86d967ec rtems-tester: Add rv64imafdc_medany for QEMU 2020-04-09 12:40:01 +01:00
Cláudio Maia
bba29e3048 bsps: Deletes erc32-run.ini 2020-04-05 21:50:52 -06:00
Jan Sommer
225438c9e3 tester: Add configuration pc-qemu.ini 2020-04-03 09:24:36 -06:00
Chris Johns
ca7b290f94 rtemstoolkit/execute: Handle unicode input on python2
- Allow unicode as a type on python2. The unicode type is not
  present on python3 so make the support conditional.
- Add some more diag prints to aid debugging.

Closes #3964
2020-03-30 09:55:02 +11:00
Chris Johns
753eb949b3 tester/gdb: Add lock timing and remote fetching registers.
- Add timing for the locks to aid performance profiling
- Remove fetching registers as the MI parser is slow on pyton2

Updates #3864
2020-03-30 09:52:57 +11:00
Joel Sherrill
9b9e0dd47f gdbarmsim: Remove all variants
Updates #3911.
2020-03-20 13:37:26 -05:00
Gedare Bloom
11a481fb94 execute.py: fix long line 2020-03-19 09:33:14 -06:00
Sebastian Huber
16eff9bc02 record: Increase input buffer and alignment
Update #3904.
2020-03-17 11:36:05 +01:00
Sebastian Huber
390522a4fa record: Add support for zlib compressed input
Update #3904.
2020-03-17 11:36:05 +01:00
Sebastian Huber
5fa2c3b3cb record: Add zlib filter class
Update #3904.
2020-03-17 11:36:05 +01:00
Sebastian Huber
d96417111a record: Add support for base64 encoded input
Update #3904.
2020-03-17 11:36:05 +01:00
Sebastian Huber
5bc9f73a48 record: Add base64 filter class
Update #3904.
2020-03-17 11:36:05 +01:00
Sebastian Huber
bfc8f2de78 record: Add filter base class
Update #3904.
2020-03-17 11:36:05 +01:00
Sebastian Huber
b066705a55 record: Add option to print config default values
Update #3904.
2020-03-17 11:36:05 +01:00
Sebastian Huber
9d16a1789d record: Add support for user defined event names 2020-03-17 11:36:05 +01:00
Sebastian Huber
b60abbfa83 record: Add INI file parser
Import from:

https://github.com/benhoyt/inih

commit 351217124ddb3e3fe2b982248a04c672350bb0af
Author: Stephan Lachnit <stephanlachnit@protonmail.com>
Date:   Sun Mar 1 07:31:28 2020 +0100

    r48 release (#100)

    * Bump copyright to 2020
    * Remove makefile for static library
    * meson: version 48

    Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>

Update #3904.
2020-03-17 11:36:05 +01:00
Sebastian Huber
8db5ce1e95 record: Format file header
Update #3904.
2020-03-17 11:36:05 +01:00
Sebastian Huber
4aa0d5f42f record: Guard config.h include
Update #3904.
2020-03-17 11:36:05 +01:00
Sebastian Huber
14f0957b00 record: Fix format
Update #3904.
2020-03-17 11:36:05 +01:00
Sebastian Huber
274981f77d Improve Python 3 compatibility 2020-03-17 11:36:05 +01:00
Amar Takhar
bae873a5f9 Move mkimage.py to install_files so chmod is preserved and installed in bin/ 2020-03-07 19:52:20 -05:00
Joel Sherrill
3833c39f6c psim-device-tree: Rework so devices do not conflict with 256MB RAM
closes #3849.
2020-03-05 21:29:10 -06:00
Sebastian Huber
763f10232f rtemstoolkit: Detect native SPARCV9 ELF arch 2020-03-05 10:44:45 +01:00
Sebastian Huber
c7315a218a rtemstoolkit: Use multiprocessing.cpu_count()
The previous implementation does not work on some Linux distributions,
e.g. Debian on sparc64.  Use a standard function instead.
2020-03-05 10:33:07 +01:00
Sebastian Huber
00b9f1d825 rtemstoolkit: Support more Linux distributions
The platform.dist() function is not always available.
2020-03-05 10:26:15 +01:00
Amar Takhar
2444acb0ad Add print statement similar to the original mkimage.
This is limited to Python 2.6+
2020-03-04 18:07:45 -05:00
Amar Takhar
9c7be8bc49 Fix to work under Pyhon 2 and Python 3.
Also changed 'python2' to 'python' in the shebang.
2020-03-04 18:07:41 -05:00
Amar Takhar
e29d0a6ac8 Convert optparse to argparse.
* Fix exceptions and print exception message.
 * Also add myself to copyright.
2020-03-04 18:07:37 -05:00
Amar Takhar
90713f7d36 Remove EOL whitespace. 2020-03-04 18:07:21 -05:00
Amar Takhar
e8c180f1be Add to wscript and add python2 shebang.
This script does work but needs some user friendliness added which is
acknowledged by the author as it was meant as a quick replacement.
2020-03-03 20:08:10 -05:00
Amar Takhar
fc078dbdef Add a pure Python clone of mkimage written by Craig Barker.
I emailed Craig Barker to ask if he would release his mkimage Python rewrite
as 2BSD.  He graciously accepted and you can see his work here:

  https://github.com/cmbarker83/pythonmkimage

This is a verbatim commit of 35d6d from his repository.
2020-03-03 19:58:25 -05:00
Sebastian Huber
4a2f3e5a58 waf: Update to waf-2.0.19
Update #3569.
2020-02-26 11:40:39 +01:00
Sebastian Huber
0d66fd5264 tester: Use prefix for rtems_tools by default
Commit 72c684eff2cd932b4948e21902680a93473340c3 removed the default
value of rtems_tools.  If the --rtems--tools option was omitted the
rtems-test command printed lots of

	error: run.cfg:61: macro '%{rtems_tools}' not found

error messages.
2020-02-26 07:29:53 +01:00
Cláudio Maia
fb241f8a56 Fix typo in error message 2020-02-26 14:18:45 +11:00
Sebastian Huber
629c330e14 tester: Add qemu_opts_serial
The realview_pbx_a9_qemu test configuration for Qemu produced no output
due to wrong serial/monitor settings.  Remove the serial/monitor
settings from qemu_opts_base and move them to the new qemu_opts_serial.
2020-02-25 09:23:47 +01:00
Sebastian Huber
b9d6d39cb2 linkers: Include proper header file 2020-02-25 09:19:22 +01:00
Sebastian Huber
ed15643221 linkers: Update due to API changes
Update #3835.
2020-02-25 09:19:22 +01:00
Vijay Kumar Banerjee
18d3daa237 covoar/wscript: Install covoar.css and table.js 2020-01-28 08:36:50 +11:00
Vijay Kumar Banerjee
2852cac71a rtemstoolkit/path: Add support to copy single file 2020-01-28 08:36:35 +11:00
Sebastian Huber
29ad0ec7a8 tester: Prefer '_' as test state separator char 2019-12-19 10:09:22 +01:00
Sebastian Huber
7045cc39b4 linkers: Remove _Thread_Life_action_handler
This is a static function.

Update #3413.
2019-12-19 10:09:22 +01:00
Christian Mauderer
beeeb59cea record: Allow to compile with recent llvm version.
It seems that the API for symbolizeCode changed between llvm8 and llvm9.
This patch uses the same adaption that is used for the llvm-symbolizer
tool in llvm commit b2c4b8bded3ff2efaaebe0d8b33c65116f9ef8de.
2019-12-18 09:11:35 +01:00
Sebastian Huber
e2c8c49a6c Fix build issues on Debian 10 2019-12-18 07:05:17 +01:00