Commit Graph

14629 Commits

Author SHA1 Message Date
Martin Aberg
6e2e129966 leon, apbuart: Assign proper device name
Always assign a device/file system name.
Use device unique name for ISR.
2017-05-02 12:34:46 +02:00
Martin Aberg
1fefc7192e leon, apbuart: RX delayed interrupt
Utilize the APBUART RX delayed interrupt if available. It also
enables RX FIFO interrupt when used.

The APBUART RX delayed interrupt is supported by the GR740.
2017-05-02 12:34:46 +02:00
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
Javier Jalle
61788e76b9 leon, GR-CPCI-GR740: Added peripheral PCI driver 2017-05-02 12:34:44 +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
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
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
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
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
485222e633 genmcf548x/irq/irq.c: Fix incompatible pointer warning 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
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
Joel Sherrill
ecd4cd4125 uC5282/startup/bspstart.c: Fix printf() format warnings 2017-04-24 12:00:54 -05:00
Joel Sherrill
0a84172b63 uC5282/console/console.c: Add braces and correct indentation to fix warnings 2017-04-24 12:00:54 -05:00
Joel Sherrill
edec6dde08 libbsp/shared/pci/pci_bus_count.c: Add include <rtems/bspIo.h> 2017-04-24 12:00:54 -05:00
Joel Sherrill
12c12e0b0d gen68340/startup/dumpanic.c: Fix printf() format warnings 2017-04-24 12:00:54 -05:00
Joel Sherrill
90033411ca fb/fb.c: Include <rtems/inttypes.h> and use PRI constant to fix warning 2017-04-23 12:54:23 -05:00
Joel Sherrill
2912982227 amba/ahbstat.c: Correct printf() format 2017-04-23 12:03:22 -05:00
Joel Sherrill
35e523d9d0 uart/apbuart.c: Correct printk() format 2017-04-23 11:49:54 -05:00
Joel Sherrill
76052e6b33 spw/grspw_router.c: Include <rtems/bspIo.h> 2017-04-23 11:49:05 -05:00
Joel Sherrill
d968826703 irq/genirq.c: Include <rtems/bspIo.h> 2017-04-23 11:48:32 -05:00
Joel Sherrill
5c93fb3b3f drvmgr/ambapp_bus.c: Include <rtems/bspIo.h> 2017-04-23 11:48:15 -05:00
Joel Sherrill
9ed326620f amba/ahbstat.c: Include <rtems/bspIo.h> 2017-04-23 11:47:53 -05:00
Joel Sherrill
8ed5889f87 elnk.c: Fix printf() format warnings 2017-04-20 20:52:09 -05:00
Joel Sherrill
9f55bfb575 elnk.c: rtems_elnk_driver_attach() prototype added 2017-04-20 20:49:07 -05:00
Joel Sherrill
814bd02584 elnk.c: Make elnk_txDaemon() static to fix warning 2017-04-20 20:47:34 -05:00
Joel Sherrill
84776524e0 if_fxp.c: Add prototype of rtems_fxp_attach() 2017-04-20 20:44:49 -05:00
Joel Sherrill
169d6f6e55 if_fxp.c: Remove unused variable 2017-04-20 20:43:04 -05:00
Joel Sherrill
fc91f517e7 dec21140.c: Add prototype of dec21140_txDaemon() 2017-04-20 20:40:51 -05:00
Joel Sherrill
5ce048968e dec21140.c: Fix printk() warnings 2017-04-20 20:38:42 -05:00