ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: TS-7250 seems inoperative

To: "" <>
Subject: Re: [ts-7000] Re: TS-7250 seems inoperative
From: Walter Marvin <>
Date: Thu, 29 Sep 2011 09:46:11 -0700 (PDT)


This may be a serial setup problem. Make sure you have specified no hardware handshake on the terminal emulator setup.


From: Jim Jackson <>
To:
Sent: Thursday, September 29, 2011 12:41 PM
Subject: Re: [ts-7000] Re: TS-7250 seems inoperative

 


On Thu, 29 Sep 2011, Mike Dodd wrote:

> I confirmed that the serial port on the Linux box can talk to the
> USB-serial cable on the laptop at 115 kbps -- minicom on Linux, HyperTerm
> on Windows. Good data in both directions, one key at a time from the
> other end.
>
> HOWEVER, neither 7250 will log me in on the serial port. I see the
> standard boot-up messages, but there is NO response when I type 'root' at
> the login prompt.

This is very odd. It _looks_ as if you have some sort of localecho set on
minicom, and a fault in the Terminal -> 7250 serial connection.
Terminal emulators can be set to display the keys you press, this is useful
when connecting to a serial device that does not echo.

> Here is a link to the full minicom session
> <http://mdodd.com/files/minicom_7250.txt> and here is a link to the
> Telnet session <http://mdodd.com/files/telnet_7250.txt>.

from this

Platform: TS-7250 Board (ARM920T) Rev A
Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.

RAM: 0x00000000-0x02000000, [0x00051570-0x01ff9000] available
FLASH: 0x60000000 - 0x62000000, 2048 blocks of 0x00004000 bytes each.
== Executing boot script in 0.100 seconds - enter ^C to abort
RedBoot> fis load vmlinux
RedBoot> exec -c "console=ttyAM0,115200 root=/dev/mtdblock1"

Someone has made it difficult to rescue this! 0.1sec to press control-C
is pushing it. Someone has set a timeout of 1, probably thinking that was
1sec, instead 0.1sec. I'd do an fconfig and set a timeout of at least 20
(2secs).

If you can reboot, and repeatedly press Control-C you should get to a
Redboot prompt (you may have to do it a few times). From there you can
manually boot the board doing this...

fis load vmlinux
exec -c "console=ttyAM0,115200 root=/dev/mtdblock1 init=/bin/sh"

This boots the board straight into a shell with nothing else running.
From the shell you can sort things out and fix any problems.

Mind you, if I'm right and there is something wrong with the serial link to
the board, you'll never get in to the RedBoot prompt.

> The tail-end of the minicom session, showing the serial login attempt and
> messages resulting from Telnet activity looks like this:

Given you can get in via telnet as root, maybe you can confirm that what is
running, and check that the correct getty is running on /dev/ttyAM0

>
> ----------------
> Starting telnetd...
> Starting apache.../www/apache/bin/apachectl start: httpd started
>
> Technologic Systems TS-LINUX/arm 7.0
> operator login: root [NO RESPONSE ON SERIAL PORT]
>
> THIS SHOWED UP WHEN I LOGGED INTO THE 7250 USING TELNET---> login[81]: root login on `pts/0'
>
> ls -l [NO RESPONSE ON SERIAL PORT]
>
> THIS SHOWED UP WHEN I ISSUED 'SHUTDOWN -H NOW' ON TELNET ---> login[82]: root login on `pts/0'
>
> INIT: Switching to runlevel: 0
> INIT: Sending pro?
> The system is going down NOW !!
> Sending SIGTERM to all processes.
> INIT: no more processes left in this runlevel
> Sending SIGKILL to all processes.
> System halted.
> ----------------
>
> I'm stumped. Why won't either 7250 log me in on the serial port?
>
> --- Mike
>
>
>




__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU