Alex,
I will go back to using the tsconsole /dev/ttyS0. Oh well if anything this has
been a good exercise in redirecting the command line to different devices.
Thanks again
--- In Alex McLain <> wrote:
>
> Hi Dan,
>
> Correct, I am running the project without a 752 baseboard. The serial
> console is connected and working WITH a 750 ohm pulldown resistor on the TX
> pin so it boots from the SD card. I wonder why support said it wouldn't
> work; I copied the circuit right from their 752 schematic.
>
> http://www.embeddedarm.com/documentation/ts-752-schematic.pdf
>
> When looking at the 752 header, remember that the first four TS-7500 pins
> hang off the side, so pin 7 on the 7500 is pin 3 on the 752.
>
> -Alex
>
>
> On Fri, May 4, 2012 at 7:00 AM, daniel.desrude
> <>wrote:
>
> > **
> >
> >
> > Alex,
> >
> > Thanks for the response.
> >
> > Without the 752 baseboard I thought I could do that also but in talking to
> > support they said if you want to load the kernel and initrd from the SD
> > card you would need to put a pulldown on the MODE 1 pin.
> >
> > By putting the pulldown on mode 1 (pin 7) I am making the Console TX pin 7
> > unusable.
> >
> > DIO_07 Console TX / Mode1
> > DIO_08 Console RX
> >
> > I am hoping they are wrong and I don't have to use up a UART so please let
> > me know if you figured out a way. You are running without a 752 baseboard
> > correct?
> >
> > Thanks Again,
> > Dan
> >
> >
> > --- In Alex McLain <alex@> wrote:
> > >
> > > Hi Dan,
> > >
> > > Why not use the TS-7500's console pins? If you look at the schematic, TXD
> > > is on 7 and RXD is on 8. That way you don't have to chew up another UART.
> > > I recently used this in a project with an FTDI cable and it works great.
> > > The drivers are pre-installed on most operating systems so it works out
> > of
> > > the box.
> > >
> > > TS-7500 Schematic
> > > http://www.embeddedarm.com/documentation/ts-7500-schematic.pdf
> > >
> > > FTDI TTL-232R-3V3
> > >
> > http://search.digikey.com/us/en/products/TTL-232R-3V3/768-1015-ND/1836393
> > >
> > > -Alex
> > >
> > >
> > > On Thu, May 3, 2012 at 9:30 AM, dannyd5000 <dannyd4000@> wrote:
> > >
> > > > **
> >
> > > >
> > > >
> > > >
> > > >
> > > > 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" <dannyd4000@> 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/
|