FAQ: [#5978] Load isp1362-hcd error in latest trunk(2010)

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

[#5978] Load isp1362-hcd error in latest trunk

Submitted By: Vivi Li

Open Date

2010-03-18 05:56:45     Close Date

2010-03-22 00:41:28

Priority:

Medium     Assignee:

Michael Hennerich

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

Category:

Drivers     Board:

STAMP

Processor:

BF537     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.3-2010_Jan_22

App binary format:

N/A     

Summary: Load isp1362-hcd error in latest trunk

Details:

 

Load isp1362-hcd error when boot up bf537-stamp kernel in latest trunk.

 

Last passed version:

--

kernel:    Linux release 2.6.32.9-ADI-2010R1-pre-svn8361, build #4 Thu Mar 4 04:36:45 CST 2010

toolchain: bfin-uclinux-gcc release gcc version 4.3.4 (ADI-trunk/svn-3815)

user-dist: release svn-9476, build #38 Thu Mar 4 04:35:37 CST 2010

--

 

First failed version:

--

kernel:    Linux release 2.6.33-ADI-2010R1-pre-svn8438, build #4 Thu Mar 11 06:34:19 CST 2010

toolchain: bfin-uclinux-gcc release gcc version 4.3.4 (ADI-trunk/svn-3815)

user-dist: release svn-9492, build #38 Thu Mar 11 06:33:14 CST 2010

--

 

--

Linux version 2.6.33.1-ADI-2010R1-pre-svn8470 (test@uclinux54-adv7393-ad1981-usb1362) (gcc version 4.3.4 (ADI-trunk/svn-3815) ) 0

register early platform devices

bootconsole [early_shadow0] enabled

bootconsole [early_BFuart0] enabled

early printk enabled on early_BFuart0

Limiting kernel memory to 56MB due to anomaly 05000263

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x00149220

  rodata    = 0x00149220-0x001b93b4

  bss       = 0x001ba000-0x001cabec

  data      = 0x001cabec-0x001e0000

    stack   = 0x001de000-0x001e0000

  init      = 0x001e0000-0x008d9000

  available = 0x008d9000-0x03800000

  DMA Zone  = 0x03f00000-0x04000000

Hardware Trace Active and Enabled

Boot Mode: 0

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

Compiled for ADSP-BF537 Rev 0.2

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

Processor Speed: 500 MHz core clock and 125 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: 14224

Kernel command line: root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=serial,uart0,57600 console=ttyBF0,57600 ip=10.100.4.50f

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: 47716k/65536k RAM, (7140k init code, 1312k kernel code, 604k data, 1024k dma, 7740k reserved)

Hierarchical RCU implementation.

NR_IRQS:138

Configuring Blackfin Priority Driven Interrupts

console [ttyBF0] enabled, bootconsole disabled

console [ttyBF0] enabled, bootconsole disabled

Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)

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 (35 KB free)

NET: Registered protocol family 16

Blackfin DMA Controller

stamp_init(): registering device resources

bio: create slab <bio-0> at 0

SCSI subsystem initialized

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

Switching to clocksource bfin_cs_cycles

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 93

io scheduler noop registered

io scheduler cfq registered (default)

bfin-uart: Blackfin serial driver

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

brd: module loaded

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

bfin_mii_bus: probed

bfin_mac: attached PHY driver [SMSC LAN83C185] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=24)@sclk=125MHz)

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

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:

irq 53: nobody cared (try booting with the "irqpoll" option)

Hardware Trace:

   0 Target : <0x00149010> { _dump_stack + 0x0 }

     Source : <0x00032a2c> { ___report_bad_irq + 0x1c } JUMP.L

   1 Target : <0x00032a2c> { ___report_bad_irq + 0x1c }

     Source : <0x00032a88> { ___report_bad_irq + 0x78 } JUMP.S

   2 Target : <0x00032a88> { ___report_bad_irq + 0x78 }

     Source : <0x0014919c> { _printk + 0x14 } RTS

   3 Target : <0x00149198> { _printk + 0x10 }

     Source : <0x00011e5a> { _vprintk + 0x16a } RTS

   4 Target : <0x00011e4e> { _vprintk + 0x15e }

     Source : <0x00011e40> { _vprintk + 0x150 } IF CC JUMP pcrel

   5 Target : <0x00011e38> { _vprintk + 0x148 }

     Source : <0x00011f7e> { _vprintk + 0x28e } JUMP.S

   6 Target : <0x00011f7e> { _vprintk + 0x28e }

     Source : <0x00011a76> { _release_console_sem + 0x1be } RTS

   7 Target : <0x00011a6e> { _release_console_sem + 0x1b6 }

     Source : <0x00011a60> { _release_console_sem + 0x1a8 } IF CC JUMP pcrel

   8 Target : <0x00011a50> { _release_console_sem + 0x198 }

     Source : <0x00011a42> { _release_console_sem + 0x18a } IF CC JUMP pcrel (BP)

   9 Target : <0x00011a3a> { _release_console_sem + 0x182 }

     Source : <0x00024cae> { _up + 0x3e } RTS

  10 Target : <0x00024ca8> { _up + 0x38 }

     Source : <0x00024c9a> { _up + 0x2a } IF CC JUMP pcrel (BP)

  11 Target : <0x00024c70> { _up + 0x0 }

     Source : <0x00011a36> { _release_console_sem + 0x17e } CALL pcrel

  12 Target : <0x00011a22> { _release_console_sem + 0x16a }

     Source : <0x0001191a> { _release_console_sem + 0x62 } IF CC JUMP pcrel

  13 Target : <0x000118fa> { _release_console_sem + 0x42 }

     Source : <0x0001194c> { _release_console_sem + 0x94 } IF CC JUMP pcrel (BP)

  14 Target : <0x00011942> { _release_console_sem + 0x8a }

     Source : <0x000114a6> { __call_console_drivers + 0x62 } RTS

  15 Target : <0x000114a0> { __call_console_drivers + 0x5c }

     Source : <0x0001147a> { __call_console_drivers + 0x36 } IF CC JUMP pcrel

Stack info:

SP: [0x0201bb14] <0x0201bb14> /* kernel dynamic memory */

FP: (0x0201bfe4)

Memory from 0x0201bb10 to 0201c000

0201bb10: 00000035 [00000035] 00032a30  001d036c  00000035  028ee660  00000035  00000000

0201bb30: 00032b98  001d036c  ffffffc0  001cc130  00000000  0003327c  001d036c  00000035

0201bb50: 00000000  00000035  001cf2dc  00000035  0000000a  00000000  00000000  000332f4

0201bb70:<00009d8c> 001d036c  00000000  00000006  0201bd0c  00000035  001c3cb8 <ffa00376>

0201bb90: 001d3dd4  000d998c  0201a000  00000022  0201bd0c  337f9800  000288ac  00000000

0201bbb0: ffa00c2e  ffc00014  00000202  00000000  33802b7c  00000000  00000000  00015a7c

0201bbd0: 0000d010  00000026  00000000  0201bdf0  000e3c56  00015a7c  ffa0035c  0000000c

0201bbf0: 00002000  0000f598  ffa0171c  0000f582  ffa0171a  00000000  00000000  00003ac2

0201bc10: 00000000  001e3ac2  00000000  00000000  00000000  00000000  00000000  00000000

0201bc30: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

0201bc50: 00000000  ffffff73  00000016  00000000  001c3cb8  001d3dd4  000d998c  0201a000

0201bc70: 001cc130  0201a000  00000000  00000202  00000000  00000035  0000000a  0201bce4

0201bc90: 00000100  0201a000  0000ffff  0000ffff  00000000  00000006  0290f7c3  000332f4

0201bcb0: 001cf4bc  000d998c  0290e000  00000006  00000000  ffa0035c  001d3dd4  000d998c

0201bcd0: 0290e000  00000006  00000000  00000035  0000ffff  00000002  0201bda0  001854f8

0201bcf0: ffa00c2e  ffc00014  00000000  001d036c  0201bd58  00000000  00000035  000322de

0201bd10: 00008050  00000026  00000000  0201bdf0  000e3c56  000322de <00032430> 00000006

0201bd30: 00003004  000a40f4  ffa0171c  000a40ea  ffa0171a  00000000  00000000  0000001f

0201bd50: 00000000  0000001f  00000000  00000000  00000000  00000000  00000000  00000000

0201bd70: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

0201bd90: 00000000  00196d5c  0201bd50  00000000  00000000  028ee660  000d998c  0290e000

0201bdb0: 001cc130  001496c4  001ba32c  00000000  001d036c  00000035  0000ffff  0000003f

0201bdd0: 00000003  00000003  0000ffff  0000ffff  001ba32c  00000006  0201bdcc  0201bdd0

0201bdf0: 00000000  000440e6  00000010  00032842  028ee660  000d998c  001d036c  00000084

0201be10: 00000080  00000035  0290e048  0290e000  0290dc00  0290e000  000da5a6  0290e048

0201be30: 0290e000  0290dc00  00000000  00000084  00000035  20360000  028e87a0  0015784c

0201be50: 0203f580  00000084  0290e048  0290e000  00000001  001f355a  001cc534  001cce84

0201be70: 20360004  00000000  001cce68  001cce4c  20360000  001cc53c  001c86b4  00000000

0201be90: 0015784c  00000000  00000035  028e87a0 <000bbc94> 001cc53c  001c86b4  001d61d8

0201beb0: 001cc570  0201bf0c  001d61d8  00000000  001994f8  0201216c  00000000  00079e26

0201bed0: 000bbdd8  001cc53c  001d61d8  001d61d8  001cc570  00000000  0201beec  028e87a0

0201bef0:<000bb674> 000bbd74  001d4810  00000000  00000000  00000000  000a0386  020045d8

0201bf10: 02038410  000bbb6a  001fbd90  00000000  00000000  00000000  000bb072  0201bf4c

0201bf30: 000bb0ac  000bbd74  000bb0ca  00185604  001f30fc  000bc00c  001994f8  0015784c

0201bf50: 001f3380  000bc00c  001fbd90  001ba00c  001d61d8  00000000  00000000  00000000

0201bf70: 001ba00c <001b0000><00001028> 001fbd90  001ba00c <001b0000> 00000000  00000000

0201bf90: 00000000  001f0000  00033a84  001cf2d8  001fbb98  00000000  001e01e8  001fbd90

0201bfb0: 001fbdec  00000000  00000000  00000000  00000000  001fbb98  001fbb98  00000000

0201bfd0: 001e025c  001fbb98  001fbb98  00000000  00000000 (00000000)<00001506> 00000000

0201bff0: 00000000  00000000  ffffffff  00000006

Return addresses in stack:

    address : <0x00009d8c> { _bfin_demux_gpio_irq + 0x5c }

    address : <0xffa00376> { _asm_do_IRQ + 0x7a }

    address : <0x00032430> { ___setup_irq + 0x28c }

    address : <0x000bbc94> { _really_probe + 0x64 }

    address : <0x000bb674> { _bus_for_each_dev + 0x44 }

    address : <0x001b0000> /* kernel dynamic memory */

    address : <0x00001028> { _do_one_initcall + 0x28 }

    address : <0x001b0000> /* kernel dynamic memory */

   frame  1 : <0x00001506> { _kernel_thread_helper + 0x6 }

handlers:

[<000d998c>] (_usb_hcd_irq+0x0/0x90)

Disabling IRQ #53

isp1362-hcd isp1362-hcd.0: irq 53, io mem 0x20360000

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

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 2 ports detected

ISP1362 Host Controller, irq 53

sl811: driver sl811-hcd, 19 May 2005

sl811-hcd sl811-hcd.0: SL811HS v1.5

sl811-hcd sl811-hcd.0: new USB bus registered, assigned bus number 2

sl811-hcd sl811-hcd.0: irq 54, io mem 0x20340000

hub 2-0:1.0: USB hub found

hub 2-0:1.0: 1 port detected

Initializing USB Mass Storage driver...

usbcore: registered new interface driver usb-storage

USB Mass Storage support registered.

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-06 08:05:51 UTC (461151)

IP-Config: Complete:

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

     host=bf537-stamp, domain=, nis-domain=(none),

     bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=

Freeing unused kernel memory: 7140k freed

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

                           _____________________________________

        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.15.3 (2010-03-17 12:33:11 CST) hush - the humble shell

 

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

 

root:/>

--

 

Follow-ups

 

--- Michael Hennerich                                        2010-03-18 08:35:46

assign to me

 

--- Michael Hennerich                                        2010-03-18 08:51:30

With the recent kernel update the isp1362-hcd driver evaluates the

IORESOURCE_IRQ resource flags and request the irq with the given polarity/edge

settings.

However the ISP1362 config requires low level/edge interrupts. Most of the

Blackfin boards use some random flag or no flag at all.

Make all boards use a know good flag IORESOURCE_IRQ_LOWEDGE.

 

Fixed on trunk

 

--- Vivi Li                                                  2010-03-22 00:40:12

OK now.

Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

config.linux.usbhost_1362    application/octet-stream    42677    Vivi Li

Outcomes