* rtems_servers/telnetd.c, shell/telnetd.h: Moved from libmisc/shell
so the network stack to address network depenendency.
* rtems_servers/Makefile.am: Modified to reflect above.
* 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.
* mpc8xx/console-generic/console-generic.c:
The printk/printf did not work when loaded by EPPCBUG. They did
work when loaded with the BDM debugger. I suspected EPPBUG
made some nasty things like patching Communication processor
microcode... Anyway, the attached patch:
1) Enables to have printk nearly immediately after boot,
2) Make printf work automagically (I do not know why except I make a
different initialization for printk that should be overwritten by
console init later ?)
I let the default to be using EPPCBUG embedded firmware to boot and
using this printk early enabler code (LOADED_BY_EPPCBUG and
EARLY_CONSOLE) are on.
* console/console.c, include/commproc.h, startup/start.S:
The printk/printf did not work when loaded by EPPCBUG. They did
work when loaded with the BDM debugger. I suspected EPPBUG
made some nasty things like patching Communication processor
microcode... Anyway, the attached patch:
1) Enables to have printk nearly immediately after boot,
2) Make printf work automagically (I do not know why except I make a
different initialization for printk that should be overwritten by
console init later ?)
I let the default to be using EPPCBUG embedded firmware to boot and
using this printk early enabler code (LOADED_BY_EPPCBUG and
EARLY_CONSOLE) are on.
* clock/Makefile.am, console/Makefile.am, spurious/Makefile.am,
start/Makefile.am, startup/Makefile.am, timer/Makefile.am,
wrapup/Makefile.am: Modified to include compile.am.
* startup/bspstart.c: Removed include of <libcsupport.h>
* macros/rtems/score/coresem.inl, inline/rtems/score/coresem.inl:
Cut and paste problem incorrectly enabled interrupts twice with
the first time being too early.
* README.configure: Corrected the name of the MRM332 BSP.
Strengthened the distinction between what the target
and the BSP each select. Added more targets to list.
* New MRM332 BSP for the Mini RoboMind board based
on the 68332 microcontroller designed and build by Mark
Castelluccio. For details on the MRM see http://www.robominds.com.
* .cvsignore, ChangeLog Makefile.am, README, bsp_specs,
clock/.cvsignore, clock/Makefile.am, clock/ckinit.c, configure.in,
console/.cvsignore, console/Makefile.am, console/console.c,
include/.cvsignore, include/Makefile.am, include/bsp.h,
include/mrm332.h, misc/dotests, misc/gdbinit68, misc/interr.c,
spurious/.cvsignore, spurious/Makefile.am, spurious/spinit.c,
start/.cvsignore, start/Makefile.am, start/start.c, startup/.cvsignore,
startup/Makefile.am, startup/bspclean.c, startup/bspstart.c,
startup/except_vect_332_ROM.S, startup/linkcmds, startup/linkcmds_ROM,
timer/.cvsignore, timer/Makefile.am, timer/timer.c, times,
wrapup/.cvsignore, wrapup/Makefile.am: Initial files.
* New MRM332 BSP for the Mini RoboMind board based
on the 68332 microcontroller designed and build by Mark
Castelluccio. For details on the MRM see http://www.robominds.com.
* .cvsignore, ChangeLog Makefile.am, README, bsp_specs,
clock/.cvsignore, clock/Makefile.am, clock/ckinit.c, configure.in,
console/.cvsignore, console/Makefile.am, console/console.c,
include/.cvsignore, include/Makefile.am, include/bsp.h,
include/mrm332.h, misc/dotests, misc/gdbinit68, misc/interr.c,
spurious/.cvsignore, spurious/Makefile.am, spurious/spinit.c,
start/.cvsignore, start/Makefile.am, start/start.c, startup/.cvsignore,
startup/Makefile.am, startup/bspclean.c, startup/bspstart.c,
startup/except_vect_332_ROM.S, startup/linkcmds, startup/linkcmds_ROM,
timer/.cvsignore, timer/Makefile.am, timer/timer.c, times,
wrapup/.cvsignore, wrapup/Makefile.am: Initial files.
* New MRM332 BSP for the Mini RoboMind board based
on the 68332 microcontroller designed and build by Mark
Castelluccio. For details on the MRM see http://www.robominds.com.
* custom/mrm332.cfg: New file.
* src/imfs/imfs_initsupp.c: Create the root node with the
desired permissions. Nodes should be created with the right
permissions because chmod() is not supported by the miniIMFS
so changing after creation is not possible.
* libc/base_fs.c: Deleted chmod() now that IMFS creates the
root node with the desired permissions. chmod() is also not
supported by the miniIMFS so this is not allowable.
* Added once version of psxchroot01 test for user review.
* psxchroot01: New directory.
* psxchroot01/Makefile.am, psxchroot01/main.c, psxchroot01/test.c,
psxchroot01/psxchroot01.scn, psxchroot01/.cvsignore: New files.
* configure.in, Makefile.am: Modified to reflect above.
* 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.
* libc/ttyname.c (ttyname_r): Removed duplicate call to closedir().
* libc/getpwent.c: Create a more robust /etc/passwd and /etc/group.
* libc/base_fs.c: Change permissions of files and directories. Now uses
octal constants.
* start/start.S: Increased BAT0 mapping of RAM from 64 meg to
256 meg to allow operation on boards with larger RAM sizes.
* vectors/vectors_init.c: Modified to call 'generic' powerpc
vector function (mpc60x_vector_is_valid) instead of MPC750
specific function to allow operation on boards with CPUs other
than the MPC750.
* mpc6xx/timer/timer.c: Added include of bsp.h and removed
external declaration of BSP_Convert_decrementer() to
correct unresolved reference to this routine.
* mpc8xx/console-generic/console-generic.c: Bug found by Yacine
<elkolli@crf.canon.fr> where the initialization or irq data structure
was incomplete in case a SMC channel was used first and later a SCC one.