Serial 8250 driver registration:

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Yeah, i thought you might have meant that :-)

i m starting to think that the uartclk parameter that i pass to the
platform_add_devices function might be wrong --

i m passing the standard value of 1843200 for a baudrate of 115200...

now the output after the board specific encm3_platform_init function is
called, is the kernel messages with mostly alternate characters missing,
like so:


> 1000 s 1.5 P P <o@d.>
> 0: A1 Ee d  01500000,  28
> 0: Bd BCM5221 10/100 BT PHY   e 0
> 0: U Bd BCM5221 10/100 BT PHY  a
> 1: A1 Er   01510000,  29
> 1: Bo BCM5221 10/100 BT PHY   r 0
> 1: U Bo BCM5221 10/100 BT PHY  a
> NET: Rt c l 2
> IP   h  e r: 1024 (r: 0, 4096 )
> TCP a  e r: 4096 (r: 2, 16384 e)
> TCP   e r: 4096 (r: 2, 16384 e)
> TCP: H e i (b 4096 d 4096)
> TCP o i
> TCP  t
> NET: Re c l 1
> NET: Rs t y 17
> IP-Ci: Gs m 255.255.255.0
> IP-C:: Ce:
>       c=0, =192.168.1.147, =255.255.255.0, =255.255.255.255,
>      =192.168.1.147, ==, -n=(e)<6>0: n  l x
> ,
>      s=255.255.255.255, s=192.168.1.8, p=
>  d c n
>  i  n
> Ln  t  RPC 100003/2  192.168.1.8
> Li    RPC 100005/1  192.168.1.8
> VFS: Me  ( y).
> Fi e e y: 128

Could there be another cause for this?
This is my platform_device structure:


> static struct plat_serial8250_port encm3_via_uart_data[] = {
>                 {
>                         .iobase         = 0x3f8,                        //iobase address
> //                      .membase        = (char *)(0x50000000 + 0x3f8),         // is a pointer - ioremap cookie or NULL
>                         .irq            = INT_PIC_4,    // interrupt 4 from the 8259 on the southbridge
> //                      .flags          = UPF_SHARE_IRQ, //| UPF_SKIP_TEST |
>                         .flags          = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST | UPF_AUTO_IRQ,
>                         .iotype         = UPIO_PORT,
>                         .regshift       = 1,
>                         .uartclk        = 1843200,
> 
>                                             },
>                         { },
> };


Regards,
Ashlesha.



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux