LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - ARM (https://www.linuxquestions.org/questions/slackware-arm-108/)
-   -   [ LeMaker BananaPi ] USB ports seem to be DOA (https://www.linuxquestions.org/questions/slackware-arm-108/%5B-lemaker-bananapi-%5D-usb-ports-seem-to-be-doa-4175561846/)

ricky_cardo 12-19-2015 11:08 AM

[ LeMaker BananaPi ] USB ports seem to be DOA
 
Hardware Banana Pi - installed with Slackwarearm per Stuart Winter's excellent install doc.

Started with Slackwarearm -current version (Sun Oct 11 07:06:05 UTC 2015)
USB working correctly, had a couple usb powered hubs externals connected.

Well I decided to upgrade to Fri Nov 27 00:27:27 UTC 2015
Black Friday release!

Initially I forgot to un-blacklist aaa_elflibs from /etc/slackpkg.conf

so after reboot got a few complaints like GPG not working and a couple other complaints from some sbo packages.
updated aaa_elflibs, recompiled the SBO packages and things seemed back to normal, although I noticed my UBSs are not working?

That is they seem to not notice devices connected or removed?

(watching from dmesg I see nothing)
-rebooted, re-installed libusb and libusb-compat
-still no activity in dmesg when devices connected or removed?


Code:

rich@banana ~ $ lsusb
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Here is the last 50 on a fresh reboot

Code:

rich@banana ~ $ sudo dmesg | tail -n 50
[  10.694611] ehci-platform 1c14000.usb: irq 29, io mem 0x01c14000
[  10.706996] ehci-platform 1c14000.usb: USB 2.0 started, EHCI 1.00
[  10.723988] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[  10.730910] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  10.738280] usb usb2: Product: EHCI Host Controller
[  10.743245] usb usb2: Manufacturer: Linux 4.2.6-armv7 ehci_hcd
[  10.749190] usb usb2: SerialNumber: 1c14000.usb
[  10.763099] hub 2-0:1.0: USB hub found
[  10.770183] hub 2-0:1.0: 1 port detected
[  10.780374] axp20x 0-0034: AXP20x variant AXP209 found
[  10.790461] axp20x 0-0034: AXP20X driver loaded
[  10.804478] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[  10.813229] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 3
[  10.825961] ohci-platform 1c1c400.usb: irq 33, io mem 0x01c1c400
[  10.891128] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[  10.897988] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  10.905240] usb usb3: Product: Generic Platform OHCI controller
[  10.911174] usb usb3: Manufacturer: Linux 4.2.6-armv7 ohci_hcd
[  10.917014] usb usb3: SerialNumber: 1c1c400.usb
[  10.923013] hub 3-0:1.0: USB hub found
[  10.928164] hub 3-0:1.0: 1 port detected
[  10.934254] ehci-platform 1c1c000.usb: EHCI Host Controller
[  10.939966] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 4
[  10.954213] ehci-platform 1c1c000.usb: irq 32, io mem 0x01c1c000
[  10.966936] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[  10.976323] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[  10.983210] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  10.990464] usb usb4: Product: EHCI Host Controller
[  10.995357] usb usb4: Manufacturer: Linux 4.2.6-armv7 ehci_hcd
[  11.001201] usb usb4: SerialNumber: 1c1c000.usb
[  11.006783] hub 4-0:1.0: USB hub found
[  11.010672] hub 4-0:1.0: 1 port detected
[  11.941584] i2c /dev entries driver
[  12.380999] Adding 2097148k swap on /dev/sda1.  Priority:-1 extents:1 across:2097148k FS
[  12.507746] fuse init (API version 7.23)
[  13.910261] EXT4-fs (sda2): re-mounted. Opts: (null)
[  23.702699]  RX IPC Checksum Offload disabled
[  23.702728]  No MAC Management Counters available
[  26.848275] NET: Registered protocol family 10
[  26.856732] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  28.692517] sun7i-dwmac 1c50000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[  28.692579] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready


Wonder if it is hardware (Bpi) board related or kernel related?

Any one have any suggestions to debug usb?

I tried a known working USB mouse, jump-drive and couple other devices, but see no changes in dmesg.

Not opposed to complete reload, but thought this is a good time to improve t/s procedure.

Suggestions thoughts welcome.

drmozes 12-20-2015 01:05 AM

Quote:

Originally Posted by ricky_cardo (Post 5466409)
Hardware Banana Pi - installed with Slackwarearm per Stuart Winter's excellent install doc.

Thanks!

It's also broken here but I hadn't used it with USB connected peripherals for a while so unfortunately hadn't noticed it.
I can't see what the problem is immediately so if you figure out what it is, please report back.

ricky_cardo 12-21-2015 07:04 AM

That makes me feel better, about it not being physical issue, I'll do the best I can and let you know if I find anything.

drmozes 12-21-2015 12:01 PM

Quote:

Originally Posted by ricky_cardo (Post 5467118)
That makes me feel better, about it not being physical issue, I'll do the best I can and let you know if I find anything.

http://www.spinics.net/lists/arm-kernel/msg470215.html

That explains it then. I'm glad it's not just Slackware as the thought of digging around with eudev right now wasn't an enjoyable thought ;-)
I'll keep an eye on what comes up and include any patches that are made.

justwantin 01-08-2016 09:12 PM

Just a note to any interested. With Black Friday release I have not experienced this problem on a BananaPro

ricky_cardo 01-09-2016 10:25 AM

Thanks for the update Justwantin

--- I have the original bananapi (non-pro version) and the USB is still non-functional.

I fell like I have more questions than answers but this does not bother me in the least :)

To start off I thought I ordered the (pro) but got normal version, [PCB says BP-A20 and it has the smaller row of 10 pins under the gpio]
https://drive.google.com/file/d/0B-i...ew?usp=sharing

When I originally loaded I had to use BananaPiPro.sdcard_latest.img.xz - NOTE the [PRO] version used.
When I tried to use the non-pro I got CRC check fail. (tried a couple more times, and fresh downloads but no dice)

Additionally - In step 4.0 of install doc ftp://ftp.arm.slackware.com/slackwar...L_BANANAPI.TXT
I had to pick
Code:

tftp ${fdt_addr} slackwarearm-current/dtb/sun7i-a20-bananapro.dtb
When I picked non-pro it would hang on loading Kernel.

These issues are no big deal just really ODD, so it works with pro when it is not the pro model? (confusing) (anybody else see this?)


Now back to thread issue USBs out to lunch after blackfriday update, might but be a non pro-issue.
-I see in this thread http://www.spinics.net/lists/arm-kernel/msg470215.html the def-config may be off in kernel upgrade.

So I tried this: (directions from notes not live) ((note: -rah is local appended name))
(((change to dir where kernel source is unpacked)))
Code:

       
        bash$ cp /boot/config-armv7-4.3.3 ./
        bash$ make clean
        bash$ make oldconfig  (make menuconfig here added X-POWERS APX20X PMIC=m and local append name "-armv7-rah")
        bash$ make zImage
        bash$ make dtbs
        bash$ make modules
        bash$ make modules_install
        bash$ cat arch/arm/boot/zImage > /boot/zImage-armv7-4.3.3-rah
        bash$ cp System.map /boot/System.map-armv7-4.3.3-rah
        bash$ cp .config /boot/config-armv7-4.3.3-rah
        bash$ /usr/share/mkinitrd/mkinitrd_command_generator.sh -r

Then something like this:
Code:

cp -r arch/arm/boot/dts /boot/dtb-4.3.3-rah
mkinitrd -c -k 4.3.3-armv7-rah -f ext4 -r /dev/sda2 -m mmc_core.ko.gz:sunxi-mmc.ko.gz:scsi_mod.ko.gz:libata.ko.gz:libahci.ko.gz:libahci_platform.ko.gz:ahci_sunxi.ko.gz:mbcache.ko.gz:jbd2.ko.gz:ext4.ko.gz -u -o /boot/initrd-arm7-4.3.3-rah


rm /usr/src/linux
ln -s /usr/src/linux-4.3.3 /usr/src/linux


cd /boot
rm  dtb System.map-armv7 initrd-armv7 zImage-armv7
ln -s System.map-armv7-4.3.3-rah System.map
ln -s initrd-arm7-4.3.3-rah initrd-armv7
ln -s zImage-armv7-4.3.3-rah zImage-armv7
ln -s dtb-4.3.3-rah dtb


That's all I need to do correct? (believe the uImage and uinitrd not needed for banana..)


I saw notes in bug report to modify this file:
vim /home/rich/4.4.xxx_stuff/linux-4.4.xxx/arch/arm/configs/sunxi_defconfig
But I think that's just if I don't do make menuconfig and hit the option myself

I'll attempt and see if USB is better after this. If I blow the kernel config I'll just pull the sata drive off mount it on my other system and change the symbolic links back to original.

(will report back when kernel compiles up eta 8hs)

ricky_cardo 01-09-2016 03:56 PM

In kernel 4.3.3 I think it's this one:



CONFIG_REGULATOR_AXP20X is not set
Needs to be
3719c3719
< CONFIG_REGULATOR_AXP20X=m


(in make menuconfig: Device Drivers -> Voltage and Current Regulator Support -> X-POWERS APX20X PMIC Regulators)



Let me test and I'll report back

justwantin 01-09-2016 06:15 PM

Thanks for the info. I was planning on installing the most recent current today but it seems that after booting the 4.3.3-armv7 kernel that my USB stick is not recognised. I did my Black Friday install from a tree on the same stick after mounting it. Happily I have not done anything to the 2.5' drive yet so I'll hold on the new install for now.

I don't know if mi problem es tu problem but I need to compile a new kernel with GPIO_SYSFS [=y] on Black Friday after I get distcc set up so I'll be interested to see how you fare.

A while back I got an install up with the bananapi.dtb on my pro so maybe its possible the other way as well but you may lose some functionality. Dunno much about this arm stuff yet. :<{
Quote:

When I picked non-pro it would hang on loading Kernel.
I've hung more than I've booted, finally did a workaround to install using a boot.scr in a boot directory on the 2.5' hdd instead of manually entering everything

justwantin 01-09-2016 08:36 PM

Quote:

--- I have the original bananapi (non-pro version) and the USB is still non-functional.
Note that you have a BPI-M1 made by Sinovoip, not a BananaPi made by Lemaker. Not guite the same but obviously close enough to work with the dtbs intended for the Lemaker gear.

ricky_cardo 01-09-2016 10:36 PM

That's really good info no wonder...
make modules is still cooking... I'll update the thread in the am. (midnight on the east coast US)

Peep this

https://www.kickstarter.com/projects...d-super-comput


Tapped out from St Nick's visit but looks pretty good. I just like the sata port from the banana.

ricky_cardo 01-10-2016 08:25 AM

ssh banana
ssh: connect to host banana port 22: No route to host

Surprise Surprise, must have dropped the ball somewhere.

Better hook up to the console and see whats up.
--Amending above to exact commands
Code:

[    1.490882] Freeing unused kernel memory: 864K (c0902000 - c09da000)
[    1.603855] random: udevd urandom read with 0 bits of entropy available
[    1.761658] udevd[80]: starting eudev-3.1.5
/boot/initrd-armv7-4.3.3-rah:  Loading kernel modules from initrd image:
mount: mounting /dev/sda2 on /mnt failed: No such device
ERROR:  No /sbin/init found on rootdev (or not mounted).  Trouble ahead.
        You can try to fix it. Type 'exit' when things are done.

/bin/sh: can't access tty; job control turned off

must be issue with initrd

ricky_cardo 01-10-2016 09:16 AM

looks like my initrd is considerably smaller than the stock one from current
-rw-r--r-- 1 root root 8955354 Dec 27 06:53 initrd-armv7-4.3.3
-rw-r--r-- 1 root root 5012495 Jan 10 08:42 initrd-armv7-4.3.3-rah

changed link back to the original initrd, thinking it will work since it's the same kernel version just one usb difference.

reverted all symbolic links back, it boots up again.

I think I'm not doing the initrd correctly.

mkinitrd -c -k 4.3.3-armv7-rah -f ext4 -r /dev/sda2 -m mmc_core:sunxi-mmc.ko.gz:scsi_mod:libata:libahci:libahci_platform.ko.gz:ahci_sunxi:mbcache.ko.gz:jbd2:ext4.ko.gz -u -o /boot/initrd-armv7-4.3.3-rah

ricky_cardo 01-10-2016 10:33 AM

Reading the vim slackwarearm-current/source/k/kernel.SlackBuild

ARMv7 and greater systems (section-- line 401) going to try a better mkinitrd

ricky_cardo 01-10-2016 05:56 PM

Ok, UNCLE, compiling the kernel again, my attempt to pull just initrd is failing...
Thought I had the goods from here:
slackwarearm-current/source/k/configs/armv7-initrd-bananpi

But no matter I just modified the config-armv7 found here:
root@banana /home/rich/public_html/Slackware/slackwarearm/slackwarearm-current/source/k/configs

and ran this "arm/build armv7"
from here: /home/rich/public_html/Slackware/slackwarearm/slackwarearm-current/source/k

You need to grab ftp://ftp.arm.slackware.com/slackwar...1.05-arm-1.txz

(and have a local copy of the tree) or maybe just k

Can be adapted from these directions: http://mindplusplus.wordpress.com/20...-raspberry-pi/

drmozes 01-11-2016 04:35 AM

Quote:

Originally Posted by ricky_cardo (Post 5475731)
In kernel 4.3.3 I think it's this one:



CONFIG_REGULATOR_AXP20X is not set
Needs to be
3719c3719
< CONFIG_REGULATOR_AXP20X=m


(in make menuconfig: Device Drivers -> Voltage and Current Regulator Support -> X-POWERS APX20X PMIC Regulators)



Let me test and I'll report back

I found the answer for this for Linux 4.4 on the weekend but CONFIG_REGULATOR_AXP20X doesn't make any difference here.
I need another config option introduced in Linux 4.4 which apparently makes USB work. I will be upgrading to Linux 4.4 in -current once it's mainstream.

justwantin 01-11-2016 05:26 AM

Neato!, good news, I was hoping for more sunxi merges though.
Code:

# gpio load i2c
modprobe: FATAL: Module i2c-sunxi not found in directory /lib/modules/4.2.6-armv7
gpio: Unable to load i2c-sunxi

I had been planning on moving a project from RPi's to BananaPro. I want to stick with slackware but I suppose I'll have to use a sunxi kernel

ricky_cardo 01-11-2016 07:19 PM

Thank you Stuart !!!

- I did get 4.3.3 compiled with CONFIG_REGULATOR_AXP20X, and as you said no help.
- I had a really hard time with initrd (glad zboot is enabled on banana at least I did not have to use uinitrd and uImage)

I ended up using the initrd-arm7 from /slackwarearm/slackwarearm-current/kernels/armv7

I got kernel zImage ok, pretty sure I made a DFD mistake (didn't follow directions)
Suspect I need to feed root=/dev/sda2 rootfs=ext4 to initrd

So I'll try again,
seems like arm does not support this ?
Code:

zcat /proc/config.gz | grep CONFIG_REGULATOR_AXP20X


PS I realize this is not the USB fix, just practice

drmozes 01-12-2016 05:24 AM

Quote:

Originally Posted by ricky_cardo (Post 5476664)

I ended up using the initrd-arm7 from /slackwarearm/slackwarearm-current/kernels/armv7

I got kernel zImage ok, pretty sure I made a DFD mistake (didn't follow directions)
Suspect I need to feed root=/dev/sda2 rootfs=ext4 to initrd

You don't need to do this - you specify the parameters in the u-boot configuration, as described in the 'INSTALL_' documents.
You could specify them in the initrd and omit them from u-boot, but the initrd supplied in Slackware ARM is generic and the settings it contains are relevant to the build machine on which the kernel was built, and isn't necessarily going to represent the user's environment -- hence why they are configured as kernel parameters through u-boot.


Code:

zcat /proc/config.gz | grep CONFIG_REGULATOR_AXP20X
This isn't enabled because I don't see it's necessary for the stock kernels and it makes the kernels larger. If you want the config you can find it in /boot or on the FTP site.

ricky_cardo 01-13-2016 08:12 AM

Gotcha, thanks for the info and assistance!

drmozes 02-03-2016 05:39 AM

Quote:

Originally Posted by ricky_cardo (Post 5477419)
Gotcha, thanks for the info and assistance!

So I think it's possible to get USB working with Linux 4.3 - it's just that some extra options need enabling.
I'm going to upgrade to Linux 4.3.5 and set the additional options -- I'm pretty sure it'll work.
Unfortunately there's a blocker on the Kirkwood platform with adopting 4.4, which I have raised a bug for:
https://bugzilla.kernel.org/show_bug.cgi?id=111701

Unless that gets fixed before Slackware 14.2 is released, the kernel will be the latest 4.3 series.

ricky_cardo 02-03-2016 07:26 AM

There's a lot to getting working configs. (and a couple cycles compile time)
I'll likely stick with which ever kernel comes with 14.2, but if you still have it handy can you diff this against your config-armv7-4.4.0
https://www.dropbox.com/s/azwdno36ym...-4.4.0-v3?dl=0 I have not yet figured out which options to change in 4.4.0 to get some joy on the USBs with the banana.


Not critical since you always got irons in the fire ;)
(I just made this by make oldconfig and trying to tweak)

drmozes 02-03-2016 07:54 AM

Quote:

Originally Posted by ricky_cardo (Post 5493917)
There's a lot to getting working configs. (and a couple cycles compile time)
I'll likely stick with which ever kernel comes with 14.2, but if you still have it handy can you diff this against your config-armv7-4.4.0
https://www.dropbox.com/s/azwdno36ym...-4.4.0-v3?dl=0 I have not yet figured out which options to change in 4.4.0 to get some joy on the USBs with the banana.


Not critical since you always got irons in the fire ;)
(I just made this by make oldconfig and trying to tweak)

I didn't build a kernel from this config, but it was make oldconfig'd from 4.4.0 which I still have running and where USB works.
http://armed.slackware.com/slackware...ig-armv7-4.4.1

If you look at the thread I posted, all I had to do was enable the additional regulator module.
The 4.4.0 config was make oldconfig'd from the 4.3 config, with nothing to do with USB or power (as I remember) added during the make oldconfig

However, in Linux 4.3 (trying to get USB working) I've added a number of modules which looked useful from a hardware PoV.
What I needed was:
CONFIG_PHY_SUN4I_USB
and its dependencies (in order to present that in the configuration tool).

The full diff between 4.3.4 and 4.3.5 is:

Code:

prisere [configs] # diff -u0 /tmp/config-armv7-4.3.4 config-armv7
--- /tmp/config-armv7-4.3.4    2016-02-03 13:48:43.500629282 +0000
+++ config-armv7        2016-02-03 11:26:55.291129527 +0000
@@ -3 +3 @@
-# Linux/arm 4.3.4 Kernel Configuration
+# Linux/arm 4.3.5 Kernel Configuration
@@ -3308,0 +3309 @@
+# CONFIG_AXP288_CHARGER is not set
@@ -4527 +4528 @@
-# CONFIG_USB_EHCI_MSM is not set
+CONFIG_USB_EHCI_MSM=m
@@ -4529 +4530 @@
-# CONFIG_USB_EHCI_EXYNOS is not set
+CONFIG_USB_EHCI_EXYNOS=m
@@ -4544 +4545 @@
-# CONFIG_USB_OHCI_EXYNOS is not set
+CONFIG_USB_OHCI_EXYNOS=m
@@ -4599,2 +4600,2 @@
-# CONFIG_USBIP_VHCI_HCD is not set
-# CONFIG_USBIP_HOST is not set
+CONFIG_USBIP_VHCI_HCD=m
+CONFIG_USBIP_HOST=m
@@ -4609,0 +4611 @@
+# CONFIG_USB_MUSB_SUNXI is not set
@@ -4629,0 +4632 @@
+CONFIG_USB_DWC3_OMAP=m
@@ -4635 +4638,11 @@
-# CONFIG_USB_DWC2 is not set
+CONFIG_USB_DWC2=m
+# CONFIG_USB_DWC2_HOST is not set
+
+#
+# Gadget/Dual-role mode requires USB Gadget support to be enabled
+#
+# CONFIG_USB_DWC2_PERIPHERAL is not set
+CONFIG_USB_DWC2_DUAL_ROLE=y
+CONFIG_USB_DWC2_PCI=m
+# CONFIG_USB_DWC2_DEBUG is not set
+# CONFIG_USB_DWC2_TRACK_MISSED_SOFS is not set
@@ -4727,2 +4740,2 @@
-# CONFIG_USB_HSIC_USB3503 is not set
-# CONFIG_USB_LINK_LAYER_TEST is not set
+CONFIG_USB_HSIC_USB3503=m
+CONFIG_USB_LINK_LAYER_TEST=m
@@ -4740 +4753 @@
-# CONFIG_AB8500_USB is not set
+CONFIG_AB8500_USB=m
@@ -4748 +4761,3 @@
-# CONFIG_USB_MXS_PHY is not set
+CONFIG_USB_MSM_OTG=m
+CONFIG_USB_QCOM_8X16_PHY=m
+CONFIG_USB_MXS_PHY=m
@@ -5399 +5414,11 @@
-# CONFIG_EXTCON is not set
+CONFIG_EXTCON=y
+
+#
+# Extcon Device Drivers
+#
+CONFIG_EXTCON_ADC_JACK=m
+CONFIG_EXTCON_AXP288=m
+CONFIG_EXTCON_GPIO=m
+CONFIG_EXTCON_RT8973A=m
+CONFIG_EXTCON_SM5502=m
+CONFIG_EXTCON_USB_GPIO=m
@@ -5672,2 +5697,2 @@
-# CONFIG_PHY_BERLIN_USB is not set
-# CONFIG_PHY_BERLIN_SATA is not set
+CONFIG_PHY_BERLIN_USB=m
+CONFIG_PHY_BERLIN_SATA=m
@@ -5676 +5701 @@
-CONFIG_PHY_EXYNOS_MIPI_VIDEO=y
+CONFIG_PHY_EXYNOS_MIPI_VIDEO=m
@@ -5687 +5712 @@
-CONFIG_PHY_EXYNOS_DP_VIDEO=y
+CONFIG_PHY_EXYNOS_DP_VIDEO=m
@@ -5690 +5715,2 @@
-# CONFIG_PHY_HIX5HD2_SATA is not set
+CONFIG_PHY_HIX5HD2_SATA=m
+CONFIG_PHY_SUN4I_USB=m
@@ -5691,0 +5718,5 @@
+CONFIG_PHY_SAMSUNG_USB2=m
+CONFIG_PHY_S5PV210_USB2=y
+CONFIG_PHY_EXYNOS4210_USB2=y
+CONFIG_PHY_EXYNOS4X12_USB2=y
+CONFIG_PHY_EXYNOS5250_USB2=y
@@ -5693,2 +5724,2 @@
-# CONFIG_PHY_QCOM_APQ8064_SATA is not set
-# CONFIG_PHY_QCOM_IPQ806X_SATA is not set
+CONFIG_PHY_QCOM_APQ8064_SATA=m
+CONFIG_PHY_QCOM_IPQ806X_SATA=m
@@ -5698 +5729 @@
-# CONFIG_PHY_QCOM_UFS is not set
+CONFIG_PHY_QCOM_UFS=m
@@ -6440,0 +6472 @@
+CONFIG_STMP_DEVICE=y

When going back to 4.4 I will make oldconfig from the 4.3 series configuration again and add in the regulator required for the A20.

drmozes 02-03-2016 12:36 PM

I'm uploading the 4.3.5 packages today because USB is working on the Banana Pi.

ricky_cardo 02-04-2016 09:07 AM

updated to 4.3.5

I suspect I have something wrong with my Hardware...
-usb seems to still not pick anything up in dmesg.

--tried connecting a jumpdrive, usbmouse, and a powered usb hub.
--If things are working for you I must have a board issue...


Code:

root@banana ~ $ lsusb -vvv

Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
  bLength                18
  bDescriptorType        1
  bcdUSB              1.10
  bDeviceClass            9 Hub
  bDeviceSubClass        0
  bDeviceProtocol        0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor          0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            4.03
  iManufacturer          3 Linux 4.3.5-armv7 ohci_hcd
  iProduct                2 Generic Platform OHCI controller
  iSerial                1 1c1c400.usb
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                9
    bDescriptorType        2
    wTotalLength          25
    bNumInterfaces          1
    bConfigurationValue    1
    iConfiguration          0
    bmAttributes        0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                9
      bDescriptorType        4
      bInterfaceNumber        0
      bAlternateSetting      0
      bNumEndpoints          1
      bInterfaceClass        9 Hub
      bInterfaceSubClass      0
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0002  1x 2 bytes
        bInterval            255
Hub Descriptor:
  bLength              9
  bDescriptorType      41
  nNbrPorts            1
  wHubCharacteristic 0x0012
    No power switching (usb 1.0)
    No overcurrent protection
  bPwrOn2PwrGood        2 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
  Port 1: 0000.0100 power
can't get debug descriptor: Resource temporarily unavailable
Device Status:    0x0001
  Self Powered

Here's my dmesg
Code:

root@banana ~ $ dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.3.5-armv7 (root@platano) (gcc version 5.3.1 20160114 (GCC) ) #2 SMP Wed Feb 3 14:28:15 GMT 2016
[    0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: LeMaker Banana Pro
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 262144
[    0.000000] free_area_init_node: node 0, pgdat c0a95c40, node_mem_map eeff9000
[    0.000000]  DMA zone: 1520 pages used for memmap
[    0.000000]  DMA zone: 0 pages reserved
[    0.000000]  DMA zone: 194560 pages, LIFO batch:31
[    0.000000]  HighMem zone: 67584 pages, LIFO batch:15
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: Using PSCI v0.1 Function IDs from DT
[    0.000000] PERCPU: Embedded 12 pages/cpu @eefc5000 s19328 r8192 d21632 u49152
[    0.000000] pcpu-alloc: s19328 r8192 d21632 u49152 alloc=12*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260624
[    0.000000] Kernel command line: console=ttyS0,115200n8 debug earlyprintk sunxi_g2d_mem_reserve=0 sunxi_ve_mem_reserve=0 disp.screen0_output_mode=EDID:1280x720p50 hdmi.audio=EDID:0 root=/dev/sda2 waitforroot=3 rootfstype=ext4
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 1021008K/1048576K available (4918K kernel code, 767K rwdata, 2224K rodata, 868K init, 773K bss, 27568K reserved, 0K cma-reserved, 270336K highmem)
[    0.000000] Virtual kernel memory layout:
                  vector  : 0xffff0000 - 0xffff1000  (  4 kB)
                  fixmap  : 0xffc00000 - 0xfff00000  (3072 kB)
                  vmalloc : 0xf0000000 - 0xff000000  ( 240 MB)
                  lowmem  : 0xc0000000 - 0xef800000  ( 760 MB)
                  pkmap  : 0xbfe00000 - 0xc0000000  (  2 MB)
                  modules : 0xbf000000 - 0xbfe00000  (  14 MB)
                    .text : 0xc0208000 - 0xc0902924  (7147 kB)
                    .init : 0xc0903000 - 0xc09dc000  ( 868 kB)
                    .data : 0xc09dc000 - 0xc0a9bff8  ( 768 kB)
                      .bss : 0xc0a9e000 - 0xc0b5f4dc  ( 774 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]        Build-time adjustment of leaf fanout to 32.
[    0.000000]        RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000018] Switching to timer-based delay loop, resolution 41ns
[    0.002231] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.002928] clocksource: hstimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 12741736309 ns
[    0.003376] Console: colour dummy device 80x30
[    0.003411] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=120000)
[    0.003425] pid_max: default: 32768 minimum: 301
[    0.003529] Security Framework initialized
[    0.003697] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.003709] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.004451] Initializing cgroup subsys devices
[    0.004477] Initializing cgroup subsys freezer
[    0.004491] Initializing cgroup subsys net_cls
[    0.004504] Initializing cgroup subsys net_prio
[    0.004555] CPU: Testing write buffer coherency: ok
[    0.004966] /cpus/cpu@0 missing clock-frequency property
[    0.004986] /cpus/cpu@1 missing clock-frequency property
[    0.004998] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.005075] Setting up static identity map for 0x40209000 - 0x40209098
[    0.008922] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.009020] Brought up 2 CPUs
[    0.009041] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[    0.009048] CPU: All CPU(s) started in HYP mode.
[    0.009053] CPU: Virtualization extensions available.
[    0.009710] devtmpfs: initialized
[    0.018257] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 4
[    0.019080] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302231375000 ns
[    0.019584] pinctrl core: initialized pinctrl subsystem
[    0.021555] NET: Registered protocol family 16
[    0.021986] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.034047] cpuidle: using governor ladder
[    0.049061] cpuidle: using governor menu
[    0.058489] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.058507] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.060659] Serial: AMBA PL011 UART driver
[    0.082580] reg-fixed-voltage usb1-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb1_vbus_pin@0, deferring probe
[    0.082634] reg-fixed-voltage usb2-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb2_vbus_pin@0, deferring probe
[    0.083428] reg-fixed-voltage gmac-3v3: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/gmac_power_pin@0, deferring probe
[    0.083468] reg-fixed-voltage vmmc3: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/vmmc3_pin@0, deferring probe
[    0.084298] vgaarb: loaded
[    0.084965] pps_core: LinuxPPS API ver. 1 registered
[    0.084976] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.085008] PTP clock support registered
[    0.086527] clocksource: Switched to clocksource arch_sys_counter
[    0.112195] NET: Registered protocol family 2
[    0.113112] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.113208] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.113336] TCP: Hash tables configured (established 8192 bind 8192)
[    0.113436] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.113496] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.113766] NET: Registered protocol family 1
[    0.113835] PCI: CLS 0 bytes, default 64
[    0.114358] Trying to unpack rootfs image as initramfs...
[    0.683678] Freeing initrd memory: 8748K (ce775000 - cf000000)
[    0.684272] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    0.686231] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.686335] audit: initializing netlink subsys (disabled)
[    0.686422] audit: type=2000 audit(0.680:1): initialized
[    0.698110] VFS: Disk quotas dquot_6.6.0
[    0.698366] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.698503] jffs2: version 2.2. (NAND) (SUMMARY)  2001-2006 Red Hat, Inc.
[    0.700539] bounce: pool size: 64 pages
[    0.700814] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.700836] io scheduler noop registered
[    0.700850] io scheduler deadline registered
[    0.700891] io scheduler cfq registered (default)
[    0.706320] sun7i-a20-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.773176] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.775788] console [ttyS0] disabled
[    0.796019] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 43, base_baud = 1500000) is a U6_16550A
[    1.496007] console [ttyS0] enabled
[    1.523112] 1c29000.serial: ttyS1 at MMIO 0x1c29000 (irq = 44, base_baud = 1500000) is a U6_16550A
[    1.555655] 1c29c00.serial: ttyS2 at MMIO 0x1c29c00 (irq = 45, base_baud = 1500000) is a U6_16550A
[    1.565103] Serial: AMBA driver
[    1.588027] brd: module loaded
[    1.593404] mousedev: PS/2 mouse device common for all mice
[    1.604820] NET: Registered protocol family 17
[    1.609433] Key type dns_resolver registered
[    1.614246] ThumbEE CPU extension supported.
[    1.618566] Registering SWP/SWPB emulation handler
[    1.624300] registered taskstats version 1
[    1.632148] hctosys: unable to open rtc device (rtc0)
[    1.642305] PM: Hibernation image not present or could not be loaded.
[    1.648814] vcc3v0: disabling
[    1.651796] vcc3v3: disabling
[    1.654763] vcc5v0: disabling
[    1.657739] usb1-vbus: disabling
[    1.660968] usb2-vbus: disabling
[    1.664204] gmac-3v3: disabling
[    1.667350] vmmc3: disabling
[    1.672732] Freeing unused kernel memory: 868K (c0903000 - c09dc000)
[    1.786109] random: udevd urandom read with 0 bits of entropy available
[    1.944238] udevd[80]: starting eudev-3.1.5
[    2.065988] usbcore: registered new interface driver usbfs
[    2.071697] usbcore: registered new interface driver hub
[    2.077215] usbcore: registered new device driver usb
[    2.093649] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.110781] tegra-ehci: Tegra EHCI driver
[    2.251655] sun7i-dwmac 1c50000.ethernet: no reset control found
[    2.257712]  Ring mode enabled
[    2.260766]  No HW DMA feature register supported
[    2.265306]  Normal descriptors
[    2.268641]  TX Checksum insertion supported
[    2.290547] libphy: stmmac: probed
[    2.294065] eth0: PHY ID 001cc915 at 0 IRQ POLL (stmmac-0:00) active
[    2.300436] eth0: PHY ID 001cc915 at 1 IRQ POLL (stmmac-0:01)
[    2.333429] sunxi-mmc 1c0f000.mmc: No vqmmc regulator found
[    2.342231] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[    2.376817] sunxi-mmc 1c0f000.mmc: base:0xf0268000 irq:27
[    2.382735] sunxi-mmc 1c0f000.mmc: smc 0 err, cmd 8, RTO !!
[    2.382857] sunxi-mmc 1c12000.mmc: No vqmmc regulator found
[    2.402153] sunxi-mmc 1c0f000.mmc: smc 0 err, cmd 8, RTO !!
[    2.429713] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.440718] mmc0: new high speed SD card at address b368
[    2.454391] mmcblk0: mmc0:b368 SD064 59.8 MiB
[    3.156527] sunxi-mmc 1c12000.mmc: fatal err update clk timeout
[    3.176556] sunxi-mmc 1c12000.mmc: base:0xf026c000 irq:28
[    3.204689] SCSI subsystem initialized
[    3.231716] libata version 3.00 loaded.
[    3.316679] ahci-sunxi 1c18000.sata: controller can't do PMP, turning off CAP_PMP
[    3.324217] ahci-sunxi 1c18000.sata: forcing PORTS_IMPL to 0x1
[    3.330146] ahci-sunxi 1c18000.sata: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[    3.339123] ahci-sunxi 1c18000.sata: flags: ncq sntf pm led clo only pio slum part ccc
[    3.373831] scsi host0: ahci-sunxi
[    3.382125] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 32
[    3.711556] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    3.720281] ata1.00: ATA-8: WDC WD2003FYPS-27Y2B0, 04.05G11, max UDMA/133
[    3.727092] ata1.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    3.735656] ata1.00: configured for UDMA/133
[    3.740567] scsi 0:0:0:0: Direct-Access    ATA      WDC WD2003FYPS-2 5G11 PQ: 0 ANSI: 5
[    3.764951] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
[    3.781819] sd 0:0:0:0: [sda] Write Protect is off
[    3.788981] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    3.806905] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    3.820777] xgifb: module is from the staging directory, the quality is unknown, you have been warned.
[    3.852183] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    3.857707]  sda: sda1 sda2
[    3.863076] sd 0:0:0:0: [sda] Attached SCSI disk
[    3.926581] sunxi-mmc 1c12000.mmc: fatal err update clk timeout
[    3.932985] ehci-orion: EHCI orion driver
[    3.947101] uhci_hcd: USB Universal Host Controller Interface driver
[    3.975095] hidraw: raw HID events driver (C) Jiri Kosina
[    3.996049] usbcore: registered new interface driver usbhid
[    4.001684] usbhid: USB HID core driver
[    4.019499] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.045336] usbcore: registered new interface driver usb-storage
[    4.062441] usbcore: registered new interface driver ums-cypress
[    4.089347] usbcore: registered new interface driver ums-usbat
[    4.106999] usbcore: registered new interface driver ums-freecom
[    4.134591] usbcore: registered new interface driver ums-isd200
[    4.155039] usbcore: registered new interface driver ums-sddr09
[    4.175853] usbcore: registered new interface driver ums-sddr55
[    4.196244] usbcore: registered new interface driver ums-alauda
[    4.216162] usbcore: registered new interface driver ums-jumpshot
[    4.241780] usbcore: registered new interface driver ums-onetouch
[    4.414764] device-mapper: ioctl: 4.33.0-ioctl (2015-8-18) initialised: dm-devel@redhat.com
[    4.585922] JFS: nTxBlock = 8051, nTxLock = 64414
[    4.679129] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    4.691536] sunxi-mmc 1c12000.mmc: fatal err update clk timeout
[    4.711731] FS-Cache: Loaded
[    4.798712] RPC: Registered named UNIX socket transport module.
[    4.804701] RPC: Registered udp transport module.
[    4.809413] RPC: Registered tcp transport module.
[    4.814119] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    4.877950] FS-Cache: Netfs 'nfs' registered for caching
[    4.943259] sunxi-rtc 1c20d00.rtc: rtc core: registered rtc-sunxi as rtc0
[    4.950137] sunxi-rtc 1c20d00.rtc: RTC enabled
[    5.446528] sunxi-mmc 1c12000.mmc: fatal err update clk timeout
[    8.862082] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
[  10.012583] loop: module loaded
[  10.097327] random: nonblocking pool is initialized
[  11.466987] udevd[455]: starting eudev-3.1.5
[  11.854634] cpu cpu0: running cpufreq without cooling device: -38
[  11.978339] ohci-platform: OHCI generic platform driver
[  12.004363] ohci-platform 1c14400.usb: Generic Platform OHCI controller
[  12.030213] ohci-platform 1c14400.usb: new USB bus registered, assigned bus number 1
[  12.045133] ohci-platform 1c14400.usb: irq 30, io mem 0x01c14400
[  12.072046] ehci-platform: EHCI generic platform driver
[  12.105870] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[  12.112789] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  12.120152] usb usb1: Product: Generic Platform OHCI controller
[  12.126111] usb usb1: Manufacturer: Linux 4.3.5-armv7 ohci_hcd
[  12.132053] usb usb1: SerialNumber: 1c14400.usb
[  12.144535] hub 1-0:1.0: USB hub found
[  12.150198] hub 1-0:1.0: 1 port detected
[  12.156690] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[  12.180967] sun4i-ss 1c15000.crypto-engine: no reset control found
[  12.188823] sun4i-ss 1c15000.crypto-engine: Die ID 0
[  12.193976] sun4i-ss 1c15000.crypto-engine: Fail to register md5
[  12.211329] sun4i-ss: probe of 1c15000.crypto-engine failed with error -22
[  12.218696] ehci-platform 1c14000.usb: EHCI Host Controller
[  12.231680] ehci-platform 1c14000.usb: new USB bus registered, assigned bus number 2
[  12.246849] ehci-platform 1c14000.usb: irq 29, io mem 0x01c14000
[  12.261687] ehci-platform 1c14000.usb: USB 2.0 started, EHCI 1.00
[  12.269526] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[  12.276373] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  12.283645] usb usb2: Product: EHCI Host Controller
[  12.288572] usb usb2: Manufacturer: Linux 4.3.5-armv7 ehci_hcd
[  12.294428] usb usb2: SerialNumber: 1c14000.usb
[  12.301021] hub 2-0:1.0: USB hub found
[  12.305027] hub 2-0:1.0: 1 port detected
[  12.310481] axp20x 0-0034: AXP20x variant AXP209 found
[  12.319430] axp20x 0-0034: AXP20X driver loaded
[  12.324487] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[  12.331271] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 3
[  12.339407] ohci-platform 1c1c400.usb: irq 34, io mem 0x01c1c400
[  12.401786] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[  12.408636] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  12.415893] usb usb3: Product: Generic Platform OHCI controller
[  12.421829] usb usb3: Manufacturer: Linux 4.3.5-armv7 ohci_hcd
[  12.427678] usb usb3: SerialNumber: 1c1c400.usb
[  12.437059] hub 3-0:1.0: USB hub found
[  12.440901] hub 3-0:1.0: 1 port detected
[  12.449578] ehci-platform 1c1c000.usb: EHCI Host Controller
[  12.455344] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 4
[  12.465817] ehci-platform 1c1c000.usb: irq 33, io mem 0x01c1c000
[  12.491790] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[  12.502018] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[  12.508887] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  12.516168] usb usb4: Product: EHCI Host Controller
[  12.521121] usb usb4: Manufacturer: Linux 4.3.5-armv7 ehci_hcd
[  12.527013] usb usb4: SerialNumber: 1c1c000.usb
[  12.541342] hub 4-0:1.0: USB hub found
[  12.545257] hub 4-0:1.0: 1 port detected
[  13.510629] i2c /dev entries driver
[  13.566801] axp20x-regulator axp20x-regulator: regulators node not found
[  14.311855] Adding 2097148k swap on /dev/sda1.  Priority:-1 extents:1 across:2097148k FS
[  14.425601] fuse init (API version 7.23)
[  15.934596] EXT4-fs (sda2): re-mounted. Opts: (null)
[  26.437319]  RX IPC Checksum Offload disabled
[  26.437346]  No MAC Management Counters available
[  29.083644] NET: Registered protocol family 10
[  29.096305] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  29.838589] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[  30.238549] NFSD: the nfsdcld client tracking upcall will be removed in 3.10. Please transition to using nfsdcltrack.
[  30.238593] NFSD: starting 90-second grace period (net c0a8ec40)
[  31.426961] sun7i-dwmac 1c50000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[  31.427024] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready


ricky_cardo 02-21-2016 06:24 PM

Well got back from Holiday to find my BPi has power issues and will not power up. (I'll see if I can find any bad cap's on here not sure I can fix but...)

One thing I noticed looking closely at the board I found D5 is absolutely blown. (I did have a powered hub setup here at one time)


Which prompted me to look at what D5 was, found this..

http://linux-sunxi.org/LeMaker_Banana_Pi

VCC-5V power failure

Some users have been reporting hardware defects due to loss of VCC-5V, e.g. failure to power the USB (host) ports etc. Frequently this is related to a "D5 diode problem". The Banana Pi schematic lists this part (1N5819, SO-123) in the "VCC-5V" section, showing it feeds the VCC-5V line from the AXP209's IPSOUT. If you suspect a problem with D5, check the test points: if IPSOUT is okay and 5.0V absent, then D5 likely is the culprit. It might have blown, e.g. due to drawing too much current or using a "bad" USB hub that backpowered the Pi (when self-powered). Apparently there was even a batch of devices - first 1000 according to SinoVoip - where D5 was actually dimensioned too small.

See e.g. http://forum.lemaker.org/thread-9257-1-1.html, https://google.com/search?q=diode+d5+site:lemaker.org

Schematic if anyone wants:
https://drive.google.com/file/d/0B-i...ew?usp=sharing


All times are GMT -5. The time now is 01:24 PM.