summaryrefslogtreecommitdiffstats
path: root/bsps/arm (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-07-20Fixes for TMS570 BSPRobin Mueller1-3/+3
When compiling the lwIP port for the TMS570, there were issues with the BSP. Headers are expected in a folder named ti_herc which did not exist. This fixes the issue. Furthermore, there were multiple warnings about define redefinitions. This was fixed as well.
2021-07-20STM32H7 ethernet pin correctionsRobin Mueller1-1/+21
These patches were submitted a few months ago, but it was found out that the default-by-family: [] were missing in the GPIO .yml lines. This was fixed in this patch. This patch accounts for different pins for the ETH peripheral on STM32H7 devices. For example, the Nucleo H743ZI has slightly different pins than other STM32H7 boards.
2021-07-09bsp/imx: Fix SMP startSebastian Huber1-0/+12
Flush imx_gic_dist_base so that secondary processors can use the right address.
2021-07-09bsps/arm: Fix SMP startSebastian Huber1-0/+6
Skip the data cache initialization if we are a secondary processor. The bug was introduced by e164df5e33608576443b4cd5923a9046358ee773 and did not show up in tests using Qemu since the data cache behaviour is not emulated.
2021-07-08bsps/imxrt: Fix undefined symbolChristian Mauderer1-1/+1
2021-07-07bsps/arm: Add start up support for ARMv6 RPi ModelsPranav Dangi1-1/+7
2021-07-07bsp/raspberrypi: Fix <bsp/irq.h> header guardSebastian Huber1-1/+1
2021-07-07bsp/imx: Fix pointer from integer warningSebastian Huber1-2/+5
2021-07-02bsps/imxrt: Simplify linkcmds and make it flexibleChristian Mauderer6-64/+60
Calling the memory FLASH and EXTRAM instead of FLEXSPI and SDRAM makes it simpler to support other types of external RAM. This patch also removes some of the calculations and improves names and documentation to avoid pitfalls. It removes a unnecessary memory definition. Update #4180
2021-07-02bsps/imxrt: Allow different ARM PLL settingChristian Mauderer2-0/+41
Update #4180
2021-06-24bsp/atsam: Fix BSP_INTERRUPT_VECTOR_COUNTSebastian Huber1-1/+1
Fix an off by one error. Update #3269.
2021-06-24bsps/irq: Remove BSP_INTERRUPT_VECTOR_MAXSebastian Huber24-26/+0
This define is no longer used. Update #3269.
2021-06-24bsps/irq: Use BSP_INTERRUPT_VECTOR_COUNTSebastian Huber8-9/+9
Use BSP_INTERRUPT_VECTOR_COUNT instead of BSP_INTERRUPT_VECTOR_MAX. Update #3269.
2021-06-24bsps/irq: Add BSP_INTERRUPT_VECTOR_COUNTSebastian Huber24-0/+28
Assert BSP_INTERRUPT_VECTOR_MAX + 1 == BSP_INTERRUPT_VECTOR_COUNT. After building all BSPs with this patch, BSP_INTERRUPT_VECTOR_MAX can be removed and replaced by BSP_INTERRUPT_VECTOR_COUNT. The BSP_INTERRUPT_VECTOR_COUNT allows a default implementation which supports no interrupt vector at all. Using COUNT instead of MAX may avoid some interpretation issues, for example is the maximum value a valid vector number or not. Update #3269.
2021-06-24bsps/irq: Remove BSP_INTERRUPT_VECTOR_MINSebastian Huber27-38/+3
Remove BSP_INTERRUPT_VECTOR_MIN and unconditionally let interrupt vector numbers start with zero. The BSP_INTERRUPT_VECTOR_MIN == 0 invariant was tested by the previous commit and building all BSPs. Update #3269.
2021-06-07arm/fvp: Fix integer from pointer without a castSebastian Huber1-1/+1
Update #4202.
2021-05-28Change filesystem utime_h handler to utimens_hRyan Long1-1/+1
Also updated licenses. Closes #4400 Updates #3899
2021-05-17bsps/imxrt: Enable DMA clockChristian Mauderer1-0/+3
The EDMA is intialized so make sure the the clock is initialized too. Update #4180
2021-05-17bsps/imxrt: Fix OCRAM, ITCM and DTCM sizesChristian Mauderer3-0/+33
The sizes are configurable via fuses or per software via some registers. At the moment the registers are not changed. Changing the registers destroys data stored in the RAM areas (like application code or data). So either the fuses or some bootloader should be used to set them before the application starts. This also adds an OCRAM only linker command file. Update #4180
2021-05-17bsps/imxrt: Add addresses and interrupts to dtsChristian Mauderer2-521/+1651
Add addresses and interrupts for most internal peripherals to the dts. The additional aliases make it possible for an application to easily access these informations. Update #4180
2021-05-17bsps/imxrt: Reduce devicetree sizeChristian Mauderer2-765/+472
Remove symbols that would be necessary for overlays and decrease padding that would be necessary for adding stuff during run-time. Update #4180
2021-05-17bsps/imxrt: Fix documentation errorChristian Mauderer1-1/+1
Update #4180
2021-05-17arm/altera-cyclone-v: Fix compile errorSebastian Huber1-2/+2
Update #4406.
2021-05-12rtems: Constify rtems_task_wake_when()Sebastian Huber1-1/+1
Add a parameter to _TOD_Validate() to disable the validation of the ticks member. There are two reasons for this change. Firstly, in rtems_task_wake_when() was a double check for time_buffer == NULL (one in rtems_task_wake_when() and one in _TOD_Validate()). Secondly, the ticks member is ignored by rtems_task_wake_when(). This was done with a write of zero to the ticks member and thus a modification of the user-provided structure. Now the structure is no longer modified. Using a mask parameter is quite efficient. You just have to load an immediate value and there are no additional branches in _TOD_Validate(). Close #4406.
2021-05-12_TOD_Validate(): Fix incorrect return codeFrank Kühndel1-6/+4
This patch fixes bug #4403. Directives * rtems_timer_fire_when() * rtems_timer_server_fire_when() * rtems_task_wake_when() are documented to return RTEMS_INVALID_ADDRESS when their time-of-day argument is NULL. But actually they return RTEMS_INVALID_CLOCK. To fix the issue this patch changes _TOD_Validate() to return a status code instead of just true/false. Close #4403
2021-05-02bsps: Support RTEMS_NOINIT in linkcmdsSebastian Huber3-1/+16
Update #3866.
2021-04-29bsps/arm: ARMV7_CP15_START_WORKSPACE_ENTRY_INDEXSebastian Huber1-1/+1
Change the ARMV7_CP15_START_WORKSPACE_ENTRY_INDEX value to be in line with the workspace entry in ARMV7_CP15_START_DEFAULT_SECTIONS. Close #4395.
2021-04-26Implementation for STM32 HAL_GetTick using RTEMSRobin Mueller1-2/+2
Uses configured millisecond per ticks
2021-04-22bsps/beagle: Refactored i2c driverG S Niteesh Babu4-95/+114
Refactored the i2c driver to parse register values from the device tree rather than hardcoding them. But still the clocks have to initialized manually.
2021-04-21bsps/arm: Set MSP in ARMv7-M start codeSebastian Huber1-0/+8
Set the Main Stack Pointer (MSP) to the ISR stack area end just in case we run using the Process Stack Pointer (PSP). This helps if applications are started by a boot loader.
2021-04-20Updated tick implementation for HAL_GetTickRobin Mueller1-1/+3
This now uses rtems_clock_get_uptime_nanoseconds to calculate the uptime ticks in milliseconds.
2021-04-07bsps: Remove networking driversVijay Kumar Banerjee10-6908/+0
Update #3850
2021-04-06arm/stm32h7: Add STM32H7_USART3_GPIO_*Sebastian Huber1-2/+4
2021-04-06arm/stm32h7: Add STM32H7_HSE_FREQUENCYSebastian Huber1-0/+5
2021-04-01stm32h7: Add init for sdmmc pinsChristian Mauderer2-0/+90
Update #4372
2021-04-01stm32h7: Add SDMMC modules to clockChristian Mauderer2-3/+15
Update #4372
2021-03-21bsp/beagle: Ported Beagle pinmux driver to RTEMSG S Niteesh Babu1-0/+31
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 Babu3-6/+110
Detects the SOC type using FDT and also replaces the ti_cpuid.h header in FreeBSD with custom one.
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-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-26bsps: Fix legacy buildSebastian Huber1-4/+0
2021-02-24bsps: Change license to BSD-2-Clause of some filesSebastian Huber1-4/+32
Change license to BSD-2-Clause according to file histories and re-licensing agreement. Update #3899.
2021-01-28bsps: Replace bsp_specs with an empty fileSebastian Huber22-198/+0
This fixes an issue with the latest tool chain which adds the default linker script in the endfile specification. Update #3250.
2021-01-26bsps: Add missing DWARF 5 sectionsSebastian Huber1-3/+5
Sort alphabetically.
2021-01-25bsps: Support DWARF 5 sectionsSebastian Huber1-8/+13
GCC 11 uses DWARF 5 by default.
2021-01-21bsp/imx: Fix system counter init for imx6Christian Mauderer1-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 #3869
2021-01-21bsps/imxrt: Add ioctl to LPSPI to get registersChristian Mauderer2-0/+74
This allows an application to get the registers of the LPSPI. That is usefull for applications that want to use DMA for a very specialized and highly optimized communication. Update #4180
2021-01-21bsps/imxrt: Add DMA numbers to dtsiChristian Mauderer2-478/+604
Also currently no driver uses these numbers, it is usefull for applications that want to use the DMA. Update #4180
2021-01-21bsps/shared: Adapt fsl-edma driver for imxrtChristian Mauderer1-0/+3
Note: The changes have been done with portability in mind. The driver should (in theory) be able to replace the original one in the MPC BSPs too. For full compatibility an adaption layer and especially a test would be necessary. Because both are missing, don't integrate it into the MPC BSP now. Update #4180