Sebastian Huber
b361eabd93
bsps: Replace bsp_specs with an empty file
...
This fixes an issue with the latest tool chain which adds the default
linker script in the endfile specification.
Update #3250 .
2021-01-28 06:28:33 +01:00
Sebastian Huber
9eb9813dc1
bsps: Add missing DWARF 5 sections
...
Sort alphabetically.
2021-01-26 15:29:36 +01:00
Sebastian Huber
33c12d5f92
bsps: Support DWARF 5 sections
...
GCC 11 uses DWARF 5 by default.
2021-01-25 12:56:00 +01:00
Christian Mauderer
7b99d7619e
bsp/imx: Fix system counter init for imx6
...
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-21 10:17:31 +01:00
Christian Mauderer
36b4e8c394
bsps/imxrt: Add ioctl to LPSPI to get registers
...
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-21 10:17:31 +01:00
Christian Mauderer
d9794a1f97
bsps/imxrt: Add DMA numbers to dtsi
...
Also currently no driver uses these numbers, it is usefull for
applications that want to use the DMA.
Update #4180
2021-01-21 10:17:31 +01:00
Christian Mauderer
a434cc80cb
bsps/shared: Adapt fsl-edma driver for imxrt
...
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
2021-01-21 10:17:31 +01:00
Christian Mauderer
22e9dafb74
bsps/imxrt: Use standard names to avoid warnings
...
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
2021-01-21 10:17:31 +01:00
Sebastian Huber
6600585fc8
bsp/stm32h7: Split console configuration
...
This allows applications to individually provide configuration
structures.
Update #4209 .
2021-01-04 19:23:15 +01:00
Sebastian Huber
affc8de85f
bsp/stm32h7: Split start configuration
...
This allows applications to individually provide configuration
structures.
Update #4209 .
2021-01-04 19:22:53 +01:00
Sebastian Huber
828ea6ee86
Update header.am
2020-12-23 10:25:33 +01:00
Sebastian Huber
81c7f5be92
arm/fvp: New BSP
...
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 .
2020-12-23 09:24:49 +01:00
Sebastian Huber
016bcb3f9d
bsps/arm: Rely on initialized vector table
...
The arm_cp15_set_exception_handler() is a complicated function which
should be avoided if possible.
Update #4202 .
2020-12-23 09:24:49 +01:00
Sebastian Huber
9f3a08ef2d
bsps: Use header file for GIC architecture support
...
This avoids a function call overhead in the interrupt dispatching.
Update #4202 .
2020-12-23 09:24:49 +01:00
Sebastian Huber
23d9223ad3
bsps/arm: Invalidate TLB in start.S
...
Update #4202 .
2020-12-23 09:24:47 +01:00
Sebastian Huber
e164df5e33
bsps/arm: Clear SCTLR[M, I, A, C] in start.S
...
Initialize the data and unified cache levels. Invalidate the
instruction cache levels.
Update #4202 .
2020-12-23 09:19:28 +01:00
Sebastian Huber
b32fd22732
bsps/arm: Add arm-data-cache-loop-set-way.h
...
This makes it possible to reuse this loop.
Update #4202 .
2020-12-23 09:19:28 +01:00
Sebastian Huber
46a3c0446f
bsps/arm: Remove optional start hook arguments
...
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 .
2020-12-23 09:19:28 +01:00
Sebastian Huber
76a1a53780
bsps/arm: Invalidate branch predictors earlier
...
Make sure the branch predictors are invalidated before the first branch
is executed.
Update #4202 .
2020-12-23 09:19:28 +01:00
Sebastian Huber
272534eb72
bsps/arm: Set VBAR in start.S
...
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 .
2020-12-23 09:19:17 +01:00
Sebastian Huber
b5aceef5d9
bsps: Remove gicvx_interrupt_dispatch()
...
Avoid one level of indirection.
Update #4202 .
2020-12-16 11:00:03 +01:00
Sebastian Huber
0deeb02527
bsps/arm: Fix MMU configuration
...
Update #4184 .
2020-12-15 11:25:44 +01:00
Christian Mauderer
9b3def237a
bsps/arm/imx*: Fix location of shared headers
...
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
2020-12-14 11:29:36 +01:00
Christian Mauderer
b63a187ec0
bsps/imxrt: Split up dts.
...
This allows simpler creation of own dts files for custom boards.
Update #4180
2020-12-14 11:10:38 +01:00
Christian Mauderer
66723ee6d2
bsp/rtl22xx: Fix non-ASCII character
2020-12-14 10:48:57 +01:00
Christian Mauderer
86d3c27525
bsps: Replace non-ASCII trademark symbol
2020-12-14 10:48:57 +01:00
Christian Mauderer
2fbc8897fa
bsps: Replace non-ASCII copyright character
2020-12-14 10:48:57 +01:00
Jan Sommer
1a7afb55a3
bsps/arm: Fix MMU small pages support
...
- For small tables only round to the next 4kiB instead of 1MiB
Close #4184 .
2020-12-11 06:54:14 +01:00
Sebastian Huber
105e52032e
bsps: Remove ARM GIC SGI target filter
...
Remove the target filter for software-generated interrupts since this
feature is not supported by the affinity routing in GICv3.
Update #4202 .
2020-12-10 09:42:50 +01:00
Sebastian Huber
b6925e10c8
bsps: Fix GICv3 arm_gic_trigger_sgi()
...
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 .
2020-12-10 09:42:49 +01:00
Sebastian Huber
6b79abfbbc
bsp/realview-pbx-a9: Fix smpfatal04 test
2020-12-10 09:42:49 +01:00
Sebastian Huber
e68827e1d9
arm/cache-cp15: Support Armv8
...
Update #4202 .
2020-12-10 07:58:03 +01:00
Sebastian Huber
5b064a49f9
bsps: Remove unused bsp_stack_main_size
2020-12-03 15:41:38 +01:00
Kinsey Moore
a151ee167e
bsps: Move ARM GICv2 driver to bsps/shared
...
This moves the ARM GICv2 driver to bsps/shared to be usable by AArch64
code.
2020-12-02 18:51:40 -06:00
Kinsey Moore
f0859573f9
bsps: Move zynq-uart to bsps/shared
...
This moves the zynq-uart driver from bsps/arm/shared to bsps/shared to
accomodate use by AArch64 BSPs.
2020-12-02 18:51:40 -06:00
Sebastian Huber
9c20b987cd
rtems: Add <rtems/rtems/clockimpl.h>
2020-12-02 07:45:53 +01:00
Sebastian Huber
fe58f6ce4b
bsp/stm32h7: Add and use BSP Doxygen group
...
Update #3910 .
2020-11-26 08:21:46 +01:00
Christian Mauderer
7141afbb0e
bsp/imxrt: Add new BSP
...
Update #4180
2020-11-20 08:53:19 +01:00
Christian Mauderer
57b5b29ce4
bsp/imxrt: Adapt imported files
...
Update #4180
2020-11-20 08:53:19 +01:00
Christian Mauderer
8abf858cf5
bsp/imxrt: Fix warnings for imported files
...
Update #4180
2020-11-20 08:53:18 +01:00
Christian Mauderer
48f6a6c302
bsp/imxrt: Import files from MCUXpresso SDK V2.8.5
...
The following files have been imported:
cp ${SDK}/boards/evkbimxrt1050/project_template/clock_config.c nxp/boards/evkbimxrt1050
cp ${SDK}/boards/evkbimxrt1050/project_template/clock_config.h include/fsl_clock_config.h
cp ${SDK}/boards/evkbimxrt1050/project_template/dcd.c start/flash-dcd.c
cp ${SDK}/boards/evkbimxrt1050/project_template/pin_mux.c nxp/boards/evkbimxrt1050
cp ${SDK}/boards/evkbimxrt1050/project_template/pin_mux.h include/fsl_pin_mux.h
cp ${SDK}/boards/evkbimxrt1050/xip/evkbimxrt1050_flexspi_nor_config.h include/fsl_flexspi_nor_config.h
cp ${SDK}/devices/MIMXRT1052/MIMXRT1052.h include
cp ${SDK}/devices/MIMXRT1052/MIMXRT1052_features.h include
cp ${SDK}/devices/MIMXRT1052/drivers/fsl_*.c nxp/devices/MIMXRT1052/drivers
cp ${SDK}/devices/MIMXRT1052/drivers/fsl_*.h include
cp ${SDK}/devices/MIMXRT1052/fsl_device_registers.h include
cp ${SDK}/devices/MIMXRT1052/system_MIMXRT1052.h include/
cp ${SDK}/devices/MIMXRT1052/xip/fsl_flexspi_nor_boot.c nxp/devices/MIMXRT1052/xip/fsl_flexspi_nor_boot.c
cp ${SDK}/devices/MIMXRT1052/xip/fsl_flexspi_nor_boot.h include
Update #4180
2020-11-20 08:53:18 +01:00
Christian Mauderer
b169095c7d
cpu/armv7m: Add table based init for ARMV7M_MPU
...
Modify the MPU functions of the stm32h7 BSP to be table based and
available for all ARMV7M BSPs.
Update #4180
2020-11-20 08:53:18 +01:00
Christian Mauderer
6cece58544
bsps/imx: Move imx-gpio to arm/shared
...
Update #4180
2020-11-20 08:53:18 +01:00
Christian Mauderer
e00f443428
imx: Move imx_iomux to arm/shared
...
Update #4180
2020-11-20 08:53:18 +01:00
Christian Mauderer
cab11b5b80
bsp/atsam: Fix XDMAD status
...
In "bsp/atsam: Simplify XDMAD_Handler()" (5f813694f6 ) the interrupt
callback has been made unconditional. That allowed to avoid some special
deadlock situations in error cases. But it removed part of the XDMAD
status handling.
This patch adds the ability to update the XDMAD status from the
callback if that is necessary for the driver.
Fixes #4173
2020-11-12 08:30:20 +01:00
Sebastian Huber
99494370d6
bsp/stm32h7: New BSP
...
Update #3910 .
2020-10-27 06:11:45 +01:00
Sebastian Huber
c44e404888
bsp/stm32h7: Fix warnings
...
Update #3910 .
2020-10-27 06:11:45 +01:00
Sebastian Huber
e4ba06f8b4
bsp/stm32h7: Disable unused functions
...
Update #3910 .
2020-10-27 06:11:45 +01:00
Sebastian Huber
abb78587b6
bsp/stm32h7: Enable LL drivers
...
Update #3910 .
2020-10-27 06:11:45 +01:00
Sebastian Huber
2f157e2007
bsp/stm32h7: Move <math.h> include
...
This is necessary for libbsd compatibility.
Update #3910 .
2020-10-27 06:11:45 +01:00