Hello Guys
I'm running Android x86 on vmware, every thing is ok but the output
message. so there is a question for your guys.
I encountered a problem that is the kernel and android message cannot
be directed to serial port, just like embedded system, I want a
console interface that I can do more testing, I have tried three ways
but all of them are failed
1) Add kernel command line options in grub.conf, like below
title Android Live
root (hd0,0)
kernel /android-kernel
initrd /android-initrd.img root=/dev/ram0 console=ttyS0
androidboot.hardware=eeepc androidboot.console=ttyS0
acpi_sleep=s3_bios,s3_mode quiet SRC= DATA= SDCARD=
2) Modify vendor/asus/eeepc/BoardConfig.mk as below
...
BOARD_KERNEL_CMDLINE := console=ttyS0,115200n8
androidboot.console=ttyS0 root=/dev/ram0 androidboot.hardware=eeepc
acpi_sleep=s3_bios,s3_mode
...
remake the kernel
3) Modify system/core/init/init.c line about 872 as below
fd = open("/dev/ttyS0", O_WRONLY);/* force open serial */
Can anybody tell me there is another way can reach my purpose.
Thanks in advance
Best Regards
Toming
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---