[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
how do I use shell.c?
- Date: Wed, 30 Apr 2008 19:08:06 -0700
- From: antispam21 at verizon.net (mike)
- Subject: how do I use shell.c?
Thanks for the reply, Ian,
- We have an Sparc eval board that has 2 ports: 1 is debug port, 1 is
From debug port, I load/run application. The output goes out to the
rs-232 application port.
So, am I supposed to specify this app port (/dev/console) as 'device' to
When I tried that, I got the message:
"shell: unalbel to open stdin./dev/console:Too many open files in system"?
Ian Caddy wrote:
> The shell (and monitor) works for us, although we are using an older
> version of RTEMS and the shell was not integrated into RTEMS at the
> time. Our shell has also been cusotmised to add our specific commands
> that we required for our applications as well.
> All you need to do so start the shell is call:
> shell_init (at the bottom of shell.c)
> with the required parameters for your system. The main one being
> where you want your console to live which would be one of your serial
> port devices I assume.
> It is also possible to use the shell through telnet as well through
> the pty interfaces, but you need to make sure the telnet server is
> also started.
> I hope this helps.
> Ian Caddy