linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* enabling USB Host controller on ppc405ex based board
@ 2009-11-03  3:04 Jignesh Patel
  2009-11-03  7:33 ` Wolfgang Denk
  0 siblings, 1 reply; 3+ messages in thread
From: Jignesh Patel @ 2009-11-03  3:04 UTC (permalink / raw)
  To: linuxppc-dev@lists.ozlabs.org; +Cc: Mukunda Saddi

Hi,

We have Kilauea based board using ppc405ex. & it has usb-otg tranciever chi=
p on it.

I am trying to enable USB Host Controller Driver in linux kernel (version D=
ENX 2.6.27-stable).  For this to be enabled, I also have to enable PCI in k=
ernel config.
But when I load the kernel uImage with both USB Host Controller & PCI optio=
ns selected in kernel config, the board doesn't boot up properly. Boot proc=
ess halts after loading device tree.

When I load the kernel without PCI options selected, kernel boots up proper=
ly.  But removing PCI config option also removes USB Host Controller option=
s in kernel.

My questions are:
1. Why is PCI config required for USB Host Controller options to be enabled=
 in kernel config?
2. What needs to be done to boot our board with PCI & USB enabled kernel?

Best regards,

-Jignesh=

^ permalink raw reply	[flat|nested] 3+ messages in thread
* Re: enabling USB Host controller on ppc405ex based board
@ 2009-12-20 15:13 Weirich, Bernhard
  0 siblings, 0 replies; 3+ messages in thread
From: Weirich, Bernhard @ 2009-12-20 15:13 UTC (permalink / raw)
  To: linuxppc-dev@lists.ozlabs.org

If you enable PCI on 405EX you MUST have valid clock signals on the PCIE po=
rts. If you do not have these on your board your kernel will hang just as y=
ou said.

I do not know why PCI is required for the USB controller, if it is just for=
 some software interfaces to be present then you can try to remove the PCIE=
 entries from the kilauea.dts device tree.
Then you will be able to boot even without proper clock signals, yet I do n=
ot know whether the USB controller will work.

Best regards,
Bernhard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-12-20 15:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-03  3:04 enabling USB Host controller on ppc405ex based board Jignesh Patel
2009-11-03  7:33 ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2009-12-20 15:13 Weirich, Bernhard

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).