Commit Graph
148 Commits
Author SHA1 Message Date
Joel Sherrill aea9bb4695 2001-09-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* untar/Makefile.am: Use 'PREINSTALL_FILES ='.
	* monitor/Makefile.am: Use 'PREINSTALL_FILES ='.
	* shell/Makefile.am: Use 'PREINSTALL_FILES ='.
	* devnull/Makefile.am: Use 'PREINSTALL_FILES ='.
	* dumpbuf/Makefile.am: Use 'PREINSTALL_FILES ='.
	* mw-fb/Makefile.am: Use 'PREINSTALL_FILES ='.
	* stackchk/Makefile.am: Use 'PREINSTALL_FILES ='.
	* rtmonuse/Makefile.am: Use 'PREINSTALL_FILES ='.
	* cpuuse/Makefile.am: Use 'PREINSTALL_FILES ='.
	* rootfs/Makefile.am: Use 'PREINSTALL_FILES ='.
2001-09-28 13:34:40 +00:00
Joel Sherrill 6846a2f5cf 2001-09-27 Joel Sherrill <joel@OARcorp.com>
* ChangeLog: Fixed typo in date.
2001-09-27 21:08:19 +00:00
Joel Sherrill 2543311206 2001-09-14 Joel Sherrill <joel@OARcorp.com>
* configure.in, rootfs/Makefile.am: Added conditional to make sure
	rootfs does not get built with networking is disabled.  Also
	added include of compile.am to rootfs/Makefile.am.
	* wrapup/Makefile.am: Added rootfs conditionally if networking enabled.
2001-09-21 14:02:27 +00:00
Joel Sherrill d34d2e6957 2001-09-19 Chris Johns <ccj@acm.org>
* Added support for populating the initial "root" filesystem
	with information obtained via the DHCP response.
	* rootfs: New directory.
	* rootfs/.cvsignore, rootfs/Makefile.am, rootfs/mkrootfs.c,
	rootfs/mkrootfs.h: New files.
	* configure.in, Makefile.am: Modified to reflect addition.
2001-09-19 17:29:42 +00:00
Joel Sherrill 130291f55c 2001-09-14 Joel Sherrill <joel@OARcorp.com>
* ChangeLog: Fixed some mistakes.
2001-09-14 18:24:56 +00:00
Joel Sherrill d3b8713ada 2001-09-13 Joel Sherrill <joel@OARcorp.com>
* devnull/devnull.c: Eliminate warning.
2001-09-13 21:04:49 +00:00
Joel Sherrill baf7b0856b 2001-08-26 Brett Swimley <brett.swimley@aedinc.net>
* mw-fb\Makefile.am: Corrected problem.
2001-08-16 21:19:31 +00:00
Joel Sherrill 3c6cc4a04f 2001-08-09 Fernando-Ruiz Casas <correo@fernando-ruiz.com>
* shell/pty.c: Moved to libnetworking/rtems_telnetd.
2001-08-09 22:26:51 +00:00
Joel Sherrill 70d689aed4 2001-08-09 Fernando-Ruiz Casas <correo@fernando-ruiz.com>
* shell/Makefile.am, shell/README, shell/cmds.c, shell/shell.c,
	shell/shell.h: Updates.
2001-08-09 22:08:46 +00:00
Joel Sherrill ecb5f95413 2001-08-09 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
* monitor/mon-command.c: Add support for partial command matching.
	The monitor used to have this functionality before it was overhauled
	to support addition of user commands.
2001-08-09 21:39:34 +00:00
Joel Sherrill 8e2b4deb2a 2001-06-14 Joel Sherrill <joel@OARcorp.com>
* shell/telnetd.c, shell/telnetd.h: Moved to
	libnetworking/rtems_servers so the network stack to address network
	depenendency.
	* shell/Makefile.am: Modified to reflect above.
2001-06-14 13:34:53 +00:00
Joel Sherrill 5fef5234a4 2001-05-25 Joel Sherrill <joel@OARcorp.com>
* shell/cmds.c: Removed code from inappropriate source.
2001-05-25 17:52:03 +00:00
Joel Sherrill b2712e35b9 2000-05-24 Fernando Ruiz Casas <fernando.ruiz@ctv.es>
* monitor/mon-prmisc.c: Correct print line.
	* shell/Makefile.am: Added new file telnetd.c.
	* shell/telnetd.c, shell/telnetd.h, shell/pty.c: New files.
	* shell/shell.c, shell/cmds.c, shell/shell.h: Numerous improvments:
	   - The shell_init has a new parameter 'forever' because in
	     /dev/console you need that this process runs forever but in
	     tcp/ip not. (respawn?)
	   - A new task for every session opened trought tcp/ip telnet client.
	     (the chargen,daytime and more are possible of implementation but
	     I ask me if they are necesary)
	   - Exit from the session delete the task and when the client fails too.
	   - More cmds have been implemented. (very reduced version of these)
	     umask, chmod, id, whoami, rm, cat, ...
	   - A reduced line edit has been implemented.
	       Ctrl-C abort the input,
	       Ctrl-d in the first position gives EOF (logout).
	       '\b' and DEL makes the rubout operation.
	       I think that readline() for every session spents a lot of resources.
2001-05-24 21:58:39 +00:00
Joel Sherrill d72caa64cc 2001-04-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* shell/cmds.c, shell/shell.c: Remove fileno-hacks.
	* monitor/mon-symbols.c: Remove #undef __STRICT_ANSI__.
2001-05-07 13:17:25 +00:00
Joel Sherrill dd74e612f1 2001-04-20 Correo Fernando-ruiz <correo@fernando-ruiz.com>
* Added initial shell functionality.
	* Makefile.am, configure.in, wrapup/Makefile.am:
	* shell/.cvsignore, shell/Makefile.am, shell/README,
	shell/cmds.c, shell/shell.c, shell/shell.h: New files.
2001-04-20 20:35:45 +00:00
Joel Sherrill a5bdcd9881 2001-04-20 Joel Sherrill <joel@OARcorp.com>
* devnull/devnull.c (null_initialize): Added check to
	ensure that the driver is only initialized once.  Otherwise,
	it will abort when the device /dev/null is present.
	(null_write): Do not dereference a NULL pointer.
2001-04-20 13:37:05 +00:00
Joel Sherrill 974d213fc9 2001-02-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* monitor/mon-command.c: Use #if defined(RTEMS_UNIX).
2001-02-12 14:51:46 +00:00
Joel Sherrill 620e82636b 2001-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* untar/Makefile.am, monitor/Makefile.am, dummy/Makefile.am,
	devnull/Makefile.am, dumpbuf/Makefile.am, mw-fb/Makefile.am,
	stackchk/Makefile.am, rtmonuse/Makefile.am, cpuuse/Makefile.am:
	Apply include_*HEADERS instead of H_FILES.
2001-02-05 18:26:26 +00:00
Joel Sherrill 85d03e28c7 2001-01-05 Joel Sherrill <joel@OARcorp.com>
* devnull: New addition.  Moved from libcpu/sh.
	* devnull/devnull.c, devnull/devnull.h, devnull/.cvsignore,
	devnull/Makefile.am: New files.
	* Makefile.am, configure.in, wrapup/Makefile.am: Modified to reflect
	addition of above.
2001-01-05 13:26:51 +00:00
Joel Sherrill 4a14b7bef0 2000-11-30 Joel Sherrill <joel@OARcorp.com>
* mw-fb/mw_uid.c: Removed unnecessary dependency on <bsp.h>.
2000-11-30 14:36:46 +00:00
Joel Sherrill feead22618 2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
2000-11-09 16:43:05 +00:00
Joel Sherrill a314d3b497 2000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
2000-11-02 15:49:06 +00:00
Joel Sherrill 2735b82335 2000-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
	Switch to GNU canonicalization.
2000-10-25 17:00:20 +00:00
Joel Sherrill f6630d445a 2000-09-28 Joel Sherrill <joel@OARcorp.com>
* monitor/mon-driver.c: Accounted for addition of "_entry" to
	fields in rtems_driver_address_table.
2000-09-28 20:23:34 +00:00
Joel Sherrill 7fcc26ac64 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* cpuuse/Makefile.am, dummy/Makefile.am, dumpbuf/Makefile.am,
	monitor/Makefile.am, rtmonuse/Makefile.am, stackchk/Makefile.am,
	untar/Makefile.am, wrapup/Makefile.am, mw-fb/Makefile.am:
	Include compile.am.
2000-09-05 15:32:34 +00:00
Joel Sherrill 188c82b412 2000-08-30 Joel Sherrill <joel@OARcorp.com>
* Many files: Moved posix/include/rtems/posix/seterr.h to
	score/include/rtems/seterr.h so it would be available within
	all APIs.
2000-08-30 17:12:55 +00:00
Joel Sherrill 73eea69cfb 2000-08-30 Joel Sherrill <joel@OARcorp.com>
* mw-fb/.cvsignore: New file.
2000-08-30 17:11:21 +00:00
Joel Sherrill 152b1e31c3 2000-08-26 Rosimildo da Silva <rdasilva@connecttel.com>
* Added generic Micro FrameBuffer interface for MicroWindows.
	This interface allows MicroWindows to under RTEMS. A sample
	driver has been developed for the pc386 BSP. See
	pc386/fb_vga.c as a sample.
	* Added Uniform Input Device interface for MicroWindows.
	See PC386 bsp for sample drivers for mouse and keyboard (console).
	* mw-bf: New directory.
	* Makefile.am, configure.in, wrapup/Makefile.am: Account for mw-fb.
	* mw-fb/Makefile.am: New file.
	* mw-fb/mw_fb.c: New file.
	* mw-fb/mw_fb.h: New file.
	* mw-fb/mw_uid.c: New file.
	* mw-fb/mw_uid.h: New file.
2000-08-30 08:21:24 +00:00
Joel Sherrill e94ad1feb9 Adding ChangeLogs. 2000-08-10 13:24:00 +00:00
Joel Sherrill e6b3db9eff Increased the defaults to be more reasonable. 2000-08-01 15:16:18 +00:00
Joel Sherrill ca7858bb88 Port of RTEMS to the Texas Instruments C3x/C4x DSP families including
a BSP (c4xsim) supporting the simulator included with gdb.  This port
was done by Joel Sherrill and Jennifer Averett of OAR Corporation.
Also included with this port is a space/time optimization to eliminate
FP context switch management on CPUs without hardware or software FP.

An issue with this port was that sizeof(unsigned32) = sizeof(unsigned8)
on this CPU.  This required addressing alignment checks and assumptions
as well as fixing code that assumed sizeof(unsigned32) == 4.
2000-07-26 19:28:11 +00:00
Joel Sherrill 6f6ddc0011 Added RTEMS_CPU_HAS_16_BIT_ADDRESSES constant to disable code
that breaks when the target has 16 bit address space.  One of the H8
multilibs is a 16-bit address space CPU.  When a real attempt is
made to support this CPU model, the code that assumes an address
is 32 bits will have to change.  This constant is probably not
flagging all impacted code.
2000-06-29 22:33:05 +00:00
Joel Sherrill 32e2554f10 Patch rtems-4.5-beta3-mon.diff from Chris Johns <cjohns@cybertec.com.au>
to:

I have also added the ability to register and unregister commands. This
allows me to create a set of monitor commands for the network stack plus
basic memory dump/patch commands (needs a working probe interface). I
will also look at a basic ls/cd/rm/mv/cp command set at some stage.

I have been thinking about changing the monitor in the future to more
like a light weight RTEMS shell, `eshell' for embedded shell. This is a
story for another day but is a process or getting the commands to map to
the filesystem (eg, major=commands, minor=command) and supporting an
environment. The filesystem provide a structure for the commands.
2000-06-14 17:22:59 +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 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 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 c629812c01 Removed warnings. 1999-12-13 22:10:45 +00:00
Joel Sherrill d5b004b6e3 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to convert the libmisc directory from Makefile.in to Makefile.am.
1999-11-23 13:52:59 +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 08311cc3a9 Updated copyright notice. 1999-11-17 17:51:34 +00:00
Joel Sherrill 458bd343e2 This is another pass at making sure that nothing outside the BSP
unnecessarily uses any variables defined by the BSP.  On this
sweep, use of BSP_Configuration and Cpu_table was eliminated.

A significant part of this modification was the addition of
macros to access fields in the RTEMS configuration structures.

This is necessary to strengthen the division between the BSP independent
parts of RTEMS and the BSPs themselves.  This started after
comments and analysis by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
1999-11-05 16:44:02 +00:00
Joel Sherrill e4487b6cd8 Modified to properly descend into the dummy directory. 1999-10-27 20:21:33 +00:00
Joel Sherrill b07e06a1bc New files from Ralf Corsepius <corsepiu@faw.uni-ulm.de> which
are a dummy for linking programs together when you are primarily
concerned with tricking another package into building.

This may grow into something which could help link programs on
the command line by having a default start sequence.
1999-10-27 19:35:36 +00:00
Joel Sherrill dd04e32a80 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to move
c/src/lib/libmisc to c/src/libmisc.
1999-10-26 02:58:06 +00:00
Joel Sherrill c1b12e6a41 Moved RTEMS error and association from libmisc to libc support to
avoid cyclic dependencies generated when moving packages to the
top level.
1999-10-11 18:31:48 +00:00
Joel Sherrill 811804fec8 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to make fix bug
where wrapup left pieces out of the librtemsall.a.
1999-10-04 19:15:14 +00:00
Joel Sherrill e1d8abbe28 Applied patch rtems-rc-19990820-6.diff.gz from
Ralf Corsepius <corsepiu@faw.uni-ulm.de> which converted many
Makefile.in's to Makefile.am's.  This added a lot of files.
1999-09-07 13:45:03 +00:00
Joel Sherrill 6fc973e39b Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
Here is another fix, which addresses a few more or less severe bugs in
    configuration and unix/posix:

    * Configuration fix: c/src/lib/configure.in didn't handle RDBG correctly

    * Configuration fix: make depend was non-functional in
      c/src/lib/libc/Makefile.in
    * Configuration fix: stray comment removed from aclocal/target.m4

    * RTEMS fix: termios support for unix/posix now uses the host's headers
      only (was completely broken).
    - Don't install RTEMS's newlib sys/termios.h for unix (sys/termios.h
      apparently is a newlib specific header)
    - To be able to compile RTEMS's  termios.c with glibc2.1, glibc-2.1
      needs __USE_MISC, which is a private define from gcc's features.h, being
      defined only when _BSD_SOURCE of _SVID_SOURCE is defined.  RTEMS's
      termios apparently implements BSD, thus -D_BSD_SOURCE was added to
      Linux-posix.cfg.
    - Conflicting definitions for  __USE_MISC and _BSD_SOURCE inside of
      RTEMS codes removed due to definition of _BSD_SOURCE on the toplevel.

    This fix has been tested with linux/posix (primary glibc2.1 native),
    linux/posix (secondary libc5 native), sh/gensh1, i386/pc386 and a couple
    of other bsp's/CPU.

    To apply:

        cd <srcdir>
        patch -p1 < rtems-rc-19990709-9.diff

    and
        aclocal -I aclocal && automake && autoconf
        cd c/src/lib; autoconf

    or
        ./autogen
1999-08-18 16:49:52 +00:00
Joel Sherrill 2728b0749d New file from Jake Janovetz <janovetz@tempest.ece.uiuc.edu>. 1999-07-09 17:23:15 +00:00