* [U-Boot] xHCI on x86
@ 2016-07-13 6:20 Stefan Roese
2016-07-15 3:19 ` Simon Glass
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Roese @ 2016-07-13 6:20 UTC (permalink / raw)
To: u-boot
Hi!
I'm currently trying to get xHCI working on some BayTrail based
x86 boards. For this I've added DM support to xhci-pci and made a
small change to cache.h to enable compilation of the xhci driver on
x86 (please find those 2 patches attached - I'll send then to the
list once this is resolved). But I noticed that the xhci driver
hangs in xhci_queue_command() in this line:
xhci_writel(&ctrl->dba->doorbell[0], DB_VALUE_HOST);
when first writing to the doorbell register. Reading from this doorbell
register still works just fine.
IIRC, Simon has mentioned that xHCI still has some "issues" on x86.
Simon, is this what you have seen as well? Does anyone have some ideas
how to solve this?
Thanks,
Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-x86-cache.h-Add-default-for-CONFIG_SYS_CACHELINE_SIZ.patch
Type: text/x-diff
Size: 1163 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160713/d0a2abee/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-WIP-usb-xhci-pci-Add-DM-support.patch
Type: text/x-diff
Size: 2631 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160713/d0a2abee/attachment-0001.patch>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] xHCI on x86
2016-07-13 6:20 [U-Boot] xHCI on x86 Stefan Roese
@ 2016-07-15 3:19 ` Simon Glass
2016-07-18 10:42 ` Stefan Roese
0 siblings, 1 reply; 3+ messages in thread
From: Simon Glass @ 2016-07-15 3:19 UTC (permalink / raw)
To: u-boot
Hi,
On 13 July 2016 at 00:20, Stefan Roese <sr@denx.de> wrote:
> Hi!
>
> I'm currently trying to get xHCI working on some BayTrail based
> x86 boards. For this I've added DM support to xhci-pci and made a
> small change to cache.h to enable compilation of the xhci driver on
> x86 (please find those 2 patches attached - I'll send then to the
> list once this is resolved). But I noticed that the xhci driver
> hangs in xhci_queue_command() in this line:
>
> xhci_writel(&ctrl->dba->doorbell[0], DB_VALUE_HOST);
>
> when first writing to the doorbell register. Reading from this doorbell
> register still works just fine.
>
> IIRC, Simon has mentioned that xHCI still has some "issues" on x86.
> Simon, is this what you have seen as well? Does anyone have some ideas
> how to solve this?
I'm really not sure what is wrong, sorry. The discussion about
enabling the pin settings correctly may be relevant since I believe
two GPIOs need to be set up for both ports to work, and that patch was
never cleaned up and applied, so far as I know...
Regards,
Simon
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] xHCI on x86
2016-07-15 3:19 ` Simon Glass
@ 2016-07-18 10:42 ` Stefan Roese
0 siblings, 0 replies; 3+ messages in thread
From: Stefan Roese @ 2016-07-18 10:42 UTC (permalink / raw)
To: u-boot
Hi Simon,
On 15.07.2016 05:19, Simon Glass wrote:
> On 13 July 2016 at 00:20, Stefan Roese <sr@denx.de> wrote:
>> Hi!
>>
>> I'm currently trying to get xHCI working on some BayTrail based
>> x86 boards. For this I've added DM support to xhci-pci and made a
>> small change to cache.h to enable compilation of the xhci driver on
>> x86 (please find those 2 patches attached - I'll send then to the
>> list once this is resolved). But I noticed that the xhci driver
>> hangs in xhci_queue_command() in this line:
>>
>> xhci_writel(&ctrl->dba->doorbell[0], DB_VALUE_HOST);
>>
>> when first writing to the doorbell register. Reading from this doorbell
>> register still works just fine.
>>
>> IIRC, Simon has mentioned that xHCI still has some "issues" on x86.
>> Simon, is this what you have seen as well? Does anyone have some ideas
>> how to solve this?
>
> I'm really not sure what is wrong, sorry. The discussion about
> enabling the pin settings correctly may be relevant since I believe
> two GPIOs need to be set up for both ports to work, and that patch was
> never cleaned up and applied, so far as I know...
I see.
I my case, it's not related to the GPIO issue - as the ports are not
enabled via GPIO on the Congatec board where I'm currently testing on.
I've updated the xHCI PCI support a bit (no hangup any more, but still
not working correctly) and will post the current version as WIP today,
as I need to switch to some other tasks for a while. Perhaps someone
else is interested in xHCI on x86 enough to take a look at it in the
meantime...
Thanks,
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-07-18 10:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-13 6:20 [U-Boot] xHCI on x86 Stefan Roese
2016-07-15 3:19 ` Simon Glass
2016-07-18 10:42 ` Stefan Roese
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox