From: Pavel Machek <pavel@ucw.cz>
To: Andrea Adami <andrea.adami@gmail.com>
Cc: zaurus-devel@www.linuxtogo.org,
kernel list <linux-kernel@vger.kernel.org>
Subject: 8250 vs pxa_serial (was Re: pxa27x/spitz: serials in recent kernels)
Date: Tue, 12 Apr 2011 21:39:43 +0200 [thread overview]
Message-ID: <20110412193943.GA30089@elf.ucw.cz> (raw)
In-Reply-To: <AANLkTikJD3+HSoHbq2BxAyYbtGik8QizuRv=rkPEtJXN@mail.gmail.com>
Hi!
> > I cculd not get serial port to work in recent kernels (2.6.35 was
> > oldest I tried). I know they are little used but still very useful for
> > debugging.
> >
> > Is there some special config that needs to be done?
> > Pavel
>
> I have output on ttyS0 using the Sharp cable, never had issues.
> Remember that bootloader is 9600n8 while kernels are usually 115200n8.
Ok, I know what is going on. I need both PXA_SERIAL and 8250... and
these two don't go well together.
I tried:
CONFIG_SERIAL_8250=y
# CONFIG_SERIAL_8250_CONSOLE is not set
CONFIG_SERIAL_8250_CS=y
CONFIG_SERIAL_8250_NR_UARTS=1
CONFIG_SERIAL_8250_RUNTIME_UARTS=0
# CONFIG_SERIAL_8250_EXTENDED is not set
#
# Non-8250 serial port support
#
# CONFIG_SERIAL_MAX3100 is not set
# CONFIG_SERIAL_MAX3107 is not set
CONFIG_SERIAL_PXA=y
CONFIG_SERIAL_PXA_CONSOLE=y
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
(BTW should 8250_RUNTIME_UARTS be called "boottime uarts"? That's what
help says).
...but no luck. As soon as I enable 8250, pxa serials stop working
:-(.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
next prev parent reply other threads:[~2011-04-12 19:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-15 19:21 pxa27x/spitz: serials in recent kernels Pavel Machek
[not found] ` <AANLkTikJD3+HSoHbq2BxAyYbtGik8QizuRv=rkPEtJXN@mail.gmail.com>
2011-04-12 19:39 ` Pavel Machek [this message]
2011-04-12 20:39 ` [Zaurus-devel] 8250 vs pxa_serial (was Re: pxa27x/spitz: serials in recent kernels) Dmitry Eremin-Solenikov
2011-04-13 13:28 ` Pavel Machek
2011-04-13 13:43 ` Dmitry Eremin-Solenikov
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=20110412193943.GA30089@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=andrea.adami@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=zaurus-devel@www.linuxtogo.org \
/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
all inboxes | Powered by JetHome®