2008-01-17 11:08:50     CM-BF561 V2 and ISP1362

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

2008-01-17 11:08:50     CM-BF561 V2 and ISP1362

xabi romero (UNITED STATES)

Message: 49751   

 

Hi,

 

I am trying to use the USB Host Controller with the ISP1362. I have the latest uclinux-dist, kernel and toolchain.

 

I configure everything, and when i connect the USB Flash Memory, this appear:

 

usb 1-2: new full speed USB device using isp1362-hcd and address 9

 

usb 1-2: configuration #1 chosen from 1 choice

 

scsi0 : SCSI emulation for USB Mass Storage devices

 

And doesn´t do anythig else. Could you help me?

 

Where is the problem?

 

Thanks

QuoteReplyEditDelete

 

 

2008-01-17 11:14:50     Re: CM-BF561 V2 and ISP1362

xabi romero (UNITED STATES)

Message: 49752   

 

This is the boot file: (i think that everything is working ok, but when i connect the USB memory drive,  doesn´t do anything).

 

boot

 

## Booting image at 20040000 ...

   Image Name:   uClinux Kernel and ext2

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    3214746 Bytes =  3.1 MB

   Load Address: 00001000

   Entry Point:  001be000

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 1be000

Linux version 2.6.22.16-ADI-2007R2-pre-svn (xxxxxxxxxxxxx) (gcc version 4.1.2 (ADI svn)) #17 Thu Jan 17 15:31:36 CET 2008

Hardware Trace Off and Disabled

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

Compiled for ADSP-BF561 Rev 0.3

Warning: Compiled for Rev 3, but running on Rev 5  ( i put the REV5 and everything works idem)

Blackfin Linux 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-0x0014dde0

  rodata    = 0x0014e000-0x001a8cec

  data      = 0x001a9000-0x001be000

    stack   = 0x001aa000-0x001ac000

  init      = 0x001be000-0x001cf000

  bss       = 0x001cf000-0x001e2954

  available = 0x001e2954-0x03500000

  rootfs    = 0x03500000-0x03f00000

  DMA Zone  = 0x03f00000-0x04000000

Built 1 zonelists.  Total pages: 13462

Kernel command line: root=/dev/mtdblock2 rw console=tty0 console=ttyBF0,115200 mtdparts=physmap-flash.0:256k@0k(El-UBoot),1792k@256k(El-Kernel)

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: 3500

Memory available: 51712k/63836k RAM, (68k init code, 1331k kernel code, 78k data, 1024k dma)

Blackfin Scratchpad data SRAM: 4 KB

Blackfin Data A SRAM: 32 KB (24 KB free)

Blackfin Data B SRAM: 32 KB (32 KB free)

Blackfin Instruction SRAM: 16 KB (8 KB free)

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

cm_bf561_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: 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

BF561 Core B driver v0.1 initialized.

io scheduler noop registered

io scheduler anticipatory registered (default)

Serial: Blackfin serial driver

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

smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre <nico@cam.org>

eth0: SMC91C11xFD (rev 2) at 28000300 IRQ 73 [nowait]

eth0: Ethernet addr: 5a:32:e0:f6:ab:61

physmap platform flash device: 00800000 at 20000000

physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Using buffer write method

cfi_cmdset_0001: Erase suspend on write enabled

2 cmdlinepart partitions found on MTD device physmap-flash.0

Creating 2 MTD partitions on "physmap-flash.0":

0x00000000-0x00040000 : "El-UBoot"

0x00040000-0x00200000 : "El-Kernel"

uclinux[mtd]: RAM probe address=0x3500000 size=0xa00000

Creating 1 MTD partitions on "RAM":

0x00000000-0x00a00000 : "ROMfs"

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:

isp1362-hcd isp1362-hcd.0: irq 120, io mem 0x24008000

isp1362_hc_start:

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: 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 120

Initializing USB Mass Storage driver...

usbcore: registered new interface driver usb-storage

USB Mass Storage support registered.

mice: PS/2 mouse device common for all mice

usbcore: registered new interface driver usbhid

drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver

TCP cubic registered

NET: Registered protocol family 1

NET: Registered protocol family 17

VFS: Mounted root (ext2 filesystem).

Freeing unused kernel memory: 68k freed

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

 

Welcome to:

       ____ _  _                 

      /  __| ||_|             _  _

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

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

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

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

|_|                                 

 

For further information see:

http://www.uclinux.org/

http://blackfin.uclinux.org/

 

http://www.bluetechnix.at

 

 

BusyBox v1.4.1 (2008-01-17 15:32:26 CET) Built-in shell (msh)

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

 

root:~>

 

Arranque_CMBF561V2_3.txt

QuoteReplyEditDelete

 

 

2008-01-17 12:39:15     Re: CM-BF561 V2 and ISP1362

Michael Hennerich (GERMANY)

Message: 49753   

 

Enable USB verbose debug messages ...

 

can you attach your kernel .config file?

 

-Michael

QuoteReplyEditDelete

 

 

2008-01-17 13:10:08     Re: CM-BF561 V2 and ISP1362

xabi romero (UNITED STATES)

Message: 49756    This is the kernel_config file.

 

bf561_V2_Kernel_Config

QuoteReplyEditDelete

 

 

2008-01-17 14:47:57     Re: CM-BF561 V2 and ISP1362

Michael Hennerich (GERMANY)

Message: 49757   

 

Did you follow the instructions here:?

 

http://docs.blackfin.uclinux.org/doku.php?id=hw:cards:usb_ez-extender&s=mass%20storage#linux_kernel_configuration_isp1362_sl811

 

I can't see that you have enabled SCSI Disk support - You first need to enable SCSI support and then under USB Mass storage.

 

-Michael

QuoteReplyEditDelete

 

 

2008-01-18 02:16:42     Re: CM-BF561 V2 and ISP1362

xabi romero (UNITED STATES)

Message: 49770    The SCSI disk support is enabled:

  

 

CONFIG_BLK_DEV_SD=y

I think that it is correct.

When i connect a USB flash pen, this is that i can see:

 

root:~> usb 1-2: new full speed USB device using isp1362-hcd and address 2

usb 1-2: Product: Flash Disk

usb 1-2: Manufacturer: Alliance

usb 1-2: SerialNumber: 0103200001A0BF11

usb 1-2: configuration #1 chosen from 1 choice

scsi0 : SCSI emulation for USB Mass Storage devices

 

But, does not do anythhig more

 

QuoteReplyEditDelete

 

 

2008-01-18 08:05:29     Re: CM-BF561 V2 and ISP1362

xabi romero (UNITED STATES)

Message: 49802    When i connect a USB Flash memory and after that i type dmesg, i obtain:

 

hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101

usb 1-1: new full speed USB device using isp1362-hcd and address 2

usb 1-1: default language 0x0409

usb 1-1: new device strings: Mfr=1, Product=2, SerialNumber=3

usb 1-1: Product: U3

usb 1-1: Manufacturer: Intuix

usb 1-1: SerialNumber: 0B517A60905278B8

usb 1-1: usb_probe_device

usb 1-1: configuration #1 chosen from 1 choice

usb 1-1: adding 1-1:1.0 (config #1, interface 0)

usb-storage 1-1:1.0: usb_probe_interface

usb-storage 1-1:1.0: usb_probe_interface - got id

usb-storage: USB Mass Storage device detected

usb-storage: -- associate_dev

usb-storage: Vendor: 0x08ec, Product: 0x0020, Revision: 0x0200

usb-storage: Interface Subclass: 0x06, Protocol: 0x50

usb-storage: Transport: Bulk

usb-storage: Protocol: Transparent SCSI

scsi0 : SCSI emulation for USB Mass Storage devices

usb-storage: *** thread sleeping.

    What is " usb-storage:*** thread sleeping??

QuoteReplyEditDelete

 

 

2008-01-18 08:31:37     Re: CM-BF561 V2 and ISP1362

Michael Hennerich (GERMANY)

Message: 49803    Can you check SCLK, bus timing and important EBIU_AMGCTL bus packing mode.

QuoteReplyEditDelete

 

 

2008-01-21 03:51:39     Re: CM-BF561 V2 and ISP1362

xabi romero (UNITED STATES)

Message: 49878   

 

Hi again.

 

The ISP1362 is connected to the asynchronous bank 1 (0x24008000).

 

I have checked diferents SCLK: 110MHz, 125MHz and 120MHZ.

 

The EBIU_AMGCTL bus packing mode is 1"6 bit packing enable" for the bank 1.

 

And the AMBCTL for the bank 1 is: 0xAAC2

QuoteReplyEditDelete

 

 

2008-01-21 10:05:01     Re: CM-BF561 V2 and ISP1362

xabi romero (UNITED STATES)

Message: 49884   

 

Hello to everybody!!!!

 

I have configured for the CM-BF537E the ISP-1362, using the help from the blackfin-uclnux document page. Everything works ok, but when i configure to work with the CM-BF561V2, does not work.

 

Coul you help me anybody?

QuoteReplyEditDelete

 

 

2008-01-22 02:43:56     Re: CM-BF561 V2 and ISP1362

xabi romero (UNITED STATES)

Message: 49908   

 

Working with the CM-BF537E, the SCLK was 110MHZ, and everything Works ok.

 

 

 

With the CM-BF561V2, I try until 71 MHz, and does not work

Attachments

    Outcomes