Martin Åberg
0a2c310d39
grlib/l2c: Use printk for debug print
2024-11-20 15:08:04 +00:00
Martin Åberg
ed55634d51
grlib/l2c: Fix whitespace
...
No functional change
2024-11-20 15:08:04 +00:00
Sebastian Huber
e5854b2a69
bsps/sparc: Add comments
...
Close #4875 .
2024-11-20 15:07:29 +00:00
Martin Åberg
26b11e3830
LEON3: Update power-down function
...
This updates the implementation of the LEON3 processor power-down
function.
It now contains the workaround for the GR712RC power-down errata
described in GR712RC-UM, version 2.16, section 1.7.8. The workaround is
compatible with other LEON3/LEON4 components.
Update #4875 .
2024-11-20 15:07:29 +00:00
Sebastian Huber
e661f400e2
score: Fix _Thread_Priority_apply()
...
Properly serialize explicit thread priority changes (for example
rtems_task_set_priority()) and thread priority changes carried out by
thread queues (locking protocols such as priority inheritance).
Update #5159 .
2024-11-20 02:32:39 +01:00
Sebastian Huber
7ff3438cba
validation: Test thread priority change detail
...
Test the proper serialization of explicit thread priority changes (for
example rtems_task_set_priority()) and thread priority changes carried
out by thread queues (locking protocols such as priority inheritance).
With RTEMS_DEBUG enabled, the new test case fails with an assertion. It
is fixed in a follow up commit.
Update #5159 .
2024-11-20 02:32:38 +01:00
Sebastian Huber
04f263ee82
validation: Add ticket lock helpers
...
Update #5159 .
2024-11-20 02:32:11 +01:00
Sebastian Huber
1c12047098
score: Improve priority node debugging
...
Make sure the actions of priority aggregations are not reused while in
use.
Update #5159 .
2024-11-20 02:32:11 +01:00
Chris Johns
133b335bae
cpukit/libmisc/rtems-fdt: Add shell read and write handler support
...
The handlers allow indirect access to FDT resources registered with the
shell.
Closes #5152
2024-11-16 17:40:05 +11:00
Kinsey Moore
b3be636863
bsps/stm32h7/spi: Add IRQ support
2024-11-15 00:47:58 +00:00
Kinsey Moore
b1a350a18a
bsps/stm32h7: Add full duplex support for SPI
2024-11-15 00:47:58 +00:00
Sebastian Huber
601e52f495
bsps: Fix Doxygen groups
2024-11-15 00:36:37 +00:00
yang.zhang
6f604aec83
libmisc/shell: Only restore terminal settings on exit when captured
...
Signed-off-by: yang.zhang <zhangyang01@kylinos.cn >
2024-11-15 00:35:26 +00:00
Sebastian Huber
d0b9c07b20
doxgen: Document build system provided files
...
Use the #include path.
Update #3707 .
2024-11-15 00:19:50 +00:00
Sebastian Huber
83dccef48d
libtests/ttest01: Fix CPU counter precision issues
...
Change the time to convert so that rounding issues do not propergate to
the second next digit. Properly round the result used for the precision
estimate.
2024-11-14 03:45:46 +01:00
Sebastian Huber
f7b04e72f8
validation: Clarify SMP EDF test case
...
Update #3716 .
2024-11-14 01:33:24 +01:00
Sebastian Huber
d386baedb5
rtems: Remove <rtems/rtemsdialer.h>
...
This header file belongs to the network stacks.
2024-11-13 23:30:21 +00:00
Sebastian Huber
be85180ee1
record: Fix rtems_record_server() clean up
...
Fix CID 1634787.
Fix #5150 .
2024-11-13 23:07:02 +00:00
Christian Mauderer
2c4e3ab117
bsps/shared: Fix bug in driver for I2C RTCs
...
The two RTCs supported by that driver (MCP7940M and EOZ9) use slightly
different register order. Add support for a different order to the
i2c-rtc driver.
2024-11-13 23:06:47 +00:00
Sebastian Huber
5ed0bf3457
spfatal34/spfatal36: Avoid RTEMS_UNREACHABLE()
...
The RTEMS_UNREACHABLE() is a hint to the compiler that this code
location is unreachable. The compiler may use this information to
optimize the code. If a test case fails and we reach this code
location, then unpredictable things may happen making the test case
debugging more difficult than necessary.
2024-11-13 23:05:25 +00:00
Sebastian Huber
85facac39f
spfatal26: Fix recursive test end
2024-11-13 23:05:25 +00:00
Sebastian Huber
f57652dcda
powerpc/qoriq: Enable RTEMS_SMP for BSP family
2024-11-13 02:03:13 +01:00
Sebastian Huber
30fc123f8d
record: Use only related uptime low/high events
...
In case of overflows, we may have an RTEMS_RECORD_UPTIME_HIGH event as
the first event. This uptime high event has no associated
RTEMS_RECORD_UPTIME_LOW event.
2024-11-12 22:43:35 +00:00
Sebastian Huber
464a37ac07
record: Add uptime event to fatal dump
2024-11-12 22:43:35 +00:00
Sebastian Huber
0f2721c832
record: Dump only once in fatal handling
2024-11-12 22:43:35 +00:00
Sebastian Huber
e72ee949a0
record: Avoid non-monotonic event times
...
The uptime and CPU counter reads must be as close as possible. Fix
rounding.
2024-11-12 22:43:35 +00:00
Sebastian Huber
d4762dbad1
record: Improve uptime association
2024-11-12 22:43:35 +00:00
Sebastian Huber
4655a7df00
record: Reorganize system event numbers
...
This allows a fast check if a system event may not have a time stamp.
2024-11-12 22:43:35 +00:00
Sebastian Huber
920f8d8897
record: Rework client
...
The ring buffer overflow handling is already performed by
rtems_record_fetch().
2024-11-12 22:43:35 +00:00
Sebastian Huber
be764f7dec
record: Remove rtems_record_drain()
...
The rtems_record_drain() function is unreliable. Replace it with
rtems_record_fetch().
2024-11-12 22:43:35 +00:00
Sebastian Huber
049b9b5c82
record: Add rtems_record_fetch()
...
This function will replace rtems_record_drain() which turned out to be
unreliable in SMP configurations.
2024-11-12 22:43:35 +00:00
Sebastian Huber
31ac9cd554
record: Remove drain header from record control
2024-11-12 22:43:35 +00:00
Sebastian Huber
3721dea3d0
record02: Fix test end
...
Include _Record_Fatal_dump_base64_zlib() in the test scope.
2024-11-12 22:43:35 +00:00
Sebastian Huber
3f7fdcc711
shell01: Fix test failure
...
Test failure was introduced by commit:
commit c4f9759068
Author: shuhua hua <huangshuhua@kylinos.cn >
Date: Thu Sep 12 02:36:13 2024 +0000
libtests/shell01:add test empty and NULL usernames check
2024-11-12 16:25:05 +00:00
Sebastian Huber
9fabe95dc6
fstests: Fix name of JFFS2 NAND tests
2024-11-12 16:23:03 +00:00
Sebastian Huber
2c64cf1bd8
dev/serial/sc16is752-spi: Fix warnings
...
Fix several may be used uninitialized warnings.
2024-11-12 16:21:20 +00:00
Sebastian Huber
f208860981
dev/slcr: Fix warning
2024-11-12 16:18:20 +00:00
Chris Johns
32b46899a3
spec/bsps/xilinx-microzed: Fix the default setting for the Avnet Microzed PCLK
...
Closes #5149
2024-11-12 16:16:19 +11:00
Aaron Nyholm
177a8c57ea
bsps/xilinx-zynq: Add QSPI flash driver
2024-11-08 03:34:48 +00:00
Chris Johns
d6f3cd72ee
libmisc/rtems-fdt: Path find need a sorted index table
...
Sort the index table so the bubble search works.
2024-11-08 03:28:23 +00:00
Joel Sherrill
dc7adff723
timespec.h, etc.: Eliminate use of 32-bit for time_t
...
This code had a uint32_t local variable for seconds from a timespec.
This was assigning a time_t to a uint32_t and ultimately returning it.
This propgated to rtems_timespec_add_to().
Coverity CID 1512527
Closes #5107 .
2024-11-08 00:38:23 +00:00
Sebastian Huber
f4875c8f4d
build: Fix spec cache
...
The updated waf version deletes the waf cache directory in the build
tree. This removes also the build specification item cache. Move the
cache directory so that it works across configure commands.
2024-11-08 00:24:21 +00:00
Kinsey Moore
84fe3d830c
spec: Update smallmem test list
2024-11-08 00:13:46 +00:00
Kinsey Moore
c59b6c3825
spec: Update no-rfs test list
2024-11-08 00:09:10 +00:00
Sebastian Huber
e87f5ebe37
score: Use normal integers for C++ atomic objects
...
Since C++20 there is no longer a trivial default constructor available
for atomic objects. See:
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p0883r2.pdf
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117475
We already assume that an atomic integer can be stored in a normal
integer and has the same representation in C and C++.
Update #5145 .
2024-11-07 03:24:09 +01:00
Aaron Nyholm
87c725b6ed
flashdev: Add sector IOCTLs
...
Added new IOCTLs to flashdev to get sector info.
Updated flashdev shell command and flashdev test with new IOCTLs.
2024-11-06 22:35:20 +00:00
Kinsey Moore
c4625d8d86
cpukit/arm/pmsa: Add ability to find empty MPU regions
2024-11-04 17:17:10 -06:00
Kinsey Moore
a506c7f713
cpukit/arm/pmsa: Correctly determine the total number of MPU regions
2024-11-01 16:55:47 -05:00
Gedare Bloom
c6ad57b102
riscv: fix FDT loads during work area init
...
Fixes #5139
2024-10-31 23:14:09 +00:00
Gedare Bloom
a1eb04be66
riscv/beaglevfire: disable BSP_START_COPY_FDT_FROM_U_BOOT by default
2024-10-31 22:59:15 +00:00