[#5157] ad1980 driver can not initialize correctly on bf527-ezkit

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

[#5157] ad1980 driver can not initialize correctly on bf527-ezkit

Submitted By: Vivi Li

Open Date

2009-05-22 06:10:18     Close Date

2009-06-05 04:04:26


Medium High     Assignee:

Cliff Cai


Closed     Fixed In Release:


Found In Release:

N/A     Release:


N/A     Board:



BF527     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Not reproducible

Uboot version or rev.:

    Toolchain version or rev.:


App binary format:


Summary: ad1980 driver can not initialize correctly on bf527-ezkit



ad1980 driver can not initialize correctly on bf527-ezkit. It failed even using an image that used to work.


Bellow is the log:


Linux version (test@uclinux63-527-usbdev) (gcc version 4.1.2 (ADI svn)) #28 Fri May 22 06:22:38 CST 2009^M

Board Memory: 64MB^M

Kernel Managed Memory: 64MB^M

Memory map:^M

  fixedcode = 0x00000400-0x00000490^M

  text      = 0x00001000-0x001449a0^M

  rodata    = 0x001449a0-0x001abac4^M

  bss       = 0x001ac000-0x001bd6b8^M

  data      = 0x001bd6b8-0x001d2000^M

    stack   = 0x001d0000-0x001d2000^M

  init      = 0x001d2000-0x00942000^M

  available = 0x00942000-0x03dff000^M

  DMA Zone  = 0x03e00000-0x04000000^M

Hardware Trace Active and Enabled^M

Boot Mode: 1^M

Reset caused by Software reset^M

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

Compiled for ADSP-BF527 Rev 0.2^M

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

Processor Speed: 525 MHz core clock and 131 MHz System Clock^M

NOMPU: setting up cplb tables^M

Instruction Cache Enabled for CPU0^M

Data Cache Enabled for CPU0 (write-back)^M

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 15747^M

Kernel command line: ^M

Configuring Blackfin Priority Driven Interrupts^M

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

console [ttyBF0] enabled^M

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

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

Memory available: 53436k/65536k RAM, (7616k init code, 1294k kernel code, 566k data, 2048k dma, 572k reserved)^M

Calibrating delay loop... 1046.52 BogoMIPS (lpj=2093056)^M

Security Framework initialized^M

Mount-cache hash table entries: 512^M

Blackfin Scratchpad data SRAM: 4 KB^M

Blackfin L1 Data A SRAM: 16 KB (15 KB free)^M

Blackfin L1 Data B SRAM: 16 KB (16 KB free)^M

Blackfin L1 Instruction SRAM: 48 KB (42 KB free)^M

PDA for CPU0 reserved at 001ae000^M

net_namespace: 288 bytes^M

NET: Registered protocol family 16^M

Blackfin DMA Controller^M

ezkit_init(): registering device resources^M

SCSI subsystem initialized^M

usbcore: registered new interface driver usbfs^M

usbcore: registered new interface driver hub^M

usbcore: registered new device driver usb^M

musb_hdrc: version 6.0, musb-dma, host, debug=0^M

musb_hdrc: USB Host mode controller at ffc03800 using DMA, IRQ 59^M

musb_hdrc musb_hdrc.0: MUSB HDRC host driver^M

musb_hdrc musb_hdrc.0: new USB bus registered, assigned bus number 1^M

usb usb1: configuration #1 chosen from 1 choice^M

hub 1-0:1.0: USB hub found^M

dma_alloc_init: dma_page @ 0x03dc2000 - 512 pages at 0x03e00000^M

hub 1-0:1.0: 1 port detected^M

NET: Registered protocol family 2^M

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)^M

TCP established hash table entries: 2048 (order: 2, 16384 bytes)^M

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

TCP: Hash tables configured (established 2048 bind 2048)^M

TCP reno registered^M

NET: Registered protocol family 1^M

msgmni has been set to 104^M

io scheduler noop registered^M

io scheduler anticipatory registered (default)^M

io scheduler cfq registered^M

bfin-otp: initialized^M

Serial: Blackfin serial driver^M

bfin-uart.1: ttyBF0 at MMIO 0xffc02000 (irq = 31) is a BFIN-UART^M

brd: module loaded^M

Driver 'sd' needs updating - please use bus_type methods^M

m25p80 spi0.1: m25p16 (2048 Kbytes)^M

Creating 2 MTD partitions on "m25p80":^M

0x00000000-0x00040000 : "bootloader(spi)"^M

0x00040000-0x00200000 : "linux kernel(spi)"^M

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

Initializing USB Mass Storage driver...^M

usbcore: registered new interface driver usb-storage^M

USB Mass Storage support registered.^M

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

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

usbcore: registered new interface driver usbhid^M

usbhid: v2.6:USB HID core driver^M

Advanced Linux Sound Architecture Driver Version 1.0.18rc3.^M

ASoC version 0.13.2^M

dma rx:3 tx:4, err irq:15, regs:ffc00800^M

AD1980 SoC Audio Codec^M

asoc: AC97 <-> bf5xx-ac97 mapping ok^M

bf5xx_ac97_cold_reset: Not implemented^M

bf5xx_ac97_cold_reset: Not implemented^M

bf5xx_ac97_cold_reset: Not implemented^M

bf5xx_ac97_cold_reset: Not implemented^M

bf5xx_ac97_cold_reset: Not implemented^M

bf5xx_ac97_cold_reset: Not implemented^M

bf5xx_ac97_cold_reset: Not implemented^M

bf5xx_ac97_cold_reset: Not implemented^M

bf5xx_ac97_cold_reset: Not implemented^M

bf5xx_ac97_cold_reset: Not implemented^M

bf5xx_ac97_cold_reset: Not implemented^M

AD1980 AC97 reset failed^M

AC97 link error^M

soc-audio: probe of soc-audio failed with error -5^M

ALSA device list:^M

  No soundcards found.^M

TCP cubic registered^M

NET: Registered protocol family 17^M

rtc-bfin rtc-bfin: setting system clock to 2009-05-10 22:25:51 UTC (1241994351)^M

Freeing unused kernel memory: 7616k freed^M


        a8888b.           / Welcome to the uClinux distribution \^M

       d888888b.         /       _     _                         \^M

       8P"YP"Y88        /       | |   |_|            __  __ (TM)  |^M

       8|o||o|88  _____/        | |    _ ____  _   _ \ \/ /       |^M

       8'    .88       \        | |   | |  _ \| | | | \  /        |^M

       8`._.' Y8.       \       | |__ | | | | | |_| | /  \        |^M

      d/      `8b.       \      \____||_|_| |_|\____|/_/\_\       |^M

     dP   .    Y8b.       \   For embedded processors including   |^M

    d8:'  "  `::88b        \    the Analog Devices Blackfin      /^M

   d8"         'Y88b        \___________________________________/^M

  :8P    '      :888^M

   8a.   :     _a88P         For further information, check out:^M

._/"Yaa_:   .| 88P|            - http://blackfin.uclinux.org/^M

\    YP"    `| 8P  `.          - http://docs.blackfin.uclinux.org/^M

/     \.___.d|    .'           - http://www.uclinux.org/^M

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

Have a lot of fun...^M



BusyBox v1.13.4 (2009-05-22 06:18:02 CST) built-in shell (msh)^M

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





Here we use uboot:


U-Boot 2008.10-svn1816 (ADI-2009R1-pre) (Apr  9 2009 - 16:12:15)^M


CPU:   ADSP bf527-0.0 (Detected Rev: 0.2) (parallel flash boot)^M

Board: ADI BF527 EZ-Kit board^M

       Support: http://blackfin.uclinux.org/^M

Clock: VCO: 525 MHz, Core: 525 MHz, System: 131.250 MHz^M

RAM:   64 MB^M


RAM size is 64 MB.

4 MB^M

In:    serial^M

Out:   serial^M

Err:   serial^M

Net:   Blackfin EMAC^M

MAC:   00:E0:22:FE:BD:7C^M

Hit any key to stop autoboot:  5 ^H^H^H 0 ^M






--- Cliff Cai                                                2009-06-05 03:42:45

SW11 and SW5 need to be configured see:





--- Vivi Li                                                  2009-06-05 04:04:26

OK, thanks!

Close it.












File Name     File Type     File Size     Posted By

config.audio_ad1981b    application/octet-stream    37229    Vivi Li