[#5820] Can not find sound card ad1836 on bf533-stamp in trunk

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

[#5820] Can not find sound card ad1836 on bf533-stamp in trunk

Submitted By: Vivi Li

Open Date

2010-01-07 23:29:21     Close Date

2010-03-29 04:57:44

Priority:

Medium     Assignee:

Barry Song

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

Category:

Audio     Board:

STAMP

Processor:

BF533     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.3_trunk3771

App binary format:

N/A     

Summary: Can not find sound card ad1836 on bf533-stamp in trunk

Details:

 

Can not find sound card ad1836 on bf533-stamp in trunk.

AD1836 is OK on bf537-stamp.

 

Bellow is the log:

--

Linux version 2.6.32.2-ADI-2010R1-pre-svn8107 (test@uclinux77-533stamp-ad1836-spi) (gcc version 4.3.4 (ADI-trunk/svn-3771) ) #190

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: 128MB

Kernel Managed Memory: 128MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x0012fa90

  rodata    = 0x0012fa90-0x0019066c

  bss       = 0x00191000-0x001a2254

  data      = 0x001a2254-0x001b2000

    stack   = 0x001b2000-0x001b4000

  init      = 0x001b4000-0x007ac000

  available = 0x007ac000-0x03800000

  DMA Zone  = 0x07e00000-0x08000000

Hardware Trace Active and Enabled

Boot Mode: 0

Reset caused by Software reset

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

Compiled for ADSP-BF533 Rev 0.3

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

Processor Speed: 497 MHz core clock and 82 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=11059200 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: 48920k/131072k RAM, (6112k init code, 1210k kernel code, 530k data, 2048k dma, 72252k reserved)

Hierarchical RCU implementation.

NR_IRQS:49

Configuring Blackfin Priority Driven Interrupts

console [ttyBF0] enabled, bootconsole disabled

console [ttyBF0] enabled, bootconsole disabled

Calibrating delay loop... 991.23 BogoMIPS (lpj=1982464)

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: 64 KB (52 KB free)

NET: Registered protocol family 16

Blackfin DMA Controller

stamp_init(): registering device resources

bio: create slab <bio-0> at 0

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

NET: Registered protocol family 1

msgmni has been set to 95

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

bfin-uart: Blackfin serial driver

bfin-uart.0: ttyBF0 at MMIO 0xffc00400 (irq = 21) 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@5

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

eth0: SMC91C11xFD (rev 1) at 20300300 IRQ 40 [nowait]

eth0: Ethernet addr: 00:e0:22:fe:07:5b

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

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

Advanced Linux Sound Architecture Driver Version 1.0.21.

ALSA device list:

  No soundcards found.

TCP cubic registered

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting system clock to 1970-01-01 08:30:06 UTC (30606)

eth0: link down

IP-Config: Complete:

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

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

     bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=

Freeing unused kernel memory: 6112k freed

dma_alloc_init: dma_page @ 0x027b1000 - 512 pages at 0x07e00000

                           _____________________________________

        a8888b.           / Welcome to the uClinux distribution \

       d888888b.         /       _     _                         \

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

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

       8'    .88       \        | |   | |e t h|0|:| |l\i n k   u p|,

                                                                      1 0 08M.b.p s8,   f u l l - d u p_l e x ,   l p_a   0 x\4

      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-01-06 17:03:08 GMT+6) hush - the humble shell

 

root:/> version

kernel:    Linux release 2.6.32.2-ADI-2010R1-pre-svn8107, build #19 Wed Jan 6 17:13:32 GMT+6 2010

toolchain: bfin-linux-uclibc-gcc release gcc version 4.3.4 (ADI-trunk/svn-3771)

user-dist: release svn-9341, build #260 Wed Jan 6 17:10:15 GMT+6 2010

root:/>

--

 

For all the logs we've got, the first failed version is as bellow:

--

kernel:    Linux release 2.6.32.2-ADI-2010R1-pre-svn8084, build #4 Tue Dec 29 21:08:25 GMT+6 2009

toolchain: bfin-linux-uclibc-gcc release gcc version 4.3.4 (ADI-trunk/svn-3771)

user-dist: release svn-9317, build #50 Tue Dec 29 21:05:17 GMT+6 2009

--

 

Follow-ups

 

--- Barry Song                                               2010-01-11 23:02:57

platform information needed to add into bf533 boards.

 

--- Vivi Li                                                  2010-03-04 05:08:59

Still can not find 1836 for bf533-stamp.

 

--- Barry Song                                               2010-03-22 03:07:29

due to the obsolete AD1836 config name. patch:

-#if defined(CONFIG_SND_BLACKFIN_AD183X) \

-    || defined(CONFIG_SND_BLACKFIN_AD183X_MODULE)

+#if defined(CONFIG_SND_BF5XX_SOC_AD183X) \

+    || defined(CONFIG_SND_BF5XX_SOC_AD183X_MODULE)

 

--- Vivi Li                                                  2010-03-29 04:56:22

OK now. Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

config.audio_ad1836    application/octet-stream    33940    Vivi Li

Attachments

Outcomes