From: Ashlesha Shintre <ashlesha@kenati.com>
To: Atsushi Nemoto <anemo@mba.ocn.ne.jp>,
Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: linux-mips@linux-mips.org
Subject: Serial 8250 driver registration:
Date: Thu, 07 Dec 2006 18:01:45 -0800 [thread overview]
Message-ID: <1165543305.6512.17.camel@sandbar.kenati.com> (raw)
In-Reply-To: <20061208.101112.108306293.nemoto@toshiba-tops.co.jp>
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.
next prev parent reply other threads:[~2006-12-08 1:49 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-05 19:23 serial console: platform_device Ashlesha Shintre
2006-12-05 19:42 ` Sergei Shtylyov
2006-12-05 20:48 ` Ashlesha Shintre
2006-12-05 20:46 ` Sergei Shtylyov
2006-12-06 0:30 ` Ashlesha Shintre
2006-12-06 12:59 ` Sergei Shtylyov
2006-12-06 19:49 ` Ashlesha Shintre
2006-12-06 19:54 ` Sergei Shtylyov
2006-12-07 0:13 ` Cant analyze prologue code Ashlesha Shintre
2006-12-07 1:37 ` Atsushi Nemoto
2006-12-07 3:39 ` Ashlesha Shintre
2006-12-07 4:13 ` Atsushi Nemoto
[not found] ` <1165534711.6512.10.camel@sandbar.kenati.com>
[not found] ` <20061208.101112.108306293.nemoto@toshiba-tops.co.jp>
2006-12-08 2:01 ` Ashlesha Shintre [this message]
2006-12-08 12:59 ` Serial 8250 driver registration: Sergei Shtylyov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1165543305.6512.17.camel@sandbar.kenati.com \
--to=ashlesha@kenati.com \
--cc=anemo@mba.ocn.ne.jp \
--cc=linux-mips@linux-mips.org \
--cc=sshtylyov@ru.mvista.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox