Murali
unread,Oct 10, 2008, 11:07:06 AM10/10/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Android Internals
Hi,
I am porting android to i.Mx31 hardware. I am working on the linux
2.6.22.6 kernel with android patch. For the android file system, I
have extracted the ramdisk.img from the Android 1.0 SDK. I have then
then extracted the system and data folders from the emulator and then
created a cpio archive out of these.
I am able to boot the kernel with the android file system. I am using
ttymxc0 as the kernel console and the messages are displayed on the
console(Hyperterminal on the PC connected to the hardware over UART).
I have still not got the display working.
So, I would like to see all the messages on the console. For the
kernel, I have specified the init in the android file system as the
initrd.
After executing the init the console messages stop after sometime.
When I debugged this further, I added debug messages in do_execve to
check where the messages actually stop. I found that the last
do_execve being called in /system/bin/sh in init.rc.
So, I would like to know if executing the /system/bin/sh actually
change the console to another device which is why I am not seeing any
other messages? If so what console should I be using?
In the emualtor the console is set to "ttyS0". Here even after
executing the /system/bin/sh the console messages continue to appear.
So, I even tried modifying the console to "ttyS0" in the kernel and
inspite of that the messages stop after executing /system/bin/sh.
Any help in this regard would be of great help
Thanks,
Murali