summaryrefslogtreecommitdiffstats
path: root/bsps (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-03-21bsp/beagle: Ported Beagle pinmux driver to RTEMSG S Niteesh Babu4-2/+157
The following files have been ported 1) ti_pinmux.c 2) ti_pinmux.h 3) am335x_scm_padconf.c 4) am335x_scm_padconf.h Update #3784
2021-03-21bsps/beagle: Added SOC detection using FDTG S Niteesh Babu4-6/+158
Detects the SOC type using FDT and also replaces the ti_cpuid.h header in FreeBSD with custom one.
2021-03-21bsp/beagle: Import Beagle pinmux from FreeBSDG S Niteesh Babu4-0/+891
This patch imports the beagle pinmux driver from FreeBSD into RTEMS. Previously this driver was placed in RTEMS-libBSD but this caused double initialization of few pins once during RTEMS initialization and second time during libBSD initialization. The following patches port the driver from FreeBSD to RTEMS and will remove the driver from RTEMS-libBSD. RTEMS Ticket Update: #3784 FreeBSD head: ca12b7e9534b10af022fed60c043984dbaf4003d The following files have been imported from FreeBSD: 1) freebsd/sys/arm/ti/am335x/am335x_scm_padconf.h 2) freebsd/sys/arm/ti/am335x/am335x_scm_padconf.c 3) freebsd/sys/arm/ti/ti_pinmux.h 4) freebsd/sys/arm/ti/ti_pinmux.c
2021-03-21bsps/shared/ofw: Add rtems_ofw_is_node_compatibleG S Niteesh Babu2-0/+29
This patch extends the RTEMS OFW API by adding rtems_ofw_find_device_by_compat This function checks if a node has the expected compatible property.
2021-03-21bsps/arm/imxrt: Add FDT and FDT helper for QTMRChristian Mauderer4-139/+293
Makes it simpler to access the QTMR in an application via a FDT name or link in an application specific FDT entry.
2021-03-11grlib,grspw_pkt: correct link state enum numberingDaniel Hellstrom1-2/+2
Not used by the driver itself, but shuold be correct if used by application.
2021-03-11leon, l2cache: prevent unused diagnostic accessMartin Aberg1-2/+2
2021-03-11leon, ahbstat: register definitions for AHBSTAT version 1Martin Aberg2-0/+10
2021-03-11leon, grspw_router: added router_port_link_div()Martin Aberg2-0/+6
Allows user to set SpaceWire run clock divisor for an individual port.
2021-03-11leon: restart and load timer counter at initializationDaniel Hellstrom1-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.
2021-03-11leon,ckinit: avoid assuming 1MHz timer pre-scaler clockDaniel Hellstrom1-4/+3
2021-03-11leon3: avoid dependency on apbuart/timer driverDaniel Hellstrom2-12/+28
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.
2021-03-11leon,greth: added support for variable sized descriptor table sizesDaniel Hellstrom2-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.
2021-03-11leon,grcan: split out GRCAN non-FD specific support in separate fileDaniel Hellstrom3-405/+436
Close #4324.
2021-03-11leon,grcanfd: split out GRCANFD specific support in separate fileDaniel Hellstrom4-627/+687
Update #4324.
2021-03-11leon,grcan: added support for GRCANFDDaniel Hellstrom2-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 #4324.
2021-03-11grlib: added 64-bit read no-cache functionDaniel Hellstrom1-0/+10
Update #4324.
2021-03-11leon,occan: use common CAN baud-rate calculation routineDaniel Hellstrom1-110/+41
Close #4323.
2021-03-11leon,grcan: use common CAN baud-rate calculation routineDaniel Hellstrom1-114/+20
Update #4323.
2021-03-11leon,can: introduce common CAN baud-rate calculation functionDaniel Hellstrom6-1/+244
Reimplemented the baud-rate algorithm from scratch to cope with GRCAN, GRCANFD and OC_CAN devices. Update #4323.
2021-03-11grlib,ambapp: added new IP core IDsDaniel Hellstrom2-1/+39
2021-03-11leon,grspw: fix for SET_PACKET_SIZEDaniel Hellstrom1-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.
2021-03-11leon,gr1553b: Only align allocated memory. Verify alignment of memory.Arvid Bjorkengren3-83/+147
2021-03-11leon,gr1553b: set codec versionArvid Bjorkengren1-0/+4
This is enables the updated codec for GR740 and is backwards compatible with all other versions of the IP.
2021-03-11leon,gr1553rt: Fixed spinlock unlockArvid Bjorkengren1-1/+1
2021-03-11leon,gr1553rt: Fixed memory leakArvid Bjorkengren1-5/+11
2021-03-10bsps/xilinx_zynq: Add SPI driver to autotools buildJan Sommer1-0/+5
Closes #4320
2021-03-10bsps/xilinx_zynq: Add SPI driver for cadence-spiJan Sommer3-0/+591
Updates #4320
2021-03-05grcan.c: Fix Unused value (CID #1437613)Ryan Long1-1/+1
CID 1437613: Unused value in grcan_set_filter(). This fix was recommended by Daniel Hellstrom (daniel@gaisler.com). Closes #4301
2021-03-05b1553brm.c: Fix Unsigned compared against 0 (CID #1399773)Ryan Long1-1/+1
CID 1399773: Unsigned compared against 0 in brm_write(). Closes #4295
2021-03-05satcan.c: Fix Unsigned compared against 0 (CID #1399768)Ryan Long1-12/+4
CID 1399768: Unsigned compared against 0 in satcan_ioctl(). Closes #4294
2021-03-05gr_cpci_gr740.c: Unchecked return value from library (CID #1437630)Ryan Long1-1/+3
CID 1437630: Unchecked return value from library in gr_cpci_gr740_init1(). Closes #4290
2021-03-05gr_tmtc_1553.c: Unchecked return value from library (CID #1399785)Ryan Long1-1/+3
CID 1399785: Unchecked return value from library in gr_tmtc_1553_init1(). Closes #4289
2021-03-05gr_701.c: Unchecked return value from library (CID #1399783)Ryan Long1-1/+3
CID 1399783: Unchecked return value from library in gr701_init1(). Closes #4288
2021-03-05gr_rasta_adcdac.c: Fix Unchecked return value from library (CID #1399780)Ryan Long1-1/+3
CID 1399780: Unchecked return value from library in gr_rasta_adcdac_init1(). Closes #4287
2021-03-05gr_rasta_tmtc.c: Fix Unchecked return value from library (CID #1399771)Ryan Long1-1/+3
CID 1399771: Unchecked return value from library in gr_rasta_tmtc_init1(). Closes #4286
2021-03-05gr_leon4_n2x.c: Fix Unchecked return value from library (CID #1399767)Ryan Long1-1/+3
CID 1399767: Unchecked return value error from library in gr_cpci_leon4_n2x_init1(). Closes #4285
2021-03-05gr_rasta_io.c: Fix Unchecked return value from library (CID #1399763)Ryan Long1-1/+3
CID 1399763: Unchecked return value from library in gr_rasta_io_init1(). Closes #4284
2021-03-05gr_rasta_spw_router.c: Fix Unchecked return value from library (CID #1399760)Ryan Long1-1/+3
CID 1399760: Unchecked return value from library in gr_rasta_spw_router_init1(). Closes #4283
2021-03-05grtc.c: Fix four Missing break in switch Coverity errorsRyan Long1-0/+4
CID 1399761: Missing break in switch in process_dma(). CID 1399765: Missing break in switch in process_dma(). CID 1399766: Missing break in switch in process_dma(). CID 1399777: Missing break in switch in process_dma(). Closes #4277
2021-03-05grspw.c: Fix Unchecked return value (CID #1399781)Ryan Long1-2/+5
CID 1399781: Unchecked return value in grspw_device_init(). Closes #4259
2021-03-05bsps/shared: Allow setting baud rate for zynq uartJan Sommer1-5/+16
2021-03-05bsps/aarch64: Add support for EL2 startKinsey Moore1-0/+25
Add the stub necessary to boot on AArch64 under EL2 and drop to EL1 for normal operation.
2021-03-05bsps/aarch64: RTEMS_DEBUG stack alignment faultsKinsey Moore1-0/+8
Run with stack alignment faults enabled under RTEMS_DEBUG to catch any stack misalignments early. This makes it easier to track them down should they ever occur.
2021-03-05bsps: Allow override of ARM TM27 IRQsKinsey Moore2-0/+12
ZynqMP hardware appears to have an odd hard-wired SGI implementation in which the SGIs are permanently set as enabled or disabled. Allow the TM27 IRQs to be overridden as necessary.
2021-03-05bsps/aarch64: Resolve usage of SUBALIGN()Kinsey Moore1-4/+2
Remove usage of SUBALIGN() in aarch64 linkcmds which works around a difference in behavior on AArch64 platforms. This is no longer necessary since alignment is now enforced explicitly. Closes #4178.
2021-03-02bsps/beagle: Updating licences to latest BSD 2 clauseJames Fitzsimons6-29/+146
2021-03-02bsps/beagle: Adding QEP driver support to BeagleBoneBlack BSPJames Fitzsimons7-69/+949
2021-02-28powerpc/motorola_power: Place any common data in the .bss sectionChris Johns1-1/+7
- It seems the compiler how defaults to -fcommon and this means some uninitialised data is ignored. Closes #4266
2021-02-28powerpc/motorola_power: Link all text sections into the executable imageChris Johns1-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