Commit Graph

548 Commits

Author SHA1 Message Date
Sebastian Huber
ba34ed9c24 bsp/atsam: Fix use after free 2019-03-11 07:13:05 +01:00
Sebastian Huber
529b58687f bsps: Adjust umon Doxygen groups
Update #3706.
2019-03-08 08:00:47 +01:00
Sebastian Huber
cbf773d310 bsp/atsam: Add Doxygen groups
Add Doxygen groups for contributed code which would otherwise end up at
the top level (about 178 groups).

Update #3706.
2019-03-08 07:42:54 +01:00
Sebastian Huber
f3db383528 bsp/altera-cyclone-v: Add Doxygen groups
Add Doxygen groups for contributed code which would otherwise end up at
the top level.

Update #3706.
2019-03-08 07:42:54 +01:00
Sebastian Huber
15359bb6cb bsps/arm: Adjust CMSIS Doxygen groups
Update #3706.
2019-03-08 07:42:54 +01:00
Sebastian Huber
828276b081 bsps: Adjust shared Doxygen groups
Update #3706.
2019-03-08 07:42:54 +01:00
Sebastian Huber
c991eeeccc bsps: Adjust bsp.h Doxygen groups
Update #3706.
2019-03-08 07:42:54 +01:00
Sebastian Huber
3b68442f28 bsps/powerpc: Move mpc55xx header files
They are only used by this BSP.
2019-03-07 10:44:19 +01:00
Chris Johns
ec1dd51aae libdl: Add small data support to the remaining PowerPC BSPs.
Updates #3687
2019-03-07 06:33:47 +11:00
Chris Johns
96e4b22312 testsuite: Make the OPERATION_COUNT a test configuration parameter.
- Add a small memory test config file.
- Update the small memory PowerPC BSPs to use the new test config.
2019-03-07 06:33:47 +11:00
Sebastian Huber
85d5f6c17c bsp/atsam: Accept only 8/16 bits per word
For proper 16 bits per word support we need probably some DMA
adjustments.  For 9 to 15 bits per word we need support for the variable
peripheral select, see SR_MR[PS] register bit.
2019-03-06 13:29:04 +01:00
Sebastian Huber
b82a4b4f52 bsp/atsam: Optimize XDMAD_Handler()
Load the channel interrupt mask only once.
2019-03-06 13:07:17 +01:00
Sebastian Huber
847638af35 bsp/atsam: Fix SPI CS change support
The previous approach contained a severe bug which disabled the SPI
module in some cases leading to a blocked SPI bus.
2019-03-06 13:07:17 +01:00
Sebastian Huber
923a033f57 bsp/atsam: Change CS delay after transfer 2019-03-06 13:07:16 +01:00
Sebastian Huber
b934898562 bsp/atsam: Make SPI CS delays configurable 2019-03-06 13:07:16 +01:00
Sebastian Huber
029262902b bsp/atsam: Simplify SPI configuration
Do not use SPID_Configure() since this will enable the peripheral each
time and performs a software reset.
2019-03-06 13:07:16 +01:00
Sebastian Huber
7604a13087 bsps: Move VME header files
They are only used by PowerPC BSPs.
2019-03-05 09:03:58 +01:00
Sebastian Huber
dbe6e0ad09 bsps/powerpc: Move .rtemstack section
Move the .rtemsstack section from a read-only to a read-write area, see
page table setup in __BSP_default_pgtbl_setup().
2019-03-04 09:25:21 +01:00
Sebastian Huber
e1fc23f057 bsps/powerpc: Fix PAGE_ALIGN() macros
Previous warning fixes which include <sys/param.h> broke this macro.
The definition of PAGE_MASK changed.
2019-03-04 09:25:21 +01:00
Sebastian Huber
9d41fca725 bsp/altera-cyclone-v: Adjust Doxygen file groups
Update #3707.
2019-03-04 07:53:44 +01:00
Sebastian Huber
631ccd7cab bsp/altera-cyclone-v: Adjust Doxygen groups
Update #3706
2019-03-04 07:53:44 +01:00
Sebastian Huber
212663bede bsps: Adjust architecture Doxygen groups
- Use CamelCase as it is not used in our C code.  Enables simple search and
   replace.

 - Prefix with "RTEMS" to aid deployment and integration.  It aids
   searching and sorting.

Update #3706.
2019-03-04 07:51:38 +01:00
Sebastian Huber
6016894e0c bsp/lpc1768_mbed*: Disable unsupported tests 2019-03-04 07:06:52 +01:00
Sebastian Huber
5ff61810bc bsp/mpc5643l_*: Disable unsupported tests 2019-03-04 07:04:16 +01:00
Sebastian Huber
77971b6617 bsp/lm4f120: Disable unsupported tests 2019-03-04 07:04:15 +01:00
Sebastian Huber
e6dd36ca70 bsp/gen5200: Remove offending @mainpage
Update #3705.
2019-03-01 11:01:28 +01:00
Sebastian Huber
a3db5001e5 bsp/altera-cyclone-v: Enable FIQ for group 0 irqs 2019-02-28 11:52:35 +01:00
Sebastian Huber
76918e180a bsps/arm: Add BSP_ARM_GIC_ENABLE_FIQ_FOR_GROUP_0
The following variants

 * GICv1 with Security Extensions,
 * GICv2 without Security Extensions, or
 * within Secure processor mode

have the ability to assign group 0 or 1 to individual interrupts.  Group
0 interrupts can be configured to raise an FIQ exception.  This enables
the use of NMIs with respect to RTEMS.

BSPs can enable this feature with the BSP_ARM_GIC_ENABLE_FIQ_FOR_GROUP_0
define.  Use arm_gic_irq_set_group() to change the group of an
interrupt (default group is 1, if BSP_ARM_GIC_ENABLE_FIQ_FOR_GROUP_0 is
defined).
2019-02-28 11:52:30 +01:00
Sebastian Huber
8e8e269b3e bsps/arm: Fix typo 2019-02-28 11:50:52 +01:00
Sebastian Huber
e33be09cfb bsps/arm: Support GIC group 0/1 2019-02-28 11:50:18 +01:00
Sebastian Huber
feea03b625 Remove explicit file names from @file
This makes the @file documentation independent of the actual file name.

Update #3707.
2019-02-28 11:47:33 +01:00
Sebastian Huber
262cb53462 bsp/altera-cyclone-v: Move header file
This gets rid of a special include path.
2019-02-27 11:45:17 +01:00
Pierre-Louis Garnier
68a5f75158 arm/beagle: Fix sdcard.sh tool 2019-02-27 07:45:12 +01:00
Pierre-Louis Garnier
ecf62845d4 arm/beagle: SPI driver 2019-02-27 07:45:12 +01:00
Sebastian Huber
bdec62c4d5 bsps/arm: Move device tree copy
Move device tree copy operation after the mode initialization so that
bsp_fdt_copy() uses the initialization stack and not the stack provided
up by the boot loader.
2019-02-18 09:01:27 +01:00
Sebastian Huber
af80b0a340 bsp/altera-cyclone-v: Use FDT for clock frequency 2019-02-18 08:33:27 +01:00
Sebastian Huber
43fbb50ff0 bsp/altera-cyclone-v: Make FDT support optional 2019-02-18 08:33:27 +01:00
Sebastian Huber
eec706e2bf bsps/powerpc: Fix small data area section
Fix small data area in case no fixed size is desired.  Rename
bsp_section_set_sdata_sbss_size into bsp_section_small_data_area_size
since this symbol reflects the overall small data area size (including
space for libdl).  Do not use bsp_section_sbss_size before definition in
linker command file.  Add new symbols to <bsp/linker-symbols.h>.

Update #3687.
2019-02-11 11:41:13 +01:00
Chris Johns
6c9f0176a9 libdl: Add powerpc large memory and small data support.
- Add support for architecure sections that can be handled by the
  architecture back end.

- Add trampoline/fixup support for PowerPC. This means the PowerPC
  now supports large memory loading of applications.

- Add a bit allocator to manage small block based regions of memory.

- Add small data (sdata/sbss) support for the PowerPC. The support
  makes the linker allocated small data region of memory a global
  resource available to libdl loaded object files.

Updates #3687
Updates #3685
2019-02-09 10:06:34 +11:00
Chris Johns
b08278e852 powerpc/psim: Increase the psim memory to 256M
This allows test dl09 to run and test PowePC backend trampoline support.

Updates #3685
2019-02-09 10:06:34 +11:00
Jiri Gaisler
568490a054 griscv: add additional cpu configurations
* Also switch default config to imafd as the C extension
	  is not supported for code coverage
2019-02-08 13:07:27 +01:00
Sebastian Huber
4e686261d8 bsps/irq: Fix interrupt server init (SMP) 2019-02-07 11:13:59 +01:00
Sebastian Huber
0fb52cede1 bsps/arm: Fix generic timer frequency
Update #3456.
2019-02-07 08:48:18 +01:00
Sebastian Huber
b1381ae7c3 bsps/powerpc: Fix warnings 2019-01-25 15:50:40 +01:00
Sebastian Huber
81aec18146 bsps/powerpc: Fix 64-bit issues in assembler files
We have to be careful with instructions which operate explicitly on
words or doublewords.

Update #3082.
2019-01-25 15:40:11 +01:00
Jiri Gaisler
d3d4e77c42 riscv: add griscv bsp
Update #3678.
2019-01-22 12:50:09 +01:00
Jiri Gaisler
c1dcd6af56 grlib: make memory coherency cpu-independent
Update #3678.
2019-01-22 12:50:09 +01:00
Jiri Gaisler
9b2b389e8d grlib: use cpu-independent routines for uncached access
Update #3678.
2019-01-22 12:50:08 +01:00
Jiri Gaisler
5981c8ca9f grlib: use rtems_interrupt_handler_install()
Update #3678.
2019-01-22 12:49:58 +01:00
Jiri Gaisler
411c29735d grlib: make apbuart driver independent of bsp
Update #3678.
2019-01-22 12:48:19 +01:00