I would like to avoid using the TS-9445 diagnostics interface for production
applications, but I still need to use a serial console. I have re-built the
kernel with kernel arguments specifying ttyAM1 as the console, and it seems
like it *wants to* work. I get a flow of the usual boot messages (but not from
the bootloader, of course), but interspersed in it, I see:
"Warning: unable to open an initial console."
In init/main.c, this results form not being able to open "/dev/console", which
also exists. Somehow, "/dev/console" is supposed to become some kind of alias
for the last console specified on the kernel argument list of consoles.
To confirm that the kernel arguments are making being recognized, I see also:
"ts7000 kernel: Kernel command line: root=/dev/ram0 rw init=/linuxrc
lpj=498688 console=ttyAM1,115200N81"
I also see:
ts7000 kernel: apb:uart1: ttyAM0 at MMIO 0x808c0000 (irq = 52) is a AMBA
ts7000 kernel: apb:uart2: ttyAM1 at MMIO 0x808d0000 (irq = 54) is a AMBA
ts7000 kernel: apb:uart3: ttyAM2 at MMIO 0x808e0000 (irq = 55) is a AMBA
and the device entry for ttyAM1 exists:
0 crw-rw---- 1 root dialout 204, 17 Jan 1 00:00 /dev/ttyAM1
I have both added and removed an entry for /dev/ttyAM1 to spawn a getty in
/etc/inittab. The port ttyAM1 works; I can read data from it using the same
terminal I connect to ttyAM0.
Can anyone help with this? The TS website seems to be silent on the matter,
except to say that a TS-9445 is required to use a serial console. I don't see
why it shouldn't work.
Thanks.
--- rod.
------------------------------------
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/
|