[PATCH] KVM/arm: kernel low level debug support for ARM32 virtual platforms

Russell King - ARM Linux linux at arm.linux.org.uk
Tue Nov 3 09:33:44 PST 2015


On Tue, Nov 03, 2015 at 11:33:17AM -0500, Christopher Covington wrote:
> > diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
> > index a2e16f9..d126bd4 100644
> > --- a/arch/arm/Kconfig.debug
> > +++ b/arch/arm/Kconfig.debug
> > @@ -1155,6 +1155,28 @@ choice
> >  		  This option selects UART0 on VIA/Wondermedia System-on-a-chip
> >  		  devices, including VT8500, WM8505, WM8650 and WM8850.
> >  
> > +	config DEBUG_VIRT_UART_QEMU
> > +		bool "Kernel low-level debugging on QEMU Virtual Platform"
> > +		depends on ARCH_VIRT
> > +		select DEBUG_UART_PL01X
> > +		help
> > +		  Say Y here if you want the debug print routines to direct
> > +		  their output to PL011 UART port on QEMU Virtual Platform.
> > +		  Appropriate address values are:
> > +			PHYS		VIRT
> > +			0x9000000	0xf8090000
> 
> I thought the only guarantee the virt machine had about the memory map was
> that it would be described in the device tree.

This LL debug stuff is used prior to device tree being parsed.

-- 
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.



More information about the linux-arm-kernel mailing list