All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mohammed Mohisin <mohammedmohisin@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Fwd: U-boot xHCI endianes issues
Date: Mon, 25 Apr 2016 22:09:30 +0530	[thread overview]
Message-ID: <CAAZs3Ww7X2JeFknkK4Wpo3Dv+VOphLSn8iiKG=0GoP0VNODLKw@mail.gmail.com> (raw)
In-Reply-To: <CAAZs3WzCyaXgGKwHJqOKGoLDwEFJq+RrnHPkp4FUEF4GVHB6-Q@mail.gmail.com>

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

           reply	other threads:[~2016-04-25 16:39 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <CAAZs3WzCyaXgGKwHJqOKGoLDwEFJq+RrnHPkp4FUEF4GVHB6-Q@mail.gmail.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAAZs3Ww7X2JeFknkK4Wpo3Dv+VOphLSn8iiKG=0GoP0VNODLKw@mail.gmail.com' \
    --to=mohammedmohisin@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.