usb hub can not work on i.MX6

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

usb hub can not work on i.MX6

5,393 次查看
xiaoqiangyang
Contributor III

Hello all,

I am working on our own designed board based on i.MX6Q. We add a usb hub(usb2514) on our board.

And signal 'USB_H1_VBUS'(pad D10) is connected directly to 5V. The problem is that the hub can not

be find by linux. During boot up,some errors appeared, boot log is bellow:

    1. Booting kernel from Legacy Image at 10800000 ...

Image Name: Linux-3.0.35-2666-gbdde708

Image Type: ARM Linux Kernel Image (uncompressed)

Data Size: 4025732 Bytes = 3.8 MB

Load Address: 10008000

Entry Point: 10008000

Verifying Checksum ... OK

Loading Kernel Image ... OK

OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

Linux version 3.0.35-2666-gbdde708 (root@Ubuntu) (gcc version 4.6.2 20110630 (pr

erelease) (Freescale MAD -- Linaro 2011.07 -- Built at 2011/08/10 09:20) ) #100

SMP PREEMPT Wed Dec 10 11:24:56 CST 2014

CPU: ARMv7 Processor revision 10 (ARMv7), cr=10c53c7d

CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache

Machine: Freescale i.MX 6Quad/DualLite/Solo Sabre-SD Board

Ignoring unrecognised tag 0x54410008

Memory policy: ECC disabled, Data cache writealloc

CPU identified as i.MX6Q, silicon rev 1.2

PERCPU: Embedded 7 pages/cpu @8c008000 s5440 r8192 d15040 u32768

Built 1 zonelists in Zone order, mobility grouping on. Total pages: 194560

Kernel command line: console=ttymxc0,115200 ip=none root=/dev/mmcblk0p1 rootwait

rw video=mxcfb1:dev=ldb,LDB-XGA,if=RGB666

PID hash table entries: 4096 (order: 2, 16384 bytes)

Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)

Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)

Memory: 512MB 256MB = 768MB total

Memory: 765448k/765448k available, 283128k reserved, 0K highmem

Virtual kernel memory layout:

vector : 0xffff0000 - 0xffff1000 ( 4 kB)

fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)

DMA : 0xf4600000 - 0xffe00000 ( 184 MB)

vmalloc : 0xc0800000 - 0xf2000000 ( 792 MB)

lowmem : 0x80000000 - 0xc0000000 (1024 MB)

pkmap : 0x7fe00000 - 0x80000000 ( 2 MB)

modules : 0x7f000000 - 0x7fe00000 ( 14 MB)

.init : 0x80008000 - 0x8003d000 ( 212 kB)

.text : 0x8003d000 - 0x80adc564 (10878 kB)

.data : 0x80ade000 - 0x80b41ec0 ( 400 kB)

.bss : 0x80b41ee4 - 0x80b903ec ( 314 kB)

SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1

Preemptible hierarchical RCU implementation.

NR_IRQS:624

MXC GPIO hardware

sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655ms

arm_max_freq=800MHz

MXC_Early serial console at MMIO 0x2020000 (options '115200')

bootconsole enabled

Console: colour dummy device 80x30

Calibrating delay loop... 1581.05 BogoMIPS (lpj=7905280)

pid_max: default: 32768 minimum: 301

Mount-cache hash table entries: 512

CPU: Testing write buffer coherency: ok

hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available

CPU1: Booted secondary processor

CPU2: Booted secondary processor

CPU3: Booted secondary processor

Brought up 4 CPUs

SMP: Total of 4 processors activated (6324.22 BogoMIPS).

print_constraints: dummy:

NET: Registered protocol family 16

print_constraints: vddpu: 725 <--> 1300 mV at 700 mV fast normal

print_constraints: vddcore: 725 <--> 1300 mV at 1150 mV fast normal

print_constraints: vddsoc: 725 <--> 1300 mV at 1200 mV fast normal

print_constraints: vdd2p5: 2000 <--> 2775 mV at 2400 mV fast normal

print_constraints: vdd1p1: 800 <--> 1400 mV at 1100 mV fast normal

print_constraints: vdd3p0: 2625 <--> 3400 mV at 3000 mV fast normal

hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.

hw-breakpoint: 1 breakpoint(s) reserved for watchpoint single-step.

hw-breakpoint: maximum watchpoint size is 4 bytes.

L310 cache controller enabled

l2x0: 16 ways, CACHE_ID 0x410000c7, AUX_CTRL 0x02070000, Cache size: 1048576 B

bio: create slab <bio-0> at 0

mxs-dma mxs-dma-apbh: initialized

print_constraints: vmmc: 3300 mV

vgaarb: loaded

SCSI subsystem initialized

spi_imx imx6q-ecspi.0: probed

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

Freescale USB OTG Driver loaded, $Revision: 1.55 $

mc_pfuze 0-0008: ID: 0,Full lay: 1 ,Metal lay: 1

mc_pfuze 0-0008: FAB: 0 ,FIN: 0

print_constraints: PFUZE100_SW1A: 300 <--> 1875 mV at 1300 mV

print_constraints: PFUZE100_SW1B: 300 <--> 1875 mV at 300 mV

print_constraints: PFUZE100_SW1C: 300 <--> 1875 mV at 1300 mV

print_constraints: PFUZE100_SW2: 800 <--> 3950 mV at 3000 mV

print_constraints: PFUZE100_SW3A: 400 <--> 1975 mV at 1500 mV

print_constraints: PFUZE100_SW3B: 400 <--> 1975 mV at 1500 mV

print_constraints: PFUZE100_SW4: 800 <--> 3950 mV at 3300 mV

print_constraints: PFUZE100_SWBST: 5000 <--> 5150 mV at 5000 mV

print_constraints: PFUZE100_VSNVS: 1200 <--> 3000 mV at 1800 mV

print_constraints: PFUZE100_VREFDDR: at 750 mV

print_constraints: PFUZE100_VGEN1: 800 <--> 1550 mV at 800 mV

print_constraints: PFUZE100_VGEN2: 800 <--> 1550 mV at 1500 mV

print_constraints: PFUZE100_VGEN3: 1800 <--> 3300 mV at 2800 mV

print_constraints: PFUZE100_VGEN4: 1800 <--> 3300 mV at 1800 mV

print_constraints: PFUZE100_VGEN5: 1800 <--> 3300 mV at 3000 mV

print_constraints: PFUZE100_VGEN6: 1800 <--> 3300 mV at 2800 mV

MIPI CSI2 driver module loaded

Advanced Linux Sound Architecture Driver Version 1.0.24.

Bluetooth: Core ver 2.16

NET: Registered protocol family 31

Bluetooth: HCI device and connection manager initialized

Bluetooth: HCI socket layer initialized

Bluetooth: L2CAP socket layer initialized

Bluetooth: SCO socket layer initialized

cfg80211: Calling CRDA to update world regulatory domain

i2c-core: driver using legacy suspend method

i2c-core: driver using legacy resume method

Switching to clocksource mxc_timer1

NET: Registered protocol family 2

IP route cache hash table entries: 32768 (order: 5, 131072 bytes)

TCP established hash table entries: 131072 (order: 8, 1048576 bytes)

TCP bind hash table entries: 65536 (order: 7, 786432 bytes)

TCP: Hash tables configured (established 131072 bind 65536)

TCP reno registered

UDP hash table entries: 512 (order: 2, 16384 bytes)

UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)

NET: Registered protocol family 1

RPC: Registered named UNIX socket transport module.

RPC: Registered udp transport module.

RPC: Registered tcp transport module.

RPC: Registered tcp NFSv4.1 backchannel transport module.

PMU: registered new PMU device of type 0

Static Power Management for Freescale i.MX6

wait mode is enabled for i.MX6

cpaddr = c0880000 suspend_iram_base=c083c000

PM driver module loaded

iMX6 PCIe PCIe RC mode imx_pcie_pltfm_probe entering.

PCIE: imx_pcie_pltfm_probe start link up.

IMX PCIe port: link up.

PCI: bus0: Fast back to back transfers disabled

PCI: bus1: Fast back to back transfers disabled

PCI: bus2: Fast back to back transfers disabled

pci 0000:03:00.0: disabling ASPM on pre-1.1 PCIe device. You can enable it with

'pcie_aspm=force'

PCI: bus3: Fast back to back transfers disabled

PCI: bus4: Fast back to back transfers enabled

PCI: bus5: Fast back to back transfers enabled

PCI: bus6: Fast back to back transfers enabled

PCI: bus7: Fast back to back transfers enabled

PCI: bus8: Fast back to back transfers enabled

pci 0000:00:00.0: BAR 0: assigned

pci 0000:00:00.0: BAR 0: set to (PCI addr

ess )

pci 0000:00:00.0: BAR 8: assigned

pci 0000:00:00.0: BAR 6: assigned

pci 0000:01:00.0: BAR 0: assigned

pci 0000:01:00.0: BAR 0: set to (PCI address [0x1100

000-0x111ffff])

pci 0000:03:00.0: PCI bridge to

pci 0000:03:00.0: bridge window

pci 0000:03:00.0: bridge window

pci 0000:03:00.0: bridge window

pci 0000:02:01.0: PCI bridge to

pci 0000:02:01.0: bridge window

pci 0000:02:01.0: bridge window

pci 0000:02:01.0: bridge window

pci 0000:02:04.0: PCI bridge to

pci 0000:02:04.0: bridge window

pci 0000:02:04.0: bridge window

pci 0000:02:04.0: bridge window

pci 0000:02:05.0: PCI bridge to

pci 0000:02:05.0: bridge window

pci 0000:02:05.0: bridge window

pci 0000:02:05.0: bridge window

pci 0000:02:07.0: PCI bridge to

pci 0000:02:07.0: bridge window

pci 0000:02:07.0: bridge window

pci 0000:02:07.0: bridge window

pci 0000:02:09.0: PCI bridge to

pci 0000:02:09.0: bridge window

pci 0000:02:09.0: bridge window

pci 0000:02:09.0: bridge window

pci 0000:01:00.0: PCI bridge to

pci 0000:01:00.0: bridge window

pci 0000:01:00.0: bridge window

pci 0000:01:00.0: bridge window

pci 0000:00:00.0: PCI bridge to

pci 0000:00:00.0: bridge window

pci 0000:00:00.0: bridge window

pci 0000:00:00.0: bridge window

PCI: enabling device 0000:01:00.0 (0140 -> 0143)

PCI: enabling device 0000:02:01.0 (0140 -> 0143)

PCI: enabling device 0000:03:00.0 (0140 -> 0143)

PCI: enabling device 0000:02:04.0 (0140 -> 0143)

PCI: enabling device 0000:02:05.0 (0140 -> 0143)

PCI: enabling device 0000:02:07.0 (0140 -> 0143)

PCI: enabling device 0000:02:09.0 (0140 -> 0143)

IMX usb wakeup probe

add wake up source irq 75

IMX usb wakeup probe

cpu regulator mode:ldo_bypass

regulatorget: get() with no identifier

mx6_cpu_regulator_init: failed to get pu regulator

i.MXC CPU frequency driver

JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.

msgmni has been set to 1495

alg: No test for stdrng (krng)

io scheduler noop registered

io scheduler deadline registered

io scheduler cfq registered (default)

MIPI DSI driver module loaded

imx-sdma imx-sdma: loaded firmware 1.1

imx-sdma imx-sdma: initialized

Serial: IMX driver

imx-uart.2: ttymxc2 at MMIO 0x21ec000 (irq = 60) is a IMX

imx-uart.0: ttymxc0 at MMIO 0x2020000 (irq = 58) is a IMX

console enabled, bootconsole disabled

console enabled, bootconsole disabled

loop: module loaded

No sata disk.

m25p80 spi0.0: found m25p32, expected sst25vf016b

m25p80 spi0.0: m25p32 (4096 Kbytes)

Creating 2 MTD partitions on "m25p80":

0x000000000000-0x000000100000 : "bootloader"

mtd: Giving out device 0 to bootloader

0x000000100000-0x000000400000 : "kernel"

mtd: Giving out device 1 to kernel

GPMI NAND driver registered. (IMX)

Intel(R) Gigabit Ethernet Network Driver - version 3.0.6-k2

Copyright (c) 2007-2011 Intel Corporation.

vcan: Virtual CAN interface driver

CAN device driver interface

flexcan netdevice driver

FEC Ethernet Driver

fec_enet_mii_bus: probed

ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller

fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1

fsl-ehci fsl-ehci.0: irq 75, io base 0x02184000

fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 1 port detected

add wake up source irq 72

fsl-ehci fsl-ehci.1: Freescale On-Chip EHCI Host Controller

fsl-ehci fsl-ehci.1: new USB bus registered, assigned bus number 2

fsl-ehci fsl-ehci.1: irq 72, io base 0x02184200

fsl-ehci fsl-ehci.1: USB 2.0 started, EHCI 1.00

hub 2-0:1.0: USB hub found

hub 2-0:1.0: 1 port detected

ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver

Initializing USB Mass Storage driver...

usbcore: registered new interface driver usb-storage

USB Mass Storage support registered.

ARC USBOTG Device Controller driver (1 August 2005)

mousedev: PS/2 mouse device common for all mice

i2c-core: driver using legacy suspend method

i2c-core: driver using legacy resume method

snvs_rtc snvs_rtc.0: rtc core: registered snvs_rtc as rtc0

i2c /dev entries driver

Linux video capture interface: v2.00

i2c-core: driver using legacy suspend method

i2c-core: driver using legacy resume method

imx2-wdt imx2-wdt.0: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=1)

Bluetooth: Virtual HCI driver ver 1.3

Bluetooth: HCI UART driver ver 2.2

Bluetooth: HCIATH3K protocol initialized

Bluetooth: Generic Bluetooth USB driver ver 0.6

usbcore: registered new interface driver btusb

sdhci: Secure Digital Host Controller Interface driver

sdhci: Copyright(c) Pierre Ossman

sdhci sdhci-esdhc-imx.2: no card-detect pin available!

mmc0: SDHCI controller on platform using DMA

mxc_vdoa mxc_vdoa: i.MX Video Data Order Adapter(VDOA) driver probed

VPU initialized

Galcore version 4.6.9.6622

Thermal calibration data is 0x5544d069

Thermal sensor with ratio = 175

Anatop Thermal registered as thermal_zone0

anatop_thermal_probe: default cooling device is cpufreq!

usbcore: registered new interface driver usbhid

usbhid: USB HID core driver

usbcore: registered new interface driver snd-usb-audio

mxc_hdmi_soc mxc_hdmi_soc.0: MXC HDMI Audio

Cirrus Logic CS42888 ALSA SoC Codec Driver

i2c-core: driver using legacy suspend method

i2c-core: driver using legacy resume method

imx-hdmi-soc-dai imx-hdmi-soc-dai.0: Failed: Load HDMI-video first.

imx_3stack asoc driver

Initialize HDMI-audio failed. Load HDMI-video first!

ALSA device list:

No soundcards found.

NET: Registered protocol family 26

TCP cubic registered

NET: Registered protocol family 17

can: controller area network core (rev 20090105 abi 8)

NET: Registered protocol family 29

can: raw protocol (rev 20090105)

can: broadcast manager protocol (rev 20090105 t)

Bluetooth: RFCOMM TTY layer initialized

Bluetooth: RFCOMM socket layer initialized

Bluetooth: RFCOMM ver 1.11

Bluetooth: BNEP (Ethernet Emulation) ver 1.3

Bluetooth: BNEP filters: protocol multicast

Bluetooth: HIDP (Human Interface Emulation) ver 1.2

lib80211: common routines for IEEE802.11 drivers

VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4

Bus freq driver module loaded

Bus freq driver Enabled

mxc_dvfs_core_probe

DVFS driver module loaded

regulator_init_complete: PFUZE100_VGEN6: incomplete constraints, leaving on

usb 2-1: new full speed USB device number 2 using fsl-ehci

regulator_init_complete: PFUZE100_VGEN2: incomplete constraints, leaving on

snvs_rtc snvs_rtc.0: setting system clock to 1970-01-01 00:00:00 UTC (0)

Waiting for root device /dev/mmcblk0p1...

usb 2-1: device descriptor read/64, error -71

mmc0: new high speed DDR MMC card at address 0001

mmcblk0: mmc0:0001 MMC08G 7.26 GiB

mmcblk0boot0: mmc0:0001 MMC08G partition 1 16.0 MiB

mmcblk0boot1: mmc0:0001 MMC08G partition 2 16.0 MiB

mmcblk0: p1

mmcblk0boot1: unknown partition table

mmcblk0boot0: unknown partition table

EXT3-fs: barriers not enabled

usb 2-1: device descriptor read/64, error -71

usb 2-1: new full speed USB device number 3 using fsl-ehci

usb 2-1: device descriptor read/64, error -71

usb 2-1: device descriptor read/64, error -71

usb 2-1: new full speed USB device number 4 using fsl-ehci

usb 2-1: device not accepting address 4, error -71

usb 2-1: new full speed USB device number 5 using fsl-ehci

usb 2-1: device not accepting address 5, error -71

hub 2-0:1.0: unable to enumerate USB device on port 1

kjournald starting. Commit interval 5 seconds

EXT3-fs (mmcblk0p1): warning: maximal mount count reached, running e2fsck is rec

ommended

EXT3-fs (mmcblk0p1): using internal journal

EXT3-fs (mmcblk0p1): recovery complete

EXT3-fs (mmcblk0p1): mounted filesystem with writeback data mode

VFS: Mounted root (ext3 filesystem) on device 179:1.

Freeing init memory: 212K

  • Starting mDNS/DNS-SD daemon[ OK ]

  • Starting network connection manager[ OK ]

  • Starting configure network device security[ OK ]

  • Starting Mount network filesystems[ OK ]

  • Starting Upstart job to start rpcbind on boot only[ OK ]

  • Starting Failsafe Boot Delay[ OK ]

  • Stopping Upstart job to start rpcbind on boot only[ OK ]

  • Stopping Mount network filesystems[ OK ]

  • Starting RPC portmapper replacement[ OK ]

  • Starting Start this job to wait until rpcbind is started or fails to start[ O

K ]

  • Stopping rpcsec_gss daemon[ OK ]

  • Starting Bridge socket events into upstart[ OK ]

  • Stopping Failsafe Boot Delay[ OK ]

  • Starting System V initialisation compatibility[ OK ]

  • Starting configure network device[ OK ]

  • Stopping Start this job to wait until rpcbind is started or fails to start[ O

K ]

  • Starting NSM status monitor[ OK ]

  • Stopping cold plug devices[ OK ]

  • Stopping System V initialisation compatibility[ OK ]

  • Starting System V runlevel compatibility[ OK ]

  • Starting restore sound card(s') mixer state(s)[ OK ]

  • Starting save kernel messages[ OK ]

  • Stopping log initial device creation[ OK ]

  • Starting automatic crash report generation[fail]

  • Starting restore sound card(s') mixer state(s)[fail]

  • Starting anac(h)ronistic cron[ OK ]

  • Starting regular background program processing daemon[ OK ]

Last login: Thu Jan 1 00:00:25 UTC 1970 on tty1

speech-dispatcher disabled; edit /etc/default/speech-dispatcher

Checking for running unattended-upgrades:

rting bluetooth

  • PulseAudio configured for per-user sessions

saned disabled; edit /etc/default/saned

1 Jan 00:00:26 ntpdate[5579]: no servers can be used, exiting

Welcome to Linaro 11.10 (development branch) (GNU/Linux 3.0.35-2666-gbdde708 arm

v7l)

450 packages can be updated.

203 updates are security updates.

450 packages can be updated.

203 updates are security updates.

450 packages can be updated.

203 updates are security updates.

New release '12.04 LTS' available.

Run 'do-release-upgrade' to upgrade to it.

root@linaro-ubuntu-desktop:~# lsusb

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Any advice will be appreciated!

Best Regards

Xiaoqiang

0 项奖励
回复
2 回复数

1,856 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Xiaoqiang

this may be as below link,

most probably it’s a result of hardware failure rather than a driver or kernel bug. USB has

an over-current protection, which gets triggered when power consumption from the port is too high.

http://paulphilippov.com/articles/how-to-fix-device-not-accepting-address-error

Best regards

igor

1,856 次查看
xiaoqiangyang
Contributor III

Dear igor,

Our crystal for USB hub has something wrong, we replaced it and solved this problem. Thanks a lot.

0 项奖励
回复