All of lore.kernel.org
 help / color / mirror / Atom feed
From: michael at siptele.com <michael@siptele.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] usb-otg mode
Date: Tue, 29 Aug 2017 11:47:38 +0300	[thread overview]
Message-ID: <023801d320a3$79c10f90$6d432eb0$@com> (raw)


Hello u-booters!

I have bought a TV box (with Android). I want to install Linux on this box.
Inserting sd card with Linux image did nothing.

As I did not want to break the box, I spend several days compiling u-boot
with usbtty to get some insight to the TV box.
Starting the TV box with my compiled spl.bin "sunxi-fel uboot
u-boot-sunxi-with-spl.bin" did not show me any usbtty on my host device and
I couldn't see a thing.

Then, I discovered that I can open the TV box without breaking it. I welded
USB UART to the console pins and bingo! I get console messages and can
intercut with the u-boot console.

Apparently, booting the box with "sunxi-fel uboot u-boot-sunxi-with-spl.bin"
Starts the box in normal usb mode. (not otg). So, the usb detach from the
host machine
And the console over usbtty does not reach it.

Can we program the u-boot to start the USB in usb-otg mode?

Thank you,

Michael

                 reply	other threads:[~2017-08-29  8:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='023801d320a3$79c10f90$6d432eb0$@com' \
    --to=michael@siptele.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.