[android-porting] Re: start android on top of moblin/ubuntu

2009-04-21 Thread Yi Sun
I have never used efi so I can not give you much of suggestion. YOU need to find a manual from somewhere that can tell you how to solve the issue. On Tue, 2009-04-21 at 19:11 -0700, gowtham gowda wrote: > looks like this has everything to do with the efi boot. the efi > partition has a vmlinux fil

[android-porting] Re: start android on top of moblin/ubuntu

2009-04-21 Thread gowtham gowda
looks like this has everything to do with the efi boot. the efi partition has a vmlinux file. and looks like that is getting loaded this is the sum0 file for efi boot 0 acpi=force console=ttyS0,115200 root=/dev/sda2 rootdelay=7 20bf2b64f486b1807bd59dd3299b10f8 vmlinux What can i do now? Than

[android-porting] Re: start android on top of moblin/ubuntu

2009-04-21 Thread Yi Sun
Your kernel is wrong for sure. I have installed Android kernel with my ubuntu, the Android runs until it hits on the frame buffer (I don't have fb at all in my ubuntu) On Tue, 2009-04-21 at 06:46 -0700, gowtham gowda wrote: > this is the gdb output > > # gdb ./init > GNU gdb 6.8-debian > Copyrigh

[android-porting] Re: start android on top of moblin/ubuntu

2009-04-21 Thread Yi Sun
Check if u have /dev/ashmem node On Apr 21, 2009, at 6:46 AM, gowtham gowda wrote: > > this is the gdb output > > # gdb ./init > GNU gdb 6.8-debian > Copyright (C) 2008 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later gpl.html> > This is

[android-porting] Re: start android on top of moblin/ubuntu

2009-04-21 Thread gowtham gowda
this is the gdb output # gdb ./init GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted

[android-porting] Re: start android on top of moblin/ubuntu

2009-04-20 Thread Yi Sun
gdb ./init (gdb) run and then wait it to crash. After that run "bt" or "where" to find where it crashs. And then . dump point value, dump register, ... On Mon, 2009-04-20 at 21:07 -0700, gowtham gowda wrote: > i have installed gdb on objdump on the machine. How do i use them? > > Thank

[android-porting] Re: start android on top of moblin/ubuntu

2009-04-20 Thread gowtham gowda
i have installed gdb on objdump on the machine. How do i use them? Thanks, Gowtham On Apr 20, 10:47 pm, Yi Sun wrote: > Can you at least put a gdb there to get a back trace or something? > > On Mon, 2009-04-20 at 18:47 -0700, gowtham gowda wrote: > > i am not getting the init.rc error anymore,

[android-porting] Re: start android on top of moblin/ubuntu

2009-04-20 Thread Yi Sun
Can you at least put a gdb there to get a back trace or something? On Mon, 2009-04-20 at 18:47 -0700, gowtham gowda wrote: > i am not getting the init.rc error anymore, but i still get the > segmentation fault. looks like this wont work, i need to work on > making a bootable usb drive. I am able t

[android-porting] Re: start android on top of moblin/ubuntu

2009-04-20 Thread Chen Yang
Maybe you may need to locate the fauty function to the segfault issue. It won't be very difficult. 0804be00, try to objdump the init program to see what function it belongs to then try to locate the issue. -- Chen On Tue, Apr 21, 2009 at 9:47 AM, gowtham gowda wrote: > > i am not getting the ini

[android-porting] Re: start android on top of moblin/ubuntu

2009-04-20 Thread gowtham gowda
i am not getting the init.rc error anymore, but i still get the segmentation fault. looks like this wont work, i need to work on making a bootable usb drive. I am able to make a efi bootable usb for moblin. I really want to make one for android. Can some one help me? Gowtham > If he is using th

[android-porting] Re: start android on top of moblin/ubuntu

2009-04-20 Thread Yi Sun
If he is using the old patch, then there maybe a typo in the init.rc added by me under the line for adbd. If that is the case, just remove the enabled. But it is unlikely to cause the segfault. Yi On Tue, 2009-04-21 at 08:39 +0800, Chen Yang wrote: > Your init.rc seems to have problem at lne 183,

[android-porting] Re: start android on top of moblin/ubuntu

2009-04-20 Thread Chen Yang
Your init.rc seems to have problem at lne 183, i don't know whether it may cause the segfault. -- Chen On Tue, Apr 21, 2009 at 4:11 AM, gowtham gowda wrote: > > 1st time i used the moblin kernel, but when i use the android kernel i > am getting the "segmentation fault". The dmesg output is > > [

[android-porting] Re: start android on top of moblin/ubuntu

2009-04-20 Thread gowtham gowda
1st time i used the moblin kernel, but when i use the android kernel i am getting the "segmentation fault". The dmesg output is [ 165.505690] init: /init.rc: 183: invalid option 'enabled' [ 167.114261] init[1230]: segfault at 0020 eip 0804be00 esp bffde7c0 error 6 On Apr 19, 10:00 pm, Che

[android-porting] Re: start android on top of moblin/ubuntu

2009-04-19 Thread Chen Yang
have you used the android kernel on your host? -- Chen On Mon, Apr 20, 2009 at 8:50 AM, gowtham gowda wrote: > > # chroot /mnt/android /init > Segmentation fault > > > On Apr 19, 8:42 pm, gowtham gowda wrote: >> i am getting the following error: >> [ 1342.051355] Bulk In Failed. Status=-71, BI

[android-porting] Re: start android on top of moblin/ubuntu

2009-04-19 Thread gowtham gowda
# chroot /mnt/android /init Segmentation fault On Apr 19, 8:42 pm, gowtham gowda wrote: > i am getting the following error: > [ 1342.051355] Bulk In Failed. Status=-71, BIIdx=0x4, BIRIdx=0x4, > actual_length= 0x0 > [ 1399.669726] init[10339]: segfault at 0020 eip 0804be00 esp > bfdc0c90 err

[android-porting] Re: start android on top of moblin/ubuntu

2009-04-19 Thread gowtham gowda
i am getting the following error: [ 1342.051355] Bulk In Failed. Status=-71, BIIdx=0x4, BIRIdx=0x4, actual_length= 0x0 [ 1399.669726] init[10339]: segfault at 0020 eip 0804be00 esp bfdc0c90 error 6 [ 1402.741197] init[11162]: segfault at 0020 eip 0804be00 esp bfe234f0 error 6 On Apr 19,

[android-porting] Re: start android on top of moblin/ubuntu

2009-04-19 Thread Chen Yang
You can copy all the out/target/product/eee_701/root directory to one directory, say /home/android cp -raf out/target/product/eee_701/root /home/android cp -raf out/target/product/eee_701/system /home/android cp -raf out/target/product/eee_701/data /home/android before chroot, try to add chmod -R

[android-porting] Re: start android on top of moblin/ubuntu

2009-04-19 Thread Yi Sun
Interesting idea,worth to try it out On Apr 19, 2009, at 7:52 AM, Sean McNeil wrote: > > I used to run Android from chroot under a minimal filesystem all the > time. It helps to debug the init process. > > David Turner wrote: >> in short, no, Android requires its own init system, specific ker

[android-porting] Re: start android on top of moblin/ubuntu

2009-04-19 Thread gowtham gowda
If you can give me a how to run android from chroot, it will be very helpful. Thanks, Gowtham On Apr 19, 10:52 am, Sean McNeil wrote: > I used to run Android from chroot under a minimal filesystem all the > time. It helps to debug the init process. > > David Turner wrote: > > in short, no, Andr

[android-porting] Re: start android on top of moblin/ubuntu

2009-04-19 Thread Sean McNeil
I used to run Android from chroot under a minimal filesystem all the time. It helps to debug the init process. David Turner wrote: > in short, no, Android requires its own init system, specific kernel > drivers that are probably not in the moblin/ubuntu one, etc... > > there are probably some h

[android-porting] Re: start android on top of moblin/ubuntu

2009-04-19 Thread gowtham gowda
I have the ability to replace the moblin kernel, if i replace it with the kernel i compiled for android. will it work? Thanks for replying, Gowtham On Apr 19, 6:27 am, David Turner wrote: > in short, no, Android requires its own init system, specific kernel drivers > that are probably not in th

[android-porting] Re: start android on top of moblin/ubuntu

2009-04-19 Thread gowtham gowda
This is on intel atom board. On Apr 19, 9:43 am, gowtham gowda wrote: > the reason i am asking this is, i have a prototype board with a 7" > capacitive multi touch screen, this board uses efi boot. And boots > into a basic text mode. I want to load android on it. I have very > little experience

[android-porting] Re: start android on top of moblin/ubuntu

2009-04-19 Thread gowtham gowda
the reason i am asking this is, i have a prototype board with a 7" capacitive multi touch screen, this board uses efi boot. And boots into a basic text mode. I want to load android on it. I have very little experience with efi boot. So i want to use the basic os on the device to launch Android on

[android-porting] Re: start android on top of moblin/ubuntu

2009-04-19 Thread David Turner
in short, no, Android requires its own init system, specific kernel drivers that are probably not in the moblin/ubuntu one, etc... there are probably some hacks that could make the two systems co-exist (e.g. like running Debian in a chroot under Android), but they probably require a few non-trivia