Hello John,
I did as you said i.e., changed the number of UARTS to 3 in the 
/ti-davinci/arch/arm/defconfig file. And I recompiled
the kernel. But its still the same issue....

The output of /proc/tty/driver/serial is 
serinfo:1.0 driver revision:
0: uart:16550A mmio:0x01C20000 irq:40 tx:2175 rx:96 RTS|CTS|DTR|DSR
1: uart:unknown port:00000000 irq:0

Also there is no /dev/ttyS2 at all in the dev folder. And the UART2 is 
definitely enabled in the Pimux registers. the output of /proc/pinmux is 

PINMUX0 = 0x80030c1f
  31   AEAW     Number of address bits enabled on the AEMIF - 22
   1   AECS4    Enable AEMIF ECS4 chip select
   1   AECS5    Enable AEMIF ECS5 chip select
   0   VLYNQWD  Sets VLYNQ data width
   0   VLSCREN  Enable VLYNQ SCRUN pin function
   0   VLYNQEN  Enable VLYNQ module pins
   1   HDIREN   Enable ATADIR DIR output on GPIO42/SPI_EN1
   1   ATAEN    Enable ATA module pins
   0   RGB666   Enable VideoOut extended RGB666 mode outputs on GIOs
   0   RGB888   Enable VideoOut extended RGB888 mode outputs on GIOs
   0   LOEEN    Enable LCD_OE pin function on GPIO0
   0   LFLDEN   Enable LCD_FIELD pin function on GPIO1
   0   CWEN     Enable CCD _C_WEN function on GPIO3/B0
   0   CFLDEN   Enable CCD C_FIELD pin function on GPIO4/R0
   1   EMACEN   Enable EMAC and MDIO function on default GPIO3V[0:16] pins.
PINMUX1 = 0x0000048d
   1   UART0    Enable UART0 on GPIO[35:36]
   0   UART1    Enable UART1 on ATA DMACK and DMARQ
   1   UART2    Enable UART2
   1   U2FLO    Enable UART2 flow control on Upper CCD/Chroma signals
   0   PWM0     Enable PWM0 on GPIO45
   0   PWM1     Enable PWM1 on GPIO46/R2
   0   PWM2     Enable PWM2 on GPIO47/B2
   1   I2C      Enable I2C on GPIO[43:44]
   0   SPI      Enable SPI on GPIO[37,39,40,41,42]
   0   MSTK     Enable Memory Stick/MMC/SD
   1   McBSP    Enable McBSP function on default GPIO[29:34] pins
   0   CLK0     Enable CLKOUT0 on GPIO48
   0   CLK1     Enable CLKOUT1 on GPIO49
   0   TIMIN    Enable TIM_IN on GPIO49 / CLKOUT1

Also during bootup i notice the following sequence. Doesnt make sense to me...

Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
Registering platform device 'serial8250'. Parent at platform
ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A

It still says it has only 2 ports... How could that happen..... 
I'm still clueless as to what went wrong... Can you figure it out...
 
Thanks,
Preetham

John Ronald Taneza <[EMAIL PROTECTED]> wrote: > Also now I'm facing a new 
problem:
> 
> I've made the changes as recommended by the mailing list in
board-evm.c
> serial.c and clock.c as shown by this link:
>
http://www.mail-archive.com/[EMAIL PROTECTED]
om/msg02308.html
> 
> But i'm still not able to enable UART2. Is there anything extra that
must be done.

In .config, you must set #uarts to 3:

  CONFIG_SERIAL_8250_NR_UARTS=3

Also, the uart ports are /dev/ttySx, ex. /dev/ttyS2 for uart2.

Lastly, verify that uart2 is enabled in pinmux. Check /proc/pinmux.

-Ronald


 Send instant messages to your online friends http://uk.messenger.yahoo.com 
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to