Christian Mauderer
a5d49ebd37
bsp/atsam: Improve SDRAM initialization.
...
According to the manual, MR has to be read back and a memory barrier has
to be added after MR is written during SDRAM initialization.
2017-11-17 14:14:18 +01:00
Christian Mauderer
d00a7d1c22
bsp/atsam: Move clock and SDRAM init to SRAM.
...
If necessary, the BSP can now have it's clock and SDRAM initialization
in the SRAM instead of the SDRAM. This allows to change the clock
frequency during the startup of an SDRAM application.
2017-11-17 14:13:40 +01:00
Christian Mauderer
3fbaaa8b74
bsp/atsam: Make clock application configurable.
2017-11-17 14:07:46 +01:00
Christian Mauderer
a9de9a7b95
bsp/atsam: Add getentropy().
...
Update #3239 .
2017-11-17 07:26:57 +01:00
Christian Mauderer
ca4895cb9c
getentropy: Add cpu counter based implementation.
...
Update #3239 .
2017-11-17 07:26:52 +01:00
Javier Jalle
2727bc7f80
leon, grspw_router: Clear only error bits defined by clear mask
2017-11-14 10:27:20 +01:00
Javier Jalle
56cf340f10
leon, grspw_router: Allow thread safe per-bit managing of pctrl regs
2017-11-14 10:27:20 +01:00
Javier Jalle
cc40f0bfca
leon, grspw_router: Move register bit defs to header
2017-11-14 10:27:20 +01:00
Javier Jalle
59af2cc58e
leon, grspw_router: Changed driver C API
...
SMP safe by spin-lock protection and semaphore. On spin-lock per SpW/AMBA
port to allow multiple parallel register operations per port. A common
semaphore for general SpW router configuration such as routing table.
Move to a C API instead of using the I/O Manager. The SpW router driver
does not perform any I/O only management of the router.
Update #2355 .
2017-11-14 10:27:20 +01:00
Sebastian Huber
cb406870aa
Change RTEMS_API from 5.0 to 5
...
This fixes the legacy Makefile based build system which expects
RTEMS_API to be identical to the tool chain version.
Update #3220 .
2017-11-13 08:39:54 +01:00
Joel Sherrill
a6bf052a3b
mvme162: Fix errors tripped by transition to using polled IO for tests
2017-11-10 14:40:46 -06:00
Joel Sherrill
cba8970e80
mcf5206elite/include/bsp.h: Rename delay() to rtems_bsp_delay() to avoid conflicts
2017-11-10 14:40:46 -06:00
Joel Sherrill
52841b5800
csb360/include/bsp.h: Rename delay() to rtems_bsp_delay() to avoid conflicts
2017-11-10 14:40:46 -06:00
Sebastian Huber
4a14751879
Upgrade to 5.0.0
...
Tool name will be "rtems5", e.g. arm-rtems5-gcc.
Next release will 5.1.0. Branch version after release will be 5.1.1.
Next master will be 6.0.0.
2017-11-09 08:12:11 +01:00
Sebastian Huber
7078a00b13
bsp/t32mppc: Use fixed exception handlers
2017-11-08 13:14:30 +01:00
Sebastian Huber
fdf0e55cf9
bsp/imx: Add UART baud change
...
Update #3090 .
2017-11-08 08:43:27 +01:00
Sebastian Huber
336fe3b9fd
bsp/imx: Better utilize UART transmit FIFO
...
Update #3090 .
2017-11-08 08:43:27 +01:00
Sebastian Huber
4438c4d826
bsp/imx: More robust and faster bsp_reset()
...
Update #3090 .
2017-11-02 13:44:01 +01:00
Sebastian Huber
4b055e23e9
bsp/imx: Drain console before reset
...
Update #3090 .
2017-11-02 11:24:00 +01:00
Sebastian Huber
c52a9682c1
bsp/imx: Implement bsp_reset()
...
Update #3090 .
2017-11-02 11:23:59 +01:00
Hesham Almatary
8fa827cc83
bsp: Make riscv_generic work for both riscv32 and riscv64 - v2
...
Update #3109
2017-11-01 10:11:20 +11:00
Hesham Almatary
11ff3a9e72
cpukit: RISC-V - make riscv32 code work for riscv64 - v2
...
* Use #ifdefs for 32/64 bit code
* Use unsigned long which is 32-bit on riscv32 and 64-bit on riscv64 (register size)
* Move the code to a new shared riscv folder to be shared between riscv32 and riscv64
* Rename RTEMS_CPU extracted from command line to shared riscv target s/riscv*/riscv
Update #3109
2017-11-01 10:10:27 +11:00
Sebastian Huber
cf614eca60
riscv32: Add missing preinstall.am
...
Update #3109 .
2017-10-28 13:33:55 +02:00
Hesham Almatary
6d85e05144
bsp: Add new riscv_generic bsp v3
...
* Only runs/tested on simulator/spike.
* Ticker, hello, capture work proprely
* Tested via RTEMS Tester, Passed: 525/565 (92%)
Update #3109
2017-10-28 18:41:42 +11:00
Hesham Almatary
a5273abe3f
Add riscv32 to autotools files v3
2017-10-28 18:27:42 +11:00
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