summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bsps/imxrt: Add DMA numbers to dtsiChristian Mauderer2021-01-212-478/+604
| | | | | | | Also currently no driver uses these numbers, it is usefull for applications that want to use the DMA. Update #4180
* bsps/shared: Adapt fsl-edma driver for imxrtChristian Mauderer2021-01-217-824/+746
| | | | | | | | | | 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
* bsps/shared: Copy fsl-edma from mpc55xxChristian Mauderer2021-01-213-0/+1368
| | | | | | This is a preparation for making the driver universal. Update #4180
* bsps/imxrt: Use standard names to avoid warningsChristian Mauderer2021-01-212-106/+103
| | | | | | | If spi or i2c slaves are "connected" to the spi or i2c bus, the device tree compiler complains if the busses are not named spi or i2c. Update #4180
* mrsp: Change error status for a nested seizeSebastian Huber2021-01-212-12/+20
| | | | | | | | Return STATUS_DEADLOCK (RTEMS_INCORRECT_STATE) to indicate a nested seize since this is a kind of deadlock. This status code is also used for other deadlocks. Update #4217.
* bsps/aarch64: Swap primary ZynqMP UARTKinsey Moore2021-01-142-4/+4
| | | | | Both Qemu and actual hardware treat the second UART in memory map as the primary UART. This adjusts the ZynqMP BSPs to match.
* cpukit: Merge FreeBSD values for the prioritiesChris Johns2021-01-081-17/+85
| | | | | | | It seems we need valid values or assumptions in the FreeBSD about these values breaks some of the code. Closes #4207
* bsp/stm32h7: Split console configurationSebastian Huber2021-01-0422-150/+508
| | | | | | | This allows applications to individually provide configuration structures. Update #4209.
* bsp/stm32h7: Split start configurationSebastian Huber2021-01-046-39/+171
| | | | | | | This allows applications to individually provide configuration structures. Update #4209.
* libtests/ofw01: Added a test for RTEMS OFWG S Niteesh Babu2020-12-278-0/+418
| | | | | This commit adds a basic test that tests all the implemented RTEMS OFW functions.
* bsps/shared/ofw: Implement RTEMS OFW interfaceG S Niteesh Babu2020-12-275-0/+1353
| | | | | | | | | | | | | | RTEMS OFW is a FDT only implementation of the OpenFirmWare interface. This API is created to be compatible with FreeBSD OpenFirmWare interface. The main intention is to make porting of FreeBSD drivers to RTEMS easier. Most functions implemented have an direct one-one mapping with the original OFW API and some extra auxiliary functions were implemented to make working with device trees easier in RTEMS. Update #3784
* Update header.amSebastian Huber2020-12-235-8/+21
|
* arm/fvp: New BSPSebastian Huber2020-12-2328-1/+1089
| | | | | | | | This BSP supports the Arm Fixed Virtual Platform. Only the Cortex-R52 processor configuration is supported by the BSP. It should be easy to add support for other variants if needed. Update #4202.
* bsps/arm: Rely on initialized vector tableSebastian Huber2020-12-231-5/+4
| | | | | | | The arm_cp15_set_exception_handler() is a complicated function which should be avoided if possible. Update #4202.
* bsps: Use header file for GIC architecture supportSebastian Huber2020-12-2321-33/+36
| | | | | | This avoids a function call overhead in the interrupt dispatching. Update #4202.
* bsps/arm: Invalidate TLB in start.SSebastian Huber2020-12-235-15/+10
| | | | Update #4202.
* bsps/arm: Clear SCTLR[M, I, A, C] in start.SSebastian Huber2020-12-235-119/+43
| | | | | | | Initialize the data and unified cache levels. Invalidate the instruction cache levels. Update #4202.
* bsps/arm: Add arm-data-cache-loop-set-way.hSebastian Huber2020-12-232-62/+105
| | | | | | This makes it possible to reuse this loop. Update #4202.
* bsps/arm: Remove optional start hook argumentsSebastian Huber2020-12-232-48/+28
| | | | | | | The start hook arguments are not used by a BSP. Removing them avoids the need for a stack during the very early system initialization. Update #4202.
* bsps/arm: Invalidate branch predictors earlierSebastian Huber2020-12-235-5/+11
| | | | | | | Make sure the branch predictors are invalidated before the first branch is executed. Update #4202.
* bsps/arm: Set VBAR in start.SSebastian Huber2020-12-2311-94/+34
| | | | | | | | | | Set the VBAR to the vector table in the start section before bsp_start_hook_0() is called to earlier handle exceptions in RTEMS. Set the VBAR to the normal vector table in start.S for the main processor. Secondary processors set it in bsp_start_hook_0(). Update #4202.
* arm: Add support for Arm PMSAv8-32Sebastian Huber2020-12-224-0/+570
| | | | Update #4202.
* arm: Add header file for AArch32 System RegistersSebastian Huber2020-12-221-0/+14657
| | | | Update #4202.
* bsps: Fix includesSebastian Huber2020-12-222-1/+6
| | | | Update #4202.
* libdebugger: Fix for Armv8-RSebastian Huber2020-12-221-0/+7
| | | | | | This architecture variant has no MMU. Update #4202.
* arm: Optimize arm_interrupt_disable()Sebastian Huber2020-12-161-2/+11
| | | | Update #4202.
* bsps: Remove gicvx_interrupt_dispatch()Sebastian Huber2020-12-165-18/+2
| | | | | | Avoid one level of indirection. Update #4202.
* bsps: Add GICv3 arm_gic_irq_processor_count()Sebastian Huber2020-12-163-6/+35
| | | | Update #4202.
* build: Add ABI flags to gnatmake compiler flagsSebastian Huber2020-12-161-0/+2
|
* build: Fix duplicate install of jffs2.hSebastian Huber2020-12-161-1/+0
|
* bsps/arm: Fix MMU configurationSebastian Huber2020-12-152-0/+8
| | | | Update #4184.
* cpu/armv7m: Fix table based init for ARMV7M_MPUChristian Mauderer2020-12-141-1/+7
| | | | | | | | Somehow the table index has been missing in the latest patch version. With that, the configuration for the first region has been applied multiple times. Update #4180
* bsps/arm/imx*: Fix location of shared headersChristian Mauderer2020-12-146-12/+10
| | | | | | | When moving the headers from the imx BSP to the shared area, the wrong directory has been selected. This patch fixes that problem. Update #4180
* bsps/imxrt: Split up dts.Christian Mauderer2020-12-143-290/+312
| | | | | | This allows simpler creation of own dts files for custom boards. Update #4180
* shell: Add i2c and spi commandsChristian Mauderer2020-12-147-0/+569
| | | | | | | | 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.
* bsp/rtl22xx: Fix non-ASCII characterChristian Mauderer2020-12-141-1/+1
|
* bsp/mpc83xx: Fix non-ASCII charactersChristian Mauderer2020-12-141-1/+1
|
* bsps: Replace non-ASCII bullet pointsChristian Mauderer2020-12-142-6/+6
|
* bsps: Replace non-ASCII trademark symbolChristian Mauderer2020-12-142-2/+2
|
* bsps: Replace non-ASCII copyright characterChristian Mauderer2020-12-1411-11/+11
|
* config: Fix invalid static assertions in CSebastian Huber2020-12-122-31/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | Expressions in static assertions must be integral constant expressions. In integral constant expressions the use of address constant expressions is not allowed. In static initializers the address constant expressions are allowed. Introduce a new macro _CONFIGURE_ASSERT_NOT_NULL() which leads to a compile time error if the second parameter is NULL. It generates error messages like this if for example #define CONFIGURE_INIT_TASK_ENTRY_POINT NULL is provided by the application: cpukit/include/rtems/confdefs/inittask.h:51:26: error: size of unnamed array is negative 51 | ( _type ) sizeof( int[ ( _value ) != NULL ? 1 : -1 ] ) ) | ^ cpukit/include/rtems/confdefs/inittask.h:170:3: note: in expansion of macro '_CONFIGURE_ASSERT_NOT_NULL' 170 | _CONFIGURE_ASSERT_NOT_NULL( | ^~~~~~~~~~~~~~~~~~~~~~~~~~ This fix relates to CID 1470570 (PARSE_ERROR). Update #4181.
* bsps/gicv3: Resolve build warnings on 64bitKinsey Moore2020-12-111-2/+2
|
* tm27: Use generic cpu index accessorKinsey Moore2020-12-111-3/+2
| | | | | | The arm_cp15 function for accessing the current CPU index is specific to ARMv7 while this header is used for ARMv8 as well. Instead, use a generic accessor that is part of the standard CPU API.
* build: Clarify ARM_MMU_USE_SMALL_PAGES descriptionSebastian Huber2020-12-111-1/+2
|
* bsp/xilinx_zynq: Enable support for 4kiB MMU pagesJan Sommer2020-12-113-3/+19
| | | | | | | - Disabled by default - Enable using ARM_MMU_USE_SMALL_PAGES option Close 4192.
* 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 #4184.
* cpukit/aarch64: Add explanation of exception flowKinsey Moore2020-12-102-3/+18
|
* cpukit/aarch64: Use hex consistently for offsetsKinsey Moore2020-12-105-116/+116
|
* bsps: Remove ARM GIC SGI target filterSebastian Huber2020-12-105-31/+5
| | | | | | | Remove the target filter for software-generated interrupts since this feature is not supported by the affinity routing in GICv3. Update #4202.
* bsps: Fix GICv3 arm_gic_trigger_sgi()Sebastian Huber2020-12-105-10/+11
| | | | | | | | Use the targets parameter to determine the targets of the SGI. Change targets parameter type to 32-bit to ease the parameter passing. GICv3 supports up to 16 targets. Update #4202.