Russell King - ARM Linux [off-list ref] writes:
On Mon, Nov 16, 2009 at 08:43:20AM -0800, Brian Swetland wrote:
quoted
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