Commit Graph

623 Commits

Author SHA1 Message Date
Sebastian Huber
a67b9b06a1 atsam: Add ATSAM_POWER_WAIT_MODE 2019-06-18 12:52:53 +02:00
Sebastian Huber
522cde4281 atsam: Enable fast startup via RTC alarm 2019-06-18 11:31:48 +02:00
Sebastian Huber
bb24892ad4 bsp/atsam: Use proper API 2019-06-18 11:10:55 +02:00
Sebastian Huber
d7d0bba8cc bsp/atsam: Do not disable the WDT
The watchdog timer (WDT) can be configure only once.  Do not touch it in
the BSP since the application may want to use it.
2019-06-13 08:48:53 +02:00
Sebastian Huber
ee36616804 bsp/atsam: Improve RTC power driver
Accept a time interval up to 24h.
2019-06-13 08:48:50 +02:00
Sebastian Huber
5d4a81f501 bsp/atsam: Fix RTC_SetTimeAlarm()
Set the alarm time according to the note in the datasheet.
2019-06-12 13:50:19 +02:00
Sebastian Huber
98fc60145c bsp/lpc24xx: Fix LPC24XX_IO_PORT_COUNT 2019-06-04 12:04:55 +02:00
Sebastian Huber
f419349a13 bsps/powerpc: Adjust ppcboot.lds
The GNU ld had a couple of changes which resulted in a broken bootloader
image generation.  Recent linker versions tie assignments to their
nearest output section statement.  Place all absolute symbols which are
used with @sectoff relocations into a special section.

See also:

"Binutils 2.28 on PowerPC: dangerous relocation: generic linker can't
handle R_PPC_SECTOFF_HA"

https://www.sourceware.org/ml/binutils/2019-05/msg00183.html

Update #3727
2019-05-27 10:14:48 +02:00
Sebastian Huber
20bd667d8a bsps: Fix warnings in greth 2019-05-27 07:35:07 +02:00
Sebastian Huber
1a971d836c score: Remove SMP_MESSAGE_CLOCK_TICK
Use _SMP_Multicast_action() instead.
2019-05-20 08:49:39 +02:00
Sebastian Huber
3b2481f9a7 score: Simplify _SMP_Multicast_action()
Move resposibility to disable thread dispatching to the caller of
_SMP_Multicast_action().  Using an interrupt disable for this purpose is
questionable.
2019-05-20 08:49:39 +02:00
Sebastian Huber
7fdf48aaf2 score: Add _SMP_Othercast_action() 2019-05-20 08:49:39 +02:00
Sebastian Huber
658700449d score: Add _SMP_Broadcast_action() 2019-05-20 08:49:39 +02:00
Sebastian Huber
45d06591f1 bsps: Always build generic interrupt support
This makes it possible to write tests for the generic interrupt
controller support.

Update #3269.
2019-05-16 07:29:24 +02:00
Sebastian Huber
b446457f1c bsps/arm: Adjust machine flags for ARMv7-M
Update machine flags for Cortex-M3 and Cortex-M4 based BSPs to account
for Cortex-M3 Errata 602117 which required GCC multilib changes.

Update #3747.
2019-05-14 09:09:02 +02:00
Andreas Dachsberger
0cdcb27c42 Removed entry from Related Pages
SAM V71 Xplained Ultra - Board explanation now in Modules->BSPs->ARM
Update #3706.
2019-05-13 07:42:03 +02:00
Sebastian Huber
cf5d5d8093 bsp/lpc24xx: Fix dynamic EMC configurations 2019-05-09 12:32:08 +02:00
Sebastian Huber
50d8d32b66 bsp/lpc24xx: Use fast slew rate for EMC pins 2019-05-09 09:55:27 +02:00
Sebastian Huber
0a6b81ad1c bsp/lpc24xx: Add LPC17XX_PIN_TYPE_FAST_SLEW_RATE 2019-05-09 09:55:26 +02:00
Sebastian Huber
6cad529ccb bsp/lpc24xx: Add SDRAM mode settings comment 2019-05-09 09:55:26 +02:00
Sebastian Huber
0b74d8f0fe bsp/lpc24xx: Fix LPC24XX_EMC_MT48LC4M16A2 MPU cfg 2019-05-08 13:37:06 +02:00
Sebastian Huber
2ffbc4d53c bsp/lpc24xx: Flexible LPC24XX_EMC_MT48LC4M16A2 cfg 2019-05-08 13:05:26 +02:00
Sebastian Huber
d49ff3e360 bsp/lpc24xx: LPC24XX_EMC_MT48LC4M16A2 MPU support 2019-05-08 13:05:23 +02:00
Sebastian Huber
a6c08e8d70 bsp/lpc24xx: Support LPC24XX_EMC_SST39VF3201 pins 2019-05-08 13:01:07 +02:00
Sebastian Huber
30d61a66d9 bsps/powerpc: Fix constructors with priority
Update #3339.
2019-05-07 10:31:51 +02:00
Sebastian Huber
f6895c6d55 bsps/powerpc: Fix C++ exception handling
Close #3736.
2019-05-07 10:31:51 +02:00
Sebastian Huber
f4db49a1ab bsp/motorola_powerpc: Fix bootloader output 2019-05-07 08:45:52 +02:00
Sebastian Huber
8bd4f61c30 bsps: Remove bogus config declaration
Replace it with a proper struct rtems_bsdnet_ifconfig forward
declaration.

Close #3742.
2019-05-06 07:57:34 +02:00
Sebastian Huber
be50969881 bsp/motorola_powerpc: Fix debug output
Update #3122.
2019-04-12 14:38:06 +02:00
Sebastian Huber
ad40d05eba score: Remove _SMP_Before_multitasking_action()
Use _SMP_Multicast_action() instead.
2019-04-12 09:44:48 +02:00
Sebastian Huber
df8d7bd76f score: Use processor mask in _SMP_Multicast_action
Processor_mask is the internal data type to deal with processor sets.
2019-04-12 09:44:48 +02:00
Sebastian Huber
ad87de4a67 score: Rename _SMP_Get_processor_count()
Rename _SMP_Get_processor_count() in _SMP_Get_processor_maximum() to be
in line with the API level rtems_scheduler_get_processor_maximum().

Update #3732.
2019-04-11 09:19:12 +02:00
Sebastian Huber
cfcd6dc98c score: Rename _SMP_Processor_count
Rename _SMP_Processor_count in _SMP_Processor_maximum to be in line with
the API level rtems_scheduler_get_processor_maximum().

Update #3732.
2019-04-11 09:19:12 +02:00
Jeff Kubascik
77f9a1be47 bsp/xilinx-zynqmp: Implement Ultra96 target
Modifications to get xilinx-zynqmp BSP working on an Ultra96 board.

Update #3682.
2019-04-11 07:29:10 +02:00
Jeff Kubascik
677d5167ba bsp/xilinx-zynqmp: Stub out Xilinx MPSoC BSP
Source files were copied from xilinx-zynq.

Update #3682.
2019-04-11 07:29:08 +02:00
Jeff Kubascik
b0044305a6 bsp/zynq-uart: Move Zynq UART driver to shared directory
This driver will be shared with the xilinx-zynqmp BSP.

Update #3682.
2019-04-11 07:29:06 +02:00
Jeff Kubascik
b0c420b92f bsp/zynq-uart: Remove zynq_uart_instances from header
This variable is BSP specific and should be removed from the driver
header file.

Update #3682.
2019-04-11 07:28:50 +02:00
Sebastian Huber
f1eedbde52 bsp/xilinx-zynq: Relicense to BSD-2-Clause
Relicense contributions from Chris Johns, Christian Mauderer,
embedded brains GmbH, Joel Sherrill, OAR, Pavel Pisa, Ralf Kirchner, and
Sebastian Huber.

Update #3053.
2019-04-10 09:50:08 +02:00
Sebastian Huber
f9219db2a9 rtems: Add rtems_scheduler_get_processor_maximum()
Add rtems_scheduler_get_processor_maximum() as a replacement for
rtems_get_processor_count(). The rtems_get_processor_count() is a bit
orphaned. Adopt it by the Scheduler Manager. The count is also
misleading, since the processor set may have gaps and the actual count
of online processors may be less than the value returned by
rtems_get_processor_count().

Update #3732.
2019-04-09 08:06:46 +02:00
Sebastian Huber
03c9f24061 rtems: Add rtems_scheduler_get_processor()
Add rtems_scheduler_get_processor() as a replacement for
rtems_get_current_processor(). The rtems_get_current_processor() is a
bit orphaned. Adopt it by the Scheduler Manager. This is in line with
the glibc sched_getcpu() function.

Deprecate rtems_get_current_processor().

Update #3731.
2019-04-09 08:06:46 +02:00
Sebastian Huber
222570a61b bsps/arm: Optimize ARMv7-M CPU counter
Update #3456.
2019-04-09 08:06:46 +02:00
Sebastian Huber
b8a0a49672 bsps/arm: Fix ARMv7-M CPU counter
Read the current counter value again after we know that we had an
underflow.

Update #3456.
2019-04-09 07:31:25 +02:00
Andreas Dachsberger
1964b2689c doxygen: Added subgroup Generic to BSP->SPARC64
Update #3706.
2019-04-04 08:12:35 +02:00
Goetz Pfeiffer
a2aec0b72d Set the small data section size to max. for beatnik BSPs.
This applies changes similar to patch 294c6f46a6 to the beatnik BSP.
This is a board support for the mvme5500 and mvme6100 CPU.
2019-04-04 10:27:33 +11:00
Andreas Dachsberger
0a9b45132c doxygen: bsps: Added remaining Sparc64 groups 2019-04-02 07:29:32 +02:00
Chris Johns
294c6f46a6 Set the small data section size to max. for mvme5500 and mvme2100 BSPs
Closes #3728
2019-03-30 09:58:31 +11:00
Joel Sherrill
6163ab2c01 erc32/start/setvec.c: Fix warning 2019-03-25 16:27:43 -05:00
Sebastian Huber
a5f84c6a8a bsp/atsam: Fix SPI driver DMA support 2019-03-19 11:29:24 +01:00
Sebastian Huber
5f813694f6 bsp/atsam: Simplify XDMAD_Handler()
Remove the channel status evaluation from XDMAD_Handler() and simply
hand over the status to the callbacks.
2019-03-19 11:29:24 +01:00
Sebastian Huber
007d4e1297 bsp/lpc24xx: Convert I2C driver to Linux API
Change license to BSD-2-Clause.

Close #3725.
2019-03-15 16:02:22 +01:00