I have been able to figure it out.
1.) Nothing specific to the ts-7500 needs to be done other than modifying
/etc/rc.local to point a newly created directory in /dev Below is my
/etc/rc.local file. As you can see i commented out the code having to do with
the console, probably didn't need to do that but I don't need it.
/dev/ttyxuart5 is for the TTL 5 PORT I am using for console.
PATH=/usr/local/bin:/usr/bin:/bin
eval $(xuartctl --server --port 1 --speed 115200 2>&1); ln -s $ttyname
/dev/ttyxuart1
eval $(xuartctl --server --port 2 --speed 115200 2>&1); ln -s $ttyname
/dev/ttyxuart2
eval $(xuartctl --server --port 4 --speed 38400 2>&1); ln -s $ttyname
/dev/ttyxuart4
eval $(xuartctl --server --port 5 --speed 115200 2>&1); ln -s $ttyname
/dev/ttyxuart5
#cp -P /initrd/dev/tsconsole /dev
exit 0
The next steps i found out after reading up on getty.
2.)
Next I commented out one line in the /etc/inittab and added another as shown
below. Also probably don't need the -n.
#T0:23:respawn:/sbin/getty -L tsconsole 115200 vt100
T0:23:respawn:/sbin/getty -n -L ttyxuart5 115200 vt100
3)
next you need to add the newly created ttyxuart5 terminal to the /etc/securetty
file. This is needed so when your console is considered a trusted terminal for
loging in as root.
4)
After you boot up again and run the command ps -ef you should see the new
process.
/sbin/getty -L ttyxuart5 115200 vt100
Now with at 3.3V ttl rs232 converter hooked up to TTL5 you will see the console
output.
Hope this is useful to someone out there. If so give me a shout out. It's
good to know posts like this are helpful.
One other thing for those looking for a off the shelf 3.3V TTL Rs232 converter
i have been using this with not problems.
http://www.superdroidrobots.com/shop/item.aspx?itemid=337
I'm sure there is cheaper solutions out there that require soldering but if you
want to get up and running quickly its a good purchase.
--- In "dannyd5000" <> wrote:
>
> Hello All,
>
> I am using 4 TTL lines (with rs232 converter) on TS-7500 to communicate with
> 4 devices with great success. However my application requires me to have a
> serial console for debugging purposes. If I am Unable to connect via a
> network connection(ssh, telnet, etc), i need a way to login to the board. So
> I need the console to be output a 5th ttl line which i would convert to
> rs232.
>
> The problem I have is figuring out how to map the console to that 5th TTL. I
> know if I am on the TS-752 baseboard I can just use its RS232 connection to
> see the console, but I will not have the TS-752. Has anyone had to do this?
> Any ideas?
>
> Thanks in advance,
> Dan
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|