lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110412193943.GA30089@elf.ucw.cz>
Date:	Tue, 12 Apr 2011 21:39:43 +0200
From:	Pavel Machek <pavel@....cz>
To:	Andrea Adami <andrea.adami@...il.com>
Cc:	zaurus-devel@...ts.linuxtogo.org,
	kernel list <linux-kernel@...r.kernel.org>
Subject: 8250 vs pxa_serial (was Re: pxa27x/spitz: serials in recent
 kernels)

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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ