HI Carlos:
   Same with u..

Dennis

On Tue, Nov 24, 2009 at 5:45 PM, Carlos Piñeiro <carlosp...@gmail.com>wrote:

> Hi Dennis,
>
> I have the same toolchain. My board have 256MB of RAM. I got the sources
> doing:
>
> repo init -u git://public.mipsandroid.com/platform/manifest.git -b
> mips-cupcake
>
> and compiling it for mips32r2. How do you did it?
>
>
>
>
>
> 2009/11/24 Dennis.Yxun <dennis.y...@gmail.com>
>
>> Not sure whether we have the same problem,
>> But can you use logcat to dump full debug info?
>>
>> Seems that you even can't run /system/bin/sh
>> but here, at least in my system is working (may fail sometimes)
>>
>> I'm using toolchain (mips-4.3-isa32r1) which compiled by codesourcy,
>> you can download from their web
>>
>> $mips-linux-gnu-gcc -v
>> Using built-in specs.
>> Target: mips-linux-gnu
>> Configured with: /scratch/clm/2008q3-src/src/gcc-4.3/configure
>> --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=mips-linux-gnu
>> --enable-threads --disable-libmudflap --disable-libssp
>> --disable-libstdcxx-pch --with-arch=mips32r2 --with-float=hard
>> --enable-mips-nonpic --enable-extra-sgxxlite-multilibs --with-gnu-as
>> --with-gnu-ld --enable-languages=c,c++ --enable-shared --enable-symvers=gnu
>> --enable-__cxa_atexit --with-pkgversion='Sourcery G++ Lite 4.3-51'
>> --with-bugurl=https://support.codesourcery.com/GNUToolchain/--disable-nls 
>> --prefix=/opt/codesourcery
>> --with-sysroot=/opt/codesourcery/mips-linux-gnu/libc
>> --with-build-sysroot=/scratch/clm/2008q3-lite/install/mips-linux-gnu/libc
>> --with-gmp=/scratch/clm/2008q3-lite/obj/host-libs-4.3-51-mips-linux-gnu-i686-pc-linux-gnu/usr
>> --with-mpfr=/scratch/clm/2008q3-lite/obj/host-libs-4.3-51-mips-linux-gnu-i686-pc-linux-gnu/usr
>> --disable-libgomp --enable-poison-system-directories
>> --with-build-time-tools=/scratch/clm/2008q3-lite/install/mips-linux-gnu/bin
>> --with-build-time-tools=/scratch/clm/2008q3-lite/install/mips-linux-gnu/bin
>> Thread model: posix
>> gcc version 4.3.2 (Sourcery G++ Lite 4.3-51)
>>
>> On Tue, Nov 24, 2009 at 5:19 PM, Carlos Piñeiro <carlosp...@gmail.com>wrote:
>>
>>> Hi All,
>>>
>>> I´m getting the same problem in a MIPS board with the same source code.
>>> Anyway when I try to launch zygote manually I get a linker error, so I think
>>> I have a compilation error.
>>>
>>> bionic/linker/linker.c:883| ERROR: [ 1273 - failed to extend segment from
>>> 'libc.so' @ 0x7ef69000 (0x0000a9c0) ]
>>> bionic/linker/linker.c:1875| ERROR: 1273 could not load 'libcinit: cannot
>>> find '/system/bin/playmp3', disabling 'bootsound'
>>> .so'
>>> bionic/linker/linker.c:1940| ERROR: failed to link /system/bin/sh
>>> bionic/linker/linker.c:2040| ERROR: CANNOT LINK EXECUTABLE
>>> '/system/bin/sh'
>>> init: cannot find '/system/bin/flash_image', disabling 'flash_recovery'
>>> init: untracked pid 1279 exited
>>> init: untracked pid 1280 exited
>>>
>>> Do you have the same problem? I´m trying to compile for mips32r2.
>>>
>>>
>>>
>>>
>>>
>>> 2009/11/24 Dennis.Yxun <dennis.y...@gmail.com>
>>>
>>>> Hi Hedwin Koning:
>>>>    Thanks for your sharing
>>>>
>>>>    Actually it's 32Mbytes, my fault~
>>>>    Here I'm a little bit clueless about the problem.
>>>> Seems that libsgl.so triggered the exception, but I can't find the
>>>> offended instruction
>>>> according to the value of PC, since libsgl is dynamically loaded.
>>>>    Hope people can shed some lights on me, any idea or suggestion is
>>>> welcome!
>>>>
>>>> Dennis
>>>>
>>>>
>>>> On Tue, Nov 24, 2009 at 4:04 PM, Hedwin Koning <hedwin.kon...@gmail.com
>>>> > wrote:
>>>>
>>>>> Dennis.Yxun wrote:
>>>>> > HI ALL:
>>>>> >     I'm trying to bring android up at my MIPS hardware platform,
>>>>> > while the first problem i encountered is app_process(zygote) is
>>>>> crashed.
>>>>> > The source code is pulled from mipsandroid.org <
>>>>> http://mipsandroid.org>
>>>>> >     My hardware has pretty limited memory, only 16M SDRAM,
>>>>> > is it enough to bring up essential android system?
>>>>> >
>>>>> > Dennis
>>>>> >
>>>>> > ************************ err message *******************************
>>>>> > turn off boot console
>>>>> > early0
>>>>> > transport: local server
>>>>> > init
>>>>> > transport: server_socket_thread()
>>>>> > starting
>>>>> > jdwp control socket started
>>>>> > (7)
>>>>> > server: trying to get new connection from
>>>>> > 5555
>>>>> > #
>>>>> > logcat
>>>>> >
>>>>> > I/vold    ( 1401): Android Volume Daemon version
>>>>> > 2.0
>>>>> > I/vold    ( 1401): New MMC card 'SU512' (serial 546968682) added @
>>>>> > /class/mmc_h4
>>>>> > E/vold    ( 1401): Unable to open '/sys/class/switch'
>>>>> > (m)
>>>>> > D/vold    ( 1401): Bootstrapping
>>>>> > complete
>>>>> > I/DEBUG   ( 1411): debuggerd: Nov 19 2009
>>>>> > 15:24:08
>>>>> > I/DEBUG   ( 1411): *** *** *** *** *** *** *** *** *** *** *** ***
>>>>> ***
>>>>> > *** *** *
>>>>> > I/DEBUG   ( 1411): Build fingerprint:
>>>>> > 'generic//hmp10/:1.5/CUPCAKE/eng.den'
>>>>>
>>>>> > I/DEBUG   ( 1411): pid: 1407, tid: 1407  >>> /system/bin/app_process
>>>>> > <<<
>>>>> > I/DEBUG   ( 1411): signal 11 (SIGSEGV), fault addr
>>>>> > 00160cc8
>>>>> > I/DEBUG   ( 1411):  zr 00000000  at 00000001  v0 00006139  v1
>>>>> > 7c033007
>>>>> > I/DEBUG   ( 1411):  a0 7c1567a4  a1 7c02fd68  a2 00000000  a3
>>>>> > 56464947
>>>>> > I/DEBUG   ( 1411):  t0 7c194848  t1 00000005  t2 00000028  t3
>>>>> > 7c194820
>>>>> > I/DEBUG   ( 1411):  t4 7c194730  t5 00000a86  t6 40000000  t7
>>>>> > 7f000000
>>>>> > I/DEBUG   ( 1411):  s0 0000000f  s1 7c18ea40  s2 7c02fd68  s3
>>>>> > 00000009
>>>>> > I/DEBUG   ( 1411):  s4 7f000000  s5 0000001c  s6 00000015  s7
>>>>> > 00000014
>>>>> > I/DEBUG   ( 1411):  t8 7f0209fc  t9 7c033008  k0 00000000  k1
>>>>> > 00000000
>>>>> > I/DEBUG   ( 1411):  gp 00166db8  sp 7fe230d8  s8 00000000  ra
>>>>> > 7f000228
>>>>> > I/DEBUG   ( 1411):  hi 000006a9  lo 000192ec bva 00160cc8 epc
>>>>> > 7c033568
>>>>> > I/DEBUG   ( 1411):          #00  pc 7c033568
>>>>> > /system/lib/libsgl.so
>>>>> > I/DEBUG   ( 1411):          #01  ra 7f000228
>>>>> > /system/bin/linker
>>>>> > I/DEBUG   ( 1411):
>>>>> > stack:
>>>>> > I/DEBUG   ( 1411):     7fe23098
>>>>> > 00000000
>>>>> > I/DEBUG   ( 1411):     7fe2309c
>>>>> > 00000000
>>>>> > I/DEBUG   ( 1411):     7fe230a0
>>>>> > 00000000
>>>>> > I/DEBUG   ( 1411):     7fe230a4
>>>>> > 00000000
>>>>> > I/DEBUG   ( 1411):     7fe230a8
>>>>> > 00000000
>>>>> > I/DEBUG   ( 1411):     7fe230ac
>>>>> > 00000000
>>>>> > I/DEBUG   ( 1411):     7fe230b0
>>>>> > 7f0286a0
>>>>> > I/DEBUG   ( 1411):     7fe230b4
>>>>> > 00000021
>>>>> > I/DEBUG   ( 1411):     7fe230b8
>>>>> > 00000a87
>>>>> > I/DEBUG   ( 1411):     7fe230bc  7c1946d8
>>>>> > /system/lib/libsgl.so
>>>>> > I/DEBUG   ( 1411):     7fe230c0  7c00f45c
>>>>> > /system/lib/libsgl.so
>>>>> > I/DEBUG   ( 1411):     7fe230c4
>>>>> > 00000a87
>>>>> > I/DEBUG   ( 1411):     7fe230c8
>>>>> > 7c199dc0
>>>>> > I/DEBUG   ( 1411):     7fe230cc  7c0001cc
>>>>> > /system/lib/libsgl.so
>>>>> > I/DEBUG   ( 1411):     7fe230d0  7c00f46c
>>>>> > /system/lib/libsgl.so
>>>>> > I/DEBUG   ( 1411):     7fe230d4  7f000228
>>>>> > /system/bin/linker
>>>>> > I/DEBUG   ( 1411):     7fe230d8  7c000198
>>>>> > /system/lib/libsgl.so
>>>>> > I/DEBUG   ( 1411):     7fe230dc
>>>>> > 7f0228a8
>>>>> > I/DEBUG   ( 1411):     7fe230e0
>>>>> > 00000001
>>>>> > I/DEBUG   ( 1411):     7fe230e4
>>>>> > 00000021
>>>>> > I/DEBUG   ( 1411):     7fe230e8
>>>>> > 7f0286a0
>>>>> > I/DEBUG   ( 1411):     7fe230ec
>>>>> > 0000001c
>>>>> > I/DEBUG   ( 1411):     7fe230f0
>>>>> > 00166db8
>>>>> > I/DEBUG   ( 1411):     7fe230f4
>>>>> > 00000000
>>>>> > I/DEBUG   ( 1411):     7fe230f8
>>>>> > 7f0228a8
>>>>> > I/DEBUG   ( 1411):     7fe230fc  7f002d0c
>>>>> > /system/bin/linker
>>>>> > I/DEBUG   ( 1411):     7fe23100
>>>>> > 7f0228a8
>>>>> > I/DEBUG   ( 1411):     7fe23104  7c023b5c
>>>>> > /system/lib/libsgl.so
>>>>> > I/DEBUG   ( 1411):     7fe23108
>>>>> > 0000002f
>>>>> > I/DEBUG   ( 1411):     7fe2310c  79d335ac
>>>>> > /system/lib/libutils.so
>>>>> > I/DEBUG   ( 1411):     7fe23110
>>>>> > 7ef6d6e0
>>>>> > I/DEBUG   ( 1411):     7fe23114
>>>>> > 0000000f
>>>>> > I/DEBUG   ( 1411):     7fe23118  7c18ea40
>>>>> > /system/lib/libsgl.so
>>>>> > I/DEBUG   ( 1411):     7fe2311c
>>>>> > 00000000
>>>>> > I/DEBUG   ( 1411):     7fe23120
>>>>> > 00000009
>>>>> > I/DEBUG   ( 1411):     7fe23124  7f000228
>>>>> > /system/bin/linker
>>>>> > I/DEBUG   ( 1411):     7fe23128
>>>>> > 00000000
>>>>> > I/DEBUG   ( 1411):     7fe2312c
>>>>> > 7f0228a8
>>>>> > I/DEBUG   ( 1411):     7fe23130
>>>>> > 00000001
>>>>> > I/DEBUG   ( 1411):     7fe23134
>>>>> > 00000021
>>>>> > I/DEBUG   ( 1411):     7fe23138
>>>>> > 0000001b
>>>>> > I/DEBUG   ( 1411):     7fe2313c
>>>>> > 0000001c
>>>>> > I/DEBUG   ( 1411):     7fe23140
>>>>> > 00000008
>>>>> > I/DEBUG   ( 1411):     7fe23144
>>>>> > 00000007
>>>>> > I/DEBUG   ( 1411):     7fe23148
>>>>> > 00000012
>>>>> > I/DEBUG   ( 1411):     7fe2314c  7f0028a4
>>>>> > /system/bin/linker
>>>>> > I/DEBUG   ( 1411):     7fe23150
>>>>> > 00002000
>>>>> > I/DEBUG   ( 1411):     7fe23154  7f001274
>>>>> > /system/bin/linker
>>>>> > I/DEBUG   ( 1411):     7fe23158
>>>>> > 7f02277c
>>>>> > I/DEBUG   ( 1411):     7fe2315c
>>>>> > 00000003
>>>>> > I/DEBUG   ( 1411):     7fe23160
>>>>> > ffffffff
>>>>> > I/DEBUG   ( 1411):     7fe23164
>>>>> > 00000000
>>>>> > I/DEBUG   ( 1411):     7fe23168
>>>>> > 7f0286a0
>>>>> > I/DEBUG   ( 1411):     7fe2316c  7f020000
>>>>> > /system/bin/linker
>>>>> > I/DEBUG   ( 1411):     7fe23170
>>>>> > 00000004
>>>>> > I/DEBUG   ( 1411):     7fe23174  502000d0
>>>>> > /system/lib/libskiagl.so
>>>>> > I/DEBUG   ( 1411):     7fe23178
>>>>> > 7f02277c
>>>>> > I/DEBUG   ( 1411):     7fe2317c  7f002ed0
>>>>> > /system/bin/linker
>>>>> > I/DEBUG   ( 1411):     7fe23180
>>>>> > 00000003
>>>>> > I/DEBUG   ( 1411):     7fe23184
>>>>> > 7f025660
>>>>> > I/DEBUG   ( 1411):     7fe23188
>>>>> > 000009d4
>>>>> > I/DEBUG   ( 1411):     7fe2318c  79d335ac
>>>>> > /system/lib/libutils.so
>>>>> > I/DEBUG   ( 1411):     7fe23190  00083120
>>>>> > [heap]
>>>>> > I/DEBUG   ( 1411):     7fe23194  79d3d828
>>>>> > /system/lib/libutils.so
>>>>> > I/DEBUG   ( 1411):     7fe23198
>>>>> > 7f0286a0
>>>>> > I/DEBUG   ( 1411):     7fe2319c  79d75520
>>>>> > /system/lib/libutils.so
>>>>> > I/DEBUG   ( 1411):     7fe231a0
>>>>> > 7f0286a0
>>>>> > I/DEBUG   ( 1411):     7fe231a4  7f000fe0
>>>>> > /system/bin/linker
>>>>> > I/DEBUG   ( 1411):     7fe231a8
>>>>> > 00000000
>>>>> > I/DEBUG   ( 1411):     7fe231ac
>>>>> > 7f02277c
>>>>> > I/DEBUG   ( 1411):     7fe231b0
>>>>> > 00000001
>>>>> > I/DEBUG   ( 1411):     7fe231b4
>>>>> > 00000021
>>>>> > I/DEBUG   ( 1411):     7fe231b8
>>>>> > 0000001b
>>>>> > I/DEBUG   ( 1411):     7fe231bc
>>>>> > 0000001c
>>>>> > I/DEBUG   ( 1411):     7fe231c0
>>>>> > 00000001
>>>>> > I/DEBUG   ( 1411):     7fe231c4
>>>>> > 00000000
>>>>> > I/DEBUG   ( 1411):     7fe231c8
>>>>> > 00000012
>>>>> > I/DEBUG   ( 1411):     7fe231cc  7f0028a4
>>>>> > /system/bin/linker
>>>>> > I/DEBUG   ( 1411):     7fe231d0
>>>>> > 00002000
>>>>> > I/DEBUG   ( 1411):     7fe231d4  7f001274
>>>>> > /system/bin/linker
>>>>> > I/DEBUG   ( 1411):     7fe231d8
>>>>> > 7f0214bc
>>>>> > I/DEBUG   ( 1411):     7fe231dc
>>>>> > 00000003
>>>>> > I/DEBUG   ( 1411):     7fe231e0
>>>>> > ffffffff
>>>>> > I/DEBUG   ( 1411):     7fe231e4  7d2a0000
>>>>> > /system/lib/libandroid_runtime.so
>>>>> > I/DEBUG   ( 1411):     7fe231e8
>>>>> > 7f0286a0
>>>>> > I/DEBUG   ( 1411):     7fe231ec  7f020000
>>>>> > /system/bin/linker
>>>>> > I/DEBUG   ( 1411):     7fe231f0
>>>>> > 00000004
>>>>> > I/DEBUG   ( 1411):     7fe231f4  7d2a00f0
>>>>> > /system/lib/libandroid_runtime.so
>>>>> > I/DEBUG   ( 1411):     7fe231f8
>>>>> > 7f0214bc
>>>>> > I/DEBUG   ( 1411):     7fe231fc  7f002ed0
>>>>> > /system/bin/linker
>>>>> > I/DEBUG   ( 1411):     7fe23200
>>>>> > 00000003
>>>>> > I/DEBUG   ( 1411):     7fe23204
>>>>> > 7f025660
>>>>> > I/DEBUG   ( 1411):     7fe23208
>>>>> > 000001db
>>>>> > I/DEBUG   ( 1411):     7fe2320c
>>>>> > 00000000
>>>>> > I/DEBUG   ( 1411):     7fe23210
>>>>> > 00000000
>>>>> > I/DEBUG   ( 1411):     7fe23214
>>>>> > 00000000
>>>>> > I/DEBUG   ( 1411):     7fe23218
>>>>> > 7f0286a0
>>>>> > I/DEBUG   ( 1411):     7fe2321c
>>>>> > 00000000
>>>>> > I/DEBUG   ( 1411):     7fe23220
>>>>> > 7f0286a0
>>>>> > I/DEBUG   ( 1411):     7fe23224
>>>>> > 00000000
>>>>> > I/DEBUG   ( 1411):     7fe23228
>>>>> > 00000000
>>>>> > I/DEBUG   ( 1411):     7fe2322c
>>>>> > 7f0214bc
>>>>> > I/DEBUG   ( 1411):     7fe23230
>>>>> > 00000001
>>>>> > I/DEBUG   ( 1411):     7fe23234
>>>>> > 00000021
>>>>> > I/DEBUG   ( 1411):     7fe23238
>>>>> > 0000001b
>>>>> > I/DEBUG   ( 1411):     7fe2323c
>>>>> > 0000001c
>>>>> > I/DEBUG   ( 1411):     7fe23240
>>>>> > 00000001
>>>>> > I/DEBUG   ( 1411): *** *** *** *** *** *** *** *** *** *** *** ***
>>>>> ***
>>>>> > *** *** *
>>>>> > I/DEBUG   ( 1411): Build fingerprint:
>>>>> > 'generic/hmp10/hmp10/:1.5/CUPCAKE/eng.den'
>>>>> > I/DEBUG   ( 1411): pid: 1413, tid: 1413  >>> /system/bin/app_process
>>>>> > <<<
>>>>> > I/DEBUG   ( 1411): signal 11 (SIGSEGV), fault addr
>>>>> > 00000000
>>>>> > I/DEBUG   ( 1411):  zr 00000000  at 00000001  v0 00000001  v1
>>>>> > 6362696c
>>>>> > I/DEBUG   ( 1411):  a0 00000000  a1 7c03a018  a2 7c194730  a3
>>>>> > 7c156980
>>>>> > I/DEBUG   ( 1411):  t0 7c194a5c  t1 00000001  t2 00000008  t3
>>>>> > 7c194a54
>>>>> > I/DEBUG   ( 1411):  t4 7c194730  t5 7c194730  t6 40000000  t7
>>>>> > 7f000000
>>>>> > I/DEBUG   ( 1411):  s0 00000000  s1 7c194810  s2 00000000  s3
>>>>> > 00000009
>>>>> > I/DEBUG   ( 1411):  s4 7f000000  s5 0000001c  s6 00000015  s7
>>>>> > 00000014
>>>>> > I/DEBUG   ( 1411):  t8 7f0209fc  t9 00000000  k0 00000000  k1
>>>>> > 00000000
>>>>> > I/DEBUG   ( 1411):  gp 7f0286a0  sp 7ff86fe8  s8 00000000  ra
>>>>> > 7c043cbc
>>>>> > I/DEBUG   ( 1411):  hi 000006a9  lo 000192ec bva 00000000 epc
>>>>> > 00000000
>>>>> > --
>>>>> > unsubscribe: 
>>>>> > android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com>
>>>>> > website: http://groups.google.com/group/android-porting
>>>>> Hi Dennis.
>>>>>
>>>>> I have android running on a MIPS based TV system.
>>>>> That system has 128MB of ram available and that is
>>>>> almost eaten up when running Android and Linux.
>>>>> To get it to work in just 16MB would be quiet some
>>>>> task.
>>>>>
>>>>> Hedwin
>>>>>
>>>>> --
>>>>> unsubscribe: 
>>>>> android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com>
>>>>> website: http://groups.google.com/group/android-porting
>>>>>
>>>>
>>>>  --
>>>> unsubscribe: 
>>>> android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com>
>>>> website: http://groups.google.com/group/android-porting
>>>>
>>>
>>>  --
>>> unsubscribe: 
>>> android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com>
>>> website: http://groups.google.com/group/android-porting
>>>
>>
>>  --
>> unsubscribe: 
>> android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com>
>> website: http://groups.google.com/group/android-porting
>>
>
>  --
> unsubscribe: 
> android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com>
> website: http://groups.google.com/group/android-porting
>

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to