2010-01-27 02:58:19 SSM2603 not detected on BF518F-EZBRD
Mike Bunke (GERMANY)
Message: 85171
Hi,
I am using BF518F EZBRD (BOM 1.6) with SSM2603 Audio CODEC,
but it is not detected by uClinux.
I configured kernel like that:
<M> Sound card support --->
--- Sound card support
<M> Advanced Linux Sound Architecture --->
< > Open Sound System (DEPRECATED) --->
--- Advanced Linux Sound Architecture
< > Sequencer support
<M> OSS Mixer API
<M> OSS PCM (digital audio) API
[*] OSS PCM (digital audio) API - Include plugin system
[ ] Dynamic device file minor numbers
[ ] Support old ALSA API
[ ] Verbose procfs contents
[ ] Verbose printk
[ ] Debug
[ ] Generic sound devices --->
[ ] SPI sound devices --->
ALSA Blackfin devices --->
<M> ALSA for SoC audio support --->
--- ALSA for SoC audio support
<M> SoC I2S Audio for the ADI BF5xx chip
<M> SoC SSM2602 Audio support for BF52x ezkit
< > SoC AD73311 Audio support for Blackfin
< > SoC AC97 Audio for the ADI BF5xx chip
(0) Set a SPORT for Sound chip
< > Build all ASoC CODEC drivers
{*} I2C support --->
--- I2C support
<*> I2C device interface
[*] Autoselect pertinent helper modules
I2C Hardware Bus support --->
Miscellaneous I2C Chip support --->
[ ] I2C Core debugging messages
[ ] I2C Algorithm debugging messages
[ ] I2C Bus debugging messages
[ ] I2C Chip debugging messages
I also selected linphone.
Kernel boot log:
## Booting kernel from Legacy Image at 01000000 ...
Image Name: Linux-2.6.28.10-ADI-2009R1.1
Created: 2010-01-26 14:03:58 UTC
Image Type: Blackfin Linux Kernel Image (gzip compressed)
Data Size: 4464024 Bytes = 4.3 MB
Load Address: 00001000
Entry Point: 00194e10
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting Kernel at = 00194e10
Linux version 2.6.28.10-ADI-2009R1.1 (root@linux-yyc2) (gcc version 4.3.4 (ADI-t
runk/git-11fe486) ) #18 Tue Jan 26 15:03:53 CET 2010
bootconsole [early_shadow0] enabled
bootconsole [early_BFuart0] enabled
early printk enabled on early_BFuart0
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x00112080
rodata = 0x00112080-0x00161184
bss = 0x00162000-0x00174310
data = 0x00174310-0x00188000
stack = 0x00186000-0x00188000
init = 0x00188000-0x00884000
available = 0x00884000-0x03eff000
DMA Zone = 0x03f00000-0x04000000
Hardware Trace Active and Enabled
Boot Mode: 1
Blackfin support (C) 2004-2009 Analog Devices, Inc.
Compiled for ADSP-BF518 Rev 0.0
Warning: Compiled for Rev 0, but running on Rev 1
Blackfin Linux support by blackfin.uclinux.org/
Processor Speed: 400 MHz core clock and 80 MHz System Clock
NOMPU: setting up cplb tables
Instruction Cache Enabled for CPU0
Data Cache Enabled for CPU0 (write-back)
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 16001
Kernel command line: root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=serial
,uart0,57600 console=ttyBF0,57600
Configuring Blackfin Priority Driven Interrupts
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x25
console [ttyBF0] enabled, bootconsole disabled
console [ttyBF0] enabled, bootconsole disabled
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory available: 55216k/65536k RAM, (7152k init code, 1092k kernel code, 472k d
ata, 1024k dma, 576k reserved)
Calibrating delay loop... 796.67 BogoMIPS (lpj=1593344)
Security Framework initialized
Mount-cache hash table entries: 512
Blackfin Scratchpad data SRAM: 4 KB
Blackfin L1 Data A SRAM: 16 KB (15 KB free)
Blackfin L1 Data B SRAM: 16 KB (16 KB free)
Blackfin L1 Instruction SRAM: 32 KB (26 KB free)
net_namespace: 288 bytes
NET: Registered protocol family 16
Blackfin DMA Controller
ezbrd_init(): registering device resources
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 107
io scheduler noop registered (default)
Serial: Blackfin serial driver
bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 29) is a BFIN-UART
brd: module loaded
bfin_mii_bus: probed
bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, irq=-1, mdc_
clk=2500000Hz(mdc_div=15)@sclk=80MHz)
bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1
bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_b
ase@ffc00500, dma channel@7
bfin-spi bfin-spi.1: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_b
ase@ffc03400, dma channel@5
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
i2c /dev entries driver
i2c-bfin-twi i2c-bfin-twi.0: Blackfin BF5xx on-chip I2C TWI Contoller, regs_base
@ffc01400
bfin-wdt: initialized: timeout=20 sec (nowayout=0)
TCP cubic registered
NET: Registered protocol family 17
rtc-bfin rtc-bfin: setting system clock to 1970-01-01 17:55:47 UTC (64547)
Freeing unused kernel memory: 7152k freed
dma_alloc_init: dma_page @ 0x00881000 - 256 pages at 0x03f00000
If I want to start linphone I get the errors related to the sound card.
root:/> linphonec
NLS disabled.
ALSA lib ../../alsa-lib-1.0.18/src/confmisc.c:768:(parse_card) cannot find card
'0'
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3513:(_snd_config_evaluate) function s
nd_func_card_driver returned error: No such file or directory
ALSA lib ../../alsa-lib-1.0.18/src/confmisc.c:392:(snd_func_concat) error evalua
ting strings
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3513:(_snd_config_evaluate) function s
nd_func_concat returned error: No such file or directory
ALSA lib ../../alsa-lib-1.0.18/src/confmisc.c:1251:(snd_func_refer) error evalua
ting name
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3513:(_snd_config_evaluate) function s
nd_func_refer returned error: No such file or directory
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3985:(snd_config_expand) Evaluate erro
r: No such file or directory
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm.c:2202:(snd_pcm_open_noupdate) Unk
nown PCM default
ALSA lib ../../alsa-lib-1.0.18/src/confmisc.c:768:(parse_card) cannot find card
'0'
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3513:(_snd_config_evaluate) function s
nd_func_card_driver returned error: No such file or directory
ALSA lib ../../alsa-lib-1.0.18/src/confmisc.c:392:(snd_func_concat) error evalua
ting strings
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3513:(_snd_config_evaluate) function s
nd_func_concat returned error: No such file or directory
ALSA lib ../../alsa-lib-1.0.18/src/confmisc.c:1251:(snd_func_refer) error evalua
ting name
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3513:(_snd_config_evaluate) function s
nd_func_refer returned error: No such file or directory
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3985:(snd_config_expand) Evaluate erro
r: No such file or directory
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm.c:2202:(snd_pcm_open_noupdate) Unk
nown PCM default
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm_hw.c:1429:(_snd_pcm_hw_open) Inval
id value for card
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm_hw.c:1429:(_snd_pcm_hw_open) Inval
id value for card
Ready
Warning: video is disabled in linphonec, use -V or -C or -D to enable.
linphonec>
What can I do? What's wrong?
Thanks for you help
TranslateQuoteReplyEditDelete
2010-01-27 03:02:04 Re: SSM2603 not detected on BF518F-EZBRD
Mike Frysinger (UNITED STATES)
Message: 85172
you built the drivers as modules but i dont see you loading them anywhere. did you run `modprobe` ?
QuoteReplyEditDelete
2010-01-27 03:23:17 Re: SSM2603 not detected on BF518F-EZBRD
Mike Bunke (GERMANY)
Message: 85195
Aaah... my fault. Thank you for the hint.
TranslateQuoteReplyEditDelete
2010-01-27 06:15:11 Re: SSM2603 not detected on BF518F-EZBRD
Mike Bunke (GERMANY)
Message: 85203
I made a new request...
--> Audio Device or Linphone problems ???