Commit Graph

281 Commits

Author SHA1 Message Date
Joel Sherrill
bfc86bcb95 Removed references to stack checker defines since it is dynamically
enabled now at configure time.
2000-07-12 19:28:27 +00:00
Joel Sherrill
ea56a07256 Removed stupid reference to NO_TABLE_MOVE in comment block. 2000-07-12 19:27:02 +00:00
Joel Sherrill
396079844d Patch rtems-rc-20000712-1-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that is yet another multilib-related structual cleanup patch:

  Changes:
    * Make RTEMS_DEBUG a global per-cpu configuration option
    * Remove RTEMS_DEBUG from targopts.h
    * Add a global --enable-rtems-debug option disabled by default.
    * Add RTEMS_DEBUG to cpuopts.h
    * Remove all references to RTEMS_DEBUG from custom/*.cfg

  Notes:
    * RTEMS_DEBUG is set in c/src/exec/configure.in only
      (RTEMS_CHECK_RTEMS_DEBUG) and should be defined in cpuopts.h only.
      BSPs should not redefine it, but use the value being provided by
      cpuopts.h.
      => With multilibs, users have to choose: Either enable RTEMS_DEBUG
         for all BSPs and CPU_MODELs of a cpu or not.
    * Only few BSPs had RTEMS_DEBUG enabled, therefore I set the default
      to disabled.
    * This patch influences the per-BSP building scheme. Existing BSPs
      which set RTEMS_DEBUG in their make-target-options rule might have
      problems at runtime.
2000-07-12 19:23:14 +00:00
Joel Sherrill
4159370f5d Reworked score/cpu/sparc so it can be safely compiled multilib. All
routines and structures that require CPU model specific information
are now in libcpu.  This primarily required moving erc32 specific
information from score/cpu files to libcpu/sparc and the erc32 BSP.
2000-07-11 21:16:53 +00:00
Joel Sherrill
bc85fd5a6d Reworked score/cpu/i960 so it can be safely compiled multilib. All
routines and structures that require CPU model specific information
are now in libcpu.  This required significant rework of the
score/cpu header files and the creation of multiple header files
and subdirectories in libcpu/i960.
2000-07-11 19:31:04 +00:00
Joel Sherrill
9e52b29cbc Patch rtems-rc-20000711-2-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that removes setting unused variables WORKSPACE_MB and HEAPSPACE_MB.
2000-07-11 15:26:40 +00:00
Joel Sherrill
270e3cce96 Patch rtems-rc-20000711-1-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that decouples exec/ for the sh, m68k and i960 from targopts.h.

NOTE: The change to system.h is a hack to enable cpuopts.h
for some targets, but keep using targopts.h for others - I know it
does *not* work for sparc, mips, i386 and ppc.  This will have
to be addressed as work continues on multilibing.
2000-07-11 14:56:04 +00:00
Joel Sherrill
168ba07c84 Patch from Eric Valette <valette@crf.canon.fr> and Yacine El Kolli
<elkolli@crf.canon.fr> to add support for the mbx860_005b.
2000-07-06 20:36:48 +00:00
Joel Sherrill
501d312a91 Added baseline for h8 simulator BSP to support the simulator in gdb 5.0 2000-07-06 20:07:34 +00:00
Joel Sherrill
80e24f1f0e rxgen960 compiles and links. 2000-06-15 22:22:00 +00:00
Joel Sherrill
a42286937a Added multigen generated bare BSP configuration files. 2000-06-15 13:20:48 +00:00
Joel Sherrill
bb47a3ba21 Changed to standard make-exe type rule. 2000-06-14 15:46:14 +00:00
Joel Sherrill
b31839e7bc Moved PPC_VECTOR_FILE_BASE to targopts.h 2000-06-14 15:45:57 +00:00
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
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
df49c60c96 Merged from 4.5.0-beta3a 2000-06-12 15:00: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
4ace694e85 Cleanup patch from Ralf Corsepius. 2000-04-05 19:37:03 +00:00
Joel Sherrill
58b28ebd9f New file. Should support Cygwin as unix simulator port. 2000-04-05 13:09:56 +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
61ba976360 New port of RTEMS to TI C3x and C4x. 2000-02-22 18:39:52 +00:00
Joel Sherrill
1249edfa3a Fixed typos introduced in last modification. Spotted by
Erwin Rol <erwin@muffin.org>.
2000-02-11 14:12:03 +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
ee3c9e5eb1 Removed references to INSTALL_VARIANT. 2000-02-08 14:00:45 +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
4c46630639 Patch rtems-rc-20000118-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that contains:

  * cleanups to configuration files
  * A reworked gccnewlib.spec.in: I have reformated it for enhanced
    readability and added more rtems-base packages. It now should be free of
    any installation conflicts (If there still remain some, they should be
    regarded as bugs).
  * A fix to the bin2boot RTEMS_BSP issue (make RTEMS_BSP="pc386 pc486"
    now works).
  * removes libbsp/bare/wrapup
  * Further cleanups
2000-01-31 15:15:10 +00:00
Joel Sherrill
0261887260 Modifications from Ralf to be more like other custom files. There
is no way to build this target.
2000-01-31 14:46:23 +00:00
Joel Sherrill
318f591241 Added after report from Quality Quorum <qqi@world.std.com> that
pc686.cfg was not present.
2000-01-27 14:37:17 +00:00
Joel Sherrill
1e1941129e Called symbol table ".nm" not .num like every other BSP. 2000-01-12 16:08:57 +00:00
Joel Sherrill
6d3ab0ffdc Added pc486 and pc586 as aliases of pc386 with proper cpu flags. 2000-01-10 20:56:35 +00:00
Joel Sherrill
aa1d76ed8d Missed cleanup from Ralf Corsepius. 2000-01-10 18:56:10 +00:00
Joel Sherrill
f9b48de90e Removed reference to Radstone PPCN. 2000-01-10 18:07:51 +00:00
Joel Sherrill
23527262bd Fixed comment. 2000-01-10 18:07:15 +00:00
Joel Sherrill
d273d78ae6 Renaming mcp750 to motorola_shared since that is the basis for both
the mvme2307 and mcp750 BSPs.  In addition, it can support many
Motorola PowerPC based VME and PCI boards.
2000-01-07 20:51:56 +00:00
Joel Sherrill
0ff37e6866 Patch rtems-rc-20000104-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which is described below:

    This one is a (minor) patch in preparation of the upcoming patches. It
    actually is an excerpt of the upcoming patches and therefore is
    completely untested in this standalone form, but I don't expect it to
    break something.

    The essential changes in this patch are:
        * An update to rtems-polish.sh (Now can also be run in subdirectories)
        * A bug-fix for the libcpu/powerpc (A directory was missing from
          SUBDIRS in a Makefile.am)
        * An update to gensh2.cfg.
        * Cleanups/Enhancements to configuration files

    To apply:
        cd <srcdir>
        patch -p0 < rtems-rc-20000104-0.diff
        cvs rm -f c/src/lib/libbsp/Makefile.am.new
2000-01-07 14:47:02 +00:00
Joel Sherrill
8b9128277d Patch rtems-rc-19991203-5.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which cleans up and merges some Hitachi SH-2 modifications from
John Mills <jmills@tga.com>.
1999-12-21 14:27:52 +00:00
Joel Sherrill
1d5039fe81 *** empty log message *** 1999-12-13 20:30:53 +00:00
Joel Sherrill
acc25eec35 Merged of mcp750 and mvme2307 BSP by Eric Valette <valette@crf.canon.fr>.
As part of this effort, the mpc750 libcpu code is now shared with the
ppc6xx.
1999-12-02 14:31:19 +00:00
Joel Sherrill
96344c8639 Patch rtems-rc-19991123-rc-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which (among other things) converted the mptests to automake.

    SUB_DIRS was used instead of SUBDIRS in some Makefile.ins
    (apparently a leftover from moving the start* directories)

    Addtional major bugs:
    * psxtests/include was empty (incomplete psxtests changes).
    * bogus handling of *.scn in itrontests (screens/sptests vs.
      screens/itrontests installation dirs)

    In addition I have added a few more changes (I couldn't resist)
    * automake support for itrontests
    * OPERATION_COUNT support in tmitrontests/
    * automake support for tmitrontests
    * automake suppport for mptests
    * Some (minor) corrections to several configure.in/Makefile.ams

    => c/src/tests/ is completly under automake control, now.
    => we could start to sort out the structural issues with c/src/tests
      (tests/support, stubdr, tools, get "make dist" working)
1999-11-30 13:49:04 +00:00
Joel Sherrill
49da88cc99 Patch rtems-rc-19991117-16.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
* the PACKHEX etc problem
  * prevents the *.rels being removed inside the build-tree
  * a typo which only shows for when MP is activated
  * Alters some custom/*cfg files
1999-11-23 15:53:09 +00:00
Joel Sherrill
9f4868cea9 Miscellaneous patches from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that are part of the Makefile.am conversion effort but were missed
in the previous commits.
1999-11-23 13:57:02 +00:00
Joel Sherrill
28cc1728df Removed need for START_BASE. 1999-11-22 14:28:36 +00:00
Joel Sherrill
9608320702 Patch rtems-rc-19991117-4.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
.. a major configuration cleanup
    ... major enhancement of automake support.

    ... and it contains a *major*  breakthough:

    Automake support for libchip and libmisc *LEAF* directories.

    To implement this I have used several nasty tricks
        * The basical trick is to wrap an old Makefile.in's contents into a
          Makefile.am and still continue to use (i.e include) the old
          *.cfg files.

        * Replaced each INSTALL_IF_CHANGE and INSTALL_VARIANT with make
          dependencies
        * Add a gnu-make ifdef AUTOMAKE to main.cfg to avoid conflicts between
          automake and RTEMS make rules
        * Replaced each install:: and preinstall:: rule with make dependencies
        * Replaced SUB_DIRS with SUBDIRS in all Makefile.ins (Automake
          convention)
        * Removed each manually added autoconf substitution which automake
          performs automatically.

    This is not yet full automake support, because using the temporary
    installation directory, preinstallation in general and building variants
    are in contradiction to automake's basic working principles ...

    ... the new Makefile.ams work still somewhat clumsy
    ... nevertheless they work (quite well).

    WARNING:

    At first glance this patch is small, but
        * it affects the whole configuration system.
        * it opens the road to introducing automake to all Makefile.ins
          currently not being under automake control.

    JOEL> Does this remove or add any files?

    Both, all Makefile.ins below libchip and libmisc get replaced with
    Makefile.ams.
1999-11-22 13:41:11 +00:00
Joel Sherrill
4a238002e7 Patch from "John M. Mills" <jmills@tga.com> with subsequent cleanup from
Ralf Corsepius <corsepiu@faw.uni-ulm.de> that adds initial Hitachi SH-2
support to RTEMS.  Ralf's comments are:

    Changes:
    ------
    1. SH-Port:
    * Many files renamed.
    * CONSOLE_DEVNAME  and MHZ defines removed from libcpu.
    * console.c moved to libbsp/sh/shared, build in libbsp/sh/<BSP>/console
      applying VPATH.
    * CONSOLE_DEVNAME made BSP-specific, replacement is defined in bsp.h
    * MHZ define replaced with HZ (extendent resolution) in custom/*.cfg
    * -DHZ=HZ  used in bspstart.c, only
    * Makefile variable HZ used in bsp-dependent directories only.

    2. SH1-Port
    * clock-driver rewritten to provide better resolution for odd CPU
      frequencies. This driver is only partially tested on hardware, ie.
      sightly experimental, but I don't expect severe problems with it.
    * Polling SCI-driver added. This driver is experimental and completly
      untested yet. Therefore it is not yet used for the console (/dev/console
      is still pointing to /dev/null, cf. gensh1/bsp.h).
    * minor changes to the timer driver
    * SH1 specific delay()/CPU_delay() now is implemented as a function

    3. SH2-Port
    * Merged
    * IMO, the code is still in its infancy. Therefore I have interspersed
      comments (FIXME) it for items which I think John should look after.
    * sci and console drivers partially rewritten and extended (John, I hope
      you don't mind).
    * Copyright notices are not yet adapted
1999-11-18 21:22:58 +00:00
Joel Sherrill
d6c8352925 Patch rtems-rc-19991105-1.diff.gz from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which does the following:

    This is the configuration cleanup patch:

    Main changes:
      * TARGET_ARCH removed
      * target.cfg.in moved to c/make/target.cfg.in (Only configured once for
        all BSPs of a target)
      * BARE_XXX variables appended to bsp.cfg.in
      * autogen renamed to bootstrap
      * removed stray variables from make/custom/*.cfg

    To apply:
        cd <source-tree>
        rm c/src/make/target.cfg.in
        cp autogen bootstrap
        mkdir c/make
        cp make/target.cfg.in c/make/target.cfg.in
        rm make/target.cfg.in
        rm autogen
        patch -p1 < rtems-rc-19991105-1.diff
1999-11-16 15:48:11 +00:00
Joel Sherrill
707f5c710e Eliminated references to stack checker related #defines. 1999-11-05 15:47:47 +00:00
Joel Sherrill
c61218e85b Removed HAS_MP=no and commented out HAS_NETWORKING=no. 1999-11-01 13:15:26 +00:00
Joel Sherrill
7046cddb1b Patch rtems-rc-19991011-3.diff from Ralf Corsepius. 1999-10-28 16:01:41 +00:00
Joel Sherrill
226ea52ba8 Updated to be more like cvme961.cfg. 1999-10-27 19:24:26 +00:00