Hi Vishal,
Thanks a lot for your reply....
Now I am able to boot the android.
It was a Kernel configuration problem (Message queue support was not
enabled ).
But still I am not able to reach the android menuscreen(Currently the
screen displays the android images with android logo).
On analyzing this logcat command, I have found that it is continuously
trying to load the audio libraries.
Please help me in disabling this.
The tail log of logcat and strace commands are pasted below.
strace:
=======
timer_delete(0x1) = 0
futex(0x4000b220, FUTEX_WAKE, 2147483647) = 0
futex(0x40009004, FUTEX_WAKE, 2147483647) = 0
futex(0x4000b0a0, FUTEX_WAKE, 2147483647) = 0
futex(0x40009004, FUTEX_WAKE, 2147483647) = 0
wait4(-1, 0xbef27ac0, WNOHANG, NULL) = 0
timer_delete(0x1) = 0
timer_delete(0x1) = 0
timer_delete(0x1) = 0
timer_delete(0x1) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=8,
events=POLLIN}], 3, 5
000) = ? ERESTART_RESTARTBLOCK (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
write(7, "\21", 1) = 1
sigreturn() = ? (mask now [])
timer_delete(0x1) = 0
timer_delete(0x1) = 0
timer_delete(0x1) = 0
timer_delete(0x1) = 0
poll([{fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=8,
events=POLLIN, revent
s=POLLIN}], 3, 5000) = 1
read(8, "\21", 92) = 1
wait4(-1, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGTERM}], WNOHANG, NULL)
= 721
--- SIGILL (Illegal instruction) @ 0 (0) ---
+++ killed by SIGILL +++
# <3>init: untracked pid 726 exited
init: untracked pid 726 exited
logcat
======
>export DRM_CONTENT=/data/drm/content
00000000
I/DEBUG ( 481): bed75ad0 00000000
I/DEBUG ( 481): bed75ad4 bed75ae0 [stack]
I/DEBUG ( 481): bed75ad8 ab716388 /system/lib/libaudio.so
I/DEBUG ( 481): bed75adc ab715f34 /system/lib/libaudio.so
I/ServiceManager( 499): Waiting for sevice media.audio_flinger...
W/AudioSystem( 499): AudioFlinger not published, waiting...
I/ServiceManager( 499): Waiting for sevice media.audio_flinger...
I/ServiceManager( 499): Waiting for sevice media.audio_flinger...
Õ
Thanks and Regards,
Abhishek Srivastav
On Feb 22, 2:41 pm, vishal bhoj <[email protected]> wrote:
> have u checked with the permissions o f the filesystem ? R u booting over
> nfs or sdcard?
>
> On Sun, Feb 22, 2009 at 2:43 PM, Abhishek Srivastav <
>
>
>
> [email protected]> wrote:
>
> > Hello Everyone,
>
> > I am trying to boot android in our Custom board. This board is very
> > similar to that of OMAP3EVM from Mistral.
>
> > But when I attempt to boot I am getting a Kernel panic while executing
> > init ie init=/init. I am able to boot the Kernel when I change init
> > the bootargs ie init=/system/bin/sh, but after this when I attempt to
> > run init, I am getting a segmentation fault. On analyzing this through
> > strace command I have observed that it is not able to open the node /
> > dev/ashmem but the same has been enabled in the Kernel configuration.
>
> > # strace init
> > execve("/init", ["init"], [/* 4 vars */]) = 0
> > gettid() = 287
> > syscall_983045(0xbeaead84, 0, 0x40, 0, 0xbeacb000, 0xbeaeaec0,
> > 0xbeaeae84, 0xf00
> > 05, 0, 0, 0, 0, 0, 0xbeaead68, 0x12e07, 0x1926c, 0x60000010,
> > 0xbeaead84, 0xb9f1,
> > 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) = 0
> > open("/dev/urandom", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file
> > or director
> > y)
> > sigaction(SIGCHLD, {0x88c1, [], SA_NOCLDSTOP}, NULL, 0) = 0
> > umask(0) = 022
> > mkdir("/dev", 0755) = -1 EEXIST (File exists)
> > mkdir("/proc", 0755) = -1 EEXIST (File exists)
> > mkdir("/sys", 0755) = -1 EEXIST (File exists)
> > mount("tmpfs", "/dev", "tmpfs", 0, 0x1c034) = 0
> > mkdir("/dev/pts", 0755) = 0
> > mkdir("/dev/socket", 0755) = 0
> > mount("devpts", "/dev/pts", "devpts", 0, 0) = 0
> > mount("proc", "/proc", "proc", 0, 0) = -1 EBUSY (Device or resource
> > busy)
> > mount("sysfs", "/sys", "sysfs", 0, 0) = -1 EBUSY (Device or resource
> > busy)
> > mknod("/dev/__null__", S_IFCHR|0600, makedev(1, 3)) = 0
> > open("/dev/__null__", O_RDWR|O_LARGEFILE) = 3
> > unlink("/dev/__null__") = 0
> > dup2(3, 0) = 0
> > dup2(3, 1) = 1
> > dup2(3, 2) = 2
> > close(3) = 0
> > mknod("/dev/__kmsg__", S_IFCHR|0600, makedev(1, 11)) = 0
> > open("/dev/__kmsg__", O_WRONLY|O_LARGEFILE) = 3
> > fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
> > unlink("/dev/__kmsg__") = 0
> > open("/init.rc", O_RDONLY|O_LARGEFILE) = 4
> > lseek(4, 0, SEEK_END) = 8687
> > lseek(4, 0, SEEK_SET) = 0
> > brk(0) = 0x23000
> > brk(0x23000) = 0x23000
> > brk(0x26000) = 0x26000
> > read(4, "\non init\n\nsysclktz 0\n\nloglevel 3"..., 8687) = 8687
> > close(4) = 0
> > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
> > 0) = 0x40
> > 000000
> > mprotect(0x40000000, 4096, PROT_READ) = 0
> > fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(1, 3), ...}) = 0
> > brk(0x27000) = 0x27000
> > mprotect(0x40000000, 4096, PROT_READ|PROT_WRITE) = 0
> > mprotect(0x40000000, 4096, PROT_READ) = 0
> > ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbeaea840) = -1 ENOTTY (Not a
> > typewrite
> > r)
> > brk(0x28000) = 0x28000
> > open("/proc/cmdline", O_RDONLY|O_LARGEFILE) = 4
> > read(4, "console=ttyS0,115200n8 noinitrd "..., 1023) = 112
> > close(4) = 0
> > chmod("/proc/cmdline", 0440) = 0
> > open("/proc/cpuinfo", O_RDONLY|O_LARGEFILE) = 4
> > read(4, "Processor\t: ARMv7 Processor rev "..., 1023) = 744
> > close(4) = 0
> > open("/init.omap3.rc", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file
> > or direct
> > ory)
> > getpid() = 287
> > mq_notify(0x10, 0x2) = -1 ENOSYS (Function not
> > implemented)
> > open("/dev/ashmem", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or
> > directory)
> > open("/default.prop", O_RDONLY|O_LARGEFILE) = 4
> > lseek(4, 0, SEEK_END) = 93
> > lseek(4, 0, SEEK_SET) = 0
> > read(4, "#\n# ADDITIONAL_DEFAULT_PROPERTIE"..., 93) = 93
> > close(4) = 0
> > --- SIGSEGV (Segmentation fault) @ 0 (20) ---
> > +++ killed by SIGSEGV +++
> > # ls
>
> > Please help me regarding this
>
> > Thanks in advance!!!
>
> > Regards,
> > Abhishek Srivastav
>
> --
> with regards vishal
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---