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

From: Robert Jarzmik
Date: Mon Nov 16 2009 - 13:57:12 EST


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