From: "wangxf" <wangxf@amoi.com.cn>
To: alsa-devel <alsa-devel@alsa-project.org>
Subject: About question of "ALSA lib pcm.c:2143:(snd_pcm_open_noupdate) Unknown PCM default"
Date: Wed, 19 Mar 2008 11:48:03 +0800 [thread overview]
Message-ID: <200803191148033437079@amoi.com.cn> (raw)
[-- Attachment #1: Type: text/plain, Size: 1267 bytes --]
alsa-devel,你好:
I am new to ALSA, now I try to add one sound soc chip in linux 2.6.21 kernel on samsung arm designed board.
I have do some underside work:
1: I have porting linux 2.6.21 kernel on samsung arm designed board.(log.txt add accessories)
2. kernel have recognise sound chip form log information.
3. I have a test app working in linux 2.6.18.(this test app is tested ok!)
4. I have download "alsa-lib-1.0.15.tar.bz2" and buid in linux host(Linux 2.6.18-5-686 #1 SMP Fri Jun 1 00:47:00 UTC 2007),create libasound.so.2.0.0.
build order:
1)./configure --host=arm-linux CC=arm-linux-gcc ( i do not affirm this config)
2) make
3) and then change to su to use to make install.
5. download libasound.so.2.0.0 lib to samsung designed board and download test app to samsung designed board.
6. but i run test ,system prompt err:
ALSA lib pcm.c:2143:(snd_pcm_open_noupdate) Unknown PCM default
Playback open error: No such file or directory
Segmentation fault
now,I doubt libasound.so.2.0.0 lib is conflict with kernel 2.6.21. hope help .
夏新移动通讯有限公司 软件设计工程师 王小锋
电话:86-592-6516777EXT6643
E-MAIL:wangxf@amoi.com.cn
wangxf
2008-03-19
[-- Attachment #2: log.txt --]
[-- Type: application/octet-stream, Size: 22426 bytes --]
OK
U-Boot 1.1.6 (Mar 7 2008 - 16:15:59) for SMDK2442(MSP3)
U-Boot code: C0600000 -> C0634000 BSS: -> C06476A4
Malloc and Stack is above the U-Boot Code.
CPU: S3C2442@400MHz
Fclk = 400MHz, Hclk = 133MHz, Pclk = 66MHz
Board: SMDK2442
RAM Configuration:
Bank #0: 30000000 64 MB
Support PMIC chip.
PMIC was founded
disable PMIC watchdog success.
EnableLdo10_11 success.
EnableLdo2 success.
Enable lcd success.
Enable PMIC_BUCK2_DVC1 success.
Enable PMIC_IRQ_MASK_A success.
Enable PMIC_IRQ_MASK_B success.
Enable PMIC_IRQ_MASK_C success.
Enable PMIC_IRQ_MASK_C success.
LCD panel info: 240 x 320, 16 bit/pix
Reserving 152k for LCD Framebuffer at: c0648000
NAND: 128 MB
*** Warning - bad CRC or NAND, using default environment
[LCD] Initializing LCD frambuffer at c0648000
BootInitDisplay start
Init_LCDPanel start
Init_LCDController
clkval_calc = 9
panel_info.s3c.screen = c0648000
[LCD] Drawing the logo...
BootStartDisplay start
In: serial
Out: serial
Err: serial
### main_loop entered: bootdelay=3
### main_loop: bootcmd="nand read c0008000 40000 1c0000;bootm c0008000"
Hit any key to stop autoboot: 0
NAND read: device 0 offset 0x40000, size 0x1c0000
1835008 bytes read: OK
Boot with zImage
No initrd
## Transferring control to Linux (at address 30008000) ...
Starting kernel ...
STANDALONE_DEBUG ok Uncompressing Linux................................................................................................................... done, booting the kernel.
<5>Linux version 2.6.21.5 (amoi@wangxf) (gcc version 4.1.1) #13 Thu Mar 6 15:39:18 CST 2008
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
Machine: SMDK2440
Ignoring unrecognised tag 0x54410008
Memory policy: ECC disabled, Data cache writeback
smdk2440_map_io
CPU S3C2442 (id 0x32440aab)
S3C244X: core 400.780 MHz, memory 133.593 MHz, peripheral 66.796 MHz
S3C24XX Clocks, (c) 2004 Simtec Electronics
CLOCK: Slow mode (2.116 MHz), fast, MPLL on, UPLL on
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
Built 1 zonelists. Total pages: 16256
Kernel command line: noinitrd root=/dev/mtdblock3 rootfstype=yaffs2 console=ttySAC0,115200 init=/linuxrc mem=64M
irq: clearing subpending status 00000002
PID hash table entries: 256 (order: 8, 1024 bytes)
timer tcon=00500000, tcnt d96f, tcfg 00000200,00000000, usec 000016ff
Console: colour dummy device 80x30
FrenzWang debug ulcon = 0x3, quot = 23Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 61056KB available (3232K code, 395K data, 204K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
smdk2440_machine_init
For s3c nand partition smdk_machine_init
S3C2410 Power Management, (c) 2004 Simtec Electronics
S3C2442: Initialising architecture
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
DMA channel 0 at c4800000, irq 33
DMA channel 1 at c4800040, irq 34
DMA channel 2 at c4800080, irq 35
DMA channel 3 at c48000c0, irq 36
S3C2442: Clock Support, DVS off
kobject_add failed for s3c2440-nand with -EEXIST, don't try to register things with the same name in the same directory.
s3c24xx: failed to add board device s3c2440-nand (-17) @c036e050
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
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
NetWinder Floating Point Emulator V0.97 (double precision)
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
fuse init (API version 7.8)
yaffs Feb 15 2008 11:38:10 Installing.
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
/******in s3c2410fb_probe******/
s3c2410-lcd: probe of s3c2410-lcd failed with error 36
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
Serial: 8250/16550 driver $Revision: 1.1.1.1 $ 4 ports, IRQ sharing enabled
s3c2440-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2440-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2440-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
BAST NOR-Flash Driver, (c) 2004 Simtec Electronics
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
plat->tacls = 10 plat->twrph0 = 40 plat->twrph1 = 10 clkrate = 133593
result 2 from 133593, 10
result 6 from 133593, 40
result 2 from 133593, 10
s3c2440-nand s3c2440-nand: Tacls=2, 14ns Twrph0=6 44ns, Twrph1=2 14ns
s3c2410_nand_init_chip info->cpu_type = 2
NAND device: Manufacturer ID: 0xec, Chip ID: 0xa1 (Samsung NAND 128MiB 1,8V 8-bit)
NAND_ECC_NONE selected by board driver. This is not recommended !!
Scanning device for bad blocks
Bad eraseblock 57 at 0x00720000
Bad eraseblock 58 at 0x00740000
Bad eraseblock 59 at 0x00760000
Bad eraseblock 66 at 0x00840000
Bad eraseblock 67 at 0x00860000
Bad eraseblock 68 at 0x00880000
Bad eraseblock 69 at 0x008a0000
Bad eraseblock 70 at 0x008c0000
Bad eraseblock 71 at 0x008e0000
Bad eraseblock 72 at 0x00900000
Bad eraseblock 73 at 0x00920000
Bad eraseblock 74 at 0x00940000
Bad eraseblock 75 at 0x00960000
Bad eraseblock 76 at 0x00980000
Bad eraseblock 77 at 0x009a0000
Bad eraseblock 78 at 0x009c0000
Bad eraseblock 79 at 0x009e0000
Bad eraseblock 80 at 0x00a00000
Bad eraseblock 81 at 0x00a20000
Bad eraseblock 82 at 0x00a40000
Bad eraseblock 83 at 0x00a60000
Bad eraseblock 84 at 0x00a80000
Bad eraseblock 85 at 0x00aa0000
Bad eraseblock 86 at 0x00ac0000
Bad eraseblock 87 at 0x00ae0000
Bad eraseblock 88 at 0x00b00000
Bad eraseblock 89 at 0x00b20000
Bad eraseblock 90 at 0x00b40000
Bad eraseblock 91 at 0x00b60000
Bad eraseblock 92 at 0x00b80000
Bad eraseblock 93 at 0x00ba0000
Bad eraseblock 94 at 0x00bc0000
Bad eraseblock 95 at 0x00be0000
Bad eraseblock 96 at 0x00c00000
Bad eraseblock 97 at 0x00c20000
Bad eraseblock 98 at 0x00c40000
Bad eraseblock 99 at 0x00c60000
Bad eraseblock 100 at 0x00c80000
Bad eraseblock 101 at 0x00ca0000
Bad eraseblock 102 at 0x00cc0000
Bad eraseblock 103 at 0x00ce0000
Bad eraseblock 104 at 0x00d00000
Bad eraseblock 105 at 0x00d20000
Bad eraseblock 106 at 0x00d40000
Bad eraseblock 107 at 0x00d60000
Bad eraseblock 108 at 0x00d80000
Bad eraseblock 109 at 0x00da0000
Bad eraseblock 110 at 0x00dc0000
Bad eraseblock 111 at 0x00de0000
Bad eraseblock 112 at 0x00e00000
Bad eraseblock 113 at 0x00e20000
Bad eraseblock 114 at 0x00e40000
Bad eraseblock 115 at 0x00e60000
Bad eraseblock 116 at 0x00e80000
Bad eraseblock 117 at 0x00ea0000
Bad eraseblock 118 at 0x00ec0000
Bad eraseblock 119 at 0x00ee0000
Bad eraseblock 120 at 0x00f00000
Bad eraseblock 121 at 0x00f20000
Bad eraseblock 122 at 0x00f40000
Bad eraseblock 123 at 0x00f60000
Bad eraseblock 124 at 0x00f80000
Bad eraseblock 125 at 0x00fa0000
Bad eraseblock 126 at 0x00fc0000
Bad eraseblock 127 at 0x00fe0000
Bad eraseblock 128 at 0x01000000
Bad eraseblock 129 at 0x01020000
Bad eraseblock 130 at 0x01040000
Bad eraseblock 131 at 0x01060000
Bad eraseblock 132 at 0x01080000
Bad eraseblock 133 at 0x010a0000
Bad eraseblock 134 at 0x010c0000
Bad eraseblock 135 at 0x010e0000
Bad eraseblock 136 at 0x01100000
Bad eraseblock 137 at 0x01120000
Bad eraseblock 138 at 0x01140000
Bad eraseblock 139 at 0x01160000
Bad eraseblock 140 at 0x01180000
Bad eraseblock 141 at 0x011a0000
Bad eraseblock 142 at 0x011c0000
Bad eraseblock 143 at 0x011e0000
Bad eraseblock 144 at 0x01200000
Bad eraseblock 145 at 0x01220000
Bad eraseblock 146 at 0x01240000
Bad eraseblock 147 at 0x01260000
Bad eraseblock 148 at 0x01280000
Bad eraseblock 149 at 0x012a0000
Bad eraseblock 150 at 0x012c0000
Bad eraseblock 151 at 0x012e0000
Bad eraseblock 152 at 0x01300000
Bad eraseblock 153 at 0x01320000
Bad eraseblock 154 at 0x01340000
Bad eraseblock 155 at 0x01360000
Bad eraseblock 156 at 0x01380000
Bad eraseblock 157 at 0x013a0000
Bad eraseblock 158 at 0x013c0000
Bad eraseblock 159 at 0x013e0000
Bad eraseblock 160 at 0x01400000
Bad eraseblock 161 at 0x01420000
Bad eraseblock 162 at 0x01440000
Bad eraseblock 163 at 0x01460000
Bad eraseblock 164 at 0x01480000
Bad eraseblock 165 at 0x014a0000
Bad eraseblock 166 at 0x014c0000
Bad eraseblock 167 at 0x014e0000
Bad eraseblock 168 at 0x01500000
Bad eraseblock 169 at 0x01520000
Bad eraseblock 170 at 0x01540000
Bad eraseblock 171 at 0x01560000
Bad eraseblock 172 at 0x01580000
Bad eraseblock 173 at 0x015a0000
Bad eraseblock 174 at 0x015c0000
Bad eraseblock 175 at 0x015e0000
Bad eraseblock 176 at 0x01600000
Bad eraseblock 177 at 0x01620000
Bad eraseblock 178 at 0x01640000
Bad eraseblock 179 at 0x01660000
Bad eraseblock 180 at 0x01680000
Bad eraseblock 181 at 0x016a0000
Bad eraseblock 182 at 0x016c0000
Bad eraseblock 183 at 0x016e0000
Bad eraseblock 184 at 0x01700000
Bad eraseblock 185 at 0x01720000
Bad eraseblock 186 at 0x01740000
Bad eraseblock 187 at 0x01760000
Bad eraseblock 188 at 0x01780000
Bad eraseblock 189 at 0x017a0000
Bad eraseblock 190 at 0x017c0000
Bad eraseblock 191 at 0x017e0000
Bad eraseblock 192 at 0x01800000
Bad eraseblock 193 at 0x01820000
Bad eraseblock 194 at 0x01840000
Bad eraseblock 195 at 0x01860000
Bad eraseblock 196 at 0x01880000
Bad eraseblock 197 at 0x018a0000
Bad eraseblock 198 at 0x018c0000
Bad eraseblock 199 at 0x018e0000
Bad eraseblock 200 at 0x01900000
Bad eraseblock 201 at 0x01920000
Bad eraseblock 202 at 0x01940000
Bad eraseblock 203 at 0x01960000
Bad eraseblock 204 at 0x01980000
Bad eraseblock 205 at 0x019a0000
Bad eraseblock 206 at 0x019c0000
Bad eraseblock 207 at 0x019e0000
Bad eraseblock 208 at 0x01a00000
Bad eraseblock 209 at 0x01a20000
Bad eraseblock 210 at 0x01a40000
Bad eraseblock 211 at 0x01a60000
Bad eraseblock 212 at 0x01a80000
Bad eraseblock 213 at 0x01aa0000
Bad eraseblock 214 at 0x01ac0000
Bad eraseblock 215 at 0x01ae0000
Bad eraseblock 216 at 0x01b00000
Bad eraseblock 217 at 0x01b20000
Bad eraseblock 218 at 0x01b40000
Bad eraseblock 219 at 0x01b60000
Bad eraseblock 220 at 0x01b80000
Bad eraseblock 221 at 0x01ba0000
Bad eraseblock 222 at 0x01bc0000
Bad eraseblock 223 at 0x01be0000
Bad eraseblock 224 at 0x01c00000
Bad eraseblock 225 at 0x01c20000
Bad eraseblock 226 at 0x01c40000
Bad eraseblock 227 at 0x01c60000
Bad eraseblock 228 at 0x01c80000
Bad eraseblock 229 at 0x01ca0000
Bad eraseblock 230 at 0x01cc0000
Bad eraseblock 231 at 0x01ce0000
Bad eraseblock 232 at 0x01d00000
Bad eraseblock 233 at 0x01d20000
Bad eraseblock 234 at 0x01d40000
Bad eraseblock 235 at 0x01d60000
Bad eraseblock 236 at 0x01d80000
Bad eraseblock 237 at 0x01da0000
Bad eraseblock 238 at 0x01dc0000
Bad eraseblock 239 at 0x01de0000
Bad eraseblock 240 at 0x01e00000
Bad eraseblock 241 at 0x01e20000
Bad eraseblock 242 at 0x01e40000
Bad eraseblock 243 at 0x01e60000
Bad eraseblock 244 at 0x01e80000
Bad eraseblock 245 at 0x01ea0000
Bad eraseblock 246 at 0x01ec0000
Bad eraseblock 247 at 0x01ee0000
Bad eraseblock 248 at 0x01f00000
Bad eraseblock 249 at 0x01f20000
Bad eraseblock 250 at 0x01f40000
Bad eraseblock 251 at 0x01f60000
Bad eraseblock 252 at 0x01f80000
Bad eraseblock 253 at 0x01fa0000
Bad eraseblock 254 at 0x01fc0000
Bad eraseblock 255 at 0x01fe0000
Bad eraseblock 256 at 0x02000000
Bad eraseblock 257 at 0x02020000
Bad eraseblock 258 at 0x02040000
Bad eraseblock 259 at 0x02060000
Bad eraseblock 260 at 0x02080000
Bad eraseblock 261 at 0x020a0000
Bad eraseblock 262 at 0x020c0000
Bad eraseblock 263 at 0x020e0000
Bad eraseblock 264 at 0x02100000
Bad eraseblock 265 at 0x02120000
Bad eraseblock 266 at 0x02140000
Bad eraseblock 267 at 0x02160000
Bad eraseblock 268 at 0x02180000
Bad eraseblock 269 at 0x021a0000
Bad eraseblock 270 at 0x021c0000
Bad eraseblock 271 at 0x021e0000
Bad eraseblock 272 at 0x02200000
Bad eraseblock 273 at 0x02220000
Bad eraseblock 274 at 0x02240000
Bad eraseblock 275 at 0x02260000
Bad eraseblock 276 at 0x02280000
Bad eraseblock 277 at 0x022a0000
Bad eraseblock 278 at 0x022c0000
Bad eraseblock 279 at 0x022e0000
Bad eraseblock 280 at 0x02300000
Bad eraseblock 281 at 0x02320000
Bad eraseblock 282 at 0x02340000
Bad eraseblock 283 at 0x02360000
Bad eraseblock 284 at 0x02380000
Bad eraseblock 285 at 0x023a0000
Bad eraseblock 286 at 0x023c0000
Bad eraseblock 287 at 0x023e0000
Bad eraseblock 288 at 0x02400000
Bad eraseblock 289 at 0x02420000
Bad eraseblock 290 at 0x02440000
Bad eraseblock 291 at 0x02460000
Bad eraseblock 292 at 0x02480000
Bad eraseblock 293 at 0x024a0000
Bad eraseblock 294 at 0x024c0000
Bad eraseblock 295 at 0x024e0000
Bad eraseblock 296 at 0x02500000
Bad eraseblock 297 at 0x02520000
Bad eraseblock 298 at 0x02540000
Bad eraseblock 299 at 0x02560000
Bad eraseblock 300 at 0x02580000
Bad eraseblock 301 at 0x025a0000
Bad eraseblock 302 at 0x025c0000
Bad eraseblock 303 at 0x025e0000
Bad eraseblock 304 at 0x02600000
Bad eraseblock 305 at 0x02620000
Bad eraseblock 306 at 0x02640000
Bad eraseblock 307 at 0x02660000
Bad eraseblock 308 at 0x02680000
Bad eraseblock 309 at 0x026a0000
Bad eraseblock 310 at 0x026c0000
Bad eraseblock 311 at 0x026e0000
Bad eraseblock 312 at 0x02700000
Bad eraseblock 313 at 0x02720000
Bad eraseblock 314 at 0x02740000
Bad eraseblock 315 at 0x02760000
Bad eraseblock 316 at 0x02780000
Bad eraseblock 317 at 0x027a0000
Bad eraseblock 318 at 0x027c0000
Bad eraseblock 319 at 0x027e0000
Bad eraseblock 320 at 0x02800000
Bad eraseblock 321 at 0x02820000
Bad eraseblock 322 at 0x02840000
Bad eraseblock 323 at 0x02860000
Bad eraseblock 324 at 0x02880000
Bad eraseblock 325 at 0x028a0000
Bad eraseblock 326 at 0x028c0000
Bad eraseblock 327 at 0x028e0000
Bad eraseblock 328 at 0x02900000
Bad eraseblock 329 at 0x02920000
Bad eraseblock 330 at 0x02940000
Bad eraseblock 331 at 0x02960000
Bad eraseblock 332 at 0x02980000
Bad eraseblock 333 at 0x029a0000
Bad eraseblock 334 at 0x029c0000
Bad eraseblock 335 at 0x029e0000
Bad eraseblock 336 at 0x02a00000
Bad eraseblock 337 at 0x02a20000
Bad eraseblock 338 at 0x02a40000
Bad eraseblock 339 at 0x02a60000
Bad eraseblock 340 at 0x02a80000
Bad eraseblock 341 at 0x02aa0000
Bad eraseblock 342 at 0x02ac0000
Bad eraseblock 343 at 0x02ae0000
Bad eraseblock 344 at 0x02b00000
Bad eraseblock 345 at 0x02b20000
Bad eraseblock 346 at 0x02b40000
Bad eraseblock 347 at 0x02b60000
Bad eraseblock 348 at 0x02b80000
Bad eraseblock 349 at 0x02ba0000
Bad eraseblock 350 at 0x02bc0000
Bad eraseblock 351 at 0x02be0000
Bad eraseblock 352 at 0x02c00000
Bad eraseblock 353 at 0x02c20000
Bad eraseblock 354 at 0x02c40000
Bad eraseblock 355 at 0x02c60000
Bad eraseblock 356 at 0x02c80000
Bad eraseblock 357 at 0x02ca0000
Bad eraseblock 358 at 0x02cc0000
Bad eraseblock 359 at 0x02ce0000
Bad eraseblock 360 at 0x02d00000
Bad eraseblock 361 at 0x02d20000
Bad eraseblock 362 at 0x02d40000
Bad eraseblock 363 at 0x02d60000
Bad eraseblock 364 at 0x02d80000
Bad eraseblock 365 at 0x02da0000
Bad eraseblock 366 at 0x02dc0000
Bad eraseblock 367 at 0x02de0000
Bad eraseblock 368 at 0x02e00000
Bad eraseblock 369 at 0x02e20000
Bad eraseblock 370 at 0x02e40000
Bad eraseblock 371 at 0x02e60000
Bad eraseblock 372 at 0x02e80000
Bad eraseblock 373 at 0x02ea0000
Bad eraseblock 374 at 0x02ec0000
Bad eraseblock 375 at 0x02ee0000
Bad eraseblock 376 at 0x02f00000
Bad eraseblock 377 at 0x02f20000
Bad eraseblock 378 at 0x02f40000
Bad eraseblock 379 at 0x02f60000
Bad eraseblock 380 at 0x02f80000
Bad eraseblock 381 at 0x02fa0000
Bad eraseblock 382 at 0x02fc0000
Bad eraseblock 383 at 0x02fe0000
Bad eraseblock 384 at 0x03000000
Bad eraseblock 385 at 0x03020000
Bad eraseblock 386 at 0x03040000
Bad eraseblock 387 at 0x03060000
Bad eraseblock 388 at 0x03080000
Bad eraseblock 389 at 0x030a0000
Bad eraseblock 390 at 0x030c0000
Bad eraseblock 391 at 0x030e0000
Bad eraseblock 392 at 0x03100000
Bad eraseblock 393 at 0x03120000
Bad eraseblock 394 at 0x03140000
Bad eraseblock 395 at 0x03160000
Bad eraseblock 396 at 0x03180000
Bad eraseblock 397 at 0x031a0000
Bad eraseblock 398 at 0x031c0000
Bad eraseblock 399 at 0x031e0000
Bad eraseblock 400 at 0x03200000
Bad eraseblock 401 at 0x03220000
Bad eraseblock 402 at 0x03240000
Bad eraseblock 403 at 0x03260000
Bad eraseblock 404 at 0x03280000
Bad eraseblock 405 at 0x032a0000
Bad eraseblock 406 at 0x032c0000
Bad eraseblock 407 at 0x032e0000
Bad eraseblock 408 at 0x03300000
Bad eraseblock 409 at 0x03320000
Bad eraseblock 410 at 0x03340000
Bad eraseblock 411 at 0x03360000
Bad eraseblock 412 at 0x03380000
Bad eraseblock 413 at 0x033a0000
Bad eraseblock 414 at 0x033c0000
Bad eraseblock 415 at 0x033e0000
Bad eraseblock 416 at 0x03400000
Bad eraseblock 417 at 0x03420000
Bad eraseblock 418 at 0x03440000
Bad eraseblock 419 at 0x03460000
Bad eraseblock 420 at 0x03480000
Bad eraseblock 421 at 0x034a0000
Bad eraseblock 422 at 0x034c0000
Bad eraseblock 423 at 0x034e0000
Bad eraseblock 424 at 0x03500000
Bad eraseblock 425 at 0x03520000
Bad eraseblock 426 at 0x03540000
Bad eraseblock 427 at 0x03560000
Bad eraseblock 428 at 0x03580000
Bad eraseblock 429 at 0x035a0000
Bad eraseblock 430 at 0x035c0000
Bad eraseblock 431 at 0x035e0000
Bad eraseblock 432 at 0x03600000
Bad eraseblock 433 at 0x03620000
Bad eraseblock 434 at 0x03640000
Bad eraseblock 435 at 0x03660000
Bad eraseblock 436 at 0x03680000
Bad eraseblock 437 at 0x036a0000
Bad eraseblock 438 at 0x036c0000
Bad eraseblock 439 at 0x036e0000
Bad eraseblock 440 at 0x03700000
Creating 5 MTD partitions on "NAND 128MiB 1,8V 8-bit":
0x00000000-0x00040000 : "Bootloader"
0x00040000-0x00200000 : "Kernel"
0x00200000-0x03800000 : "Root - Cramfs"
0x03800000-0x05000000 : "Yaffs2"
0x05000000-0x08000000 : "File System"
S3C NAND Driver, (c) 2007 Samsung Electronics
usbmon: debugfs is not available
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
mice: PS/2 mouse device common for all mice
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
i2c /dev entries driver
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 9 KHz
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
Advanced Linux Sound Architecture Driver Version 1.0.14rc3 (Wed Mar 14 07:25:50 2007 UTC).
ASoC version 0.13.2
s3c2442_init
s3c2442_probe
Entered s3c_i2s_probe
Entered s3c24xx_snd_txctrl : on = 0
r: IISCON: 101 IISMOD: 0 IISFCON: 0
w: IISCON: 109 IISMOD: 0 IISFCON: 0
Entered s3c24xx_snd_rxctrl: on = 0
r: IISCON: 109 IISMOD: 0 IISFCON: 0
w: IISCON: 10d IISMOD: 0 IISFCON: 0
wm8991: WM8991 Audio Codec 0.01
wm8991_i2c_attach
wm8991_codec_probe
wm8991_init
### wm8991_write : reg = 0x1, value = 0x0
Entered s3c24xx_pcm_new
Entered s3c24xx_pcm_preallocate_dma_buffer
Entered s3c24xx_pcm_preallocate_dma_buffer
asoc: WM8991 HiFi <-> s3c-i2s mapping ok
### wm8991_write : reg = 0x2, value = 0x1d3
### wm8991_write : reg = 0xc, value = 0x1c0
### wm8991_write : reg = 0xd, value = 0x1c0
### wm8991_write : reg = 0x10, value = 0x1c0
### wm8991_write : reg = 0x11, value = 0x1c0
reg old 6000 new 6000 change 0
reg old 6000 new 6000 change 0
reg old 6000 new 6000 change 0
reg old 6000 new 6000 change 0
reg old 0 new 0 change 0
reg old 0 new 0 change 0
reg old 0 new 0 change 0
reg old 0 new 0 change 0
reg old 0 new 0 change 0
reg old 0 new 0 change 0
reg old 0 new 0 change 0
reg old 0 new 0 change 0
s3c2442_wm8991_init
reg old 6000 new 6000 change 0
reg old 6000 new 6000 change 0
reg old 6000 new 6000 change 0
reg old 6000 new 6000 change 0
reg old 0 new 0 change 0
reg old 0 new 0 change 0
reg old 0 new 0 change 0
reg old 0 new 0 change 0
reg old 0 new 0 change 0
reg old 0 new 0 change 0
reg old 0 new 0 change 0
reg old 0 new 0 change 0
reg old 6000 new 6000 change 0
reg old 6000 new 6000 change 0
reg old 6000 new 6000 change 0
reg old 6000 new 6000 change 0
reg old 0 new 0 change 0
reg old 0 new 0 change 0
reg old 0 new 0 change 0
reg old 0 new 0 change 0
reg old 0 new 0 change 0
reg old 0 new 0 change 0
reg old 0 new 0 change 0
reg old 0 new 0 change 0
ALSA device list:
#0: s3c2442 (WM8991)
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
yaffs: dev is 32505859 name is "mtdblock3"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.3, "mtdblock3"
VFS: Mounted root (yaffs2 filesystem).
Freeing init memory: 204K
FrenzWang debug ulcon = 0x3, quot = 23<7>selected clock c037cbc4 (pclk) quot 35, calc 115966
init star<7>selected clock c037cbc4 (pclk) quot 35, calc 115966
FrenzWang debug ulcon = 0x3, quot = 23ted: BusyBox v1.8.2 (2008-01-31 14:51:14 CST)
starting pid 749, tty '': '/etc/init.d/rcS'
in rcS
<7>selected clock c037cbc4 (pclk) quot 35, calc 115966
FrenzWang debug ulcon = 0x3, quot = 23
Please press Enter to activate this console. ### wm8991_write : reg = 0x2, value = 0x153
starting pid 751, tty '': '/bin/sh'
# ls
bin lib mnt sbin tmp
dev linuxrc proc sys usr
etc lost+found root test var
# cd test
# ls
pcm_test soctest ttytest txt
# ./pcm_test
ALSA lib pcm.c:2143:(snd_pcm_open_noupdate) Unknown PCM default
Playback open error: No such file or directory
Segmentation fault
[-- Attachment #3: Type: text/plain, Size: 160 bytes --]
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
reply other threads:[~2008-03-19 3:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200803191148033437079@amoi.com.cn \
--to=wangxf@amoi.com.cn \
--cc=alsa-devel@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox