2009-03-16 10:39:26 Bf 527 ez kit lite Audio Codec
Param Ivar (INDIA)
Message: 71038
Hi,
I am working with BF 527 EzKitlite in 2008 R1.5 distribution.I have enabled default options for BF 527 ez kit lite in menu config, and i have enabled SSM 2602. On giving make command and i got a uImage. This uImage when made to booted up, i cannot able to see the audio coded getting enabled. Instead i got the following
Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50
2006 UTC).
ALSA device list:
No soundcards found.
TCP cubic registered
The above shows No soundcards found.
Could you please help me in resolving this issue
Reagrds
Ravi
QuoteReplyEditDelete
2009-03-16 12:12:04 Re: Bf 527 ez kit lite Audio Codec
Robin Getz (UNITED STATES)
Message: 71042
Param:
Can you post the entire output from the kernel start? The reason why the card didn't get registered will be above.
Thanks
-Robin
QuoteReplyEditDelete
2009-03-16 23:33:26 Re: Bf 527 ez kit lite Audio Codec
Sonic Zhang (CHINA)
Message: 71057
Are you sure you have bf527c chip on your bf527-ezkit board?
QuoteReplyEditDelete
2009-03-17 01:36:59 Re: Bf 527 ez kit lite Audio Codec
Param Ivar (INDIA)
Message: 71068
Hi,
Pasted below is entire tera term output screen... I have BF 527C processor in my board :-)
U-Boot 1.1.6-svn1273 (ADI-2008R1.5) (Jul 21 2008 - 00:29:36)
CPU: ADSP bf527-0.0 (Detected Rev: 0.0)
Board: ADI BF527 EZ-Kit board
Support: blackfin.uclinux.org/
Clock: VCO: 525 MHz, Core: 525 MHz, System: 131 MHz
RAM: 64 MB
Flash: 4 MB
In: serial
Out: serial
Err: serial
Net: Blackfin EMAC
MAC: 00:E0:22:FE:BB:17
Hit any key to stop autoboot: 0
bfin> tftp 0x1200000 uImage
Using Blackfin EMAC device
TFTP from server 172.16.6.105; our IP address is 172.16.15.62; sending through g
ateway 172.16.1.1
Filename 'uImage'.
Load address: 0x1200000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#############################################################
done
Bytes transferred = 3637411 (3780a3 hex)
bfin> bootm 0x1200000
## Booting image at 01200000 ...
Image Name: Linux-2.6.22.19-ADI-2008R1.5-svn
Created: 2009-03-16 11:35:20 UTC
Image Type: Blackfin Linux Kernel Image (gzip compressed)
Data Size: 3637347 Bytes = 3.5 MB
Load Address: 00001000
Entry Point: 0019c000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting Kernel at = 19c000
Linux version 2.6.22.19-ADI-2008R1.5-svn (asravi@mdtv) (gcc version 4.1.2 (ADI s
vn)) #3 Mon Mar 16 17:05:09 IST 2009
early printk enabled on early_BFuart0
Hardware Trace Active and Enabled
Blackfin support (C) 2004-2007 Analog Devices, Inc.
Compiled for ADSP-BF527 Rev 0.1
Warning: Compiled for Rev 1, but running on Rev 0
Warning: Unsupported Chip Revision ADSP-BF527 Rev 0.0 detected
Blackfin Linux support by blackfin.uclinux.org/
Processor Speed: 525 MHz core clock and 131 MHz System Clock
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
text = 0x00001000-0x0012afc0
rodata = 0x0012b000-0x00184cc8
data = 0x00185000-0x0019c000
stack = 0x00186000-0x00188000
init = 0x0019c000-0x006b7000
bss = 0x006b7000-0x006c6c10
available = 0x006c6c10-0x03eff000
DMA Zone = 0x03f00000-0x04000000
NOMPU: setting up cplb tables for global access
Instruction Cache Enabled
Data Cache Enabled (write-through)
Built 1 zonelists. Total pages: 16002
Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart1,57600 conso
le=tty0 console=ttyBF0,57600
Configuring Blackfin Priority Driven Interrupts
PID hash table entries: 256 (order: 8, 1024 bytes)
console handover: boot [early_BFuart0] -> real [ttyBF0]
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory available: 56992k/65536k RAM, (5228k init code, 1191k kernel code, 516k d
ata, 1024k dma, 584k reserved)
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 (42 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
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
musb_hdrc: version 6.0, pio, host, debug=0
musb_hdrc: kernel must blacklist external hubs
musb_hdrc: USB Host mode controller at ffc03800 using PIO, IRQ 59
musb_hdrc musb_hdrc.0: MUSB HDRC host driver
musb_hdrc musb_hdrc.0: new USB bus registered, assigned bus number 1
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
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
bfin-t350mcqb: 320x240 24-bit RGB FrameBuffer initializing...
dma_alloc_init: dma_page @ 0x03ad2000 - 256 pages at 0x03f00000
bfin-otp: initialized
bfin-wdt: initialized: timeout=20 sec (nowayout=0)
Serial: Blackfin serial driver
bfin-uart.1: ttyBF0 at MMIO 0xffc02000 (irq = 31) is a BFIN-UART
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
bfin_mac_mdio: probed
bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:03, irq=-1, mdc_
clk=2500000Hz(mdc_div=25)@sclk=131MHz)
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, r
egs_base@ffc00500, dma channel@7
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
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50
2006 UTC).
ALSA device list:
No soundcards found.
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 01:37:49 (5869)
Freeing unused kernel memory: 5228k 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 (2009-03-16 16:59:03 IST) Built-in shell (msh)
Enter 'help' for a list of built-in commands.
QuoteReplyEditDelete
2009-03-17 02:34:29 Re: Bf 527 ez kit lite Audio Codec
Param Ivar (INDIA)
Message: 71071
Hi,
I have enabled few more settings in make menuconfig(I2C Support) and please find the following output from teraterm...
please let me know why i cannot hear the sine tone...
bfin> bootm 0x1200000
## Booting image at 01200000 ...
Image Name: Linux-2.6.22.19-ADI-2008R1.5-svn
Created: 2009-03-17 6:55:45 UTC
Image Type: Blackfin Linux Kernel Image (gzip compressed)
Data Size: 3680212 Bytes = 3.5 MB
Load Address: 00001000
Entry Point: 00198000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting Kernel at = 198000
Linux version 2.6.22.19-ADI-2008R1.5-svn (asravi@mdtv) (gcc version 4.1.2 (ADI s
vn)) #9 Tue Mar 17 12:25:35 IST 2009
early printk enabled on early_BFuart0
Hardware Trace Active and Enabled
Blackfin support (C) 2004-2007 Analog Devices, Inc.
Compiled for ADSP-BF527 Rev 0.1
Warning: Compiled for Rev 1, but running on Rev 0
Warning: Unsupported Chip Revision ADSP-BF527 Rev 0.0 detected
Blackfin Linux support by blackfin.uclinux.org/
Processor Speed: 525 MHz core clock and 131 MHz System Clock
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
text = 0x00001000-0x00127a90
rodata = 0x00128000-0x0018077c
data = 0x00181000-0x00198000
stack = 0x00182000-0x00184000
init = 0x00198000-0x006cf000
bss = 0x006cf000-0x006de790
available = 0x006de790-0x03eff000
DMA Zone = 0x03f00000-0x04000000
NOMPU: setting up cplb tables for global access
Instruction Cache Enabled
Data Cache Enabled (write-through)
Built 1 zonelists. Total pages: 16002
Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart1,57600 conso
le=tty0 console=ttyBF0,57600
Configuring Blackfin Priority Driven Interrupts
PID hash table entries: 256 (order: 8, 1024 bytes)
console handover: boot [early_BFuart0] -> real [ttyBF0]
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory available: 56896k/65536k RAM, (5340k init code, 1178k kernel code, 511k d
ata, 1024k dma, 584k reserved)
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 (42 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
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
musb_hdrc: version 6.0, pio, host, debug=0
musb_hdrc: kernel must blacklist external hubs
musb_hdrc: USB Host mode controller at ffc03800 using PIO, IRQ 59
musb_hdrc musb_hdrc.0: MUSB HDRC host driver
musb_hdrc musb_hdrc.0: new USB bus registered, assigned bus number 1
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
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
bfin-t350mcqb: 320x240 24-bit RGB FrameBuffer initializing...
dma_alloc_init: dma_page @ 0x03b0a000 - 256 pages at 0x03f00000
bfin-otp: initialized
bfin-wdt: initialized: timeout=20 sec (nowayout=0)
Serial: Blackfin serial driver
bfin-uart.1: ttyBF0 at MMIO 0xffc02000 (irq = 31) is a BFIN-UART
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
bfin_mac_mdio: probed
bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, irq=-1, mdc_
clk=2500000Hz(mdc_div=25)@sclk=131MHz)
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, r
egs_base@ffc00500, dma channel@7
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
i2c-bfin-twi i2c-bfin-twi.0: Blackfin BF5xx on-chip I2C TWI Contoller Driver, Ve
rsion 1.8, regs_base@ffc01400
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
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 02:31:05 (9065)
Freeing unused kernel memory: 5340k 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 (2009-03-16 16:59:03 IST) Built-in shell (msh)
Enter 'help' for a list of built-in commands.
root:/> modprobe snd-ssm2602
ASoC version 0.13.1
dma rx:3 tx:4, err irq:15, regs:ffc00800
ssm2602 Audio Codec 0.1<6>asoc: SSM2602 <-> bf5xx-i2s-0 mapping ok
root:/> modprobe snd-pcm-oss
root:/> lsmod
Module Size Used by
snd_pcm_oss 31968 0
snd_mixer_oss 11360 1 snd_pcm_oss
snd_ssm2602 1412 0
snd_soc_bf5xx 2720 1 snd_ssm2602
snd_soc_bf5xx_i2s 10980 2 snd_ssm2602,snd_soc_bf5xx
snd_soc_ssm2602 8560 1 snd_ssm2602
snd_soc_core 17120 3 snd_ssm2602,snd_soc_bf5xx,snd_soc_ssm2602
snd_pcm 48356 3 snd_pcm_oss,snd_soc_bf5xx,snd_soc_core
snd_page_alloc 4232 1 snd_pcm
snd_timer 13796 1 snd_pcm
snd 31092 6 snd_pcm_oss,snd_mixer_oss,snd_soc_ssm2602,snd_so
c_core,snd_pcm,snd_timer
soundcore 3940 1 snd
root:/> tone
TONE: generating sine wave at 1000 Hz...
ERROR: write(/dev/dsp) failed, errno=5
root:/> tone
TONE: generating sine wave at 1000 Hz...
ERROR: write(/dev/dsp) failed, errno=5
root:/>
root:/> tone
TONE: generating sine wave at 1000 Hz...
ERROR: write(/dev/dsp) failed, errno=5
root:/> tone
TONE: generating sine wave at 1000 Hz...
ERROR: write(/dev/dsp) failed, errno=5
QuoteReplyEditDelete
2009-03-17 22:41:28 Re: Bf 527 ez kit lite Audio Codec
Cliff Cai (CHINA)
Message: 71144
Please check your hardware configurations,see docs.blackfin.uclinux.org/doku.php?id=hw:boards:bf527-ezkit
Cliff
QuoteReplyEditDelete
2009-03-18 00:52:04 Re: Bf 527 ez kit lite Audio Codec
V Hemanth Kumar (INDIA)
Message: 71151
Param
Check cat /dev/zero > /dev/dsp, you should be able to hear something.
Also try the alsa utilities like aplay, arecord to check you audio codec.
docs.blackfin.uclinux.org/doku.php?id=linux-kernel:drivers:ssm2602&s[]=alsa&s[]=utils.
~Hemanth.V