[android-porting] Re: help with debugging init.rc

2011-08-25 Thread Yan Weichuan
I don't know what you can do in the device. Just some common suggestion. 1. Build a ramdisk with busybox into kernel, and boot this ramdisk to shell 2. mount the android partition, and switch to android by switch_root command, I think you can get some info by this way. On Aug 25, 5:17 am, Radu I

[android-porting] Re: Gingerbread linker crash on Linux kernel 3.0

2011-08-25 Thread Yan Weichuan
gt; > However, I don't guarantee that this will work. Let me know if this helps > though. > > On Wed, Aug 24, 2011 at 3:00 PM, Yan Weichuan wrote: > > > > > > > > > I am working on Gingerbread 2.3.5 + Linux kernel 3.0, but I found all > > dynamic execute

[android-porting] Gingerbread linker crash on Linux kernel 3.0

2011-08-24 Thread Yan Weichuan
I am working on Gingerbread 2.3.5 + Linux kernel 3.0, but I found all dynamic execute application will crash. And with the gdb, it show the application crash at call_arry function at linker.c. My ARM cpu is arm- v7a. Does anyone have some idea about this? (gdb) bt #0 0xafd14e44 in ?? () #1 0xb00