Commit Graph

30370 Commits

Author SHA1 Message Date
Martin Aberg
fd9fb2154a leon, cons: drvmgr cons interface uses new TERMIOS
LEON driver manager console driver interface (cons) and the APBUART cons driver
(apbuart_cons) have been updated for recent TERMIOS interface changes. The
legacy callback API is not used anymore and deprecated functions are
eliminated.

This new implementation is based on RTEMS BSP and Device Driver Development
Guide, chapter named "Console Driver".
- Functions marked as deprecated (rtems_termios_open() and
  rtems_termios_close()) have been updated with the present-day versions.
- The legacy "callback" interface is replaced with the "handler" interface.
- Implementation is inspired by the documentation example, the non-driver
  manager driver for APBUART (apbuart_termios).
- Polled, interrupt and task mode is supported.
2017-05-02 12:34:46 +02:00
Martin Aberg
7cb9325047 leon, apbuart: added register defines: FIFO, delay int
The FIFOs available capability bit is available in the UART Control Register:
FIFOs available (FA) - Set to 1 when receiver and transmitter FIFOs are
available. When 0, only holding register is available.

Delay interrupt can delay a receive character interrupt to better handle RX bursts.
2017-05-02 12:34:45 +02:00
Martin Aberg
f600458d05 leon, clock: new driver manager clock driver
- Compatible with SMP
- Selects timecounter depending on features available
- Fixes problem with time going to fast on SMP

This is an implementation of the RTEMS "clockdrv_shell" interface for
LEON2/3/4 systems using the Driver Manager. It is clock hardware agnostic
and compatible with SMP and UP. Availability of free running counters is
probed and selected as needed.

GR740:
 RTEMS TESTSUITE FAILURE SUMMARY

 Result Test ExecRes ConsoleRes ExitCode1 ExitCode2
 FAIL: ./fstests/imfs_fsscandir01 OK FAIL 5 0
 FAIL: ./fstests/jffs2_fsscandir01 OK FAIL 5 0
 FAIL: ./fstests/mdosfs_fsscandir01 OK FAIL 5 0
 FAIL: ./fstests/mimfs_fsscandir01 OK FAIL 5 0
 FAIL: ./fstests/mrfs_fsscandir01 OK FAIL 5 0
 FAIL: ./psxtests/psxshm01 FAIL FAIL N/A N/A
 FAIL: ./psxtests/psxshm02 FAIL FAIL N/A N/A
 FAIL: ./sptests/spinternalerror01 OK N/A -559038737 1611526157
 FAIL: ./sptests/sptimecounter01 OK N/A 5 0

 SUMMARY
  Tests failing:    9
  Tests successful: 578

---
GR712RC:
 RTEMS TESTSUITE FAILURE SUMMARY

 Result Test ExecRes ConsoleRes ExitCode1 ExitCode2
 FAIL: ./smptests/smpipi01 FAIL FAIL N/A N/A
 FAIL: ./smptests/smpthreadlife01 FAIL FAIL N/A N/A
 FAIL: ./fstests/imfs_fsscandir01 OK FAIL 5 0
 FAIL: ./fstests/jffs2_fsscandir01 OK FAIL 5 0
 FAIL: ./fstests/mdosfs_fsscandir01 OK FAIL 5 0
 FAIL: ./fstests/mimfs_fsscandir01 OK FAIL 5 0
 FAIL: ./fstests/mrfs_fsscandir01 OK FAIL 5 0
 FAIL: ./psxtests/psxshm01 FAIL FAIL N/A N/A
 FAIL: ./psxtests/psxshm02 FAIL FAIL N/A N/A
 FAIL: ./sptests/spinternalerror01 OK N/A -559038737 1611526157
 FAIL: ./sptests/sptimecounter01 OK N/A 5 0

 SUMMARY
  Tests failing:    11
  Tests successful: 576
2017-05-02 12:34:45 +02:00
Daniel Hellstrom
78e56096c8 leon, tlib: added timer width mask information 2017-05-02 12:34:45 +02:00
Daniel Hellstrom
ae203e0d41 leon, ambapp_bus: IRQ affinity for on-chip AMBAPP bus 2017-05-02 12:34:45 +02:00
Daniel Hellstrom
7075fb1134 drvmgr: ability to configure IRQ affinity 2017-05-02 12:34:45 +02:00
Javier Jalle
61788e76b9 leon, GR-CPCI-GR740: Added peripheral PCI driver 2017-05-02 12:34:44 +02:00
Sebastian Huber
6b42018eb6 shell: Fix format specifiers 2017-05-02 08:06:12 +02:00
Pavel Pisa
0e6542fb1e bsp/tms570: include package balls and PINMMR registers mapping for TMS5704357 ZWT chip.
The extended mechanism for switching input path by separated
alternative registers is already implemented in TMS570
pin multiplexer driver used for TMS570LS31xx

  rtems/c/src/lib/libbsp/arm/tms570/pinmux/pinmux.c

But the code has not been tested on real TMS570LC43xx hardware yet.
2017-04-29 15:20:28 +02:00
Joel Sherrill
20775247de rtems/inttypes.h: Add PRIdrtems_vector_number. Missed in previous commit 2017-04-28 11:11:14 -05:00
Joel Sherrill
12f9c5b766 posix/src/mutexinit.c: Reorder to make priority a scoped variable 2017-04-27 18:52:01 -05:00
Joel Sherrill
c16d45a551 posix/src/mutexinit.c: Reorder to make priority a scoped variable 2017-04-26 15:42:09 -05:00
Joel Sherrill
61568e6c49 virtex5/startup/dummy_console.c: Use <rtems/bspIo.h> and <rtems/console.h> for many of the prototypes 2017-04-26 10:54:03 -05:00
Joel Sherrill
78eb6132dd dhrystone/dhry_1.c: Move assignment to before start of timer 2017-04-26 10:54:03 -05:00
Joel Sherrill
c0ea8295ed virtex4/startup/dummy_console.c: Use <rtems/bspIo.h> and <rtems/console.h> for many of the prototypes 2017-04-26 10:54:00 -05:00
Joel Sherrill
b73b9522d6 block08/bdbuf_tests.c: Add include of <rtems/inttypes.h> 2017-04-25 22:11:55 -05:00
Joel Sherrill
9e6ef361cf rtems/inttypes.h, block08: Add and use PRIdrtems_blkdev_bnum 2017-04-25 20:14:28 -05:00
Joel Sherrill
03e4be1281 score/cpu/or1k/rtems/score/cpu.h: Fix printf() format warning 2017-04-25 20:02:22 -05:00
Joel Sherrill
6580737923 score/cpu/or1k/or1k-exception-frame-print.c: Fix printf() format warning 2017-04-25 20:02:16 -05:00
Joel Sherrill
ab77827598 or1k/generic_or1k/irq/irq.c: Include <rtems/inttypes.h> and fix printf() format warning 2017-04-25 20:01:10 -05:00
Joel Sherrill
c723ee45fa libdl/rtl-obj-cache.c: Fix printf() format warning 2017-04-25 13:57:21 -05:00
Joel Sherrill
6601684f74 posix/src/mutexinit.c: Fix used before initialized warning 2017-04-25 13:57:03 -05:00
Joel Sherrill
f6bd41e9ab moxie/rtems/score/cpu.h: Fix printf() format warning 2017-04-25 13:56:31 -05:00
Joel Sherrill
fdfbb0a89f epiphany/rtems/score/cpu.h: Fix printf() format warning 2017-04-25 13:39:50 -05:00
Joel Sherrill
7db09923fb rtems/inttypes.h epiphany_sim/irq/irq.c: Add PRIdrtems_vector_number and use it 2017-04-25 11:42:18 -05:00
Joel Sherrill
28e5749edf epiphany/cpu.c: Fix typo to eliminate warning 2017-04-25 11:41:35 -05:00
Joel Sherrill
786c3651c7 psxtests/Makefile.am: Disable tests which should not be built when POSIX is disabled 2017-04-25 11:40:21 -05:00
Joel Sherrill
55b967ab0c devnullfatal01/testcase.h: Avoid redefinition of TESTS_USE_PRINTK 2017-04-25 11:22:25 -05:00
Joel Sherrill
b261dec802 xz/xz_config.h: Address unable to inline warning 2017-04-24 12:00:59 -05:00
Joel Sherrill
485222e633 genmcf548x/irq/irq.c: Fix incompatible pointer warning 2017-04-24 12:00:59 -05:00
Joel Sherrill
3144292b27 libdl/rtl-obj-cache.c: Use PRIdoff_t to avoid printf() format warnings on some architectures 2017-04-24 12:00:59 -05:00
Joel Sherrill
0d01cdd68c sh/sh7750/sci/sh4uart.c: ix misleading indentation warning 2017-04-24 12:00:59 -05:00
Joel Sherrill
646df54c91 powerpc/new-exceptions/bspsupport/ppc_exc_print.c: Fix printf() format warnings 2017-04-24 12:00:58 -05:00
Joel Sherrill
2808c26266 powerpc/mpc5xx/console-generic/console-generic.c: Use updated struct termios format 2017-04-24 12:00:58 -05:00
Joel Sherrill
3ed2cf6072 leon2/console/debugputs.c: Fix misleading indentation warning 2017-04-24 12:00:58 -05:00
Joel Sherrill
fd48b43007 virtex5/startup/dummy_console.c: Fix no prototype warning 2017-04-24 12:00:58 -05:00
Joel Sherrill
9beada517d virtex4/startup/dummy_console.c: Fix no prototype warning 2017-04-24 12:00:57 -05:00
Joel Sherrill
523b4fbbf7 mcf5235/console/console.c: Fix indentation and add braces 2017-04-24 12:00:57 -05:00
Joel Sherrill
a300ca1bb0 ratemonreportstatistics.c: Fix printf() warnings so clean on 32 and 64 bit architectures 2017-04-24 12:00:57 -05:00
Joel Sherrill
5e899b5382 sparc64/shared/helenos/boot/sparc64/loader/main.c: Fix printf() format warning 2017-04-24 12:00:57 -05:00
Joel Sherrill
436008cc49 sparc64/shared/clock/ckinit.c: Include <rtems/bspIo.h> 2017-04-24 12:00:57 -05:00
Joel Sherrill
38d0a94912 shared/drvmgr/leon2_amba_bus.c: Include <rtems/bspIo.h> 2017-04-24 12:00:56 -05:00
Joel Sherrill
5796c213b0 shared/startup/panic.c: Fix printf() format warnings 2017-04-24 12:00:56 -05:00
Joel Sherrill
3f12cfe503 shared/pci/detect_raven_bridge.c: Fix printf() format warnings 2017-04-24 12:00:56 -05:00
Joel Sherrill
31908b124f shared/bootloader/mm.c: Fix printf() format warnings 2017-04-24 12:00:56 -05:00
Joel Sherrill
79d45cbd7b shared/bootloader/misc.c: Fix printf() format warnings 2017-04-24 12:00:56 -05:00
Joel Sherrill
1b24a9b827 beatnik/pci/gt_pci_init.c: Fix printf() format warnings 2017-04-24 12:00:55 -05:00
Joel Sherrill
c44a740222 beatnik/startup/bspstart.c: Fix printf() format warnings 2017-04-24 12:00:55 -05:00
Joel Sherrill
93206c127c beatnik/marvell/discovery.c: Fix printf() format warnings 2017-04-24 12:00:55 -05:00
Joel Sherrill
bd4072be69 gensh2/console/config.c: Fix to reflect struct termios change 2017-04-24 12:00:55 -05:00