Commit Graph

2906 Commits

Author SHA1 Message Date
Joel Sherrill
41ab696625 Patch from John Cotton <john.cotton@nrc.ca>, Charles-Antoine Gauthier
<charles.gauthier@iit.nrc.ca>, and Darlene A. Stewart
<Darlene.Stewart@nrc.ca> to add support for a number of very
significant things:

  + BSPs for many variations on the Motorola MBX8xx board series
  + Cache Manager including initial support for m68040
    and PowerPC
  + Rework of mpc8xx libcpu code so all mpc8xx CPUs now use
    same code base.
  + Rework of eth_comm BSP to utiltize above.

John reports this works on the 821 and 860
2000-06-12 20:06:59 +00:00
Joel Sherrill
8ef38186fa Patch from John Cotton <john.cotton@nrc.ca>, Charles-Antoine Gauthier
<charles.gauthier@iit.nrc.ca>, and Darlene A. Stewart
<Darlene.Stewart@nrc.ca> to add support for a number of very
significant things:

  + BSPs for many variations on the Motorola MBX8xx board series
  + Cache Manager including initial support for m68040
    and PowerPC
  + Rework of mpc8xx libcpu code so all mpc8xx CPUs now use
    same code base.
  + Rework of eth_comm BSP to utiltize above.

John reports this works on the 821 and 860
2000-06-12 19:57:02 +00:00
Joel Sherrill
f481c39c01 Ensure that when -msoft-float is specified for multilib builds, that
something indicates this.  Eventually this needs to be merged into
gcc.
2000-06-12 18:46:54 +00:00
Joel Sherrill
ce5b291fa4 Works on Solaris and Linux. 2000-06-12 18:45:54 +00:00
Joel Sherrill
12b64d7bff Removed references to printk as part of moving it to a more shareable
location in libc.
2000-06-12 16:44:11 +00:00
Joel Sherrill
1bce637587 Added printk as a generic, shared routine. 2000-06-12 16:37:04 +00:00
Joel Sherrill
1f5cb74eb0 New file. This is a simple termios console driver which is sufficient
to do polled IO on a single port with VERY little support code.
2000-06-12 16:36:25 +00:00
Joel Sherrill
68c498f477 Added i960sim BSP which (ignoring the 3 instructions not supported
by gdb 5.0's i960 simulator) is enough to run hello world.
2000-06-12 16:34:46 +00:00
Joel Sherrill
edeed26a86 Merge lossage. Apparently the DOS/UNIX CRLF issue got lost. 2000-06-12 15:39:38 +00:00
Joel Sherrill
df49c60c96 Merged from 4.5.0-beta3a 2000-06-12 15:00:15 +00:00
Joel Sherrill
fea048f2cd New file. 2000-05-24 16:51:23 +00:00
Joel Sherrill
b27c15fda8 New file added on 4.5 branch 2000-05-08 21:17:50 +00:00
Joel Sherrill
3f2f553eea New file added on 4.5 branch 2000-05-08 20:36:59 +00:00
Joel Sherrill
31aa66a865 Added on 4.5 branch. 2000-05-03 13:55:42 +00:00
Joel Sherrill
f3c096a312 Added on 4.5-branch 2000-05-01 14:57:46 +00:00
Joel Sherrill
84a90acfd2 New files. 2000-04-29 19:41:47 +00:00
Joel Sherrill
87ec19a398 New files added as part of librpc upgrade. 2000-04-29 19:13:19 +00:00
Joel Sherrill
5ad350a43d New files added as part of librpc upgrade. 2000-04-29 19:04:37 +00:00
Joel Sherrill
775e78644e New directory added as part of librpc upgrade. 2000-04-29 18:50:41 +00:00
Joel Sherrill
a446015228 New files added on 4.5 branch. 2000-04-28 17:42:16 +00:00
Joel Sherrill
17177e2ca5 New file. 2000-04-13 15:16:49 +00:00
Joel Sherrill
e4c0744478 Patch rtems-rc-4.5.0-13-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
adds .cvsignore.
2000-04-13 14:47:15 +00:00
Joel Sherrill
bf85b19188 Patch rtems-rc-4.5.0-13-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
adds .cvsignore.
2000-04-13 14:37:14 +00:00
Joel Sherrill
81a71b2085 Removed. 2000-04-07 19:10:10 +00:00
Joel Sherrill
8613479a5a New file. Copied from i386ex BSP as missing from submission. 2000-04-05 13:27:52 +00:00
Joel Sherrill
5a23ca846b New files from John Cotton <John.Cotton@nrc.ca> and Charles-Antoine
Gauthier <charles.gauthier@nrc.ca>.  The power supply in their
VMEbus cage died so it was submitted at this point.  It passes ttcp
which is a really good sign but they would like to do more testing
and cleanup once their hardware is functional again.  Please
contact them if you are interested in using or fixing this driver.
As their comments indicate, the performance is actually quite good
even at this point as indicated by the ttcp results.

  Please note that this is by no means a final version. The code is still
  fairly ugly, and will require some further fixing. On the bright side, what
  is attached works. I finally ran the test programs successfully with
  optimized code and data cache enabled:

  netdemos worked, but failed on the UDP transfer (runs out of buffers).

  ttcp worked, with something like 1036 KB/sec Rx, 952 KB/sec Tx.

  tftp worked
2000-04-05 13:01:21 +00:00
Joel Sherrill
c1c1f339ea New file from Ralf Corsepius <corsepiu@faw.uni-ulm.de> as part of
rtems-rc-4.5.0-7.diff.  This file is being added to the main branch
in hopes that it will be easier to deal with the full merge later.
2000-04-03 19:56:54 +00:00
Joel Sherrill
b6f9b5f1fe Added routines to get and set C3x IOF register. The code is conditionally
compiled and there is no comparable code for the C4x.
2000-03-01 18:08:53 +00:00
Joel Sherrill
8eacefcc8b BSP now compiles and links with CAVSL board information. This includes
linkcmds updated, simio references removed, and switch to libchip for
serial ports from simio.

Added a MEMORY_MAP file to capture information about the various
addresses on this board.

In addition, many of the beta patches are now included.
2000-02-29 16:35:45 +00:00
Joel Sherrill
bc8781decf Fixed typo. 2000-02-28 17:33:44 +00:00
Joel Sherrill
ac49115d65 New port of RTEMS to TI C3x and C4x. 2000-02-22 19:14:24 +00:00
Joel Sherrill
61ba976360 New port of RTEMS to TI C3x and C4x. 2000-02-22 18:39:52 +00:00
Joel Sherrill
562e7ed1ed Increased block size to 128 and added comments based on feedback from
Java folks including Oscar Martinez de la Torre <omt@wm.estec.esa.nl>.
2000-02-11 15:54:47 +00:00
Joel Sherrill
35ece2ecb2 Patch from Eric Norum <eric@cls.usask.ca> based on working with
Bob Wisdon <bobwis@ascweb.co.uk> and Chris Johns <ccj@acm.org>
to resolve a random network lockup problem.

    ckinit.c:
        Occasional network lockups have been noted when the PIT has a higher
        interrupt request level than the CPM.  The SCC1 bit in the CISR is set
        even though the SCC1 interrupt handler is not active.  This blocks
        interrupts from SCC1 (and all other CPM sources) and locks up the
        system.  It has not been determined whether the error is within the
        68360 or in the RTEMS interrupt support assembler code.  The solution,
        for now, is to set both PIT and CPM interrupt request levels to the same
        value (4).

    network.c:
        Set CPM transmitter buffer pointer (_tbptr) to beginning of frame
        before restarting transmitter.  Don't retire transmitter buffer
        descriptors belonging to the restarted frame.
2000-02-11 15:21:40 +00:00
Joel Sherrill
70810dcd89 Patches rtems-rc-20000204-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that contains:

* Removes remaining (now illegal) references to $(SRC) from a couple of
  Makefile.ams
* Removes duplicate AC_CONFIG_SUBDIRS macro from c/configure.in
* Moves ENABLE_LIBCDIR into RTEMS_PROG_C[C|XX]_FOR_TARGET (hides LIBCDIR
  from most configure scripts, i.e. LIBCDIR becomes less visible)
* Adds RTEMS_PROG_C[C|XX]_FOR_TARGET and RTEMS_CANONICALIZE_TOOLS to
  libbsp/*/configure.ins (A minor bug in previous implementations, which
  only has an impact when switching to GNU/Cygnus canonicalization)
* Cleans up several bogus comments.
* Removes MKLIB
* Switches the version number to 4.5.0 (for testing version number
  handling)
2000-02-08 22:33:25 +00:00
Joel Sherrill
e06d5aed9a Fixed typo. 2000-02-08 18:38:00 +00:00
Joel Sherrill
a9d04b1cfa Patch from Eric Norum <eric@cls.usask.ca> to remove race conditions
when setting up receive buffer descriptors and when unmasking interrupts.
2000-02-08 18:26:40 +00:00
Joel Sherrill
bf2447953c Incorrect error status returned. Noted by Andrew Klossner
<andrew@pogo.wv.tek.com>.
2000-02-04 16:32:38 +00:00
Joel Sherrill
edb2176cd5 Incorrect error status returned. Noted by Andrew Klossner
<andrew@pogo.wv.tek.com>.
2000-02-04 16:09:38 +00:00
Joel Sherrill
b452a4023c Changed behavior to match that expected by EPICS test code. Reported by
Eric Norum <eric@cls.usask.ca>.
2000-02-03 22:20:41 +00:00
Joel Sherrill
4bf1801d0d Patches rtems-rc-20000118-7.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that contains the automake files for libnetworking plus a couple of
minor fixes.  [Now only one unused/unsupported Makefile.in remains
(./c/src/lib/libbsp/hppa1.1/pxfl/Makefile.in).]

    To apply:
        patch -p1 < rtems-rc-20000118-7.diff
        /bin/sh rtems-rc-20000118-7.rm
        /bin/sh rtems-rc-20000118-7.add
        ./bootstrap

    Notes:
    * I have tested this one by building all BSPs for m68k, powerpc, sh and
      unix with toolchains built since last weekend.
    * I did not touch libnetworking's directory layout.
2000-02-03 13:21:38 +00:00
Joel Sherrill
1382cea3b1 Fixed spelling errors. 2000-02-03 13:18:21 +00:00
Joel Sherrill
399432faac Patch rtems-rc-20000118-6.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that contains:

    The workarounds related to the issues with
    ppc/helas403 (triggers a nasty bug in automake-2.14) and mcp750.cfg
    (Which is basically broken)

    To apply:
        patch -p1 < rtems-rc-20000118-6.diff
        ./bootstrap

    Note:
        * Though this patch is small, ./bootstrap is absolutely necessary.
        * Now your CVS source tree is identical to my local CVS.
2000-02-02 15:26:41 +00:00
Joel Sherrill
847dbbe6c7 Patches rtems-rc-20000118-5.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that contains:

    * The fix for the gen68360/network/Makefile.am
    * automatically set permissions to 755 to scripts/buildall and
      scripts-ada/buildall (I remembered a trick to achieve this :).
    * automake support for libbsp/* and libcpu/* (Attn: This part will
      finally break old-style configuration for all non-public cpus)

    NOTES:
    * This patch has only been tested for a random selection of BSPs (I
      haven't rebuilt all toolchains yet).
    * This patch is against rtem-cvs as of this morning (MET).

    To apply:
        patch -p1 <rtems-rc-20000118-5.diff
        cvs rm -f ./c/src/lib/libbsp/Makefile.in
        cvs rm -f ./c/src/lib/libbsp/shmdr/Makefile.in
        cvs rm -f ./c/src/lib/libcpu/Makefile.in
        cvs add ./c/src/lib/libbsp/Makefile.am
        cvs add ./c/src/lib/libbsp/shmdr/Makefile.am
        cvs add ./c/src/lib/libcpu/Makefile.am
        ./bootstrap
2000-02-01 13:41:54 +00:00
Joel Sherrill
8505e9b387 Removed references to non-existent include files. 2000-01-31 22:34:11 +00:00
Joel Sherrill
819c7da851 Spelling corrected. 2000-01-31 19:28:39 +00:00
Joel Sherrill
bb18b95612 Spelling corrected. 2000-01-31 19:28:18 +00:00
Joel Sherrill
4e36a2f133 Patches rtems-rc-20000118-3.diff and rtems-rc-20000118-4.diff from
Ralf Corsepius <corsepiu@faw.uni-ulm.de> that contain:

    * Modifications, (minor) corrections, cleanups to most existing
      Makefile.ams
    * Adds automake support to all remaining BSPs which have not yet been
      converted to automake.
    * Makefile.am for all remaining wrapup/Makefile.ams
2000-01-31 15:27:02 +00:00
Joel Sherrill
8fbdf07b62 Patch rtems-rc-20000118-2.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that contains cosmetical changes to the Makefile.ams below tests (removes
old, now invalid comments from these Makefile.ams).
2000-01-31 15:22:23 +00:00
Joel Sherrill
d7269fbaec Ralf Corsepius <corsepiu@faw.uni-ulm.de> caught some files in CVS
that should not have been.
2000-01-31 15:18:38 +00:00