Hi, Bob.

1. check this file: linux\drivers\serial\mcfserial.c:

Make sure you have the following. If not, you need to update this file
from the current version of uClinux kernel.

static struct mcf_serial mcfrs_table[] = {
        {  /* ttyS0 */
                .magic = 0,
                .addr = (volatile unsigned char *)
(MCF_MBAR+MCFUART_BASE1),
                .irq = IRQBASE,
                .flags = ASYNC_BOOT_AUTOCONF,
        },
#ifdef MCFUART_BASE2
        {  /* ttyS1 */
                .magic = 0,
                .addr = (volatile unsigned char *)
(MCF_MBAR+MCFUART_BASE2),
                .irq = IRQBASE+1,
                .flags = ASYNC_BOOT_AUTOCONF,
        },
#endif
#ifdef MCFUART_BASE3
    {  /* ttyS2 */
        .magic = 0,
        .addr = (volatile unsigned char *) (MCF_MBAR+MCFUART_BASE3),
        .irq = IRQBASE+2,
        .flags = ASYNC_BOOT_AUTOCONF,
    },
#endif
};

2.you need to configure the pins third serial port is using in this
function:

static void mcfrs_irqinit(struct mcf_serial *info)
{
...
}

Have fun,


Allen


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob Grimes
Sent: Wednesday, April 02, 2008 12:12 PM
To: uClinux Mailing List
Subject: [uClinux-dev] Third serial port on Freescale Coldfire mcv5329

Hi all,

I'm using a customized Freescale M5329EVB-based board, and want to use
the third Coldfire serial port.  The first two serial ports of the
mcf5329 chip work fine, as one would expect; however, the third
doesn't.  Looking at the kernel boot messages, I see the following:

   ColdFire internal UART serial driver version 1.00
   ttyS0 at 0xfc060000 (irq = 90) is a builtin ColdFire UART
   ttyS1 at 0xfc064000 (irq = 91) is a builtin ColdFire UART

Does anyone know why the third port is not showing up, and what I
should do to fix that?

I'm guessing a (hardware) pin conflict between the third serial port
and other on-chip peripherals may be the reason the third port isn't
supported, but perhaps I'm confused.

TIA,
-Bob
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev





The information contained in this email and attachments to this email are the 
proprietary and confidential property 
of Nucomm, Inc.  The information is provided in strict confidence and shall not 
be reproduced, copied, or
used (partially or wholly) in any manner without prior, express written 
authorization of Nucomm, Inc.

_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to