All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] Fwd: U-boot xHCI endianes issues
       [not found] <CAAZs3WzCyaXgGKwHJqOKGoLDwEFJq+RrnHPkp4FUEF4GVHB6-Q@mail.gmail.com>
@ 2016-04-25 16:39 ` Mohammed Mohisin
  0 siblings, 0 replies; only message in thread
From: Mohammed Mohisin @ 2016-04-25 16:39 UTC (permalink / raw)
  To: u-boot

Hi All,

I am running u-boot on ARMv7 - 32 bit in Big Endian mode.
Intially, i was stuck while enumerating the mass storage device after port
change event.

But changing the below @ line 400 in "xhci-mem.c"
@
http://git.denx.de/?p=u-boot.git;a=blob;f=drivers/usb/host/xhci-mem.c;h=37444526f7584cc5d021ee2f9e78b3d785aa4432;hb=HEAD
.

Note:It was also highlighted by Aaron.

    /* Point to output device context in dcbaa. */
    ctrl->dcbaa->dev_context_ptrs[slot_id] = byte_64;

TO
    /* Point to output device context in dcbaa. */
    ctrl->dcbaa->dev_context_ptrs[slot_id] = cpu_to_le64(byte_64);

Solved it... Now the enumeration all happened successfully.

After which the first Bulk transfer is failing with following error msg:
    "XHCI bulk transfer timed out, aborting...\n"

I doubt, i am still missing few more "le to be" conversion which are not
part of latest uboot code

Request ur help.

Regards
Mohamed Mohisin

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-04-25 16:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAAZs3WzCyaXgGKwHJqOKGoLDwEFJq+RrnHPkp4FUEF4GVHB6-Q@mail.gmail.com>
2016-04-25 16:39 ` [U-Boot] Fwd: U-boot xHCI endianes issues Mohammed Mohisin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.