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
Sebastian Huber
273613f1a8
bsps/arm: Sort fast text/data sections
2020-10-21 07:58:38 +02:00
Sebastian Huber
3fccdc956c
bsps/arm: Add support for MPU region alignment
...
Update #3910 .
2020-10-21 07:58:34 +02:00
Sebastian Huber
bb4e534014
bsps: Fix rtems_interrupt_server_delete()
...
The ISR lock must be destroyed to prevent memory corruption if RTEMS_PROFILING
and RTEMS_SMP is enabled.
Close #4158 .
2020-10-19 17:44:49 +02:00
Sebastian Huber
f9c8e14dcb
grlib: Add ambapp_common_info to derived types
...
This avoids a cast in DEV_TO_COMMON().
2020-10-16 07:07:19 +02:00
Sebastian Huber
c15c520b96
grlib: Remove unused conversion macros
2020-10-16 07:07:19 +02:00
Sebastian Huber
3154203bba
grlib: Remove superfluous forward decls
2020-10-16 07:07:19 +02:00
Sebastian Huber
cf1682130c
bsps/arm: Add workaround for Errata 794072
...
Add a workaround for Cortex-A9 Errata 845369: A short loop including a DMB
instruction might cause a denial of service on another which executes a CP15
broadcast operation.
Close #4115 .
2020-10-16 06:36:53 +02:00
Sebastian Huber
e7b878e42f
bsps/arm: Workaround for Errata 845369
...
Add a workaround for Cortex-A9 Errata 845369: Under Very Rare Timing
Circumstances Transition into Streaming Mode Might Create Data Corruption.
Update #4115 .
2020-10-16 06:36:06 +02:00
Joel Sherrill
7db9c14434
lpc32xx_mzx_stage_1-testsuite.tcfg: Add ttest01
2020-10-12 10:14:38 -05:00
Joel Sherrill
2695e7d01f
lpc2362-testsuite.tcfg: Add monitor and psxmsgq01
2020-10-12 10:14:38 -05:00
Joel Sherrill
562c2a718c
lm3s3749-testsuite.tcfg: Add spcxx01
2020-10-12 10:14:38 -05:00
Frank Kühndel
f28a6defd1
disp_hcms29xx: Fix string truncation warning
...
The strlcpy() function ensures there is always a NUL character
at the end of the string. Hence it is safer as strncpy() and it avoids the
compiler warning
2020-10-10 15:04:15 +02:00
Sebastian Huber
d7a48e1b25
rtems: Improve RTEMS_NO_RETURN attribute
...
Provide RTEMS_NO_RETURN also in case RTEMS_DEBUG is defined to prevent errors
like this:
error: no return statement in function returning non-void [-Werror=return-type]
Use C11 and C++11 standard means to declare a no-return function.
Close #4122 .
2020-10-10 14:00:37 +02:00
Sebastian Huber
e1a0e0c308
grlib: Add and use irqmp_has_timestamp()
...
Replace leon3_irqmp_has_timestamp() with irqmp_has_timestamp() and move
it to grlib.h.
Close #4128 .
2020-10-10 14:00:37 +02:00
Joel Sherrill
560c08cc3d
bsps/include/bsp/fatal.h: Add GRLIB specific fatal error
...
updates #4028 .
2020-10-08 08:30:00 -05:00
Joel Sherrill
0c74ff92b5
Misc: Correct spelling of occurred
2020-10-07 08:38:28 -05:00
Kinsey Moore
ed9c88cea8
bsps: Add Cortex-A53 ILP32 BSP variant
...
This adds an AArch64 ILP32 BSP variant based on Qemu's Cortex-A53
emulation with interrupt support using GICv3 and clock support using
the ARM GPT.
2020-10-05 16:11:40 -05:00
Kinsey Moore
db68ea1b9b
bsps: Add Cortex-A53 LP64 basic BSP
...
This adds an AArch64 basic BSP based on Qemu's Cortex-A53 emulation with
interrupt support using GICv3 and clock support using the ARM GPT.
2020-10-05 16:11:40 -05:00
Kinsey Moore
cb2afd2eaa
bsps/shared: Add PSCI-based bspreset implementation
...
This adds a bsp_reset implementation based on the ARM PSCI
specification often present in ARMv8 systems.
2020-10-05 16:11:39 -05:00
Kinsey Moore
f8ad5bb2a4
bsps: Break out AArch32 GICv3 support
...
This breaks out AArch32-specific code so that the shared GICv3 code can
be reused by other architectures.
2020-10-05 16:11:39 -05:00
Kinsey Moore
1480c3f5e8
bsps: Break out AArch32 portions of GPT driver
...
This breaks AArch32-specific portions of the ARM GPT driver into their
own file so that the generic code can be moved for reuse by other
architectures.
2020-10-05 16:11:39 -05:00
Kinsey Moore
1c03649312
Move ARM PL011 UART driver
...
This UART driver is now needed for BSPs other than ARM.
2020-10-05 16:11:39 -05:00
Sebastian Huber
a9995f101d
bsp/lpc176x: Fix memory map
...
Due to the static allocation of operating system resources the .bss section
needs more space than the .work section.
Close #4117 .
2020-10-05 19:34:10 +02:00
Jan Sommer
1f77518fca
bsps/pc386: Add missing license header
...
Closes #4093 .
2020-09-23 08:25:30 -05:00
Sebastian Huber
e8450a6c36
bsps/riscv: Add bsp_fdt_map_intr()
...
This function is required by libbsd.
2020-09-23 07:35:05 +02:00
Sebastian Huber
e59cb6a2b2
bsps/powerpc: Remove __ppc_generic define
...
Do not force BSPs to define __ppc_generic.
This was probably the last command line define in the BSPs.
2020-09-20 17:45:11 +02:00
Hesham Almatary
4897a82dec
riscv: Make sifive_test finisher 4 bytes
...
QEMU is now stricter with MMIO sizes and accesses. uintptr_t on RV64
is 8 bytes and generates an sd instruction that Store/AMO faults
because sifive_test MMIO expects 4 bytes accesses.
2020-09-17 09:01:51 +01:00
Sebastian Huber
4b767bd343
bsps/arm: Use RTEMS_SECTION()
2020-09-17 08:36:45 +02:00
Sebastian Huber
20d82377a6
arm: Fix arm_cp15_set_translation_table_entries()
...
In a multi-processor system we must broadcast the TLB maintenance operation to
the Inner Shareable domain to ensure that the other processors update their TLB
caches accordingly.
Close #4068 .
2020-09-17 08:20:35 +02:00
Sebastian Huber
2a4ccc4f8d
bsp/pc386: Remove support for obsolete Binutils
...
Update #3818 .
2020-09-15 15:14:38 +02:00
Sebastian Huber
2786b0aa38
bsps/riscv: Use far jump to boot_card()
...
Use a far jump to avoid errors like this:
relocation truncated to fit: R_RISCV_JAL against symbol `boot_card'
2020-09-15 09:20:27 +02:00
Sebastian Huber
f3f0370f10
build: Alternative build system based on waf
...
Update #3818 .
2020-09-14 07:11:32 +02:00
Joel Sherrill
5959b1e34c
Remove tmoverhd which existed to produce the obsolete coverhd.h
...
Closes #4040 .
2020-09-11 08:54:16 -05:00
Joel Sherrill
e563e61c7a
Remove remaining references to coverhd.h
...
Closes #4040 .
2020-09-10 11:42:00 -05:00
Hesham Almatary
764ea57879
htif_console_handler is defined in htif.c
...
closes #4069 .
2020-09-06 16:11:45 -05:00
Sebastian Huber
d556af3605
bsps: Always install IPI in SMP configs
...
The inter-processor interrupt (IPI) may be used to process per-CPU jobs.
See for example the blocked handler in T_interrupt_test().
Update #3199 .
2020-08-31 16:19:53 +02:00
Jan Sommer
b87efa7599
bsp/xilinx-zynq: Flush TX-Buffer before initializing uart
...
Closes #4055
Closes #4056
2020-08-22 17:29:25 +10:00