ts-7000
[Top] [All Lists]

[ts-7000] Re: TS-7350, How to use ttyAM1 as serial console

To:
Subject: [ts-7000] Re: TS-7350, How to use ttyAM1 as serial console
From: "Blair" <>
Date: Fri, 09 Jul 2010 14:32:23 -0000
Maybe it's because the UART drivers aren't present during the boot process.  
Try building the driver as built-in rather than as a module.


--- In  "Rod" <> wrote:
>
> 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/

<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