FAQ: [#6199] 527ezkit-v2 board as device side can't work well in the usbotg testing(2010)

Document created by Aaronwu Employee on Sep 11, 2013
Version 1Show Document
  • View in full screen mode

[#6199] 527ezkit-v2 board as device side can't work well in the usbotg testing

Submitted By: angelia wu

Open Date

2010-08-23 00:23:30     Close Date

2010-08-23 05:39:52

Priority:

Medium     Assignee:

Bob Liu

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

Blackfin Linux:2010R1

Category:

N/A     Board:

EZKIT Lite

Processor:

BF527     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Assigned (Not Start)

Uboot version or rev.:

    Toolchain version or rev.:

svn-4681

App binary format:

N/A     

Summary: 527ezkit-v2 board as device side can't work well in the usbotg testing

Details:

 

on bf527-ezkit-v2 board, it can work well as host side. but when drag out the usb device and connect it to the pc as device side, the terminal will show error.

the log as follow.

 

Hit any key to stop autoboot:  0

Using bfin_mac device

TFTP from server 10.100.4.174; our IP address is 10.100.4.50

Filename 'uImage'.

Load address: 0x1000000

Loading: #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #######################################

done

Bytes transferred = 5329134 (5150ee hex)

## Booting kernel from Legacy Image at 01000000 ...

   Image Name:   bf527-2.6.34.5-ADI-2010R1-pre-sv

   Created:      2010-08-23   3:56:06 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    5329070 Bytes =  5.1 MB

   Load Address: 00001000

   Entry Point:  0020c69c

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 0020c69c

Linux version 2.6.34.5-ADI-2010R1-pre-svn9094 (test@uclinux41) (gcc version 4.3.5 (ADI-trunk/svn-4681) ) #84 Mon Aug 23 11:56:00 CST 2010

register early platform devices

bootconsole [early_shadow0] enabled

bootconsole [early_BFuart1] enabled

early printk enabled on early_BFuart1

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x0015edb0

  rodata    = 0x0015edb0-0x001d8ac8

  bss       = 0x001d9000-0x001ea180

  data      = 0x001ea180-0x00202000

    stack   = 0x00200000-0x00202000

  init      = 0x00202000-0x009eb000

  available = 0x009eb000-0x03f00000

  DMA Zone  = 0x03f00000-0x04000000

Hardware Trace Active and Enabled

Boot Mode: 1

Reset caused by Software reset

Blackfin support (C) 2004-2010 Analog Devices, Inc.

Compiled for ADSP-BF527 Rev 0.2

Blackfin Linux support by http://blackfin.uclinux.org/

Processor Speed: 525 MHz core clock and 131 MHz System Clock

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

  External memory: cacheable in instruction cache

Data Cache Enabled for CPU0

  External memory: cacheable (write-back) in data cache

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 16002

Kernel command line: root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=serial,uart1,57600 console=tty0 console=ttyBF1,57600 ip=10.100.4.50:10.100.4.174:f

PID hash table entries: 256 (order: -2, 1024 bytes)

Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

Memory available: 53788k/65536k RAM, (8100k init code, 1399k kernel code, 653k data, 1024k dma, 572k reserved)

Hierarchical RCU implementation.

NR_IRQS:159

Configuring Blackfin Priority Driven Interrupts

console [ttyBF1] enabled, bootconsole disabled

console [ttyBF1] enabled, bootconsole disabled

Calibrating delay loop... 1046.52 BogoMIPS (lpj=2093056)

Security Framework initialized

Mount-cache hash table entries: 512

Blackfin Scratchpad data SRAM: 4 KB

Blackfin L1 Data A SRAM: 16 KB (16 KB free)

Blackfin L1 Data B SRAM: 16 KB (16 KB free)

Blackfin L1 Instruction SRAM: 48 KB (41 KB free)

NET: Registered protocol family 16

Blackfin DMA Controller

ezkit_init(): registering device resources

bio: create slab <bio-0> at 0

SCSI subsystem initialized

bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500, dma channel@7

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

i2c-bfin-twi i2c-bfin-twi.0: Blackfin BF5xx on-chip I2C TWI Contoller, regs_base@ffc01400

musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0

musb_hdrc musb_hdrc.0: USB OTG mode controller at ffc03800 using DMA, IRQ 59

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

TCP established hash table entries: 2048 (order: 2, 16384 bytes)

TCP bind hash table entries: 2048 (order: 1, 8192 bytes)

TCP: Hash tables configured (established 2048 bind 2048)

TCP reno registered

UDP hash table entries: 256 (order: 0, 4096 bytes)

UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)

NET: Registered protocol family 1

msgmni has been set to 105

io scheduler noop registered

io scheduler cfq registered (default)

dma_alloc_init: dma_page @ 0x029c3000 - 256 pages at 0x03f00000

bfin-lq035q1 bfin-lq035q1: 320x240 16-bit RGB FrameBuffer initialized

bfin-otp: initialized

bfin-uart: Blackfin serial driver

bfin-uart.1: ttyBF1 at MMIO 0xffc02000 (irq = 31) is a BFIN-UART

brd: module loaded

m25p80 spi0.1: m25p16 (2048 Kbytes)

Creating 2 MTD partitions on "m25p80":

0x000000000000-0x000000040000 : "bootloader(spi)"

0x000000040000-0x000000200000 : "linux kernel(spi)"

bfin_mii_bus: probed

bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=25)@sclk=131MHz)

bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1

Initializing USB Mass Storage driver...

usbcore: registered new interface driver usb-storage

USB Mass Storage support registered.

input: adp5520-keys as /devices/platform/i2c-bfin-twi.0/i2c-0/0-0032/adp5520-keys.5520/input/input0

ad7879 0-002c: Failed to write AD7879 Touchscreen

ad7879: probe of 0-002c failed with error -1

rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0

bfin-wdt: initialized: timeout=20 sec (nowayout=0)

usbcore: registered new interface driver usbhid

usbhid: USB HID core driver

TCP cubic registered

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting system clock to 1970-01-04 07:47:52 UTC (287272)

IP-Config: Complete:

     device=eth0, addr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174,

     host=bf527-ezkit, domain=, nis-domain=(none),

     bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=

Freeing unused kernel memory: 8100k freed

                           _____________________________________

        a8888b.           / Welcome to the uClinux distribution \

       d888888b.         /       _     _                         \

       8P"YP"Y88        /       | |   |_|            __  __ (TM)  |

       8|o||o|88  _____/        | |    _ ____  _   _ \ \/ /       |

       8'    .88       \        | |   | |  _ \| | | | \  /        |

       8`._.' Y8.       \       | |__ | | | | | |_| | /  \        |

      d/      `8b.       \      \____||_|_| |_|\____|/_/\_\       |

     dP   .    Y8b.       \   For embedded processors including   |

    d8:'  "  `::88b        \    the Analog Devices Blackfin      /

   d8"         'Y88b        \___________________________________/

  :8P    '      :888

   8a.   :     _a88P         For further information, check out:

._/"Yaa_:   .| 88P|            - http://blackfin.uclinux.org/

\    YP"    `| 8P  `.          - http://docs.blackfin.uclinux.org/

/     \.___.d|    .'           - http://www.uclinux.org/

`--..__)8888P`._.'  jgs/a:f    - http://www.analog.com/blackfin

 

Have a lot of fun...

 

 

BusyBox v1.16.2 (2010-08-23 11:53:44 CST) hush - the humble shell

 

root:/> PHY: 0:01 - Link is Up - 100/Full

 

 

 

usb 1-1: device descriptor read/64, error -110

 

 

usb 1-1: device descriptor read/64, error -110

usb 1-1: reset high speed USB device using musb_hdrc and address 2

usb 1-1: device descriptor read/64, error -110

usb 1-1: device descriptor read/64, error -110

usb 1-1: reset high speed USB device using musb_hdrc and address 2

usb 1-1: device not accepting address 2, error -110

usb 1-1: reset high speed USB device using musb_hdrc and address 2

 

 

^Cusb 1-1: device not accepting address 2, error -110

usb 1-1: USB disconnect, address 2

sd 0:0:0:0: Device offlined - not ready after error recovery

 

root:/> usb 1-1: new high speed USB device using musb_hdrc and address 3

 

root:/>

root:/> usb 1-1: device descriptor read/64, error -110

 

root:/>

root:/>

root:/> ls /mnt

root:/> usb 1-1: device descriptor read/64, error -110

usb 1-1: new high speed USB device using musb_hdrc and address 4

usb 1-1: device descriptor read/64, error -110

usb 1-1: device descriptor read/64, error -110

usb 1-1: new high speed USB device using musb_hdrc and address 5

usb 1-1: device not accepting address 5, error -110

usb 1-1: new high speed USB device using musb_hdrc and address 6

usb 1-1: device not accepting address 6, error -110

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

 

Follow-ups

 

--- angelia wu                                               2010-08-23 05:39:52

this bug just happened on opensuse 11.2.

after i update my os to opensuse 11.3. this case can pass successfully.

so i closed it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

kernel.otg527ezkit-v2.config    application/x-config    47599    angelia wu

user.otg527ezkit-v2.config    application/x-config    48741    angelia wu

Outcomes