Commit Graph

1022 Commits

Author SHA1 Message Date
zhengxiaojun
df2d86ecda fix _mkdir parameter error.
fix _mkdir parameter error.

Signed-off-by: zhengxiaojun <jameszxj at gmail.com>
2022-11-28 10:16:12 +11:00
Ryan Long
40529bc566 _libelf_config.h: Add removed Cygwin code
This code was removed for some reason. Without it, we are unable to build
RTEMS with Cygwin.
2022-10-12 09:58:58 -05:00
Sebastian Huber
203077030d tester: Check for begin/end of test
Check for "BEGIN OF TEST" and "END OF TEST" to not use other information blocks
such as "END OF GCOV" to determine the test status.
2022-10-07 06:26:31 +02:00
Joel Sherrill
d0a65c72d1 rtems-bsps-aarch64.ini: Remove trailing comma causing empty BSP name 2022-09-21 08:31:00 -05:00
Joel Sherrill
53a8d85914 rtems-bsps-aarch64.ini, rtems-bsps-tiers.ini: Remove versal ilp32 variants 2022-09-07 10:02:07 -05:00
Daniel Cederman
99cc1fb79a tester: Load RISC-V image using -bios and increase memory size
This avoids overlapping the RTEMS image with the builtin opensbi image
and the location of the fdt.
2022-08-19 16:14:35 +02:00
Daniel Cederman
a5d0291ccc tester: Add option to specify how to load image with QEMU
Defaults to "-kernel", but can be changed to, for example, "-bios".
2022-08-19 16:12:43 +02:00
Ryan Long
f3d9c87958 rtemstoolkit: Fix conditions using "is" with literals
Fix warnings that come from python 3.8 about using the "is" operator with
string literals.

Closes #4700
2022-08-12 09:26:27 -05:00
Sebastian Huber
1cd476e155 tester: Sort test reports for JSON/YAML
This makes the reports more git friendly.

Update 4671.
2022-08-08 06:42:34 +02:00
Ryan Long
ace7db96d4 rtems-syms.cpp: Change check to pointer size
Changed from a RISC-V specific value being in the conditional to a check for
the size of the architecture's pointer.

Closes #4673
2022-07-29 08:25:35 -05:00
Sebastian Huber
ef4b8c53f9 tester: Normalize JSON and YAML reports
Report the same data in JSON and YAML reports.  Do not report redundant
information.

Update 4671.
2022-07-26 14:31:32 +02:00
Sebastian Huber
e3a5912249 tester: Fix string representation 2022-07-26 13:43:37 +02:00
Chris Johns
3d54ccfaa5 tester: Make the SIS time limit user configurable
Let the user set the test time limit in a config file to
provide site specific overrides. Optimisation can effect
the time a test may take to run.
2022-07-06 09:43:44 +10:00
Karel Gardas
dafcdf4400 rtems-bsps-tiers: add new stm32h7 BSP variants to the tier-3 2022-06-04 18:45:48 +02:00
Karel Gardas
a7ba0563ff rtems-bsps-arm: add new stm32h7 BSP variants 2022-06-04 18:44:38 +02:00
Karel Gardas
ff36d6b42d tester/bsps: add stm32h7-stlink family configuration
Sponsored-By:	Precidata
2022-05-30 01:21:53 +02:00
Karel Gardas
43843b85fe tester/gdb: allow kill on the test end
Sponsored-By:	Precidata
2022-05-29 19:47:05 +02:00
Chris Johns
f199d42e47 linkers: Speed up reading large executables for all cases except inlining
- Only load the function DWARF data if checking inlines
2022-05-18 18:17:33 +10:00
Karel Gardas
ff68bccc25 rtemstoolkit:libelf: sync _libelf_config.h with FreeBSD
This fixes compilation issue on Apple M1.
2022-05-17 21:19:49 +10:00
Alex White
072f88f4d4 rtemstoolkit/rld-path.cpp: Fix double free 2022-03-09 16:06:09 -06:00
Christian Mauderer
3c0e4f74f1 bin2c: Add option for alignment
Sometimes it's useful if structures are aligned. This patch add a

  -A alignment

option. Note that this doesn't check for valid alignments. It accepts
any positive number in decimal or hex format. If for example an
alignment of 7 is specified, the compiler will complain that it is not a
power of 2. But it's not really useful to duplicate this check here.
2022-02-14 16:35:31 +01:00
Joel Sherrill
5c80f3023e rtems-bsps.ini: Correct spelling of aarch64 2022-02-03 11:49:42 -06:00
Joel Sherrill
7568978183 linkers/rtems-score/thread*.ini: Remove symbols no longer present.
Close #4585.
2022-01-25 17:55:02 -06:00
Joel Sherrill
91a58afdc8 rtems-bsps-tiers.ini: Move appropriate aarch64 BSPs to Tier 1 and 2
This also resulted in finding some BSPs listed which were no longer
in the RTEMS source.

Updates #4581.
2022-01-21 09:20:26 -06:00
Joel Sherrill
74270bc912 rtems-bsps.ini: Add missing architectures and BSPs
The aarch64, microblaze, nios2, and x86_64 needed to be added.
2022-01-21 09:19:08 -06:00
Joel Sherrill
519acfb2f6 rtems-bsps-arm.ini, config/rtems-bsps.ini: Remove build variance on network
With the legacy TCP/IP stack no longer in rtems.git, there is nothing
to turn on/off with regards to BSPs or the stack itself. Removing this
significantly reduces the number of configurations built.

Closes #4583.
2022-01-21 09:14:17 -06:00
Joel Sherrill
2fdd7b9695 rtems-bsps-tiers.ini: Update comment to use tier 2 definitiion in docs
See rtems-docs/user/hardware/tiers.rst. Tier 2 is test results on
simulator not hardware and simulator.
2022-01-20 08:52:15 -06:00
Joel Sherrill
997e68e313 rtems-bsps-tiers.ini: Add missing architectures and BSPs as tier 3 2022-01-20 08:51:13 -06:00
Joel Sherrill
6736c738ba rtems-bsps-x86_64.ini: New file 2022-01-19 12:02:08 -06:00
Joel Sherrill
4cff752b39 rtems-bsps-microblaze.ini: New file 2022-01-19 12:02:08 -06:00
Joel Sherrill
7ad3bf3dc6 rtems-bsps-aarch64.ini: New file 2022-01-19 12:02:08 -06:00
Joel Sherrill
6f9d092d6b rtems-bsps-riscv.ini: Add missing BSPs
frdme310arty,
    griscv, grv32i, grv32im, grv32imac, grv32imafdc,
    rv32iac, rv32i, rv32imac, rv32imafc, rv32imafdc, rv32imafd, rv32im
2022-01-19 12:02:08 -06:00
Joel Sherrill
a7d5a3f81d rtems-bsps-arm.ini: Add missing BSPs
fvp_cortex_r52, imxrt1052, nucleo-h743zi, stm32h7, xen_virtual,
    xilinx_zynqmp_ultra96
2022-01-19 12:02:08 -06:00
Kinsey Moore
e0f9f8ff50 tiers: Add AArch64 to tier 1
Hardware test results have recently been posted for AArch64.

Closes #4581
2022-01-19 12:00:24 -06:00
Joel Sherrill
f2282276c6 rtems-bsps-powerpc.ini: Remove powerpc/halekala
Updates #4302.
2022-01-19 11:59:10 -06:00
Sebastian Huber
b8307aa287 tester: Fix target_start_regex
It seems that the text used match with the regular expression does not
start with a line in general.
2022-01-14 14:47:17 +01:00
Sebastian Huber
3f3249c0f7 tester: Fix target_start_regex 2022-01-13 16:55:49 +01:00
Sebastian Huber
f73627e364 tester/exe: Fix adjust timeouts by the step size
The bug was introduced by cfd5aa41e8.

The code monitors the test and generates a timeout test failure.  There are two
layers of timeout, one for output and the other for a test running too long.

The test needs to generate some output within the first timeout period and the
second timeout detects if the test has run too long. The first timeout detects
a target has locked up. The second is for a test looping generating output.

With exe type tests the output is buffered in a separate thread.
2022-01-10 13:55:23 +01:00
Ryan Long
8167ad2339 ReportsBase: Change raw pointer to unique_ptr
Replaced raw pointer used with ReportsBase-derived classes to make code
cleaner and make it to where pointers do not have to be manually
deleted.

Closes #4376
2021-12-22 08:41:26 -06:00
Ryan Long
c9aefbba45 TraceConverter.cc: Fix Uncaught exception issue
CID 1471639: Uncaught exception

Closes #4501
2021-12-15 10:25:39 -06:00
Ryan Long
366807c4a9 SymbolTable.cc: Fix formatting 2021-12-15 08:04:43 -06:00
Ryan Long
29f00bd971 ObjdumpProcessor.h: Fix formatting 2021-12-15 08:04:43 -06:00
Ryan Long
f5a3e8964f ObjdumpProcessor.cc: Fix formatting 2021-12-15 08:04:43 -06:00
Ryan Long
d7eccfd33b ConfigFile: Fix formatting 2021-12-15 08:04:43 -06:00
Ryan Long
877d83b57e TargetFactory.cc: Fix formatting 2021-12-15 08:04:43 -06:00
Ryan Long
082dea8220 ObjdumpProcessor.cc: Fix formatting 2021-12-15 08:04:43 -06:00
Ryan Long
2ddc3169ec ObjdumpProcessor: Convert to C++ 2021-12-10 11:05:16 -06:00
Ryan Long
7578f43da3 ConfigFile: Convert to C++ 2021-12-10 11:05:16 -06:00
Ryan Long
361e30450c Target: Convert to C++ 2021-12-10 11:05:16 -06:00
Ryan Long
fa95ae2dad TargetFactory.cc: Convert to C++ 2021-12-10 11:05:16 -06:00