Sebastian Huber
747fb65c6e
bsps: Add GICv3 arm_gic_irq_processor_count()
...
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
2f509b572f
bsp/mpc83xx: Fix non-ASCII characters
2020-12-14 10:48:57 +01:00
Christian Mauderer
21a0d20c68
bsps: Replace non-ASCII bullet points
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
Kinsey Moore
9edca35dbe
bsps/gicv3: Resolve build warnings on 64bit
2020-12-11 15:32:15 -06:00
Kinsey Moore
9e7b5ebd7d
tm27: Use generic cpu index accessor
...
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.
2020-12-11 15:32:15 -06: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
bd7bef528d
bsps/arm: Support system level ARM Generic Timer
...
Update #4202 .
2020-12-10 07:58:03 +01:00
Sebastian Huber
e68827e1d9
arm/cache-cp15: Support Armv8
...
Update #4202 .
2020-12-10 07:58:03 +01:00
Sebastian Huber
368fab5a82
bsps: Print CPU in default fatal error extension
2020-12-10 07:58:03 +01:00
Sebastian Huber
9ce47a52a4
bsps: Add SMP support to ARM GICv3
...
Update #4202 .
2020-12-09 17:30:52 +01:00
Kinsey Moore
2365c93745
spec: Move zynq-uart into its own object
...
Currently, zynq-uart code is always built and has some requirements for
BSPs that use it. Instead of making all BSPs satisfy that requirement or
working around it by setting defaults, this moves the zynq-uart code
into its own spec build object so it can be included if needed.
2020-12-04 12:42:06 -06:00
Kinsey Moore
a92d4ae685
Add AArch64 ZynpMP BSP
...
This adds a BSP family that runs on the Xilinx Ultrascale+ MPSOC
(ZynqMP) family of chips. It is configured to be usable on the Qemu
ZCU102 machine definition and should be almost trivially portable to
ZynqMP development boards and custom hardware. It is also configured to
be usable with libbsd.
2020-12-04 07:57:15 -06:00
Kinsey Moore
5686b44d13
zynq-uart: Fix set_attributes implementation
...
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.
2020-12-03 17:35:28 -06: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
Sebastian Huber
99c73303de
rtems: Improve rtems_interrupt_server_create()
...
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().
2020-11-24 07:40:24 +01:00
Kinsey Moore
1cbe5773ab
spec/aarch64: Only apply SUBALIGN(4) to ILP32
...
The SUBALIGN(4) required on rtemsroset and rtemsrwset for ILP32 builds
was previously present on LP64 builds and causes no issues within RTEMS,
but causes relocation/alignment issues when building libbsd. This
restricts those alignment changes to ILP32 builds.
2020-11-23 09:57:45 -06:00
Sebastian Huber
6c078901b2
doxygen: Use common syntax for groups
2020-11-23 10:36: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
Jiri Gaisler
b4c29b54e7
Add networking support for griscv bsp
...
* Only GRETH device supported for now
* Fix endian problem in GRETH driver
* Remove SPARC assembly from greth.c
* Builds with both autoconf and waf
2020-11-09 09:35:11 +01:00
Sebastian Huber
350bba7a04
sparc: Add SPARC_INTERRUPT_SOURCE_TO_TRAP()
...
Update #4171 .
2020-11-06 14:05:53 +01:00
Sebastian Huber
828114778d
sparc: Add SPARC_INTERRUPT_TRAP_TO_SOURCE()
...
Update #4171 .
2020-11-06 14:05:53 +01:00
Sebastian Huber
b7271f8c1e
sparc: Add SPARC_IS_INTERRUPT_TRAP()
...
Update #4171 .
2020-11-06 14:05:53 +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
Sebastian Huber
2cfcd005e9
bsp/stm32h7: Constify some functions
...
Update #3910 .
2020-10-27 06:11:45 +01:00
Sebastian Huber
2131228f79
bsp/stm32h7: Import from STM32CubeMX-5.6.0
...
Update #3910 .
2020-10-27 06:11:44 +01:00
Sebastian Huber
db94626bc3
bsp/leon3: Updat due to API changes
2020-10-26 15:10:05 +01:00