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: "Rod" <>
Date: Fri, 09 Jul 2010 17:56:58 -0000

--- In  "Blair" <> wrote:
>
> 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.

Thanks for your reply.

I see in the boot messages and in dmesg:

 "Serial: AMBA driver $Revision: 1.1.1.1 $"
 "apb:uart1: ttyAM0 at MMIO 0x808c0000 (irq = 52) is a AMBA"
 "apb:uart2: ttyAM1 at MMIO 0x808d0000 (irq = 54) is a AMBA"
 "apb:uart3: ttyAM2 at MMIO 0x808e0000 (irq = 55) is a AMBA"

and then a little further down, the warning:

 "Warning: unable to open an initial console."

and then a little further still...

 "TS-UART: TS-7390 not detected"

I'm not sure about the relationship between these two, if any, but the driver 
seems to be present, although the TS-UART driver may not actually be doing 
anything (and perhaps is not needed/functional on the TS-7350 hardware).

After looking more closely at the schematic, I see that the EP9302 has two 
internal UARTS, which I assume are ttyAM0 and ttyAM1. Since the third and all 
remaining UARTS are said to be implemented in the FPGA, I don't quite see 
why/how there are three similarly named UARTS mentioned in the boot messages.

The drivers that seem to apply to this are now included in the TS kernel source 
release, but when I try to build them as built-ins, I get a lot of errors about 
multiply-defined symbols, which I do not understand. It seems like it might 
have to do with support for other similar hardware, but I'm not enough of a 
kernel builder to fully understand it. 

I just don't get why the kernel is able to emit messages to the UART/serial 
port at the start of the boot, but then fails later on. Perhaps I need to 
remove some driver(s) form the kernel?

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