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
>
>
>
------------------------------------
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/
|