[PATCH 2/3] msm: add minimal board file for HTC Dream device

Robert Jarzmik robert.jarzmik at free.fr
Mon Nov 16 13:56:52 EST 2009


Russell King - ARM Linux <linux at arm.linux.org.uk> writes:

> On Mon, Nov 16, 2009 at 08:43:20AM -0800, Brian Swetland wrote:
>> What's the best way to handle a situation where there is no valid
>> debug uart?  Could the arch/platform require DEBUG_LL be unset via
>> Kconfig directives if it is configured in a way where there is no
>> valid debug uart?
>
> You're the first to have that issue.  Everyone else has a UART they
> can always direct stuff at.

Just for the record, there are machine files without a debug UART, especially in
the smartphone area.

In the PXA subworld I know, the UARTs are often used for :
 - a GSM chip (pxa ffuart)
 - a Bluetooth chip (pxa btuart)
 - a GPS chip (pxa stuart / hwuart)
 - an IR chip (pxa stuart / hwuart)

I didn't check through the mach-pxa/*.c, but mioa701.c accounts for one, and I
think magician and hx4700 would be part of it too. That also means kernel
debugging is _really_ painfull for these platforms.

Cheers.

--
Robert



More information about the linux-arm-kernel mailing list