2007-03-20 12:50:54     Enabling USB problem

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

2007-03-20 12:50:54     Enabling USB problem

Richard Aldrich (UNITED KINGDOM)

Message: 23530    I have followed the instructions outlined in http://docs.blackfin.uclinux.org/doku.php?id=usb_add-on_card, but I don't think it is working correctly. I am not seeing any mention of the usb driver at start-up, and nothing happens when I try the usb mass storage device on it.

 

BF537 rev 0.2 with USB add on card.

Latest release uClinux etc.

 

 

Startup:

 

## Starting application at 0x00001000 ...

Linux version 2.6.16.27-ADI-2006R2 (root@linux-8q19) (gcc version 4.1.1 (ADI 067

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

Compiled for ADSP-BF537 Rev. 0.2

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

Processor Speed: 500 MHz core clock and 100 Mhz System Clock

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  text      = 0x00001000-0x00129130

  init      = 0x0012a000-0x00138cb0

  data      = 0x001392d4-0x0016dd84

  stack     = 0x0013a000-0x0013c000

  bss       = 0x0016dd90-0x0017c5cc

  available = 0x0017c5cc-0x03700000

  rootfs    = 0x03700000-0x03f00000

  DMA Zone  = 0x03f00000-0x04000000

Instruction Cache Enabled

Data Cache Enabled (write-through)

Hardware Trace Enabled

Built 1 zonelists

Kernel command line: root=/dev/mtdblock0 rw ip=200.7.23.1:200.7.23.28:192.168.0f

Configuring Blackfin Priority Driven Interrupts

PID hash table entries: 256 (order: 8, 4096 bytes)

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

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

Physical pages: 3700

Memory available: 54272k/64283k RAM, (59k init code, 1184k kernel code, 58k dat)

Blackfin Scratchpad data SRAM: 4 KB

Blackfin DATA_A SRAM: 16 KB

Blackfin DATA_B SRAM: 16 KB

Blackfin Instruction SRAM: 48 KB

Security Framework v1.0.0 initialized

Capability LSM initialized

Mount-cache hash table entries: 512

NET: Registered protocol family 16

Blackfin DMA Controller

stamp_init(): registering device resources

SCSI subsystem initialized

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

Real Time Clock Driver v1.10e

Dynamic Power Management Controller Driver v0.1: major=10, minor = 254

Blackfin BF5xx serial driver version 2.00 (DMA mode)

RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize

Blackfin mac net device registered

uclinux[mtd]: RAM probe address=0x3700000 size=0x800000

Creating 1 MTD partitions on "RAM":

0x00000000-0x00800000 : "ROMfs"

uclinux[mtd]: set ROMfs:EXT2  to be root filesystem

NET: Registered protocol family 2

IP route cache hash table entries: 512 (order: -1, 2048 bytes)

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

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

TCP: Hash tables configured (established 2048 bind 2048)

TCP reno registered

TCP bic registered

NET: Registered protocol family 1

NET: Registered protocol family 17

IP-Config: Gateway not on directly connected network.

VFS: Mounted root (ext2 filesystem).

Freeing unused kernel memory: 56k freed (0x12a000 - 0x137000)

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

 

Welcome to:

       ____ _  _

      /  __| ||_|             _  _

_   _| |  | | _ ____  _   _ \ \/ /

| | | | |  | || |  _ \| | | | \  /

| |_| | |__| || | | | | |_| | /  \

|  ___\____|_||_|_| |_|\____|/_/\_\

|_|

 

For further information see:

http://www.uclinux.org/

http://blackfin.uclinux.org/

 

 

BusyBox v1.00 (2007.03.13-15:43+0000) Built-in shell (msh)

Enter 'help' for a list of built-in commands.

 

root:~>

QuoteReplyEditDelete

 

 

2007-03-20 13:14:29     Re: Enabling USB problem

Richard Aldrich (UNITED KINGDOM)

Message: 23532    I've tried again with the SVN version of uClinux, and I get the following startup error. Why would it say "Clock not ready after 20ms"?

 

## Starting application at 0x00001000 ...

Linux version 2.6.19.3-ADI-2007R1-pre-svn2893 (root@linux-8q19) (gcc version 4.7

Warning: limiting memory to 55MB due to hardware anomaly 05000263

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

Compiled for ADSP-BF537 Rev. 0.2

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

Processor Speed: 500 MHz core clock and 100 Mhz System Clock

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  text      = 0x00001000-0x001467b4

  init      = 0x00147000-0x00156f84

  data      = 0x001590bc-0x00199f5c

  stack     = 0x0015a000-0x0015c000

  bss       = 0x00199f60-0x001a8634

  available = 0x001a8634-0x03700000

  rootfs    = 0x03700000-0x03f00000

  DMA Zone  = 0x03f00000-0x04000000

Instruction Cache Enabled

Data Cache Enabled (write-through)

Hardware Trace Enabled

Built 1 zonelists.  Total pages: 13970

Kernel command line: console=ttyBF0,57600

Configuring Blackfin Priority Driven Interrupts

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

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

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

Physical pages: 3700

Memory available: 54016k/64155k RAM, (63k init code, 1301k kernel code, 57k dat)

Blackfin Scratchpad data SRAM: 4 KB

Blackfin DATA_A SRAM: 16 KB

Blackfin DATA_B SRAM: 16 KB

Blackfin Instruction SRAM: 48 KB

Security Framework v1.0.0 initialized

Capability LSM initialized

Mount-cache hash table entries: 512

NET: Registered protocol family 16

Blackfin GPIO Controller

Blackfin DMA Controller

stamp_init(): registering device resources

SCSI subsystem initialized

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

NET: Registered protocol family 2.

                                  IP route cache hash table entries: 512 (order)

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

TCP bind hash table entries: 1024 (order: 0, 4096 bytes)

TCP: Hash tables configured (established 2048 bind 1024)

TCP reno registered

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

Dynamic Power Management Controller Driver v0.1: major=10, minor = 254

Serial: Blackfin serial driver

bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 18) is a BFIN-UART

RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize

Blackfin mac net device registered

uclinux[mtd]: RAM probe address=0x3700000 size=0x800000

Creating 1 MTD partitions on "RAM":

0x00000000-0x00800000 : "ROMfs"

uclinux[mtd]: set ROMfs:EXT2  to be root filesystem

usbmon: debugfs is not available

driver isp1362-hcd, 2005-04-04

isp1362-hcd isp1362-hcd.0: ISP1362 Host Controller

isp1362-hcd isp1362-hcd.0: new USB bus registered, assigned bus number 1

isp1362_hc_reset:

Clock not ready after 20ms

isp1362-hcd isp1362-hcd.0: can't setup

isp1362-hcd isp1362-hcd.0: USB bus 1 deregistered

init error, -19

Initializing USB Mass Storage driver...

usbcore: registered new interface driver usb-storage

USB Mass Storage support registered.

rtc-bfin rtc-bfin: rtc intf: sysfs

rtc-bfin rtc-bfin: rtc intf: proc

rtc-bfin rtc-bfin: rtc intf: dev (254:0)

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

TCP cubic registered

NET: Registered protocol family 1

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting the system clock to 2007-03-20 17:11:39 (1174410699)

VFS: Mounted root (ext2 filesystem) readonly.

Freeing unused kernel memory: 60k freed (0x147000 - 0x155000)

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

 

Welcome to:

       ____ _  _

      /  __| ||_|             _  _

_   _| |  | | _ ____  _   _ \ \/ /

| | | | |  | || |  _ \| | | | \  /

| |_| | |__| || | | | | |_| | /  \

|  ___\____|_||_|_| |_|\____|/_/\_\

|_|

 

For further information see:

http://www.uclinux.org/

http://blackfin.uclinux.org/

 

 

BusyBox v1.4.1 (2007-03-20 16:54:05 GMT) Built-in shell (msh)

Enter 'help' for a list of built-in commands.

 

root:~> init: /bin/syslogd respawning too fast

init: /bin/syslogd respawning too fast

 

root:~> init: /bin/syslogd respawning too fast

QuoteReplyEditDelete

 

 

2008-06-23 04:36:35     Re: Enabling USB problem

sima sima (UNITED STATES)

Message: 57715   

 

HI

 

I met this problem ,it is that  you set the (0xXXXX) Bank X error.

 

Blackfin Processor Options --->

      --- Asynchronous Memory Configuration

          EBIU_AMBCTL Control  --->

                  (0xXXXX) Bank X

 

if you set right,you will get

 

usbmon: debugfs is not available

driver isp1362-hcd, 2005-04-04

Blackfin GPIO interrupt setup: flag PF46, irq 58

isp1362-hcd isp1362-hcd.0: ISP1362 Host Controller

isp1362-hcd isp1362-hcd.0: new USB bus registered, assigned bus number 1

isp1362_hc_reset:

isp1362-hcd isp1362-hcd.0: irq 58, io mem 0x28000000

isp1362_hc_start:isp1362 ID 0x3630:

isp1362-hcd isp1362-hcd.0: ISP1362 Memory usage:

isp1362-hcd isp1362-hcd.0:   ISTL:    2 *  256:      512 @ $0000:$0100

isp1362-hcd isp1362-hcd.0:   INTL:   16 * ( 64+8):  1152 @ $0200

isp1362-hcd isp1362-hcd.0:   ATL :   32 * ( 64+8):  2304 @ $0680

isp1362-hcd isp1362-hcd.0:   USED/FREE:   3968       128

usb usb1: Product: ISP1362 Host Controller

usb usb1: Manufacturer: Linux 2.6.16.11.ADI-2006R1blackfin isp1362-hcd

usb usb1: SerialNumber: isp1362-hcd.0

usb usb1: configuration #1 chosen from 1 choice

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 2 ports detected

ISP1362 Host Controller, irq 58

Initializing USB Mass Storage driver...

usbcore: registered new driver usb-storage

USB Mass Storage support registered.

QuoteReplyEditDelete

 

 

2008-06-23 08:25:28     Re: Enabling USB problem

Robin Getz (UNITED STATES)

Message: 57724   

 

Sima:

 

You will not have that problem on 2008R1 - please upgrade.

Attachments

    Outcomes