[#3809] Load ad73311 driver failed in trunk on BF537-STAMP

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

[#3809] Load ad73311 driver failed in trunk on BF537-STAMP

Submitted By: Vivi Li

Open Date

2008-01-02 03:12:53     Close Date

2008-01-21 04:34:01

Priority:

Medium High     Assignee:

Cliff Cai

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

N/A     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

toolchain 4.1 -2007_Nov_27

App binary format:

N/A     

Summary: Load ad73311 driver failed in trunk on BF537-STAMP

Details:

 

Load ad73311 driver failed in trunk on BF537-STAMP.

Below is the log for linux kernel built with ad73311 driver as built-in mode. There are similar erro log when insmod ad73311 module.

 

----

## Starting application at 0x00176000 ...

Linux version 2.6.22.15-ADI-2007R2-pre-svn4075 (test@Linux52-AD73311-LCD) (gcc version 4.1.2 (ADI s8

Hardware Trace Active and Enabled

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

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

Compiled for ADSP-BF537 Rev 0.2

Blackfin Linux support by   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-0x00115fd0

  rodata    = 0x00116000-0x00163d8c

  data      = 0x00164000-0x00176000

    stack   = 0x00164000-0x00166000

  init      = 0x00176000-0x0046e000

  bss       = 0x0046e000-0x0047dab0

  available = 0x0047dab0-0x037ff000

  DMA Zone  = 0x03f00000-0x04000000

Instruction Cache Enabled

Data Cache Enabled (write-through)

Built 1 zonelists.  Total pages: 14224

Kernel command line: root=/dev/mtdblock0 rw console=ttyBF0,57600 ip=10.100.4.50:10.100.4.174:192.16f

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: 37ff

Memory available: 52100k/64112k RAM, (3040k init code, 1107k kernel code, 62k data, 1024k dma)

Blackfin Scratchpad data SRAM: 4 KB

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

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

Blackfin Instruction SRAM: 48 KB (39 KB free)

Security Framework v1.0.0 initialized

Mount-cache hash table entries: 512

NET: Registered protocol family 16

Blackfin GPIO Controller

Blackfin DMA Controller

stamp_init(): registering device resources

Generic PHY: Registered new driver

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

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

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

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

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

SMSC LAN83C185: Registered new driver

bfin_mac_mdio: probed

bfin_mac: attached PHY driver [SMSC LAN83C185] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(md)

bfin_mac: Version 1.1, Blackfin BF53[67] BF527 on-chip Ethernet MAC driver

bfin-spi bfin-spi.0: Blackfin BF5xx on-chip SPI Contoller Driver, Version 1.0, regs_base@ffc00500, 7

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

Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC).

Hardware Trace:

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

     Source : <0x00005fac> { _cmp_label + 0x58 }

   1 Target : <0x00005fac> { _cmp_label + 0x58 }

     Source : <0x00005f60> { _cmp_label + 0xc }

   2 Target : <0x00005f54> { _cmp_label + 0x0 }

     Source : <0x0000625c> { _gpio_request + 0x14 }

   3 Target : <0x00006248> { _gpio_request + 0x0 }

     Source : <0x000c3ae6> { _snd_ad73311_probe + 0x2a }

   4 Target : <0x000c3ae2> { _snd_ad73311_probe + 0x26 }

     Source : <0x000c3ad4> { _snd_ad73311_probe + 0x18 }

   5 Target : <0x000c3abc> { _snd_ad73311_probe + 0x0 }

     Source : <0x00093322> { _platform_drv_probe + 0xe }

   6 Target : <0x00093314> { _platform_drv_probe + 0x0 }

     Source : <0x00091ce0> { _driver_probe_device + 0x78 }

   7 Target : <0x00091cde> { _driver_probe_device + 0x76 }

     Source : <0x00091db8> { _driver_probe_device + 0x150 }

   8 Target : <0x00091db2> { _driver_probe_device + 0x14a }

     Source : <0x00091cdc> { _driver_probe_device + 0x74 }

   9 Target : <0x00091ccc> { _driver_probe_device + 0x64 }

     Source : <0x00091bce> { _driver_sysfs_add + 0x2e }

  10 Target : <0x00091bc6> { _driver_sysfs_add + 0x26 }

     Source : <0x00091be8> { _driver_sysfs_add + 0x48 }

  11 Target : <0x00091be4> { _driver_sysfs_add + 0x44 }

     Source : <0x0006835a> { _sysfs_create_link + 0x66 }

  12 Target : <0x00068352> { _sysfs_create_link + 0x5e }

     Source : <0x001153c8> { _mutex_unlock + 0x20 }

  13 Target : <0x001153a8> { _mutex_unlock + 0x0 }

     Source : <0x0006834e> { _sysfs_create_link + 0x5a }

  14 Target : <0x00068346> { _sysfs_create_link + 0x52 }

     Source : <0x000683bc> { _sysfs_create_link + 0xc8 }

  15 Target : <0x000683b8> { _sysfs_create_link + 0xc4 }

     Source : <0x000675ea> { _sysfs_make_dirent + 0x36 }

Stack from 037e9dd8:

        030f7878 00005fb0 00000000 00000004 00047778 000041ed 000675d2 00006260

        0314a808 00000004 0007aeea 030f7878 037e9f10 000c3aea 00000000 037e9e94

        0314a800 000674a2 0016e9b0 000674a2 0000a1ff 00000020 00091be4 0314a808

        001704a0 00000000 0314a870 ffffffac 03112304 00091ce2 0314a808 001704a0

        00000000 037e9e94 ffffffac 030f7878 0016e888 037e9f10 00091078 00091070

        00091de4 0314a8e0 0018d9e4 00000000 030f7878 000081a4 00000020 0016e80c

 

Call Trace:

[<00091ea0>] _device_attach+0x94/0xb0

[<00091de4>] ___device_attach+0x0/0x4

[<00090fe6>] _bus_attach_device+0x46/0x90

[<00090022>] _device_add+0x3ae/0x4a0

[<00090028>] _device_add+0x3b4/0x4a0

[<00093674>] _platform_device_add+0xe4/0x160

[<000937b0>] _platform_device_alloc+0x1c/0x68

[<000937d2>] _platform_device_alloc+0x3e/0x68

[<0009384e>] _platform_device_register_simple+0x1e/0x58

[<0018b24e>] _snd_ad73311_init+0x2e/0x9c

[<0018b268>] _snd_ad73311_init+0x48/0x9c

[<00176674>] _kernel_init+0x88/0x234

[<001765ec>] _kernel_init+0x0/0x234

[<00001686>] _kernel_thread_helper+0x6/0xc

 

Please provide none-null label

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

ALSA device list:

  #0: Analog Devices AD73311L at PF4 SPORT0 rx/tx dma 3/4 err irq 45

TCP cubic registered

NET: Registered protocol family 1

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting the system clock to 1970-01-01 03:03:56 (11036)

IP-Config: Gateway not on directly connected network.

Freeing unused kernel memory: 3040k 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|            -   blackfin.uclinux.org/

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

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

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

 

Have a lot of fun...

 

 

BusyBox v1.4.1 (2008-01-02 13:32:41 CST) Built-in shell (msh)

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

 

root:~>

----

 

Follow-ups

 

--- Cliff Cai                                                2008-01-16 03:54:15

NULL is allowed for gpio_requst's second argument now

 

--- Vivi Li                                                  2008-01-21 06:36:19

It's OK now. Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

config.ad73311    text/plain    28500    Vivi Li

Attachments

    Outcomes