public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Nikolai Zhubr <n-a-zhubr@yandex.ru>
To: u-boot@lists.denx.de
Subject: [U-Boot] [linux-sunxi] A20-olinuxino-micro hangs in U-boot if powered from MINI-USB only.
Date: Tue, 25 Dec 2018 00:54:26 +0300	[thread overview]
Message-ID: <5C215592.3030506@yandex.ru> (raw)
In-Reply-To: <439238967.14129659.1545681249039@mail.yahoo.com>

Hi,
24.12.2018 22:54, John S:
> On Monday, 24 December 2018, 19:10:24 GMT, Nikolai Zhubr<n-a-zhubr@yandex.ru>  wrote:
>>> Hi,24.12.2018 20:32, Diego Roversi:
>>>> I'm observing that the said A20-onlinuxino-micro board hangs in U-boot
>>> in probing USB2 (see example below) in case it is powered by connecting
>>>
>>> I think it's normal. During the boot, u-boot initialize the usb otg, and for a
>>> fraction of second the power is disconnected. I solved it by attaching a
>>> battery (and I have a PSU as a side effect :) ).
>
>> Ah, got it. Thats a funny issue then. Its not the software to blame. Ok.
>> (Ideally, this peculiarity should probably have been mentioned by Olimex
>> in their docs, but maybe I've overlooked it.)
>> Solved it for now by disabling USB altogether.
>
> Isn't it caused by the software as stated above, i.e. nothing to do with Olimex?

Well, IMHO is has to do with Olimex because they designed this specific 
circuitry, and the circuitry is such that 5V voltage constantly applied 
to the micro-usb connector might essentially become disconnected (at the 
board side) by programming -- if I understood it correctly. I suppose 
this certainly could be prevented in hardware, by e.g. just wiring the 
5V usb line to a power unit through a diode, whatever, unless it is 
prohibited by some sort of usb compatability requirements. I don't know 
if it would be good though. Of course the effect is caused by software 
in some sence, but the software can not know that there is no other 
power supply line present when it probes this usb port? Or could it 
indeed? I'm not sure if AXP state could be somehow probed to do a 
workaround, in theory, but that would be an extreme overcomplication anyway.


Thank you,

Regards,
Nikolai



>
> John
>

  reply	other threads:[~2018-12-24 21:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-23 22:04 [U-Boot] A20-olinuxino-micro hangs in U-boot if powered from MINI-USB only Nikolai Zhubr
2018-12-24 17:32 ` [U-Boot] [linux-sunxi] " Diego Roversi
2018-12-24 19:27   ` Nikolai Zhubr
2018-12-24 19:54     ` John S
2018-12-24 21:54       ` Nikolai Zhubr [this message]
2018-12-27 20:48         ` John S
2018-12-27 22:20           ` Nikolai Zhubr

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=5C215592.3030506@yandex.ru \
    --to=n-a-zhubr@yandex.ru \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox