LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 01-11-2016, 05:26 AM   #16
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 752

Rep: Reputation: 92

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
 
Old 01-11-2016, 07:19 PM   #17
ricky_cardo
Member
 
Registered: Feb 2006
Location: Syracuse, NY
Distribution: Slackware 14.2x86_64 and Current
Posts: 108

Original Poster
Rep: Reputation: 22
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

Last edited by ricky_cardo; 01-11-2016 at 08:15 PM. Reason: additions
 
Old 01-12-2016, 05:24 AM   #18
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 854

Rep: Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642
Quote:
Originally Posted by ricky_cardo View Post

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.
 
1 members found this post helpful.
Old 01-13-2016, 08:12 AM   #19
ricky_cardo
Member
 
Registered: Feb 2006
Location: Syracuse, NY
Distribution: Slackware 14.2x86_64 and Current
Posts: 108

Original Poster
Rep: Reputation: 22
Gotcha, thanks for the info and assistance!
 
Old 02-03-2016, 05:39 AM   #20
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 854

Rep: Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642
Quote:
Originally Posted by ricky_cardo View Post
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.
 
1 members found this post helpful.
Old 02-03-2016, 07:26 AM   #21
ricky_cardo
Member
 
Registered: Feb 2006
Location: Syracuse, NY
Distribution: Slackware 14.2x86_64 and Current
Posts: 108

Original Poster
Rep: Reputation: 22
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)
 
Old 02-03-2016, 07:54 AM   #22
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 854

Rep: Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642
Quote:
Originally Posted by ricky_cardo View Post
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.
 
Old 02-03-2016, 12:36 PM   #23
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 854

Rep: Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642
I'm uploading the 4.3.5 packages today because USB is working on the Banana Pi.
 
Old 02-04-2016, 09:07 AM   #24
ricky_cardo
Member
 
Registered: Feb 2006
Location: Syracuse, NY
Distribution: Slackware 14.2x86_64 and Current
Posts: 108

Original Poster
Rep: Reputation: 22
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
 
Old 02-21-2016, 06:24 PM   #25
ricky_cardo
Member
 
Registered: Feb 2006
Location: Syracuse, NY
Distribution: Slackware 14.2x86_64 and Current
Posts: 108

Original Poster
Rep: Reputation: 22
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Install on a Lemaker Banana Pro justwantin Slackware - ARM 25 01-09-2016 08:26 PM
gdm3 fails to start if usb keyboard or usb mouse are moved to different ports sr_25 Debian 2 08-27-2011 05:07 PM
M/b doa? Lord Xeb Linux - Hardware 16 11-29-2008 03:23 PM
USB 2.0 ports: devices not detected, but works fine with USB 1.1 ports (Kubuntu 6.06) KWTm Linux - Hardware 1 05-09-2007 04:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 10:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration