hi bigfly

i am doing the same thing as you

my board is based on s3c2440 cpu

and  i think we encoutered the same problem.

if you have solved it , could you let me know?

i diabled rild because my board don't have phone module
,but i get these log from logcat :

it seems zygote have illegal instruction in it, but i do not know how
fix it,
any help will be appreciated!

D/AndroidRuntime( 1679): >>>>>>>>>>>>>> AndroidRuntime START
<<<<<<<<<<<<<<
D/AndroidRuntime( 1679): CheckJNI is OFF
I/DEBUG   ( 1464): *** *** *** *** *** *** *** *** *** *** *** *** ***
*** *** ***
I/DEBUG   ( 1464): Build fingerprint: 'generic/generic/generic/:1.6/
Donut/eng.ironox.20091210.133754:eng/test-keys'
I/DEBUG   ( 1464): pid: 1679, tid: 1679  >>> zygote <<<
I/DEBUG   ( 1464): signal 4 (SIGILL), fault addr ad059dc0
I/DEBUG   ( 1464):  r0 4104bf1c  r1 bec49598  r2 4106cc18  r3 0000bc48
I/DEBUG   ( 1464):  r4 417447f2  r5 4104bf2c  r6 bec49590  r7 ad00e840
I/DEBUG   ( 1464):  r8 00000071  r9 0000bc48  10 4104bf0c  fp 00000000
I/DEBUG   ( 1464):  ip 00000071  sp bec49550  lr ad01342c  pc
ad059dc0  cpsr 00000010
I/DEBUG   ( 1464):          #00  pc 00059dc0  /system/lib/libdvm.so
I/DEBUG   ( 1464):          #01  lr ad01342c  /system/lib/libdvm.so
I/DEBUG   ( 1464): stack:
I/DEBUG   ( 1464):     bec49510  4000cc70
I/DEBUG   ( 1464):     bec49514  4162a1f8
I/DEBUG   ( 1464):     bec49518  00000001
I/DEBUG   ( 1464):     bec4951c  ad06030b  /system/lib/libdvm.so
I/DEBUG   ( 1464):     bec49520  4000cc70
I/DEBUG   ( 1464):     bec49524  ad08ae1c
I/DEBUG   ( 1464):     bec49528  00003f3f
I/DEBUG   ( 1464):     bec4952c  00015d88  [heap]
I/DEBUG   ( 1464):     bec49530  00015d20  [heap]
I/DEBUG   ( 1464):     bec49534  0000096f
I/DEBUG   ( 1464):     bec49538  00000000
I/DEBUG   ( 1464):     bec4953c  41744c48
I/DEBUG   ( 1464):     bec49540  4104bf58
I/DEBUG   ( 1464):     bec49544  bec49590  [stack]
I/DEBUG   ( 1464):     bec49548  e3a07077
I/DEBUG   ( 1464):     bec4954c  ef900077
I/DEBUG   ( 1464): #00 bec49550  0000bc48  [heap]
I/DEBUG   ( 1464):     bec49554  ad08bef0
I/DEBUG   ( 1464):     bec49558  bec49590  [stack]
I/DEBUG   ( 1464):     bec4955c  ad018038  /system/lib/libdvm.so
I/DEBUG   ( 1464):     bec49560  00000344
I/DEBUG   ( 1464):     bec49564  bec49640  [stack]
I/DEBUG   ( 1464):     bec49568  4000cc70
I/DEBUG   ( 1464):     bec4956c  4104bf6c
I/DEBUG   ( 1464):     bec49570  00000000
I/DEBUG   ( 1464):     bec49574  ad018090  /system/lib/libdvm.so
I/DEBUG   ( 1464):     bec49578  00010978  [heap]
I/DEBUG   ( 1464):     bec4957c  00000001
I/DEBUG   ( 1464):     bec49580  0000bc48  [heap]
I/DEBUG   ( 1464):     bec49584  ad017a9c  /system/lib/libdvm.so
I/DEBUG   ( 1464):     bec49588  4000cc70
I/DEBUG   ( 1464):     bec4958c  afe0ee38  /system/lib/libc.so
I/DEBUG   ( 1464):     bec49590  41744c44
I/DEBUG   ( 1464):     bec49594  4104bf58



On 11月20日, 下午4时04分, bigfly <[email protected]> wrote:
> I encountered another problem when init starting its life.
>
> The following is the output of logcat:
>
> I/DEBUG   ( 1557): debuggerd: Nov 19 2009 18:56:41
> I/vold    ( 1556): Android Volume Daemon version 2.0
> E/vold    ( 1556): Unable to open '/sys/class/mmc_host' (No such file
> or directory)
> D/vold    ( 1556): Bootstrapping complete
> I/DEBUG   ( 1557): *** *** *** *** *** *** *** *** *** *** *** *** ***
> *** *** ***
> I/DEBUG   ( 1557): Build fingerprint: 'generic/generic/generic/:1.6/
> Donut/eng.Joe.20091119.172946:eng/test-keys'
> I/DEBUG   ( 1557): pid: 1558, tid: 1558  >>> /system/bin/rild <<<
> I/DEBUG   ( 1557): signal 4 (SIGILL), fault addr b0001d38
> I/DEBUG   ( 1557):  r0 00000400  r1 00000000  r2 00000000  r3 00001000
> I/DEBUG   ( 1557):  r4 be8f88c0  r5 00000000  r6 0000a120  r7 00000001
> I/DEBUG   ( 1557):  r8 00000000  r9 00000000  10 00000000  fp 00000000
> I/DEBUG   ( 1557):  ip 0000a198  sp be8f8898  lr 1e078440  pc
> b0001d38  cpsr 40000010
> I/DEBUG   ( 1557):          #00  pc b0001d38  /system/bin/linker
> I/DEBUG   ( 1557):          #01  lr 1e078440  <unknown>
> I/DEBUG   ( 1557): stack:
> I/DEBUG   ( 1557):     be8f8858  1f000000
> I/DEBUG   ( 1557):     be8f885c  afe22f31  /system/lib/libc.so
> I/DEBUG   ( 1557):     be8f8860  00000000
> I/DEBUG   ( 1557):     be8f8864  00000000
> I/DEBUG   ( 1557):     be8f8868  00000000
> I/DEBUG   ( 1557):     be8f886c  00000001
> I/DEBUG   ( 1557):     be8f8870  00000000
> I/DEBUG   ( 1557):     be8f8874  be8f8cc0  [stack]
> I/DEBUG   ( 1557):     be8f8878  be8f8cc0  [stack]
> I/DEBUG   ( 1557):     be8f887c  00001000
> I/DEBUG   ( 1557):     be8f8880  00001000
> I/DEBUG   ( 1557):     be8f8884  00000000
>
> I found the undefined instruction was 0xad01f9a3 and its assembly code
> is:
>
> stcge 9, cr15, [r1, #-652]
>
> The above code is in the /system/bin/linker. I don't understand why
> there is a coprocessor instruction in the android dynamic linker and
> what is the coprocessor 9?
>
> Any suggestions?
>
> On Nov 20, 3:51 pm, bigfly <[email protected]> wrote:
>
> > Shantanu, you are the man. By using the armv4t toolchain from koolu to
> > compile the donut source code, I can get rid of the 'undefined
> > instruction' problem and see the init to start breathing.
>
> > Thanks again.
>
> > On Nov 5, 3:15 pm, Shantanu <[email protected]> wrote:
>
> > > On Nov 4, 3:23 pm, bigfly <[email protected]> wrote:
>
> > > > Hi,
>
> > > > I'm trying to port the Android Donut to theS3C2443, but the system
> > > > cannot execute init and dump the following message:
> > > > 5. Build the kernel with the donut's prebuilt toolchain(arm-
> > > > eabi-4.2.1).
>
> > > I think this is where you go wrong. You need to download armv4t
> > > toolchain from koolu (http://gitorious.org/android-on-freerunner) and
> > > use that to compile.

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to