Re: Boot hang regression 3.10.0-rc4 -> 3.10.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Tony Lindgren <tony@xxxxxxxxxxx> [130708 04:32]:
> * Bedia, Vaibhav <vaibhav.bedia@xxxxxx> [130705 06:37]:
> > On Fri, Jul 05, 2013 at 18:50:10, Bedia, Vaibhav wrote:
> > > Hi Tony,
> > > 
> > > On Fri, Jul 05, 2013 at 17:29:59, Tony Lindgren wrote:
> > > > * Bedia, Vaibhav <vaibhav.bedia@xxxxxx> [130705 01:17]:
> > > > > 
> > > > > I just checked the behavior on my AM335x-EVM. Current mainline boots fine
> > > > > provided I don't use earlyprintk.  The offending patch [1] in this case is the one
> > > > > that tries to get rid of omap_serial_early_init() for DT boot. This change inadvertently
> > > > > also results in the console UART getting reset and idled during bootup and that's where
> > > > > the boot stops for you. I think if you skip earlyprintk from the bootargs you should see
> > > > > the system booting fine. 
> > > > > 
> > > > > I guess we need to retain the NO_IDLE and NO_RESET aspect for the console UART in
> > > > > omap_serial_early_init() to get earlyprintk working again.
> > > > 
> > > > Hmm nothing should get idled while earlyprintk is running, and then when the
> > > > serial driver kicks in it should not idle anything by default. And for DT based
> > > > booting we should not have mach-omap2/serial.c initialize anything.
> > > > 
> > > 
> > > If I add in the HWMOD flags without any reverts I get to the point where the serial driver
> > > comes up but the boot eventually stops [1]. Without the flags the boot stops much earlier [2]
> > > just like Mark reported.
> > > 
> > 
> > Err.. the log with HWMOD flags added is [2] and without flags is [1]. Sorry for the confusion.
> 
> It sounds like something needs to be fixed for am33xx as omap3 and omap4
> won't hang with earlyprintk. Almost certainly mach-omap2/serial.c should not
> be needed at all for am33xx, and the bug is somewhere else.

Oops, sorry correction: I'm seeing it, I did not have console=ttyO
earlier in my cmdline. It seems that omap-serial.c console suspends
the hardware while earlyprintk is still trying to access it?

Regards,

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux