* USB Host port inoperative after kexec on Beagleboard
@ 2012-01-09 22:02 Peter Chubb
0 siblings, 0 replies; 3+ messages in thread
From: Peter Chubb @ 2012-01-09 22:02 UTC (permalink / raw)
To: Will.deacon; +Cc: linux-kernel, kexec, linux-omap
Hi Will,
Thanks for the fixes to kexec for ARM that went into mainline this
week. Mostly things work now.
One issue: the USB EHCI port on the (rev C2) beagleboard doesn't
work after a kexec. During boot after kexec, the host device is
detected and initialised, but nothing plugged in works, even when
everything was working corectly before the kexec. Das U-boot
must set up something that is then undone during the kexec reboot.
I've traced all calls to clk_enable() and clk_disable(), and
everything looks all right --- in particular I can't see
anything explicitly disabled during kexec that isn't reenabled
during boot of the subsequent kernel.
Voltages that I can measure look correct on the port.
Do you have any suggestions as to what else could be wrong?
--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au
http://www.ertos.nicta.com.au ERTOS within National ICT Australia
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: USB Host port inoperative after kexec on Beagleboard
[not found] ` <w4wr90wmrx.wl%peter-LkDQP0DxSMGxwJ88Py/mJxCuuivNXqWP@public.gmane.org>
@ 2012-01-09 22:54 ` Will Deacon
[not found] ` <20120109225403.GB23090-MRww78TxoiP5vMa5CHWGZ34zcgK1vI+I0E9HWUfgJXw@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Will Deacon @ 2012-01-09 22:54 UTC (permalink / raw)
To: Peter Chubb
Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
kexec-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
On Mon, Jan 09, 2012 at 10:09:54PM +0000, Peter Chubb wrote:
>
> Hi Will,
Hi Peter [adding linux-arm-kernel],
> Thanks for the fixes to kexec for ARM that went into mainline this
> week. Mostly things work now.
Great, that's good to hear!
> One issue: the USB EHCI port on the (rev C2) beagleboard doesn't
> work after a kexec. During boot after kexec, the host device is
> detected and initialised, but nothing plugged in works, even when
> everything was working corectly before the kexec. Das U-boot
> must set up something that is then undone during the kexec reboot.
Ouch. Have you had a chance to look at the u-boot sources to see what it
does?
> I've traced all calls to clk_enable() and clk_disable(), and
> everything looks all right --- in particular I can't see
> anything explicitly disabled during kexec that isn't reenabled
> during boot of the subsequent kernel.
>
> Voltages that I can measure look correct on the port.
>
> Do you have any suggestions as to what else could be wrong?
I'm afraid I'm not familiar with the Beagleboard, so I can't begin to guess.
Have you tried re-initialising the host controller in the new kernel
manually (perhaps my building the driver as a module and {un}loading it a
few times?). It could be that some hardware state persists across the kexec
and it just needs resetting.
Will
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: USB Host port inoperative after kexec on Beagleboard
[not found] ` <20120109225403.GB23090-MRww78TxoiP5vMa5CHWGZ34zcgK1vI+I0E9HWUfgJXw@public.gmane.org>
@ 2012-01-09 23:03 ` Will Deacon
0 siblings, 0 replies; 3+ messages in thread
From: Will Deacon @ 2012-01-09 23:03 UTC (permalink / raw)
To: Peter Chubb
Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
kexec-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
On Mon, Jan 09, 2012 at 10:54:03PM +0000, Will Deacon wrote:
> On Mon, Jan 09, 2012 at 10:09:54PM +0000, Peter Chubb wrote:
> >
> > Hi Will,
>
> Hi Peter [adding linux-arm-kernel],
*Actually* adding linux-arm-kernel this time...
>
> > Thanks for the fixes to kexec for ARM that went into mainline this
> > week. Mostly things work now.
>
> Great, that's good to hear!
>
> > One issue: the USB EHCI port on the (rev C2) beagleboard doesn't
> > work after a kexec. During boot after kexec, the host device is
> > detected and initialised, but nothing plugged in works, even when
> > everything was working corectly before the kexec. Das U-boot
> > must set up something that is then undone during the kexec reboot.
>
> Ouch. Have you had a chance to look at the u-boot sources to see what it
> does?
>
> > I've traced all calls to clk_enable() and clk_disable(), and
> > everything looks all right --- in particular I can't see
> > anything explicitly disabled during kexec that isn't reenabled
> > during boot of the subsequent kernel.
> >
> > Voltages that I can measure look correct on the port.
> >
> > Do you have any suggestions as to what else could be wrong?
>
> I'm afraid I'm not familiar with the Beagleboard, so I can't begin to guess.
> Have you tried re-initialising the host controller in the new kernel
> manually (perhaps my building the driver as a module and {un}loading it a
> few times?). It could be that some hardware state persists across the kexec
> and it just needs resetting.
>
> Will
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-01-09 23:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <w4wr90wmrx.wl%peter@chubb.wattle.id.au>
[not found] ` <w4wr90wmrx.wl%peter-LkDQP0DxSMGxwJ88Py/mJxCuuivNXqWP@public.gmane.org>
2012-01-09 22:54 ` USB Host port inoperative after kexec on Beagleboard Will Deacon
[not found] ` <20120109225403.GB23090-MRww78TxoiP5vMa5CHWGZ34zcgK1vI+I0E9HWUfgJXw@public.gmane.org>
2012-01-09 23:03 ` Will Deacon
2012-01-09 22:02 Peter Chubb
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).