All of lore.kernel.org
 help / color / mirror / Atom feed
From: m.silentcreek@gmail.com (m.silentcreek at gmail.com)
To: linux-arm-kernel@lists.infradead.org
Subject: BUG - Bananapi USB not working on Mainline
Date: Fri, 18 Dec 2015 12:22:40 -0800 (PST)	[thread overview]
Message-ID: <2331a2bf-bcdc-4653-9098-65d263d57d1b@googlegroups.com> (raw)
In-Reply-To: <CAOP4N=_Ux0FPSRep7AfBVovd59LeDTbBjH=LBdfWDb6Mc3e=Fg@mail.gmail.com>

Hi, 

Am Mittwoch, 16. Dezember 2015 02:47:40 UTC+1 schrieb David Tulloh:
> Hi,
> 
> I am working on a SinoVoip Bananapi M1
> 
> With the current mainline  USB does not work. I believe that power to the USB vbus is being disabled during boot.
> 
> Failing build v4.4-rc5
> Working build v4.2.3
> 
> Compiled with
> make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- sunxi_defconfig menuconfig zImage dtbs
> 
> The boot log is attached, debug and CONFIG_REGULATOR_DEBUG were enabled.
> The config file is also attached.
> 
> 
> I am happy to do further work on the problem but my unfamiliarity with the kernel means I'm flailing in the dark.
> 
> 
> 
> David

I can confirm there is an issue with USB (not OTG) on the Bananapi in Linux 4.4-rc5. I just compiled and booted a 4.4-rc5 kernel image with a new dtb - or be more precise, I failed to boot it because the kernel couldn't mount the usb drives that I listed in my fstab. The defconfig I used was basically the same that I use for my 4.1.y kernels which is based on sunxi_defconfig but adds a lot more stuff like drivers, netfilter, etc (I merged the changes that happened in sunxi_defconfig between 4.1 and 4.4, though).

I haven't had the time yet to look into it further to bisect the issue. I also haven't tried any other kernel versions between 4.1.15 and 4.4-rc5, so I can't say when the problem slipped in. I just can say that there is an issue on my Lemaker Bananapi. The symptoms are the same as descrived by David. My usb drives don't seem the get power anymore once the kernel boots.

I'll try to find time to look into it in more detail over the weekend and provide configs and logs.

Regards,

Timo

       reply	other threads:[~2015-12-18 20:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAOP4N=_Ux0FPSRep7AfBVovd59LeDTbBjH=LBdfWDb6Mc3e=Fg@mail.gmail.com>
2015-12-18 20:22 ` m.silentcreek at gmail.com [this message]
2015-12-19 19:15   ` BUG - Bananapi USB not working on Mainline m.silentcreek at gmail.com
     [not found] ` <ec8d762c-3e2b-4438-a43e-ae2740f8a5f3@googlegroups.com>
2015-12-19 21:39   ` m.silentcreek at gmail.com
     [not found]     ` <CAOP4N=98cjUYVAvEngdOXXdXeive7HB_ChC4B+uAASG5tKP1dg@mail.gmail.com>
2015-12-22 14:42       ` [linux-sunxi] " m.silentcreek at gmail.com
2015-12-27 21:40         ` Maxime Ripard

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=2331a2bf-bcdc-4653-9098-65d263d57d1b@googlegroups.com \
    --to=m.silentcreek@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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.