summaryrefslogtreecommitdiffstats
path: root/bsps/arm (follow)
Commit message (Collapse)AuthorAgeFilesLines
* arm/xen: Fix BSP_INTERRUPT_VECTOR_COUNTSebastian Huber2024-04-161-1/+1
| | | | Do not use reserved interrupt IDs.
* dev/irq: Improve Doxgyen group assignmentsSebastian Huber2024-04-161-2/+11
| | | | | Make the GIC interrupt controller support a subgroup of the generic interrupt controller support.
* bsps/arm: Improve GICv2 supportSebastian Huber2024-04-161-4/+6
| | | | | | | | In addtion to 1023, the GICC_IAR register may return 1022 as a special value. Simply check for a valid interrupt vector for the dispatching. Check the GICC_IAR again after the dispatch to quickly process a next interrupt without having to go through the interrupt prologue and epiloge.
* dev/clock: Move bcm2835-system-timer driver to shared spaceNing Yang2024-04-111-94/+0
| | | | This patch moves the bcm2835 system timer driver in the arm/raspberrypi directory to the shared directory and adjusts arm/raspberrypi BSP.
* bsps/xil-ttc: Improve clock driverSebastian Huber2024-04-112-4/+0
| | | | | | | Make the clock driver parameters configurable. Use the maximum counter frequency to get the best time resolution. Decouple the CPU counter from the timecounter. Make the tick catch up handling more robust. Add a validation test for the tick catch up.
* dev/serial: Add Zynq UART kernel I/O supportSebastian Huber2024-04-047-210/+30
| | | | | | Replace the BSP_CONSOLE_MINOR BSP option for the Xilinx Zynq BSPs with the new BSP option ZYNQ_UART_KERNEL_IO_BASE_ADDR. Move the kernel I/O support to a shared file.
* dev/serial: Add ZYNQ_UART_[01]_BASE_ADDRSebastian Huber2024-04-046-6/+12
| | | | This helps to provide a shared implementation of the kernel I/O support.
* dev/serial: Simplify some Zynq UART functionsSebastian Huber2024-03-273-46/+15
| | | | | | Make the initialization and polled functions independent of the Termios context. This helps to implement the kernel I/O support without a dependency on the Termios framework.
* bsps: Move declarations to <bsp/irq-generic.h>Sebastian Huber2024-03-272-29/+22
| | | | | | | | | | | Move declarations of bsp_interrupt_get_affinity() and bsp_interrupt_set_affinity() to <bsp/irq-generic.h>. Canonicalize the <bsp/irq.h> includes. Implement bsp_interrupt_get_affinity() and bsp_interrupt_set_affinity() only if needed (usually RTEMS_SMP). Provide stub implementations for i386 to fix build errors.
* bsps: Avoid unused argument in clock interruptSebastian Huber2024-03-2011-68/+45
| | | | | | | | | | | Pass the parameter of the clock interrupt handler to Clock_driver_support_at_tick() and Clock_driver_timecounter_tick(). This makes it possible to use the interrupt handler argument in clock drivers. Use the interrupt handler provided by Clock_driver_support_install_isr() to avoid local delarations of Clock_isr(). Update #4862.
* arm/altera-cyclone-v/README: Fix use of CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORSJoel Sherrill2024-02-231-1/+1
| | | | The proper name is now CONFIGURE_MAXIMUM_FILE_DESCRIPTORS.
* bsp/tms570: Fix console receive interruptsAdrien Chardon2024-02-011-36/+9
| | | | | | | | | | | | | | | | | | | | | `tms570_sci_interrupt_handler()` is called when an RX interrupt fires. It checks in the register `FLR`, the `RXRDY` bit (Receiver ready flag - indicate that the SCIRD contains new data). If it is set, it calls `tms570_sci_read_received_chars()`. `tms570_sci_read_received_chars()` checks the register `RD` against 0. If it is non zero, it returns 1 to indicate that one byte was read. In the old behavior, if it is zero, the function returns 0 to indicate that no data was read. The new behavior is to not silently drop 0x00 bytes. Ignoring 0x00 bytes is fine when working with printable text (which, I assume, is how this driver was tested), but as soon as the UART is used in non canonical (raw) mode, with potentially 0x00 bytes, these bytes will be silently dropped, causing issues in the data/protocol layer above. Update #4982.
* bsps/xilinx-zynqmp-rpu: Invalidate caches on startStanislav Pankevich2024-01-161-0/+8
| | | | This corrects an issue where caches can be dirty on warm boot.
* bsp/tms570: Use TMS570_OSCILLATOR_MAINSebastian Huber2024-01-151-2/+0
| | | | | | | This option replaces BSP_OSCILATOR_CLOCK. It may be used in PLL setup calculatios. Update #4982.
* bsp/tms570: Update READMETyler Miller2024-01-151-71/+63
| | | | Update #4982.
* bsp/tms570: Board-specific tms570_emif_sdram_init()Tyler Miller2024-01-154-97/+115
| | | | Update #4982.
* bsp/tms570: Board-specific tms570_pinmux_init()Tyler Miller2024-01-155-310/+300
| | | | Update #4982.
* bsp/tms570: Board-specific tms570_map_clock_init()Tyler Miller2024-01-154-109/+187
| | | | Update #4982.
* bsp/tms570: Board-specific tms570_pll_init()Tyler Miller2024-01-154-58/+253
| | | | Update #4982.
* bsp/tms570: Initialize MPUTyler Miller2024-01-152-0/+205
| | | | Update #4982.
* bsp/tms570: Optimize tms570_debug_console_out()Sebastian Huber2024-01-151-20/+21
| | | | | | Reduce number of interrupt disable/enable actions. Update #4982.
* bsp/tms570: Initialize and enable caches on demandSebastian Huber2024-01-151-0/+25
| | | | Update #4982.
* bsp/tms570: Use bsp_start_copy_sections_compact()Sebastian Huber2024-01-151-1/+1
| | | | | | There is no need to relocate the text and read-only data. Update #4982.
* bsp/tms570: Use shared bsp_start_hook_1()Sebastian Huber2024-01-152-22/+4
| | | | Update #4982.
* bsp/tms570: Add header guardsSebastian Huber2024-01-151-0/+5
| | | | Update #4982.
* bsp/tms570: The TMS570LC4357 has no TCRAM modulesSebastian Huber2024-01-152-0/+6
| | | | Update #4982.
* bsp/tms570: Initialize SRAM on demandSebastian Huber2024-01-151-10/+27
| | | | Update #4982.
* bsp/tms570: Use asm code for tms570_memory_init()Sebastian Huber2024-01-151-14/+21
| | | | | | Make sure that we do not use the stack for this function. Update #4982.
* bsp/tms570: Honor DBGRST for TMS570LC4357Tyler Miller2024-01-152-0/+22
| | | | Update #4982.
* bsp/tms570: Remove reset source handlingSebastian Huber2024-01-151-47/+0
| | | | | | Do not clear SYSESR and let the application handle the reset source. Update #4982.
* bsp/tms570: Add HCLKCNTL registerTyler Miller2024-01-151-2/+4
| | | | Update #4982.
* bsp/tms570: TMS570LC4x Errata DEVICE#60Tyler Miller2024-01-151-2/+7
| | | | Update #4982.
* bsp/tms570: Add errata SSWF021#45 handlingSebastian Huber2024-01-154-0/+437
| | | | Update #4982.
* bsp/tms570: Conditionalize TMS570LS3137 errataSebastian Huber2024-01-151-0/+4
| | | | Update #4982.
* bsp/tms570: Simplify expressionSebastian Huber2024-01-151-11/+12
| | | | Update #4982.
* bsp/tms570: Add TMS570LC4357 power supportTyler Miller2024-01-152-5/+25
| | | | Update #4982.
* bsp/tms570: Add TMS570LC4357 pin config supportTyler Miller2024-01-153-39/+12
| | | | Update #4982.
* bsp/tms570: Remove double pin configurationTyler Miller2024-01-151-10/+0
| | | | | | | | | Do not set pins to the default function before the actual setting is applied. If a pin setting needs to be done in a certain order, then this should be done explicitly through multiple calls to tms570_bsp_pinmmr_config(). Update #4982.
* bsp/tms570: Add tms570_pbist_run_and_check()Tyler Miller2024-01-153-54/+33
| | | | Update #4982.
* bsp/tms570: Add TMS570LC4357 PBIST supportTyler Miller2024-01-151-19/+32
| | | | Update #4982.
* bsp/tms570: Fix PBIST clock enableSebastian Huber2024-01-151-2/+2
| | | | | | Bit 1 of the PACT is reserved (writes have no effect). Update #4982.
* bsp/tms570: Add TMS570LC4357 BSP variantsSebastian Huber2024-01-152-0/+54
| | | | Update #4982.
* bsp/tms570: Add linkcmds.memorySebastian Huber2024-01-159-89/+19
| | | | | | | Remove obsolete tms570ls3137_hdk_with_loader BSP variant. With the new memory origin/size build options this variant is no longer required. Update #4982.
* bsp/tms570: Avoid vector overlay memory regionSebastian Huber2024-01-153-9/+24
| | | | | | | Reserve the space in a section. This makes it possible to use a common memory region definition. Update #4982.
* bsp/tms570: Add TM27 supportSebastian Huber2024-01-151-1/+128
| | | | Update #4982.
* bsp/tms570: Avoid spurious interruptsSebastian Huber2024-01-151-2/+10
| | | | Update #4982.
* bsp/tms570: Implement interrupt is enabled/pendingSebastian Huber2024-01-151-6/+40
| | | | Update #4982.
* bsp/tms570: Implement set/get interrupt prioritySebastian Huber2024-01-152-53/+140
| | | | Update #4982.
* bsp/tms570: Avoid errno for debug consoleSebastian Huber2024-01-151-1/+1
| | | | Update #4982.
* bsp/tms570: Fix bsp_reset()Sebastian Huber2024-01-151-1/+9
| | | | Update #4982.