Commit Graph

36928 Commits

Author SHA1 Message Date
Joel Sherrill
bffc250688 General: Update Eric Valette's email address
Changing Eric's email from valette@crf.canon.frto eric.valette@free.fr
2025-02-04 12:41:08 -06:00
Gedare Bloom
203b08fa23 powerpc: remove unused file debugmod.h 2025-02-03 17:18:35 -07:00
Jan Sommer
6d21324687 cpukit/termios: Fix ordering of baud rate table
rtems_termios_set_best_baud expects a sorted baud rate table.

Fixes #5162
2025-02-03 19:01:53 +00:00
Sebastian Huber
c0207fc032 score: Fix RTEMS_DEBUG build
This fixes a compilation failure introduced by
1c12047098.
2025-02-03 18:56:49 +00:00
Gedare Bloom
fb60451505 LICENSE.md: Fix some typesetting problems. 2025-01-30 22:19:37 +00:00
Gedare Bloom
b360d60618 LICENSE.md: Improve descriptions and organization.
Remove unused licenses, add the SLAC license template, and rearrange the
order of the licenses to emphasize the 2-BSD and other preferred
licenses earlier.

Fixes #5200.
2025-01-30 15:16:14 -07:00
Joel Sherrill
802d640038 v850: Remove obsolete architecture
Updates rtems/rtos/rtems#5023
2025-01-29 18:23:45 +00:00
Joel Sherrill
ecaa0f8e93 SPARC64: Remove obsolete architecture
Updates rtems/rtos/rtems#5021
2025-01-29 18:23:45 +00:00
Joel Sherrill
00b074b124 SuperH (sh): Remove obsolete architecture
Updates rtems/rtos/rtems#5022
2025-01-29 18:23:45 +00:00
Joel Sherrill
740f736f9e lm32: Remove obsolete architecture
Updates rtems/rtos/rtems#5025
2025-01-29 18:23:45 +00:00
Joel Sherrill
82624328da bin: Remove obsolete architecture
Updates rtems/rtos/rtems#5024
2025-01-29 18:23:45 +00:00
Michal Lenc
e6f6eccaef can: add support for CTU CAN FD controller
This commit adds support for CTU CAN FD controller. The controller
can be initialized from BSP by ctucanfd_initialize() function call.
It also implements the dynamic redistribution of hardware transmission
buffers to CAN stack priority classes in order to avoid possible
priority inversion.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
Co-authored-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
2025-01-28 08:25:28 +01:00
Michal Lenc
0cbb9eb9f9 can: add support for a simple virtual CAN controller
This commit adds a support for a simple virtual CAN controller. This
controller can be used to test CAN stack functions and serves as an
inspiration for further controller implementations.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
Co-authored-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
2025-01-28 08:25:28 +01:00
Michal Lenc
c3f4e215b1 cpukit: add support for common CAN/CAN FD stack
This adds support for common full-featured CAN/CAN FD stack to RTEMS.
The API is provided in form the form of the POSIX character driver with
each CAN controller (chip) registered as node into “/dev”
namespace.

The stack utilizes FIFO queues (also called edges) organized
into oriented edges between controller side and application side.
Edges, responsible for message transfers from application to controller
and vice versa, can have different priorities and function as priority
classes.

The stack provides run time configuration options to create new
queues with desired priority, direction and filter, making it
suitable for various applications requirements. There is also a
possibility to configure controller’s characteristics (bit rate,
mode, chip specific ioctl calls). Both blocking and nonblocking mode
is supported.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
Co-authored-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
2025-01-28 01:57:28 +00:00
zak liang
cc4123136b sptimespec01 : Add test case to sptimespec01 which uses a > 32-bit time
the commit adds a test case to test rtems-timespec_add_to  which uses a > 32-bit time.
closes #5146
2025-01-24 01:08:29 +00:00
Kinsey Moore
c7912a997b spec/pkgconfig: Account for separate compilation and linking
When compilation and linking are performed separately, some platforms
(i.e. RISC-V) may require that ABI flags are provided during the linking
step as well as the compilation step.
2025-01-24 00:18:56 +00:00
Ranulfo Raphael
49a8ead4e2 cpukit/libdl/arm: Fix trampoline alignment
This commit aligns trampolines for THUMB and ARM instructions
(CALL/JUMP24 and THM_JUMP24/THM_PC22).

According to the ARM technical reference in section "Register-relative
and PC-relative expressions":
    In Thumb code:
    - For B, BL, CBNZ, and CBZ instructions, the value of the PC is the
      address of the current instruction plus 4 bytes.
    - For all other instructions that use labels, the value of the PC is
      the address of the current instruction plus 4 bytes, with bit[1]
      of the result cleared to 0 to make it word-aligned.
2025-01-23 18:46:06 -03:00
Reinking, Janosch
1a4e26e3ea bsps/shared: NS16550 driver updates the line control register during operation
Fixes: #5179
2025-01-23 13:51:07 +00:00
Zhaoyue Wang
3d96772258 cpukit/libmisc: fix flag in capture.c
The RTEMS_CAPTURE_OVERFLOW is an overflow flag for each CPU, and its
value is the same as RTEMS_CAPTURE_INIT. Executing rtems_capture_flush
will set the RTEMS_CAPTURE_INIT flag to 0 in the global flags.
2025-01-21 21:58:49 +00:00
Sebastian Huber
00684adac9 score: Support scheduler change inhibitors
For example, the POSIX sporadic server adds a second priority to a
thread.  We cannot account for this priority in a scheduler change.

Close #5168.
2025-01-20 23:37:35 +00:00
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