Hi, you could take a look at this port for a phone using a pxa270 as
well.
http://www.motorolafans.com/forums/android-os/21887-porting-andoid-a1200-ming.html
Well, there are patches against the same 2.6.25 kernel you are working
with...

i've also been said to just port binder and ashmem to try, in a first
zImage boot.

On Feb 15, 1:19 am, mizmit1222 <mizmit1...@gmail.com> wrote:
> Hi,
>
> Did you add ashmem driver to your kernel?
>
> On 2月13日, 午前8:58, bfriedman <bfriedma...@gmail.com> wrote:
>
> > Hello,
>
> >     I am working on porting android to a PXA270 development board. I
> > have followed the numerous instructions that are supplied out there
> > for extracting the root file system from the emulator. I have built
> > the 2.6.25 kernel for my board i also tested it with another build and
> > it works. When I setup the root fs per instructions and try to boot it
> > gets to init and hangs. I was able to get the a console up and ran
> > init with strace and this is what I see before it dies:
>
> > 01:25:02.721366 getdents64(7, /* 3 entries */, 4200) = 80
> > 01:25:02.723718 SYS_305(0x7, 0x2804b, 0x24000, 0, 0xffffffff) = 8
> > 01:25:02.725120 SYS_305(0x8, 0x1b1e4, 0x20001, 0, 0x29078) = 9
> > 01:25:02.726486 write(9, "add\n", 4)    = 4
> > 01:25:02.728667 close(9)                = 0
> > 01:25:02.730124 recvfrom(4, "add@/devices/virtual/sound/timer
> > \0ACTION=add\0DEVPATH=/devices/virtual/sound/timer\0SUBSYSTEM=sound
> > \0MAJOR=116\0MINOR=33\0SEQNUM=5892\0", 1024, 0, NULL, NULL) = 128
> > 01:25:02.733359 mknod("/dev/timer", S_IFCHR|0600, makedev(116, 33)) =
> > -1 EEXIST (File exists)
> > 01:25:02.735785 chown32("/dev/timer", 0, 0) = 0
> > 01:25:02.738429 recvfrom(4, 0xbe9697da, 1024, 0, 0, 0) = -1 EAGAIN
> > (Resource temporarily unavailable)
> > 01:25:02.739749 getdents64(8, /* 6 entries */, 4200) = 168
> > 01:25:02.743442 SYS_305(0x8, 0x29123, 0x24000, 0, 0x9) = 9
> > 01:25:02.744810 SYS_305(0x9, 0x1b1e4, 0x20001, 0, 0x2a0f8) = -1 ENOENT
> > (No such file or directory)
> > 01:25:02.746212 getdents64(9, /* 3 entries */, 4200) = 80
> > 01:25:02.748561 getdents64(9, /* 0 entries */, 4200) = 0
> > 01:25:02.749882 close(9)                = 0
> > 01:25:02.751258 getdents64(8, /* 0 entries */, 4200) = 0
> > 01:25:02.752579 close(8)                = 0
> > 01:25:02.753853 getdents64(7, /* 0 entries */, 4200) = 0
> > 01:25:02.755174 close(7)                = 0
> > 01:25:02.756449 getdents64(6, /* 0 entries */, 4200) = 0
> > 01:25:02.757772 close(6)                = 0
> > 01:25:02.759045 getdents64(5, /* 0 entries */, 4200) = 0
> > 01:25:02.760495 close(5)                = 0
> > 01:25:02.761768 gettimeofday({5102, 762356}, NULL) = 0
> > 01:25:02.763168 open("/dev/ashmem", O_RDWR|O_LARGEFILE) = 5
> > 01:25:02.765517 ioctl(5, 0x41007701, 0xbe969b5c) = -1 ENOTTY
> > (Inappropriate ioctl for device)
> > 01:25:02.766901 close(5)                = 0
> > 01:25:02.768207 open("/default.prop", O_RDONLY|O_LARGEFILE) = 5
> > 01:25:02.771629 lseek(5, 0, SEEK_END)   = 93
> > 01:25:02.773581 lseek(5, 0, SEEK_SET)   = 0
> > 01:25:02.774863 read(5, "#\n# ADDITIONAL_DEFAULT_PROPERTIES\n#
> > \nro.secure=0\nro.debuggable=1\npersist.service.adb.enable=1\n", 93) =
> > 93
> > 01:25:02.778617 close(5)                = 0
> > 01:25:02.779931 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> > 01:25:02.781709 +++ killed by SIGSEGV +++
> > Process 5286 detached
>
> > Has anyone else had issues with Init seg faulting? I tested this
> > kernel out with the file system that was pulled from m5r14 and it
> > works, it seems to be an issue with SDK 1.0? Any tips on what could be
> > causing this would be greatly appreciated.
>
> > Thank you,
>
> > Ben
>
>
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to