Commit Graph

2269 Commits

Author SHA1 Message Date
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
Joel Sherrill
faa6fe9a48 beagle qep: Eliminate unused function with -Wenum-conversion warning
The warning was in an unused function so it was removed.
2026-01-09 17:16:19 -06:00
Jeremy Lorelli
cbce507c83 bsps/m68k: Fix unused-parameter warnings
Fixes warnings introduced with 0b5d311673
2026-01-08 17:09:52 -06:00
Joel Sherrill
3c27a60542 atsam/contrib: Address function cast warnings
The DMA interrupt handlers for multiple drivers took two parameters
but the signature expected by the registration function assumed the
handlers had three parameters. The solution was to conditionally add
a third parameter (ignored) and mark it with RTEMS_UNUSED.

For the UART and USART drivers, there was a type defined for the
handler which included the incorrect signature. Changed to use the
DMA handler type.
2026-01-07 13:46:56 -06:00
Jeremy Lorelli
2be044fc4e bsps/m68k: Fix incorrect register offsets for PIT in mcf5282.h
PIT register blocks are 64k in size, not 4k.
2026-01-06 10:14:11 -06:00
Jeremy Lorelli
0b5d311673 bsps/m68k: Implement new IRQ system
Implements the required bsp directives for the 'new' style rtems
interrupt system. Previously, uC5282 only supported interrupts through
the BSP_installVME_isr directive.

BSP_installVME_isr still behaves the same, but is instead implemented
using the new IRQ directives. To ensure compatibility with existing
EPICS related code without causing subtle bugs, BSP_installVME_isr will
also poke at the EPORT interrupt settings to enable IRQ1 when installing
a "fake VME" interrupt (vector >= 192).

This also fixes a regression from e9cb088995 that broke clock interrupt
handlers, leading to the BSP crashing shortly after boot.
2025-12-28 12:46:58 -08:00
Jeremy Lorelli
c90d57b12c bsps/uC5282: Panic if clock ISR cannot be installed
If we continue executing (and configure PIT3) we get spurious interrupts
that crash the system later.
2025-12-28 03:27:14 -08:00
Aaron Nyholm
a640977c9f bsps/xilinx-zynq: Flash driver commands per-instance
zqspi flash driver uses 3 or 4 byte commands per instance.
The driver defaults to 3 byte addressing for flash chips
smaller then 16MiB.
2025-12-22 14:40:18 -06:00
Ayush Daga
919bdceecc bsps/powerpc: Remove obsolete BUILD INFO from Beatnik README 2025-12-18 18:51:59 -06:00
Sam Price
25ab337428 bsps/microblaze: Mask interrupts before enabling MER
On startup mask off the interrupt register prior to starting interrupts.
Also update the comment to describe the delay slot.
2025-12-18 18:16:55 -06:00
Joao Luiz Borges
3adb189eff arm/xilinx-zynqmp-rpu: Correcting wrong macro
The ZYNQMP_RPU_CORE_INDEX macro is undefined in the code, making
BSP_ARM_GIC_MULTI_PROCESSOR_SECONDARY never being defined, which makes
the secondary core initialize GIC again. It should be changed to
ZYNQMP_RPU_SPLIT_INDEX.
2025-12-11 18:15:10 -06:00
Joel Sherrill
69ab3140f8 bsps/riscv/.../altera_epcq_driver.c: Address type-limits warnings
This change was made to address GCC -Wtype-limits warnings.
In this case, the counter variable was uint16_t but the value
of ALTERA_EPCQ_CONTROLLER2_1US_TIMEOUT_VALUE was too large
for uint16_t.
2025-12-11 23:53:16 +00:00
Joel Sherrill
32122555de bsps/powerpc/virtex5/include/bsp/irq.h: Address type-limits warnings
This change was made to address GCC -Wtype-limits warnings.
In this case, the irqnum was unsigned and there was no need to
check it being <= 0.
2025-12-11 23:53:16 +00:00
Joel Sherrill
3cf6df3cba bsps/powerpc/beatnik/irq/discovery_pic.c: Address type-limits warnings
This change was made to address GCC -Wtype-limits warnings.
In this case, the irq was unsigned and there was no need to
check it being <= 0.
2025-12-11 23:53:16 +00:00
Joel Sherrill
19cc585d2e bsps/powerpc/gen5200/irq/irq.c: Address type-limits warnings
These changes were made to address GCC -Wtype-limits warnings.
In this case, the irq was unsigned and there was no need to
check it being <= 0.
2025-12-11 23:53:16 +00:00
Joel Sherrill
ac55ed87fe bsps/arm/edb7312/irq/irq.c: Address type-limits warnings
These changes were made to address GCC -Wtype-limits warnings.
In this case, the irq was unsigned and there was no need to
check it being >= 0.
2025-12-11 23:53:16 +00:00
Joel Sherrill
1e93113205 bsps/powerpc/shared/flash/flash.c: Address type-limits warnings
These changes were made to address GCC -Wtype-limits warnings.
In this case, an unsigned variable was used to contain an
int function return value and check it for < 0.
2025-12-11 23:53:16 +00:00
Joel Sherrill
e30fa2a829 bsps/powerpc/virtex4/include/bsp/irq.h: Address type-limits warnings
These changes were made to address GCC -Wtype-limits warnings.
In this case, the irq was unsigned and there was no need to
check it being <= 0.
2025-12-11 23:53:16 +00:00
Joel Sherrill
71b2bc55bd bsps/riscv/niosv/.../altera_epcq_driver.c: Address type-limits warnings
These changes were made to address GCC -Wtype-limits warnings.
In this case, the values being checked were all unsigned and
the checks redundant.
2025-12-11 23:53:16 +00:00
Joel Sherrill
ba5ebfc3c7 bsps/powerpc/virtex4/start/mmu.c: Address type-limits warnings
These changes were made to address GCC -Wtype-limits warnings.
In this case, the "sz" was always >= 0 as it was unsigned.
2025-12-11 23:53:16 +00:00
Joel Sherrill
5fed67781c bsps/powerpc/virtex/include/bsp/irq.h: Address type-limits warnings
These changes were made to address GCC -Wtype-limits warnings.
In this case, the irq was unsigned and there was no need to
check it being <= 0.
2025-12-11 23:53:16 +00:00
Joel Sherrill
6c2a1de541 bsps/powerpc/ss555/start/irq.c: Address type-limits warnings
These changes were made to address GCC -Wtype-limits warnings.
In this case, the irq was unsigned and there was no need to
check it being <= 0.
2025-12-11 23:53:16 +00:00
Joel Sherrill
5c0f705782 bsps/powerpc/mpc55xxevb/include/bsp/irq.h: Address type-limits warnings
These changes were made to address GCC -Wtype-limits warnings.
In this case, the irq was unsigned and there was no need to
check it being <= 0.
2025-12-11 23:53:16 +00:00
Joel Sherrill
005f209af6 bsps/powerpc/gen83xx/irq/irq.c: Address type-limits warnings
These changes were made to address GCC -Wtype-limits warnings.
In this case, the irq was unsigned and there was no need to
check it being <= 0.
2025-12-11 23:53:16 +00:00
Joel Sherrill
53affed6e9 bsps/powerpc/beatnik/flash/flashcfg.c: Address type-limits warnings
These changes were made to address GCC -Wtype-limits warnings.
In this case, bank was unsigned and there was no need to
compare it being negative.
2025-12-11 23:53:16 +00:00
Joel Sherrill
8a200f79f7 bsps/m68k/uC5282/console/console.c: Address type-limits warnings
These changes were made to address GCC -Wtype-limits warnings.
In this case, the type was unsigned and there was no need to
compare it being >= 0.
2025-12-11 23:53:16 +00:00
Joel Sherrill
0be36b694d bsps/m68k/mcf5329/console/console.c: Address type-limits warnings
These changes were made to address GCC -Wtype-limits warnings.
In this case, the type was unsigned and there was no need to
compare it being >= 0.
2025-12-11 23:53:16 +00:00
Joel Sherrill
c25be2fe81 bsps/m68k/genmcf548x/console/console.c: Address type-limits warnings
These changes were made to address GCC -Wtype-limits warnings.
In this case, the type was unsigned and there was no need to
compare it being >= 0.
2025-12-11 23:53:16 +00:00
Joel Sherrill
16aa7efdc1 bsps/m68k/av5282/console/console.c: Address type-limits warnings
These changes were made to address GCC -Wtype-limits warnings.
In this case, the type was unsigned and there was no need to
compare it being >= 0.
2025-12-11 23:53:16 +00:00
Joel Sherrill
0da06c2818 bsps/i386/pc386/console/keyboard.c: Address type-limits warnings
These changes were made to address GCC -Wtype-limits warnings.
In this case, the array index was an unsigned char and the array
being indexed had 256 entries. There was no way for the index to
be an invalid index.
2025-12-11 23:53:16 +00:00