[#3853] Enable ISP1362 driver to work ok with BF561

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

[#3853] Enable ISP1362 driver to work ok with BF561

Submitted By: xabi romero

Open Date

2008-01-24 00:59:09     Close Date

2008-02-08 03:27:02

Priority:

Medium     Assignee:

Michael Hennerich

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

Architecture     Board:

N/A

Processor:

BF561     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

App binary format:

N/A     

Summary: Enable ISP1362 driver to work ok with BF561

Details:

 

I am working with the CM-BF561 (V1 or V2), and when i connect and USB Flash Memory to the Usb Host Chip ISP1362, i can´t mount anythig. See the following lines:

 

1.- When i connect the USB Flash memory:

 

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.

 

2.- The booting message is:

 

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

 

All the booting message you can see in the attached file Arranque_CMBF561V2.txt

 

3.- I follow the instructions from this link

 

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

 

 

 

Follow-ups

 

--- xabi romero                                              2008-01-24 03:07:27

the kernel config file is: bf561V2_kernel_config.txt that i attached.

 

I have change the SCLK frecuecies between 60 and 120 MHz and nothing happens.

4.- After i connect the USM flash memory, and type "dmesg", i

obtained the following message:

 

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??

 

--- Sonic Zhang                                              2008-01-28 02:45:12

Current isp1362 only works on bf537-stamp like boards. This should be a feature

request.

 

--- Robin Getz                                               2008-01-28 09:29:39

Sonic:

 

I'm not so sure this is a feature request. Sounds like a bug to me.

 

-Robin

 

--- xabi romero                                              2008-01-28 09:55:49

I think that it is a bug too

 

--- xabi romero                                              2008-01-28 09:57:02

I think that it is a bug too, because if i can choose the ISP1362 USB HOST

driver with the CM-BF561 or BF-561 EZ kit platform, the driver must to work.

 

--- Michael Hennerich                                        2008-01-30 12:00:45

Should be fixed now

– please update your SVN (trunk or 2008R1)

 

   root:~>

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

usb 1-2: Product:

usb 1-2: Manufacturer:

usb 1-2: SerialNumber: 03159997484B

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

scsi0 : SCSI emulation for USB Mass Storage devices

scsi 0:0:0:0: Direct-Access                               4.00 PQ: 0 ANSI: 2

sd 0:0:0:0: [sda] 511231 512-byte hardware sectors (262 MB)

sd 0:0:0:0: [sda] Write Protect is off

sd 0:0:0:0: [sda] Assuming drive cache: write through

sd 0:0:0:0: [sda] 511231 512-byte hardware sectors (262 MB)

sd 0:0:0:0: [sda] Write Protect is off

sd 0:0:0:0: [sda] Assuming drive cache: write through

sda: sda1

sd 0:0:0:0: [sda] Attached SCSI removable disk

 

root:~> version

kernel:    Linux release 2.6.22.16-ADI-2008R2-pre-svn4173, build #5189 Wed Jan

30 17:51:09 CET 2008

toolchain: bfin-linux-uclibc-gcc release gcc version 4.1.2 (ADI svn)

user-dist: release svn-5675, build #1812 Wed Jan 30 17:50:59 CET 2008

root:~>

root:~> cat /proc/cpuinfo

processor       : 0

vendor_id       : Analog Devices

cpu family      : 0x27bb000

model name      : ADSP-BF561 500(MHz CCLK) 100(MHz SCLK)

stepping        : 3

cpu MHz         : 500.000/100.000

bogomips        : 995.32

Calibration     : 497664000 loops

cache size      : 16 KB(L1 icache) 32 KB(L1 dcache-wb) 0 KB(L2 cache)

dbank-A/B       : cache/cache

icache setup    : 4 Sub-banks/4 Ways, 32 Lines/Way

dcache setup    : 2 Super-banks/4 Sub-banks/2 Ways, 64 Lines/Way

board name      : Bluetechnix CM BF561

board memory    : 32768 kB (0x00000000 -> 0x02000000)

kernel memory   : 31736 kB (0x00001000 -> 0x01eff000)

root:~>

 

 

The Original BUG with hunt for zero pointers and kernel trace:

 

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

usb 1-2: Product: USB 10/100 LAN

usb 1-2: Manufacturer: USBKR100

usb 1-2: SerialNumber: 8599

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

drivers/net/usb/rtl8150.c: eth1: rtl8150 is detected

usb 1-2: USB disconnect, address 2

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

usb 1-2: Product:

usb 1-2: Manufacturer:

usb 1-2: SerialNumber: 03159997484B

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

scsi0 : SCSI emulation for USB Mass Storage devices

Jump to address 0 - 0x0fff

Kernel OOPS in progress

Defered Exception context

 

No Valid process in current context

return address: [0x00000002]; contents of:

 

SEQUENCER STATUS:               Not tainted

SEQSTAT: 0000002d  IPEND: 8030  SYSCFG: 0006

  HWERRCAUSE: 0x0

  EXCAUSE   : 0x2d

  physical IVG15 asserted : <0xffa00fa0> { _evt_system_call + 0x0 }

  logical irq   6 mapped  : <0xffa00318> { _timer_interrupt + 0x0 }

  logical irq  35 mapped  : <0x00080b6c> { _bfin_serial_dma_rx_int + 0x0

}

  logical irq  36 mapped  : <0x00080950> { _bfin_serial_dma_tx_int + 0x0

}

  logical irq  62 mapped  : <0x00008d24> { _coreb_dma_interrupt + 0x0 }

  logical irq  73 mapped  : <0x000887bc> { _smc_interrupt + 0x0 }

RETE: <0x00000000> /* Maybe null pointer? */

RETN: <0x002f9bfc> /* unknown address */

RETX: <0x00000002> /* Maybe null pointer? */

RETS: <0x00085d3c> { _attribute_container_add_device + 0x44 }

PC  : <0x00000002> /* Maybe null pointer? */

DCPLB_FAULT_ADDR: <0x00289944> /* unknown address */

ICPLB_FAULT_ADDR: <0x00000002> /* Maybe null pointer? */

 

PROCESSOR STATE:

R0 : 00289924    R1 : 01d768dc    R2 : 0000001f    R3 : 0000001f

R4 : 01d76980    R5 : 000000a4    R6 : 00000000    R7 : 01d768dc

P0 : 00298300    P1 : 0014532c    P2 : 00000002    P3 : 00294b0c

P4 : 01d76800    P5 : 00289924    FP : 00085ea4    SP : 002f9b20

LB0: ffa01ce4    LT0: ffa01ce2    LC0: 00000000

LB1: 0003b0b0    LT1: 0003b0b0    LC1: 00000000

B0 : 00000000    L0 : 00000000    M0 : 00000000    I0 : 01d79eb0

B1 : 00000000    L1 : 00000000    M1 : 00000000    I1 : 00000000

B2 : 00000000    L2 : 00000000    M2 : 00000000    I2 : ffff0606

B3 : 00000000    L3 : 00000000    M3 : 00000000    I3 : 00000000

A0.w: 0000006b   A0.x: 00000000   A1.w: 0000006b   A1.x: 00000000

USP : 00000000  ASTAT: 00002020

 

Hardware Trace:

   0 Target : <0x00004874> { _trap_c + 0x0 }

     Source : <0xffa00844> { _exception_to_level5 + 0xb4 }

   1 Target : <0xffa00790> { _exception_to_level5 + 0x0 }

     Source : <0x00085d3a> { _attribute_container_add_device + 0x42 }

   2 Target : <0x00085d2e> { _attribute_container_add_device + 0x36 }

     Source : <0x00085d22> { _attribute_container_add_device + 0x2a }

   3 Target : <0x00085d16> { _attribute_container_add_device + 0x1e }

     Source : <0x000f9cac> { _mutex_lock + 0x20 }

   4 Target : <0x000f9c8c> { _mutex_lock + 0x0 }

     Source : <0x00085d12> { _attribute_container_add_device + 0x1a }

   5 Target : <0x00085cf8> { _attribute_container_add_device + 0x0 }

     Source : <0x00085f70> { _transport_setup_device + 0x8 }

   6 Target : <0x0009202c> { _scsi_sysfs_add_host + 0xf8 }

     Source : <0x00092014> { _scsi_sysfs_add_host + 0xe0 }

   7 Target : <0x00083b74> { _class_device_create_file + 0x8 }

     Source : <0x00083b6c> { _class_device_create_file + 0x0 }

   8 Target : <0x00092010> { _scsi_sysfs_add_host + 0xdc }

     Source : <0x00092000> { _scsi_sysfs_add_host + 0xcc }

   9 Target : <0x000917de> { _class_attr_overridden + 0xe }

     Source : <0x000917d0> { _class_attr_overridden + 0x0 }

  10 Target : <0x00091ffc> { _scsi_sysfs_add_host + 0xc8 }

     Source : <0x00091ff4> { _scsi_sysfs_add_host + 0xc0 }

  11 Target : <0x00092020> { _scsi_sysfs_add_host + 0xec }

     Source : <0x00092014> { _scsi_sysfs_add_host + 0xe0 }

  12 Target : <0x00083b74> { _class_device_create_file + 0x8 }

     Source : <0x00083b6c> { _class_device_create_file + 0x0 }

  13 Target : <0x00092010> { _scsi_sysfs_add_host + 0xdc }

     Source : <0x00092000> { _scsi_sysfs_add_host + 0xcc }

  14 Target : <0x000917de> { _class_attr_overridden + 0xe }

     Source : <0x000917d0> { _class_attr_overridden + 0x0 }

  15 Target : <0x00091ffc> { _scsi_sysfs_add_host + 0xc8 }

     Source : <0x00091ff4> { _scsi_sysfs_add_host + 0xc0 }

  16 Target : <0x00092020> { _scsi_sysfs_add_host + 0xec }

     Source : <0x00092014> { _scsi_sysfs_add_host + 0xe0 }

  17 Target : <0x00083b74> { _class_device_create_file + 0x8 }

     Source : <0x00083b6c> { _class_device_create_file + 0x0 }

  18 Target : <0x00092010> { _scsi_sysfs_add_host + 0xdc }

     Source : <0x00092000> { _scsi_sysfs_add_host + 0xcc }

  19 Target : <0x000917de> { _class_attr_overridden + 0xe }

     Source : <0x000917d0> { _class_attr_overridden + 0x0 }

  20 Target : <0x00091ffc> { _scsi_sysfs_add_host + 0xc8 }

     Source : <0x00091ff4> { _scsi_sysfs_add_host + 0xc0 }

  21 Target : <0x00092020> { _scsi_sysfs_add_host + 0xec }

     Source : <0x00092014> { _scsi_sysfs_add_host + 0xe0 }

  22 Target : <0x00083b74> { _class_device_create_file + 0x8 }

     Source : <0x00083b6c> { _class_device_create_file + 0x0 }

  23 Target : <0x00092010> { _scsi_sysfs_add_host + 0xdc }

     Source : <0x00092000> { _scsi_sysfs_add_host + 0xcc }

  24 Target : <0x000917de> { _class_attr_overridden + 0xe }

     Source : <0x000917d0> { _class_attr_overridden + 0x0 }

  25 Target : <0x00091ffc> { _scsi_sysfs_add_host + 0xc8 }

     Source : <0x00091ff4> { _scsi_sysfs_add_host + 0xc0 }

  26 Target : <0x00092020> { _scsi_sysfs_add_host + 0xec }

     Source : <0x00092014> { _scsi_sysfs_add_host + 0xe0 }

  27 Target : <0x00083b74> { _class_device_create_file + 0x8 }

     Source : <0x00083b6c> { _class_device_create_file + 0x0 }

  28 Target : <0x00092010> { _scsi_sysfs_add_host + 0xdc }

     Source : <0x00092000> { _scsi_sysfs_add_host + 0xcc }

  29 Target : <0x000917de> { _class_attr_overridden + 0xe }

     Source : <0x000917d0> { _class_attr_overridden + 0x0 }

  30 Target : <0x00091ffc> { _scsi_sysfs_add_host + 0xc8 }

     Source : <0x00091ff4> { _scsi_sysfs_add_host + 0xc0 }

  31 Target : <0x00092020> { _scsi_sysfs_add_host + 0xec }

     Source : <0x00092014> { _scsi_sysfs_add_host + 0xe0 }

  32 Target : <0x00083b74> { _class_device_create_file + 0x8 }

     Source : <0x00083b6c> { _class_device_create_file + 0x0 }

  33 Target : <0x00092010> { _scsi_sysfs_add_host + 0xdc }

     Source : <0x00092000> { _scsi_sysfs_add_host + 0xcc }

  34 Target : <0x000917de> { _class_attr_overridden + 0xe }

     Source : <0x000917d0> { _class_attr_overridden + 0x0 }

  35 Target : <0x00091ffc> { _scsi_sysfs_add_host + 0xc8 }

     Source : <0x00091ff4> { _scsi_sysfs_add_host + 0xc0 }

  36 Target : <0x00092020> { _scsi_sysfs_add_host + 0xec }

     Source : <0x00092014> { _scsi_sysfs_add_host + 0xe0 }

  37 Target : <0x00083b74> { _class_device_create_file + 0x8 }

     Source : <0x00083b6c> { _class_device_create_file + 0x0 }

  38 Target : <0x00092010> { _scsi_sysfs_add_host + 0xdc }

     Source : <0x00092000> { _scsi_sysfs_add_host + 0xcc }

  39 Target : <0x000917de> { _class_attr_overridden + 0xe }

     Source : <0x000917d0> { _class_attr_overridden + 0x0 }

  40 Target : <0x00091ffc> { _scsi_sysfs_add_host + 0xc8 }

     Source : <0x00091ff4> { _scsi_sysfs_add_host + 0xc0 }

  41 Target : <0x00092020> { _scsi_sysfs_add_host + 0xec }

     Source : <0x00092014> { _scsi_sysfs_add_host + 0xe0 }

  42 Target : <0x00083b74> { _class_device_create_file + 0x8 }

     Source : <0x00083b6c> { _class_device_create_file + 0x0 }

  43 Target : <0x00092010> { _scsi_sysfs_add_host + 0xdc }

     Source : <0x00092000> { _scsi_sysfs_add_host + 0xcc }

  44 Target : <0x000917de> { _class_attr_overridden + 0xe }

     Source : <0x000917d0> { _class_attr_overridden + 0x0 }

  45 Target : <0x00091ffc> { _scsi_sysfs_add_host + 0xc8 }

     Source : <0x00091ff4> { _scsi_sysfs_add_host + 0xc0 }

  46 Target : <0x00092020> { _scsi_sysfs_add_host + 0xec }

     Source : <0x00092014> { _scsi_sysfs_add_host + 0xe0 }

  47 Target : <0x00083b74> { _class_device_create_file + 0x8 }

     Source : <0x00083b6c> { _class_device_create_file + 0x0 }

  48 Target : <0x00092010> { _scsi_sysfs_add_host + 0xdc }

     Source : <0x00092000> { _scsi_sysfs_add_host + 0xcc }

  49 Target : <0x000917de> { _class_attr_overridden + 0xe }

     Source : <0x000917d0> { _class_attr_overridden + 0x0 }

  50 Target : <0x00091ffc> { _scsi_sysfs_add_host + 0xc8 }

     Source : <0x00091ff8> { _scsi_sysfs_add_host + 0xc4 }

  51 Target : <0x00091fea> { _scsi_sysfs_add_host + 0xb6 }

     Source : <0x00091fd2> { _scsi_sysfs_add_host + 0x9e }

  52 Target : <0x00091f46> { _scsi_sysfs_add_host + 0x12 }

     Source : <0x00091f34> { _scsi_sysfs_add_host + 0x0 }

  53 Target : <0x0008bb5c> { _scsi_add_host + 0xa0 }

     Source : <0x0008bb42> { _scsi_add_host + 0x86 }

  54 Target : <0x00081138> { _get_device + 0x1c }

     Source : <0x00081130> { _get_device + 0x14 }

  55 Target : <0x0006ff66> { _kobject_get + 0x1a }

     Source : <0x0006ff5e> { _kobject_get + 0x12 }

  56 Target : <0x00070a06> { _kref_get + 0x32 }

     Source : <0x000709d4> { _kref_get + 0x0 }

  57 Target : <0x0006ff5a> { _kobject_get + 0xe }

     Source : <0x0006ff4c> { _kobject_get + 0x0 }

  58 Target : <0x0008112c> { _get_device + 0x10 }

     Source : <0x0008111c> { _get_device + 0x0 }

  59 Target : <0x0008bb3e> { _scsi_add_host + 0x82 }

     Source : <0x0008bb36> { _scsi_add_host + 0x7a }

  60 Target : <0x00083d62> { _class_device_add + 0x32 }

     Source : <0x00083d58> { _class_device_add + 0x28 }

  61 Target : <0x00070976> { _kref_put + 0x42 }

     Source : <0x00070934> { _kref_put + 0x0 }

  62 Target : <0x0006feb2> { _kobject_put + 0xe }

     Source : <0x0006fea4> { _kobject_put + 0x0 }

  63 Target : <0x00083bda> { _class_device_put + 0x6 }

     Source : <0x00083bd4> { _class_device_put + 0x0 }

  64 Target : <0x00083d54> { _class_device_add + 0x24 }

     Source : <0x00083d52> { _class_device_add + 0x22 }

  65 Target : <0x00083f02> { _class_device_add + 0x1d2 }

     Source : <0x00083ee6> { _class_device_add + 0x1b6 }

  66 Target : <0x00083ece> { _class_device_add + 0x19e }

     Source : <0x00083e80> { _class_device_add + 0x150 }

  67 Target : <0x000705d0> { _kobject_uevent_env + 0x44 }

     Source : <0x000705c6> { _kobject_uevent_env + 0x3a }

  68 Target : <0x0007089a> { _kobject_uevent_env + 0x30e }

     Source : <0x0007089a> { _kobject_uevent_env + 0x30e }

  69 Target : <0x00030aee> { _kfree + 0x6e }

     Source : <0x00030a80> { _kfree + 0x0 }

  70 Target : <0x00070896> { _kobject_uevent_env + 0x30a }

     Source : <0x00070894> { _kobject_uevent_env + 0x308 }

  71 Target : <0x00030aee> { _kfree + 0x6e }

     Source : <0x00030a80> { _kfree + 0x0 }

  72 Target : <0x00070890> { _kobject_uevent_env + 0x304 }

     Source : <0x0007088e> { _kobject_uevent_env + 0x302 }

  73 Target : <0x00030aee> { _kfree + 0x6e }

     Source : <0x00030a80> { _kfree + 0x0 }

  74 Target : <0x0007088a> { _kobject_uevent_env + 0x2fe }

     Source : <0x00070886> { _kobject_uevent_env + 0x2fa }

  75 Target : <0x000708b8> { _kobject_uevent_env + 0x32c }

     Source : <0x000708b8> { _kobject_uevent_env + 0x32c }

  76 Target : <0x0001839c> { _call_usermodehelper_keys + 0x44 }

     Source : <0x00018392> { _call_usermodehelper_keys + 0x3a }

  77 Target : <0x000183fe> { _call_usermodehelper_keys + 0xa6 }

     Source : <0x000183fe> { _call_usermodehelper_keys + 0xa6 }

  78 Target : <0x00030aee> { _kfree + 0x6e }

     Source : <0x00030a80> { _kfree + 0x0 }

  79 Target : <0x000183fa> { _call_usermodehelper_keys + 0xa2 }

     Source : <0x000183f6> { _call_usermodehelper_keys + 0x9e }

  80 Target : <0x000f98be> { _wait_for_completion + 0x8e }

     Source : <0x000f988e> { _wait_for_completion + 0x5e }

  81 Target : <0xffa01796> { _schedule + 0x35e }

     Source : <0xffa01740> { _schedule + 0x308 }

  82 Target : <0xffa00ae6> { _new_old_task + 0x6 }

     Source : <0xffa00ae0> { _new_old_task + 0x0 }

  83 Target : <0xffa00ade> { _resume + 0x2e }

     Source : <0xffa00ab0> { _resume + 0x0 }

  84 Target : <0xffa0173c> { _schedule + 0x304 }

     Source : <0xffa01738> { _schedule + 0x300 }

  85 Target : <0xffa01ce6> { _memcpy + 0x2e }

     Source : <0xffa01ccc> { _memcpy + 0x14 }

  86 Target : <0xffa01cc4> { _memcpy + 0xc }

     Source : <0xffa01cb8> { _memcpy + 0x0 }

  87 Target : <0xffa01734> { _schedule + 0x2fc }

     Source : <0xffa0172a> { _schedule + 0x2f2 }

  88 Target : <0xffa01ce6> { _memcpy + 0x2e }

     Source : <0xffa01cb8> { _memcpy + 0x0 }

  89 Target : <0xffa01726> { _schedule + 0x2ee }

     Source : <0xffa0171c> { _schedule + 0x2e4 }

  90 Target : <0xffa018f4> { _schedule + 0x4bc }

     Source : <0xffa018d8> { _schedule + 0x4a0 }

  91 Target : <0xffa01716> { _schedule + 0x2de }

     Source : <0xffa01710> { _schedule + 0x2d8 }

  92 Target : <0xffa018b6> { _schedule + 0x47e }

     Source : <0xffa018a4> { _schedule + 0x46c }

  93 Target : <0xffa016b8> { _schedule + 0x280 }

     Source : <0xffa0166a> { _schedule + 0x232 }

  94 Target : <0xffa01f3e> { ___udivsi3 + 0xf6 }

     Source : <0xffa01f3c> { ___udivsi3 + 0xf4 }

  95 Target : <0xffa01f2c> { ___udivsi3 + 0xe4 }

     Source : <0xffa01f28> { ___udivsi3 + 0xe0 }

  96 Target : <0xffa01e4a> { ___udivsi3 + 0x2 }

     Source : <0xffa01e48> { ___udivsi3 + 0x0 }

  97 Target : <0xffa01666> { _schedule + 0x22e }

     Source : <0xffa01630> { _schedule + 0x1f8 }

  98 Target : <0xffa0162c> { _schedule + 0x1f4 }

     Source : <0xffa0160e> { _schedule + 0x1d6 }

  99 Target : <0xffa01600> { _schedule + 0x1c8 }

     Source : <0xffa01588> { _schedule + 0x150 }

100 Target : <0xffa01584> { _schedule + 0x14c }

     Source : <0xffa01580> { _schedule + 0x148 }

101 Target : <0xffa0157c> { _schedule + 0x144 }

     Source : <0xffa01578> { _schedule + 0x140 }

102 Target : <0xffa01574> { _schedule + 0x13c }

     Source : <0xffa0156c> { _schedule + 0x134 }

103 Target : <0xffa01568> { _schedule + 0x130 }

     Source : <0xffa01562> { _schedule + 0x12a }

104 Target : <0xffa0155e> { _schedule + 0x126 }

     Source : <0xffa01552> { _schedule + 0x11a }

105 Target : <0xffa017fa> { _schedule + 0x3c2 }

     Source : <0xffa017fa> { _schedule + 0x3c2 }

106 Target : <0x00009556> { _deactivate_task + 0x2a }

     Source : <0x0000954c> { _deactivate_task + 0x20 }

107 Target : <0x000094a8> { _dequeue_task + 0x60 }

     Source : <0x00009448> { _dequeue_task + 0x0 }

108 Target : <0x00009548> { _deactivate_task + 0x1c }

     Source : <0x0000952c> { _deactivate_task + 0x0 }

109 Target : <0xffa017f6> { _schedule + 0x3be }

     Source : <0xffa017e6> { _schedule + 0x3ae }

110 Target : <0xffa0188e> { _schedule + 0x456 }

     Source : <0xffa01882> { _schedule + 0x44a }

111 Target : <0xffa017e0> { _schedule + 0x3a8 }

     Source : <0xffa017d4> { _schedule + 0x39c }

112 Target : <0xffa01550> { _schedule + 0x118 }

     Source : <0xffa014cc> { _schedule + 0x94 }

113 Target : <0xffa014c8> { _schedule + 0x90 }

     Source : <0xffa014c6> { _schedule + 0x8e }

114 Target : <0xffa014c2> { _schedule + 0x8a }

 

--- Michael Hennerich                                        2008-02-08 05:34:22

Close it -

 

USB Mass Storage work now on BF561.

Fix on 2007R1, 2008R1 and trunk.

 

Linux version 2.6.22.16-ADI-2008R1-svn4220 (michael@mhenneri-D02) (gcc version

4.1.2 (ADI svn)) #534 Fri Feb 8 10:52:02 CET 2008

Hardware Trace Active and Enabled

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

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

Compiled for ADSP-BF561 Rev 0.3

Blackfin Linux support by   blackfin.uclinux.org/

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

Board Memory: 32MB

Kernel Managed Memory: 32MB

Memory map:

  text      = 0x00001000-0x001171b0

  rodata    = 0x00118000-0x001663fc

  data      = 0x00167000-0x0017a000

    stack   = 0x00168000-0x0016a000

  init      = 0x0017a000-0x0018d000

  bss       = 0x0018d000-0x0019bec0

  available = 0x0019bec0-0x01a00000

  rootfs    = 0x01a00000-0x01f00000

  DMA Zone  = 0x01f00000-0x02000000

Instruction Cache Enabled

Data Cache Enabled (write-back)

Built 1 zonelists.  Total pages: 6604

Kernel command line: root=/dev/mtdblock0 rw

Configuring Blackfin Priority Driven Interrupts

PID hash table entries: 128 (order: 7, 512 bytes)

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

Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)

Memory available: 24680k/32768k RAM, (76k init code, 1112k kernel code, 455k

data, 1024k dma, 5424k reserved)

Blackfin Scratchpad data SRAM: 4 KB

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

Blackfin Data B SRAM: 16 KB (16 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: 1024 (order: 1, 8192 bytes)

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

TCP: Hash tables configured (established 1024 bind 1024)

TCP reno registered

BF561 Core B driver v0.1 initialized.

io scheduler noop registered (default)

io scheduler cfq registered

Serial: Blackfin serial driver

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

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

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: 02:80:ad:20:31:cf

uclinux[mtd]: RAM probe address=0x1a00000 size=0x500000

Creating 1 MTD partitions on "RAM":

0x00000000-0x00500000 : "ROMfs"

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:

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...

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

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

scsi0 : SCSI emulation for USB Mass Storage devices

usbcore: registered new interface driver usb-storage

USB Mass Storage support registered.

TCP cubic registered

NET: Registered protocol family 1

NET: Registered protocol family 17

VFS: Mounted root (ext2 filesystem).

Freeing unused kernel memory: 76k freed

dma_alloc_init: dma_page @ 0x0192e000 - 256 pages at 0x01f00000

 

Welcome to:

       ____ _  _

      /  __| ||_|             _  _

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

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

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

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

|_|

 

For further information see:

  www.uclinux.org/

  blackfin.uclinux.org/

 

  www.bluetechnix.at

 

 

BusyBox v1.4.1 (2008-02-08 10:23:55 CET) Built-in shell (msh)

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

 

root:/> scsi 0:0:0:0: Direct-Access     SanDisk  U3 Cruzer Micro  6.51 PQ: 0

ANSI: 0 CCS

sd 0:0:0:0: [sda] 2014271 512-byte hardware sectors (1031 MB)

sd 0:0:0:0: [sda] Write Protect is off

sd 0:0:0:0: [sda] Assuming drive cache: write through

sd 0:0:0:0: [sda] 2014271 512-byte hardware sectors (1031 MB)

sd 0:0:0:0: [sda] Write Protect is off

sd 0:0:0:0: [sda] Assuming drive cache: write through

sda:<7>usb-storage: queuecommand called

 

root:/>  sda1

sd 0:0:0:0: [sda] Attached SCSI removable disk

 

root:/> mount /dev/sda1 /mnt

root:/mnt> mount

rootfs on / type rootfs (rw)

/dev/root on / type ext2 (rw)

proc on /proc type proc (rw)

ramfs on /var type ramfs (rw)

sysfs on /sys type sysfs (rw)

devpts on /dev/pts type devpts (rw)

usbfs on /proc/bus/usb type usbfs (rw)

/dev/sda1 on /mnt type vfat

(rw,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1)

 

root:/mnt> version

kernel:    Linux release 2.6.22.16-ADI-2008R1-svn4220, build #534 Fri Feb 8

10:52:02 CET 2008

toolchain: bfin-linux-uclibc-gcc release collect2: ld returned 1 exit status

user-dist: release svn-6141, build #137 Fri Feb 8 10:54:51 CET 2008

 

 

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

Arranque_CMBF561V2_3.txt    text/plain    5397    xabi romero

bf561_V2_Kernel_Config.txt    text/plain    24047    xabi romero

Attachments

    Outcomes