Commit Graph

36908 Commits

Author SHA1 Message Date
Sebastian Huber
a85a2de5c7 score: Fix _Thread_Priority_change()
The POSIX sporadic server may temporarily remove the real priority of a
thread.  Check that the priority node is active before the change is
propagated.

Update #5168.
2025-01-20 23:37:35 +00:00
Sebastian Huber
5d1041d897 posix: Use real priority for sporadic server state
This allows to other areas to use the real priority node state.

Update #5168.
2025-01-20 23:37:35 +00:00
Sebastian Huber
b2a0819175 psxtests/psx09: Change prio while at low prio
Update #5168.
2025-01-20 23:37:35 +00:00
Sebastian Huber
d69cbcbef8 psxtests/psx09: Improve sporadic server tests
Drop thread parameter from get_current_prio().

Lock/unlock ceiling mutex while executing at low and high priority.

Update #5168.
2025-01-20 23:37:35 +00:00
Sebastian Huber
f64f9e298d psxtests/psx09: Use local variables
Update #5168.
2025-01-20 23:37:35 +00:00
Amar Takhar
6ced84b5ce readme: Format using mdformat.
All the files will be formatted using this eventually.
2025-01-16 14:52:22 +00:00
Joel Sherrill
f7b57e13de rtems-bsps: Bump version to 7
Updates #5182
2025-01-10 17:06:30 -06:00
Amar Takhar
d73e38be27 ci: Switch to real config.
Move from setup to real config now that pages is configured.
2025-01-07 18:41:59 -05:00
Amar Takhar
c6a51e7ce0 ci: Add initial configuration.
This uses the setup config so pages can be deployed correctly.
2025-01-07 14:44:34 -05:00
Ning Yang
c2a1db3cde bsp/aarch64/raspberrypi: Add genet support
- Add genet FDT support. Main reference:
https://www.kernel.org/doc/Documentation/devicetree/bindings/net/brcm%2Cbcmgenet.yaml
- Add genet mmu
- Add raspberrypi4 nocache area
2024-12-16 19:14:59 +00:00
Kinsey Moore
04d25322ac wscript: Set the major version to 7
The 6 branch has been created and main should now officially be RTEMS 7.

Closes #5177
2024-12-15 22:16:49 -06:00
tangkun
fc0c3b304b testsuites/psxtests/psx06: Fix printing format error 2024-12-05 09:29:53 +00:00
Sebastian Huber
d0d2cf2733 build: Improve Makefile.inc
Support relocated BSP installations by letting the user provide
RTEMS_ROOT.

Close #5170.
2024-12-05 04:07:58 +01:00
Amar Takhar
8d71cc5dc4 waf: Update waf to 2.1.4
This syncs every waf binary together.

Fixes issues with building on Windows see

  * https://gitlab.com/ita1024/waf/-/issues/2452

Updates rtems/rtos/rtems#5153
2024-12-04 14:55:54 -07:00
Sebastian Huber
213e5027ec rtems: Remove pre-qualified constraints
The pre-qualified constraints are not applicable to mainline RTEMS.
2024-11-27 04:52:21 +01:00
alessandronardin
cabc8c3a78 posix/lio_listio: corrected addition of system event
Previously the system event used by lio_listio was manually added to
event.h and not using rtems-central. This patch corrects that and renames
the event to make it clearer.

Some related dead code has also been removed.
2024-11-23 11:02:35 +01:00
Kinsey Moore
abaea2b798 cpukit/jffs2/rtime: Fix off-by-one error in decompression check
Closes #5072
2024-11-21 19:01:06 -06:00
Chris Johns
e14a740a99 spec/cpukit: Add libdl RISCV support
Closes #5144
base/6
2024-11-22 00:13:36 +00:00
Chris Johns
4a00b66bc6 cpukit/libdl/riscv: Fix warnings
Updates #5144
2024-11-22 00:13:36 +00:00
Kinsey Moore
9e42e61e6e bsps/aarch64/zynqmp: Factor out the CFC-400X management console
This moves the management console implementation into its own file so
that BSPs which do not need it do not carry the code around with them.

Closes #5120
2024-11-22 00:06:16 +00:00
Gedare Bloom
24c964e83c confdefs: do not CONFIGURE_FILESYSTEM_NFS in ALL
Fixes #5118.
2024-11-22 00:03:19 +00:00
Kinsey Moore
7d1a934884 bsps/shared/flash: Add a JFFS2 flashdev driver
This adds generic JFFS2 interworking code that allows JFFS2 to be used
on top of any flashdev backend. It currently only supports NOR flashdev
backends.
2024-11-21 23:44:37 +00:00
Aaron Nyholm
9d6367fd4f bsps/xilinx-zynq: Fixed QSPI Flash sector erase
Erases of exactly the sector size only erase one sector instead of
two.

Closes #5161
2024-11-21 16:54:56 +11:00
Sebastian Huber
f45ccfa167 build: Remove Windows quirk
The current version of gccdeps.py works on Windows.
2024-11-21 04:22:31 +01:00
Sebastian Huber
7c099f5613 build: Fix native Windows build
Replace the Windows path separator to get proper UIDs.
2024-11-21 04:22:31 +01:00
Sebastian Huber
f6e55fa4b0 build: Remove Python 2 quirks 2024-11-21 04:22:31 +01:00
Sebastian Huber
ae7a21c5e9 build: Report normal Git hash
Commit 3d782180ea changed the reported Git
hash to short.  Change this back to the normal Git hash.  Existing
support code may rely on this.  The short hash is generated based on the
current repository state.  The reported hash should be useful also for
future states of the repository.  If Git changes the hash algorithm in
the future, then the hash length may be used as an indicator for the
hash algorithm.  With a variable hash length this is more difficult.

Simplify expression.

Update #5037.
2024-11-20 15:13:45 +00:00
Sebastian Huber
e53dfabe36 sparc/leon3: Add leon3_l2c_lock
Use a single lock for all L2C support functions.

Close #4925.
2024-11-20 15:08:04 +00:00
Sebastian Huber
7d5c08db80 validation: Check bootloader L2C settings
Update #4925.
2024-11-20 15:08:04 +00:00
Martin Åberg
85add65a91 grlib/l2c: Prevent concurrent register access
Accesses to the L2C registers performed by the L2C driver are now
serialized with spin locks. This avoids concurrent access to the L2C
registers by multiple processors. Proposed by GRLIB-TN-0021.

Update #4925.
2024-11-20 15:08:04 +00:00
Martin Åberg
1ce6347976 grlib/l2c: Write to flush registers using atomic instructions
All writes to the L2C flush registers performed by the driver are now
done using atomic write instructions. Proposed by GRLIB-TN-0021.

Update #4925.
2024-11-20 15:08:04 +00:00
Martin Åberg
6198260d26 grlib/l2c: Access registers with helper functions 2024-11-20 15:08:04 +00:00
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