Commit Graph
2298 Commits
Author SHA1 Message Date
Aaron Nyholm d62d6b659c bsps/zynqmp: Add option to map PCIe address space
Added ability to map PCIe address space on ZynqMP.
2026-03-03 00:32:00 +00:00
82a4e3dfc2 cpukit: Support dates later than 2100
These changes eliminate the year 2100 as a limit for TOD. The new
limit is the year 4096. This limit is not due to any RTEMS limitation
but just before the year 4183 when the rounding error in the length
of the year adds up to an entire day. See
https://de.wikipedia.org/wiki/Schaltjahr for details.

There are still limits on Classic APIs which use the 32-bit rtems_interval
type. This corresponds to the Score Watchdog_Interval type. This impacts
delays, timeouts, and Classic API "after" timers.

Closes #5143

Co-authored-by: Joel Sherrill <joel@rtems.org>
Co-authored-by: Gedare Bloom <gedare@rtems.org>
2026-03-02 10:04:32 -06:00
Pavel Pisa 85b155e596 i386/pc386/VGA: fix lost curly bracket and silence warnings
The code seems to be broken for years.
Tested to work on real hardware (AMD Athlon) booted
over pxelinux in preparation for CAN stack test
with original Philips/NXP SJA1000 chips.

RTEMS configured with with

  RTEMS_POSIX_API = True
  BSP_ENABLE_COM1_COM4 = True
  USE_COM1_AS_CONSOLE = False
  USE_VBE_RM = False
  USE_CIRRUS_GD5446 = False

Signed-off-by: Pavel Pisa <ppisa@pikron.com>
2026-02-27 21:34:23 +00:00
Preetam Das e4a02bc216 bsps/raspberrypi5: ADD SMP support for Pi5 BSP
This updates the PI5 BSP to have SMP Support using PSCI.
2026-02-24 22:14:38 +05:30
Preetam Das 09343c8ff9 bsps/shared: Extract PSCI target_cpu calculation
This adds a BSP-level function that returns the calculated PSCI
target_cpu parameter for a given cpu_index. BSPs can override this
function to use the correct affinity level for the calculation.

Also updates _CPU_SMP_Start_processor() to make use of this
function and remove code duplication.
2026-02-24 22:14:32 +05:30
Preetam Das 5e9f94ded9 bsps/raspberrypi5: Cleanup Doxygen headers
Updates the @brief doxygen tags to comply with the doxygen
guidelines.
2026-02-24 14:57:33 +05:30
Matteo Concas 758055ee3c bsps/riscv: Put processor to sleep if not boot processor
Needed to have non-SMP BSPs run on multicore systems
2026-02-17 17:55:15 +00:00
Bhuvan 314f38e8d4 bsps/shared/: fix pedantic warnings for SPIN_DECLARE
Fixes #5483
2026-02-13 13:32:11 +00:00
Preetam Das e5eaa82420 bsps/aarch64/raspberrypi5: Add initial Raspberry Pi 5 BSP
This is initial mvp implementation for the Pi5 BSP. The
initial support has the following features:

- PL011 debug uart (full termios console driver)
- Arm Generic Timer (virtual interface)
- GIC-V2 interrupts

This will be extended in follow-up work.

Should Close rtems/programs/gsoc#85
2026-02-11 18:44:47 -05:00
Santosh Bala c014ab9b2d stm32f4: add stm32f446ze variant and variant specific linker selection
Adds an STM32F4 BSP variant with a variant linker script.
2026-02-10 18:43:51 +00:00
Joel Sherrill c893731d11 bsps/powerpc/include/bsp/VMEDMA.h: Address cast-function-type warning
This warning occurs when casting a function pointer to be a function
of a different type.
2026-02-09 16:59:41 -06:00
Kinsey Moore 9b86017d18 x86_64/amd64: Address SMP sign compare warning
The variable starts at 0 and counts upwards, so unsigned is more
appropriate.
2026-02-09 17:23:00 +00:00
Kinsey Moore 8a776715fe shared/irq: Resolve function cast warning
The function cast from more parameters to fewer parameters is generally
unsafe as the additional parameters will be undefined values that happen
to be in the right registers if it is ever called. Instead of casting
the function pointer, provide a dummy function pointer when the original
function pointer is non-NULL since it is only ever used for a
NULL-check.
2026-02-06 13:29:20 -06:00
Joel Sherrill 9c7666ba2d bsps/powerpc: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
This addresses warnings that only occurred on 64-bit targets.  For the
ones which only appeared on 64-bit targets, the cause was frequently
a mismatch when comparing a combination off_t, ssize_t, and int.
2026-02-05 23:17:46 +00:00
Joel Sherrill 959ef5b3bb bsps/x86_64: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
This addresses warnings that only occurred on 64-bit targets.  For the
ones which only appeared on 64-bit targets, the cause was frequently
a mismatch when comparing a combination off_t, ssize_t, and int.
2026-02-06 07:04:47 +11:00
Joel Sherrill 6de3352acb bsps/arm: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
This addresses warnings that only occurred on 64-bit targets.  For the
ones which only appeared on 64-bit targets, the cause was frequently
a mismatch when comparing a combination off_t, ssize_t, and int.
2026-02-05 08:18:27 -06:00
Joel Sherrill 92d281243e bsps/sparc/leon3: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
The cause is frequently a mismatch when comparing a combination off_t,
ssize_t, and int.
2026-02-05 07:43:24 -06:00
Joel Sherrill 38d2a37bc4 bsps/aarch64: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
This addresses warnings that only occurred on 64-bit targets.  For the
ones which only appeared on 64-bit targets, the cause was frequently
a mismatch when comparing a combination off_t, ssize_t, and int.
2026-02-05 00:30:47 +00:00
Joel Sherrill 9cb3eecb5f bsps/i386: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
This addresses warnings that only occurred on 64-bit targets.  For the
ones which only appeared on 64-bit targets, the cause was frequently
a mismatch when comparing a combination off_t, ssize_t, and int.
2026-02-05 00:29:52 +00:00
Joel Sherrill 35fcaf1d14 bsps/or1k: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
This addresses warnings that only occurred on 64-bit targets.  For the
ones which only appeared on 64-bit targets, the cause was frequently
a mismatch when comparing a combination off_t, ssize_t, and int.
2026-02-05 00:23:20 +00:00
Joel Sherrill bcb814451c bsps/sparc: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
This addresses warnings that only occurred on 64-bit targets.  For the
ones which only appeared on 64-bit targets, the cause was frequently
a mismatch when comparing a combination off_t, ssize_t, and int.
2026-02-05 00:22:40 +00:00
Joel Sherrill e5fd83ed1f bsps/riscv: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
This addresses warnings that only occurred on 64-bit targets.  For the
ones which only appeared on 64-bit targets, the cause was frequently
a mismatch when comparing a combination off_t, ssize_t, and int.
2026-02-05 00:21:41 +00:00
Joel Sherrill d78565bcdb bsps/shared: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
This addresses warnings that only occurred on 64-bit targets.  For the
ones which only appeared on 64-bit targets, the cause was frequently
a mismatch when comparing a combination off_t, ssize_t, and int.
2026-02-05 00:17:19 +00:00
Joel Sherrill 529eff1b7b bsp/mips: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
This addresses warnings that only occurred on 64-bit targets.  For the
ones which only appeared on 64-bit targets, the cause was frequently
a mismatch when comparing a combination off_t, ssize_t, and int.
2026-02-05 00:16:44 +00:00
Joel Sherrill 7daf78f43f i386/shared/irq: Address unused parameter warning
This only impacted SMP specific builds.
2026-02-05 00:15:43 +00:00
Joel Sherrill db00ec6902 pc386/start/smp-imps.c: Address multiple warnings
This started life as third party code but has been previously
modified without __rtems__ conditionals. The modifications fixed
some warnings (sign compare, memset writing past end of area,
and uninitialized structure field) but some were disabled as the
code was too complex to do otherwise without rigorous testing.
2026-02-05 00:15:43 +00:00
Joel Sherrill 4602965e34 arm/xilinx-zynqmp: Address unused parameter warning
This was in SMP-only source.
2026-02-05 00:15:43 +00:00
Sam Price e0668f009e bsp/microblaze-fpga: capture GPIO config from FDT 2026-02-04 09:06:53 -06:00
Joel Sherrill c9f85784d3 bsps & testsuites: Fix SPDX/license mismatch
These files had BSD-2 Clause SPDX but the license text still
was the historical license.

Updates #3053.
2026-02-02 15:19:52 -06:00
Ning Yang 33950b4418 aarch64: add rk3399_rockpro64 BSP
This adds a basic BSP for RockPro64, which includes a UART,
an ARM timer, and GICv3 support, and utilizes all available
memory as defined by the upstream U-Boot configuration.

Closes #5414
2026-01-29 18:51:40 -06:00
Joel Sherrill 9b1a9ec163 bsps/sparc/shared/gnatcommon.c: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
This is frequently an int or ssize_t variable compared to a uint32_t or
size_t. Sometimes the size_t is from a sizeof() use.
2026-01-28 19:31:11 +00:00
Joel Sherrill b906181b15 bsps/shared/dev: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
This is frequently an int or ssize_t variable compared to a uint32_t or
size_t. Sometimes the size_t is from a sizeof() use.
2026-01-28 19:31:11 +00:00
Joel Sherrill 474c74efce bsps/shared/grlib: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
This is frequently an int or ssize_t variable compared to a uint32_t or
size_t. Sometimes the size_t is from a sizeof() use.
2026-01-28 19:31:11 +00:00
Joel Sherrill 5be6a2ea4f bsps/shared/.../spictrl.c: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
This is frequently an int or ssize_t variable compared to a uint32_t or
size_t. Sometimes the size_t is from a sizeof() use.
2026-01-28 10:13:21 -06:00
Shaunak Datar cbba19c44a bsp/aarch64/raspberrypi: Add Mailbox Support
Adds mailbox and property tags support to the aarch64/raspberrypi BSP
2026-01-28 07:36:50 -06:00
Kinsey Moore f2b6a2383b bsps/aarch64/xilinx-zynqmp: Obsolete direct JFFS2 adapters
This removes the adapters that provide glue code directly from JFFS2 to
backend storage drivers since JFFS2, the NAND driver, and the QSPI NOR
driver all support the flashdev interface.
2026-01-27 12:44:03 -06:00
Joel Sherrill 3a61921132 mp misc: Address build failures and warnings
Changes required to build with RTEMS_MULTIPROCESSING and
associated tests without warnings.
2026-01-27 18:20:55 +00:00
Prakhar Kumar a5803cbc89 bsp/shared/grlib: Fixed missing semicolon
Fixes a typo where a '.' was placed instead of semicolon.
2026-01-23 13:37:25 +05:30
Joel Sherrill dcab8a9eac bsps/*: Review of Andy Dachs submissions for relicensing
Updates from verifying all of Andy Dachs submissions to see if
all had given permission to relicense.

Updates #3053.
2026-01-23 01:27:25 +00:00
Joel Sherrill 485e0b2b79 bsps/powerpc/include/bsp/VMEDMA.h: Fix function cast warnings.
This changes the signature of the VMEBus DMA IRQ Callback type
(BSP_VMEDmaIRQCallback) to match that expected by BSP_installVME_isr()
when the callback is installed.
2026-01-23 01:25:21 +00:00
Joel Sherrill 9a55909e09 grlib and users: Fix function cast warnings
grlib has places where a function similar to memcpy() can be
provided by the driver. The signature does not match memcpy()
which led to function cast warnings when memcpy() was sufficient.
Provided a wrapper function to aligned the signatures.
2026-01-22 18:48:59 -06:00
Allan Hessenflow f135691fb7 bsps/arm/efm32gg11: address -Wsign-compare
make field cs_pin_count and index into cs_pins[] unsigned
2026-01-19 10:32:05 -08:00
Preetam Das 57d18ec2f1 bsps/aarch64: Add missing ISB after SCTLR write
A write to the sctlr_el1 register is a 'context-changing operation'
and thus requires a pipeline flush for the change to actually take
effect on subsequent instructions.

The isb instruction gurantees this, and ensures mmu is enabled
immediately.
2026-01-16 16:02:01 -06:00
YASHBHIWANIA 88c4f7fa59 bsps/erc32: Add missing Doxygen headers
This adds missing Doxygen @file headers to several files in the erc32
BSP to improve documentation categorization.
2026-01-16 20:16:21 +00:00
YASHBHIWANIA 4b641d9d23 bsps/leon3: Add missing Doxygen headers
This adds missing Doxygen headers to amba.c and drvmgr_def_drivers.c.
2026-01-16 13:43:46 -06:00
Joel Sherrill 06e58ab5fa bsps: Address files with only Eric Valette's email address
Many files with Eric Valette as author only had his email address.
This led to them being missed in previous relicensing passes.
This effort relicensed where possible and made efforts to have the
file follow the RTEMS standard for top of files (SPDX, Doxygen,
and then copyright/license).

Closes #5418.
2026-01-16 09:12:24 -06:00
Remi Debord 0b2455f6f8 bsps/arm: Add BSP for Versal RPU 2026-01-15 11:43:59 +01:00
Remi Debord 126e19aa60 bsps/shared/dev/serial: Move Versal UART sources 2026-01-15 11:42:45 +01:00
Allan Hessenflow 9c1340a309 bsps: add new BSP for Silicon Labs EFM32GG11
includes support for UART/USART, I2C, SPI, TRNG
2026-01-13 18:28:43 -05:00
M Mithilesh 6e4f134238 bsps/flash: Fix resource leak in flash_sim_flashdev_init (CID 1679602)
The allocation of ftable was not freed in error handling paths.
This patch ensures ftable is freed if subsequent allocations fail.

CID 1679602
2026-01-13 23:01:31 +05:30