From mboxrd@z Thu Jan 1 00:00:00 1970 From: broonie@opensource.wolfsonmicro.com (Mark Brown) Date: Fri, 7 Oct 2011 15:23:45 +0100 Subject: Long stalls during boot with -next In-Reply-To: References: <20110929125035.GA2085@sirena.org.uk> <20111007115047.GC24534@sirena.org.uk> Message-ID: <20111007142343.GH14518@opensource.wolfsonmicro.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, Oct 07, 2011 at 06:57:19PM +0530, Thomas Abraham wrote: > On 7 October 2011 17:20, Mark Brown wrote: > > I identified the problem here, the behaviour of LL_DEBUG was changed to > > make it select DEBUG_ICEDCC by default which is unfortunate if one > > doesn't have an EmbeddedICE connected. > Thanks for your suggestion. The long stall during boot problem occurs > on Samsung boards as well with linux-next. As per your suggestion, the > following diff fixes this issue. Excellent, I'm using this now - please add my Tested-by: Mark Brown when you send it out properly! > diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug > index 65cf8c6..035f5cd 100644 > --- a/arch/arm/Kconfig.debug > +++ b/arch/arm/Kconfig.debug > @@ -120,6 +120,15 @@ choice > Say Y here if you want the debug print routines to direct > their output to the second serial port on these devices. > > + config DEBUG_SAMSUNG_UART > + bool "Kernel low-level debugging messages via samsung serial port" > + depends on PLAT_SAMSUNG > + help > + Say Y here if you want the debug print routines to direct > + their output to the serial port for Samsung platforms. Choose > + the uart port with the "S3C UART to use for low-level debug" > + config option. > + > endchoice > > config EARLY_PRINTK > @@ -139,7 +148,7 @@ config OC_ETM > kernel code. > > config DEBUG_S3C_UART > - depends on PLAT_SAMSUNG > + depends on DEBUG_SAMSUNG_UART > int "S3C UART to use for low-level debug" > default "0" > help