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