Commit Graph

14651 Commits

Author SHA1 Message Date
Daniel Hellstrom
cfc3604100 leon,gr740: start ASR22:23 up-counter on boot by writing ASR22
According to data sheet bit 31 in ASR22 must be written with a zero
to start the up-counter. GRMON starts the up-counter for us. This
patch is important when running in "flight" from ROM without GRMON.
2017-10-25 12:52:33 +02:00
Christian Mauderer
248f8679a7 bsps/arm: Remove DWT based clock.
It seems that the DWT CYCCNT does not advance when the CPU waits on a
WFI instruction.

That leads to the effect that for example on the atsamv BSP a sleep(1)
needs something in the range of a few minutes (depending on the
configured systick). A debugger might disables some deep sleep modes so
that the problem only appears if the application is executed without a
debugger.
2017-10-18 09:02:01 +02:00
Sebastian Huber
67015b617e dev/serial: Lazy update of NS16550 settings
Updates of the line control and baud divisor while transfers are in
progress may lead to unpredictable behaviour on some chips. Perform the
updates only if necessary.

Close #3198.
2017-10-18 07:21:54 +02:00
Pavel Pisa
f4009d8b8e bsp/tms570: remove duplicate of TMS570_SCI_FLR_TX_EMPTY in console driver.
Initial idea has been that check for both, TMS570_SCI_FLR_TX_EMPTY
and TMS570_SCI_FLR_TXRDY is required before console driver parameters
update.

closes #2883.
2017-10-13 01:02:33 +02:00
Joel Sherrill
05ec32aa56 lpc2362-testsuite.tcfg: Add fsrofs01 to excluded tests 2017-10-12 12:23:26 -05:00
Sebastian Huber
ee537ea3dd ada-tests: Move to testsuites/ada
This solves a build dependency issue, e.g. building tests before
librtemsbsp.a exists.

Close #3079.
2017-10-12 10:53:16 +02:00
Sebastian Huber
b3874e1531 ada-tests: Use _SUBDIRS instead of SUBDIRS
Update #3079.
2017-10-12 09:04:17 +02:00
Christian Mauderer
16fcd56a42 bsp/atsam: Allow to change optimization settings.
Allow to overwrite the optimization settings during configuration.
2017-10-12 08:59:22 +02:00
Christian Mauderer
2ae0acbb71 bsp/atsam: Add bsp_restart. 2017-10-12 08:59:22 +02:00
Joel Sherrill
14e5a0824b Fix warnings for using C/ObjC specific GCC flags with C++
Closes #3181.
2017-10-11 21:32:32 -05:00
Sebastian Huber
80933ab316 bsps/powerpc: Fix robust thread dispatch again
Use the saved MSR to account for FPU and AltiVec settings.

Update #2811.
2017-10-09 07:38:15 +02:00
Joel Sherrill
19cbd1943d pc386/.../bspreset.c: Readd proper reset code.
The removal of the Edison code removed the wrong part of the
conditional.

Closes #3172.
2017-10-08 22:26:13 -05:00
Sebastian Huber
170df3d9b1 bsp/imx: Add SPI bus driver
Update #3090.
2017-10-06 12:49:30 +02:00
Sebastian Huber
54380f4244 bsp/imx: Add imx_iomux_configure_pins()
Update #3090.
2017-10-06 12:49:30 +02:00
Sebastian Huber
e316be750c bsp/imx: Import iomux from FreeBSD
Update #3090.
2017-10-06 12:49:29 +02:00
Sebastian Huber
b39cda6ca4 bsp/imx: Fix I2C registration with path
Update #3090.
2017-10-06 12:49:29 +02:00
Sebastian Huber
de59c065c5 posix: Implement self-contained POSIX mutex
POSIX mutexes are now available in all configurations and no longer
depend on --enable-posix.

Update #2514.
Update #3112.
2017-10-05 14:29:02 +02:00
Sebastian Huber
5222488573 posix: Implement self-contained POSIX condvar
POSIX condition variables are now available in all configurations and no
longer depend on --enable-posix.

Update #2514.
Update #3113.
2017-10-05 14:29:02 +02:00
Sebastian Huber
f043b9bd3b bsp/imx: Add I2C bus driver
Update #3090.
2017-10-02 13:40:56 +02:00
Sebastian Huber
9db9024b7d bsp/imx: Fix I2C register header
Update #3090.
2017-10-02 13:40:56 +02:00
Sebastian Huber
ce28d601c9 bsp/imx: Add imx_get_reg_of_node()
Update #3090.
2017-10-02 13:40:56 +02:00
Sebastian Huber
7e195e66c7 bsp/imx: Add imx_get_irq_of_node()
Update #3090.
2017-10-02 13:40:56 +02:00
Sebastian Huber
0b134aca35 bsp/bf537Stamp: Fix warning 2017-09-29 07:43:08 +02:00
Sebastian Huber
910adc3e83 bsps: Fix integer to/from pointer warnings
Update #3082.
2017-09-28 13:18:35 +02:00
Sebastian Huber
610ffd7a32 bsp/gen5200: Fix warning
Update #3122.
2017-09-28 13:17:15 +02:00
Sebastian Huber
f2b5d67297 bsps/powerpc: Fix print format warnings 2017-09-28 07:12:53 +02:00
Sebastian Huber
561698315f bsp/imx: Add nocache section
Update #3090.
2017-09-27 10:59:09 +02:00
Sebastian Huber
362e96ab8b bsp/imx: Provide a default console
Update #3090.
2017-09-26 14:01:40 +02:00
Sebastian Huber
4bf2ce3115 bsp/imx: Add register headers
Update #3090.
2017-09-26 07:31:58 +02:00
Sebastian Huber
05f9858ffd bsps: Generalize bsp_fdt_map_intr()
Pass all interrupt cells to bsp_fdt_map_intr() since some platforms use
an array to describe an interrupt.

Update #3090.
2017-09-22 14:32:37 +02:00
Sebastian Huber
29919242db bsp/imx: Add SMP support
Update #3090.
2017-09-22 14:15:51 +02:00
Sebastian Huber
3ad3849a89 bsp/imx: Add register headers
Update #3090.
2017-09-22 14:15:51 +02:00
Sebastian Huber
8e6a407a2a bsps/arm: Copy FDT only on boot processor
Update #3090.
2017-09-22 14:15:51 +02:00
Sebastian Huber
a4bca68586 bsps/powerpc: Fix robust thread dispatch
Implement thread dispatch code in ppc_exc_wrapup() similar to
ppc_exc_interrupt().

Update #2811.
2017-09-21 13:33:00 +02:00
Sebastian Huber
b800f88a63 bsp/t32mppc: PPC_EXC_CONFIG_USE_FIXED_HANDLER
Fix link-time error.

Update #3085.
2017-09-21 13:32:56 +02:00
Sebastian Huber
821acce64f bsp/qemuppc: Fix for RTEMS_DEBUG 2017-09-20 10:30:19 +02:00
Sebastian Huber
cf2ec29d96 bsp/psim: Fix for RTEMS_DEBUG 2017-09-20 10:18:17 +02:00
Sebastian Huber
927e1f8c7c bsp/mpc8260ads: Fix for RTEMS_DEBUG 2017-09-20 09:39:07 +02:00
Sebastian Huber
4e0dd1fd43 bsp/mpc8260ads: Fix for RTEMS_DEBUG 2017-09-20 09:35:10 +02:00
Sebastian Huber
d7ed684d70 bsps/powerpc: Fix PPC_EXC_CONFIG_USE_FIXED_HANDLER
Fix link-time error on BSPs not using PPC_EXC_CONFIG_USE_FIXED_HANDLER.

Update #3085.
2017-09-20 07:18:53 +02:00
Sebastian Huber
4c1f442e25 bsp/qoriq: Update README
Close #3085.
2017-09-19 14:41:36 +02:00
Sebastian Huber
f100a58c82 bsp/qoriq: Add hypervisor guest SMP support
Update #3085.
2017-09-19 14:35:02 +02:00
Sebastian Huber
31540bfb81 bsp/qoriq: MMU configuration as hypervisor guest
Re-enable MMU configuration as hypervisor guest.  Make sure the
QORIQ_TLB1_ENTRY_COUNT is set according to the hypervisor configuration.

Update #3085.
2017-09-19 14:34:21 +02:00
Sebastian Huber
2720fbf0c2 bsp/qoriq: Avoid IVOR38..42 access as hv guest
Update #3085.
2017-09-19 14:33:04 +02:00
Sebastian Huber
6600882b19 bsp/qoriq: Avoid MAS8 access as hypervisor guest
Update #3085.
2017-09-19 14:33:04 +02:00
Sebastian Huber
44c011439c bsp/qoriq: Reduce static memory demands
Update #3085.
2017-09-19 10:57:28 +02:00
Sebastian Huber
ec28f31138 bsp/qoriq: Add decrementer clock driver
Update #3085.
2017-09-19 10:57:27 +02:00
Sebastian Huber
fd70e20621 bsp/qoriq: Add early debug output initialization
Update #3085.
2017-09-19 10:57:27 +02:00
Sebastian Huber
599e6fbdd8 bsps/powerpc: PPC_EXC_CONFIG_USE_FIXED_HANDLER
Make PPC_EXC_CONFIG_USE_FIXED_HANDLER mandatory for BSPs using
ppc_exc_interrupt().  Pass exception number to bsp_interrupt_dispatch()
to allow processing of decrementer and doorbell exceptions as hypervisor
guest.

Update #3085.
2017-09-19 10:57:27 +02:00
Sebastian Huber
f3b292365f bsps: Clock_driver_support_install_isr()
Remove old ISR parameter since is not used by the clock driver shell.
Make an implementation optional.

Update #3139.
2017-09-18 08:22:38 +02:00