Rick,do you have solved this problem? I have the some problem when porting android.
On Jan 5, 11:48 am, Rick <flyelf...@gmail.com> wrote: > Hi Deva, > > Thanks for your useful information, but system still waiting for > "media.audio_policy" service ready. > I will follow up you hint to find out the way. TKS. > > BR, > Rick > > On 1月5日, 上午5時18分, Deva R <r.deva...@gmail.com> wrote: > > > > > > > > > Instead of hacking service manager, you can disable alsa for now in your > > BoardConfig.mk file, till alsa driver is up.., > > > BOARD_USES_GENERIC_AUDIO := true > > BOARD_USES_ALSA_AUDIO := false > > > On Tue, Jan 4, 2011 at 4:46 PM, Rick <flyelf...@gmail.com> wrote: > > > Hi All, > > > > I am new developer for Android platform, currently we are using iMX51 > > > for our development. > > > We changed codec chip form SGTL500C to Wolfson series, but the new > > > driver is not ready yet. > > > I found device will stop at animation logo if without audio driver > > > support. Can I bypass this check and keep going remain boot-up process > > > before audio driver ready? > > > > Rick > > > > Parts of messages that created by logcat. > > > ---------------------------------------------------------------- > > > > I/ ( 2170): ServiceManager: 0xacd0 > > > E/ALSALib ( 2170): external/alsa-lib/src/control/control.c:902: > > > (snd_ctl_open_noupdate) Invalid CTL AndroidOut > > > W/AudioHardwareALSA( 2170): Unable to attach mixer to device > > > AndroidOut: No such file or directory > > > E/AudioHardwareALSA( 2170): Unable to attach mixer to device default: > > > No such file or directory > > > E/ALSALib ( 2170): external/alsa-lib/src/control/control.c:902: > > > (snd_ctl_open_noupdate) Invalid CTL AndroidIn > > > W/AudioHardwareALSA( 2170): Unable to attach mixer to device > > > AndroidIn: No such file or directory > > > E/AudioHardwareALSA( 2170): Unable to attach mixer to device default: > > > No such file or directory > > > I/DEBUG ( 2049): *** *** *** *** *** *** *** *** *** *** *** *** *** > > > *** *** *** > > > I/DEBUG ( 2049): Build fingerprint: 'freescale/imx51_bbg/imx51_bbg/ > > > imx51_bbg:2.2/FRF85B/eng.b18293.20101115.135326:eng/test-keys' > > > I/DEBUG ( 2049): pid: 2170, tid: 2170 >>> /system/bin/mediaserver > > > <<< > > > I/DEBUG ( 2049): signal 11 (SIGSEGV), fault addr 00000010 > > > I/DEBUG ( 2049): r0 00000000 r1 08000000 r2 00000009 r3 00000000 > > > I/DEBUG ( 2049): r4 a970e8a4 r5 0000b028 r6 beb07918 r7 0000b039 > > > I/DEBUG ( 2049): r8 00000000 r9 0000aeb8 10 00000000 fp beb079b4 > > > I/DEBUG ( 2049): ip a970e634 sp beb07918 lr a9709af0 pc > > > 8013c4ec cpsr 20000010 > > > I/DEBUG ( 2049): d0 6472656767756265 d1 78696d2068636165 > > > I/DEBUG ( 2049): d2 6564206f74207263 d3 6665642065636974 > > > I/DEBUG ( 2049): d4 6c74635f646e7328 d5 6f6e5f6e65706f5f > > > I/DEBUG ( 2049): d6 2029657461647075 d7 2064696c61766e49 > > > I/DEBUG ( 2049): d8 0000000000000000 d9 0000000000000000 > > > I/DEBUG ( 2049): d10 0000000000000000 d11 0000000000000000 > > > I/DEBUG ( 2049): d12 0000000000000000 d13 0000000000000000 > > > I/DEBUG ( 2049): d14 0000000000000000 d15 0000000000000000 > > > I/DEBUG ( 2049): d16 0000000000000000 d17 0000000000000000 > > > I/DEBUG ( 2049): d18 0000000000000000 d19 0000000000000000 > > > I/DEBUG ( 2049): d20 0000000000000000 d21 0000000000000000 > > > I/DEBUG ( 2049): d22 0000000000000000 d23 0000000000000000 > > > I/DEBUG ( 2049): d24 0000000000000000 d25 0000000000000000 > > > I/DEBUG ( 2049): d26 0000000000000000 d27 0000000000000000 > > > I/DEBUG ( 2049): d28 0000000000000000 d29 0000000000000000 > > > I/DEBUG ( 2049): d30 0000000000000000 d31 0000000000000000 > > > I/DEBUG ( 2049): scr 00000000 > > > I/DEBUG ( 2049): > > > I/DEBUG ( 2049): #00 pc 0003c4ec /system/lib/libasound.so > > > I/DEBUG ( 2049): #01 pc 00009aec /system/lib/libaudio.so > > > I/DEBUG ( 2049): #02 pc 0000794c /system/lib/libaudio.so > > > I/DEBUG ( 2049): #03 pc 00007aa8 /system/lib/libaudio.so > > > I/DEBUG ( 2049): #04 pc 0000ad2c /system/lib/libaudio.so > > > I/DEBUG ( 2049): #05 pc 00021bc0 /system/lib/ > > > libaudioflinger.so > > > I/DEBUG ( 2049): #06 pc 00021c46 /system/lib/ > > > libaudioflinger.so > > > I/DEBUG ( 2049): #07 pc 0000879e /system/bin/mediaserver > > > I/DEBUG ( 2049): #08 pc 0000d3c0 /system/lib/libc.so > > > I/DEBUG ( 2049): > > > I/DEBUG ( 2049): code around pc: > > > I/DEBUG ( 2049): 8013c4cc e2000029 e2811001 e18cc000 e1520001 > > > I/DEBUG ( 2049): 8013c4dc 8afffffb e3a00000 e1c3c0b0 e12fff1e > > > I/DEBUG ( 2049): 8013c4ec e5b03010 e1530000 03a00000 12430004 > > > I/DEBUG ( 2049): 8013c4fc e12fff1e e5902010 e2803010 e1520003 > > > I/DEBUG ( 2049): 8013c50c 03a00000 15900014 12400004 e12fff1e > > > I/DEBUG ( 2049): > > > I/DEBUG ( 2049): code around lr: > > > I/DEBUG ( 2049): a9709ad0 e5808004 e3a00064 e5c58010 e5850008 > > > I/DEBUG ( 2049): a9709ae0 e59c0004 ebfff574 e5990004 ebfff4b5 > > > I/DEBUG ( 2049): a9709af0 e2504000 1a000004 ea00002e e1a00004 > > > I/DEBUG ( 2049): a9709b00 ebfff630 e2504000 0a00002a e1a00004 > > > I/DEBUG ( 2049): a9709b10 ebfff5db e3500000 0afffff7 e1a01006 > > > I/DEBUG ( 2049): > > > I/DEBUG ( 2049): stack: > > > I/DEBUG ( 2049): beb078d8 00000000 > > > I/DEBUG ( 2049): beb078dc 40003024 /dev/ashmem/ > > > system_properties (deleted) > > > I/DEBUG ( 2049): beb078e0 0000b039 [heap] > > > I/DEBUG ( 2049): beb078e4 40003020 /dev/ashmem/ > > > system_properties (deleted) > > > I/DEBUG ( 2049): beb078e8 00000001 > > > I/DEBUG ( 2049): beb078ec 0000b039 [heap] > > > I/DEBUG ( 2049): beb078f0 0000b039 [heap] > > > I/DEBUG ( 2049): beb078f4 a970d220 /system/lib/libaudio.so > > > I/DEBUG ( 2049): beb078f8 0000b039 [heap] > > > I/DEBUG ( 2049): beb078fc afd258f7 /system/lib/libc.so > > > I/DEBUG ( 2049): beb07900 a970e8a4 /system/lib/libaudio.so > > > I/DEBUG ( 2049): beb07904 af90605b /system/lib/libcutils.so > > > I/DEBUG ( 2049): beb07908 a970e8a4 /system/lib/libaudio.so > > > I/DEBUG ( 2049): beb0790c 0000b028 [heap] > > > I/DEBUG ( 2049): beb07910 df002777 > > > I/DEBUG ( 2049): beb07914 e3a070ad > > > I/DEBUG ( 2049): #01 beb07918 00000000 > > > I/DEBUG ( 2049): beb0791c 00000000 > > > I/DEBUG ( 2049): beb07920 00000000 > > > I/DEBUG ( 2049): beb07924 00000000 > > > I/DEBUG ( 2049): beb07928 00000000 > > > I/DEBUG ( 2049): beb0792c 00000000 > > > I/DEBUG ( 2049): beb07930 00000000 > > > I/DEBUG ( 2049): beb07934 00000000 > > > I/DEBUG ( 2049): beb07938 00000000 > > > I/DEBUG ( 2049): beb0793c 00000000 > > > I/DEBUG ( 2049): beb07940 00000000 > > > I/DEBUG ( 2049): beb07944 00000000 > > > I/DEBUG ( 2049): beb07948 00000000 > > > I/DEBUG ( 2049): beb0794c 00000000 > > > I/DEBUG ( 2049): beb07950 00000000 > > > I/DEBUG ( 2049): beb07954 00000000 > > > I/DEBUG ( 2049): beb07958 0000026c > > > I/DEBUG ( 2049): beb0795c a9709a4c /system/lib/libaudio.so > > > I/DEBUG ( 2049): beb07960 a970e200 /system/lib/libaudio.so > > > I/DEBUG ( 2049): beb07964 00000000 > > > I/DEBUG ( 2049): beb07968 00000228 > > > I/DEBUG ( 2049): beb0796c 0000027c > > > I/DEBUG ( 2049): beb07970 0000aeb8 [heap] > > > I/DEBUG ( 2049): beb07974 a970e1f8 /system/lib/libaudio.so > > > I/DEBUG ( 2049): beb07978 a970e964 /system/lib/libaudio.so > > > I/DEBUG ( 2049): beb0797c 00000000 > > > I/DEBUG ( 2049): beb07980 a970e628 /system/lib/libaudio.so > > > I/DEBUG ( 2049): beb07984 00000000 > > > I/DEBUG ( 2049): beb07988 00000000 > > > I/DEBUG ( 2049): beb0798c 479bc56a > > > I/DEBUG ( 2049): beb07990 00000000 > > > I/DEBUG ( 2049): beb07994 a970e628 /system/lib/libaudio.so > > > I/DEBUG ( 2049): beb07998 0000ae50 [heap] > > > I/DEBUG ( 2049): beb0799c beb079bc [stack] > > > I/DEBUG ( 2049): beb079a0 0000aeb8 [heap] > > > I/DEBUG ( 2049): beb079a4 00000000 > > > I/DEBUG ( 2049): beb079a8 00000000 > > > I/DEBUG ( 2049): beb079ac 00000000 > > > I/DEBUG ( 2049): beb079b0 00000000 > > > I/DEBUG ( 2049): beb079b4 a9707950 /system/lib/libaudio.so > > > I/ServiceManager( 2101): Waiting for sevice media.audio_policy... > > > > -- > > > unsubscribe: > > > android-porting+unsubscr...@googlegroups.com<android-porting%2Bunsubscribe@ > > > googlegroups.com> > > > website:http://groups.google.com/group/android-porting > > > -- > > Regards, > > Devawww.bittoggler.com -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting