summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* grlib/genirq: Taking into account that it could be more than one ISR ↵Moyano, Gabriel2021-04-161-2/+2
| | | | | | enabled/disabled Closes #4385
* shell: Add i2c and spi commandsChristian Mauderer2021-03-316-0/+565
| | | | | | | | | | This adds some commands that are usefull for debugging simple serial interfaces. Even if they are a complete re-implementation, the i2c* commands use a simmilar call like the Linux i2c tools. Closes #4371
* bsps/xilinx_zynq: Add Xilinx AXI SPI driver to buildJan Sommer2021-03-313-0/+4
| | | | Closes #4370
* bsps/xilinx_zynq: Add SPI driver for xilinx-axi-spiJan Sommer2021-03-313-0/+557
| | | | Updates #4370
* bsps/xilinx_zynq: Add cadence SPI driver to build systemJan Sommer2021-03-313-0/+8
| | | | Closes #4369
* bsps/xilinx_zynq: Add SPI driver for cadence-spiJan Sommer2021-03-313-0/+591
| | | | Updates #4369
* rtems-fdt/rtems-fdt.c: Fix bug in loop terminationG S Niteesh Babu2021-03-211-1/+1
| | | | | | | The while loop, loops infinitely in case of raw FDT data. The loop condition (size) is not modified during iterations. Fixes #4350
* rtems: Allow RTEMS_PRIORITY for MrsP semaphoresSebastian Huber2021-03-162-7/+6
| | | | | | | | In order to improve the compatibility of RTEMS 5.2 with future version of RTEMS which fixed #4346 allow MrsP semaphores to be created with RTEMS_PRIORITY. Close #4347.
* bsps/shared: Allow setting baud rate for zynq uartJan Sommer2021-03-091-5/+16
| | | | Closes #4236
* zynq-uart: Fix set_attributes implementationKinsey Moore2021-03-093-6/+59
| | | | | | | | | | | The zynq-uart set_attributes implementation was configured to always return false which causes spconsole01 to fail. This restores the disabled implementation which sets the baud rate registers appropriately and allows spconsole01 to pass. This also expands the set_attributes functionality to allow setting of the stop bits, character width, and parity. Updates #4236
* sparc,leon: avoid triggering LEON3FT errata TN-0009Daniel Hellstrom2021-03-071-2/+3
| | | | Update #4154.
* sparc,leon: avoid triggering TN-0009 bad sequenceDaniel Hellstrom2021-03-071-1/+2
| | | | Update #4154.
* grlib,grspw_pkt: correct link state enum numberingDaniel Hellstrom2021-03-071-2/+2
| | | | | | | Not used by the driver itself, but shuold be correct if used by application. Update #4316.
* leon, l2cache: prevent unused diagnostic accessMartin Aberg2021-03-071-2/+2
| | | | Update #4315.
* leon, ahbstat: register definitions for AHBSTAT version 1Martin Aberg2021-03-072-0/+10
| | | | Update #4314.
* leon, grspw_router: added router_port_link_div()Martin Aberg2021-03-072-0/+6
| | | | | | Allows user to set SpaceWire run clock divisor for an individual port. Update #4313.
* sparc: fix bad register alignment for 64 bit storeDaniel Hellstrom2021-03-071-1/+3
| | | | Update #4311.
* leon: restart and load timer counter at initializationDaniel Hellstrom2021-03-071-1/+4
| | | | | | | | | | | | | | Without this smp05 and smpthreadlife01 tests may fail depending on how the boot loader initialized the GPTIMER. Before the time counter stopped counting when reaching zero, but tests could work since it could take 2^32 us before stopping. The timer driver will potentially overwrite this, but it happens later due to the initialization order having RTEMS_SYSINIT_CPU_COUNTER very early. Update #4312.
* leon,ckinit: avoid assuming 1MHz timer pre-scaler clockDaniel Hellstrom2021-03-071-4/+3
| | | | Update #4310.
* leon3: avoid dependency on apbuart/timer driverDaniel Hellstrom2021-03-073-12/+29
| | | | | | | | | Moves drvmgr_drivers[] from amba.c to a separate file in order to avoid the dependecy on APBUART/GPTIMER drivers. This has an effect when user configured not to use timer or uart in their project. Update #4309.
* leon,greth: added support for variable sized descriptor table sizesDaniel Hellstrom2021-03-072-7/+16
| | | | | | | | | | | | The descriptor table size is equal to its alignment and set when configuring the HW IP through VHDL generics. This SW patch simply probes the HW how large the RX/TX descriptor tables are and adjusts accordingly. The number of descriptors actual used are controlled by other settings (rxDescs and txDescs) controlled by the user. Update #4308.
* leon,grcan: split out GRCAN non-FD specific support in separate fileDaniel Hellstrom2021-03-073-405/+436
| | | | Update #4307.
* leon,grcanfd: split out GRCANFD specific support in separate fileDaniel Hellstrom2021-03-074-627/+687
| | | | Update #4307.
* leon,grcan: added support for GRCANFDDaniel Hellstrom2021-03-072-19/+692
| | | | | | | | | | | | | The new GRCAN_FD IP supports CAN FD standard and is mostly backwards compatible with GRCAN SW interface. The GRCAN driver have been extended to support the GRCANFD IP using the same driver. Additional functions have been added that uses a new CAN FD frame format and read/write/baud-rate functions that supports both GRCANFD and GRCAN. To keep the SW API fully backwards compatible with GRCAN, the old functions remain. Update #4307.
* grlib: added 64-bit read no-cache functionDaniel Hellstrom2021-03-071-0/+10
| | | | Update #4307.
* leon,occan: use common CAN baud-rate calculation routineDaniel Hellstrom2021-03-071-110/+41
| | | | Update #4306.
* leon,grcan: use common CAN baud-rate calculation routineDaniel Hellstrom2021-03-071-114/+20
| | | | Update #4306.
* leon,can: introduce common CAN baud-rate calculation functionDaniel Hellstrom2021-03-076-1/+244
| | | | | | | Reimplemented the baud-rate algorithm from scratch to cope with GRCAN, GRCANFD and OC_CAN devices. Update #4306.
* grlib,ambapp: added new IP core IDsDaniel Hellstrom2021-03-072-1/+39
| | | | Update #4305.
* leon,grspw: fix for SET_PACKET_SIZEDaniel Hellstrom2021-03-071-0/+7
| | | | | | | | | | | | When the DMA table has been allocated dynamically, the IOCTL_SET_PACKETSIZE will trigger an issue where pDev->rx and pDev->tx are not updated with the new DMA tables base address. Instead the old pointers are used. There is no point in reallocting the DMA tables because there is no configuration option to it. Therefore the DMA tables allocation is moved to a separate function never called from SET_PACKETSIZE. Update #4304.
* leon,gr1553b: Only align allocated memory. Verify alignment of memory.Arvid Bjorkengren2021-03-073-83/+147
| | | | Update #4303.
* leon,gr1553b: set codec versionArvid Bjorkengren2021-03-071-0/+4
| | | | | | | This is enables the updated codec for GR740 and is backwards compatible with all other versions of the IP. Updates #4275.
* leon,gr1553rt: Fixed spinlock unlockArvid Bjorkengren2021-03-071-1/+1
| | | | Update #4274.
* leon,gr1553rt: Fixed memory leakArvid Bjorkengren2021-03-071-5/+11
| | | | Update #4274.
* sparc: Remove sequences that the B2BST scan script warns aboutDaniel Cederman2021-03-072-3/+6
| | | | Update #4154.
* powerpc/beatnik/net: Remove unused filesVijay Kumar Banerjee2021-03-033-503/+0
| | | | Close #4293
* powerpc/motorola_power: Place any common data in the .bss sectionChris Johns2021-02-271-1/+7
| | | | | | | - It seems the compiler how defaults to -fcommon and this means some uninitialised data is ignored. Closes #4266
* powerpc/motorola_power: Link all text sections into the executable imageChris Johns2021-02-241-1/+1
| | | | | | | | - The change to building all code with code and data sections means we have a section per function. Make sure all functions are placed in the text section. Closes #4266
* Update motorola_power to irq-generic interrupt managementChris Johns2021-02-168-57/+286
| | | | | | | | | | | | | | - Add support to the BSP to enable irq-generic management - Update the powerpc shared irq code to support irq-generic. This is an opt in option for existing powerpc bsps. This change should be simpler now - Fix a number of issues in ISA IRQ controller handling by porting fixes from the i386 (PC) BSP Closes #4247 Closes #4248
* bsp/motorola_powerp: Print RTEMS_VERSION from the bootloaderChris Johns2021-02-101-1/+3
| | | | Close #4234
* powerpc/shared: ISA bus bridge fails to enable the openpic irqChris Johns2021-02-082-2/+2
| | | | | | | | | | - The call to enable the openpic irq for the ISA bridge fails because the IRQ used is offset by the ISA bus signals and the openpic call expects an IRQ relative to its signals. - Add the MVME 2600/2700 to the list of boards with an ISA bridge. Closes #4233
* score: Add barrier thread queue operationsSebastian Huber2021-02-063-4/+40
| | | | | | | This fixes a missing decrement of the number of waiting threads during a barrier wait timeout. Close #4232.
* score: Make FIFO thread queue ops publicSebastian Huber2021-02-063-8/+144
| | | | Update #4232.
* score: Constify Thread_queue_First_operationSebastian Huber2021-02-062-12/+13
| | | | Update #4232.
* Fix RTEMS_LINKER_ROSET_ITEM_ORDERED_DECLARE()Sebastian Huber2021-01-251-1/+1
| | | | | | Add "extern" similar to RTEMS_LINKER_RWSET_ITEM_ORDERED_DECLARE(). Close #4224.
* bsp/imx: Fix system counter init for imx6Christian Mauderer2021-01-211-1/+60
| | | | | | | | | For i.MX7 U-Boot initializes the system counter. On i.MX6 Barebox is often used which doesn't initialize the counter. With this patch, we try to auto-detect whether the counter is initialized or not and do the initialization ourself if necessary. Closes #4220
* bsps/arm: Fix MMU configurationSebastian Huber2020-12-152-0/+8
| | | | Update #4185.
* bsps/arm: Fix MMU small pages supportJan Sommer2020-12-111-1/+1
| | | | | | - For small tables only round to the next 4kiB instead of 1MiB Close #4185.
* rtems: Improve rtems_interrupt_server_create()Sebastian Huber2020-11-251-13/+17
| | | | | | | | Also start interrupt server tasks on processors which do not have a scheduler. Applications may dynamically manage processors using rtems_scheduler_remove_processor() and rtems_scheduler_add_processor(). Close #4190.
* bsps: Fix rtems_interrupt_server_delete()Sebastian Huber2020-11-251-0/+2
| | | | | | | The ISR lock must be destroyed to prevent memory corruption if RTEMS_PROFILING and RTEMS_SMP is enabled. Close #4189.