158 messages in com.googlegroups.android-internals[android-internals] Re: Android on No...| From | Sent On | Attachments |
|---|---|---|
| 5 earlier messages | ||
| stolzi | 02 Apr 2008 06:37 | |
| Anil Sasidharan | 02 Apr 2008 07:35 | |
| sim0nx | 02 Apr 2008 07:54 | |
| sim0nx | 02 Apr 2008 08:06 | |
| stolzi | 02 Apr 2008 15:17 | |
| stolzi | 02 Apr 2008 15:52 | |
| sim0nx | 02 Apr 2008 17:03 | |
| sim0nx | 02 Apr 2008 17:04 | |
| kojiran | 02 Apr 2008 19:27 | |
| stolzi | 03 Apr 2008 00:57 | |
| sim0nx | 03 Apr 2008 10:51 | |
| sim0nx | 03 Apr 2008 11:00 | |
| sim0nx | 03 Apr 2008 11:02 | |
| sim0nx | 03 Apr 2008 12:06 | |
| stolzi | 03 Apr 2008 22:56 | |
| mizmit1222 | 04 Apr 2008 20:13 | |
| sim0nx | 05 Apr 2008 03:35 | |
| sim0nx | 05 Apr 2008 03:57 | |
| sim0nx | 05 Apr 2008 04:34 | |
| stolzi | 09 Apr 2008 23:18 | |
| Georges Toth | 10 Apr 2008 15:48 | |
| mizmit1222 | 10 Apr 2008 19:34 | |
| Georges Toth | 11 Apr 2008 09:14 | |
| Mohan | 11 Apr 2008 12:19 | |
| Georges Toth | 12 Apr 2008 01:58 | |
| Mohan Parthasarathy | 12 Apr 2008 16:20 | |
| Georges Toth | 13 Apr 2008 03:27 | |
| stolzi | 13 Apr 2008 15:55 | |
| Mohan Parthasarathy | 14 Apr 2008 01:32 | |
| Georges Toth | 14 Apr 2008 01:58 | |
| Georges Toth | 14 Apr 2008 03:49 | |
| stolzi | 18 Apr 2008 01:57 | |
| Mohan | 19 Apr 2008 09:13 | |
| PowerGUI | 19 Apr 2008 21:32 | |
| Cary Harper | 19 Apr 2008 22:39 | |
| Guiyong Zhu | 20 Apr 2008 20:49 | |
| Mohan Parthasarathy | 21 Apr 2008 09:07 | |
| Georges Toth | 21 Apr 2008 10:12 | |
| Mohan Parthasarathy | 21 Apr 2008 11:08 | |
| Georges Toth | 21 Apr 2008 12:06 | |
| Georges Toth | 21 Apr 2008 12:08 | |
| Mohan Parthasarathy | 21 Apr 2008 12:14 | |
| Mohan Parthasarathy | 21 Apr 2008 12:16 | |
| Georges Toth | 21 Apr 2008 12:20 | |
| Georges Toth | 21 Apr 2008 12:21 | |
| Mohan Parthasarathy | 21 Apr 2008 13:51 | |
| Mohan Parthasarathy | 21 Apr 2008 15:06 | |
| astr...@gmail.com | 23 Apr 2008 10:46 | |
| astr...@gmail.com | 24 Apr 2008 12:26 | |
| Jonathan Herriott | 24 Apr 2008 16:30 | |
| Georges Toth | 25 Apr 2008 07:09 | |
| Jonathan Herriott | 25 Apr 2008 12:34 | |
| Jonathan Herriott | 26 Apr 2008 00:31 | |
| Georges Toth | 26 Apr 2008 03:27 | |
| Jonathan Herriott | 26 Apr 2008 19:00 | |
| Jonathan Herriott | 28 Apr 2008 12:55 | |
| Jonathan Herriott | 28 Apr 2008 13:56 | |
| Jonathan Herriott | 28 Apr 2008 15:48 | |
| Mohan Parthasarathy | 30 Apr 2008 09:50 | |
| rzgroup | 30 Apr 2008 11:20 | |
| Georges Toth | 30 Apr 2008 11:45 | |
| Jonathan Herriott | 30 Apr 2008 13:01 | |
| jesse | 30 Apr 2008 16:07 | |
| Jonathan Herriott | 30 Apr 2008 16:56 | |
| Georges Toth | 01 May 2008 05:23 | |
| Georges Toth | 01 May 2008 05:39 | |
| jesse | 01 May 2008 08:34 | |
| Jonathan Herriott | 02 May 2008 13:01 | |
| jesse | 02 May 2008 14:12 | |
| Jonathan Herriott | 02 May 2008 14:22 | |
| Jonathan Herriott | 02 May 2008 15:17 | |
| Jonathan Herriott | 02 May 2008 15:42 | |
| Georges Toth | 03 May 2008 03:50 | |
| Georges Toth | 03 May 2008 03:54 | |
| Jonathan Herriott | 05 May 2008 11:42 | |
| Jonathan Herriott | 05 May 2008 11:52 | |
| Georges Toth | 05 May 2008 14:09 | |
| Mohan Parthasarathy | 05 May 2008 15:29 | |
| Georges Toth | 05 May 2008 16:14 | .diff |
| Mohan Parthasarathy | 05 May 2008 18:12 | |
| Georges Toth | 06 May 2008 00:34 | |
| Mohan Parthasarathy | 06 May 2008 10:40 | |
| Mohan Parthasarathy | 06 May 2008 11:08 | |
| kanzaki | 06 May 2008 11:55 | |
| Georges Toth | 06 May 2008 13:09 | |
| Georges Toth | 06 May 2008 13:11 | |
| Mohan Parthasarathy | 06 May 2008 14:00 | |
| kanzaki | 06 May 2008 18:14 | |
| Mohan Parthasarathy | 07 May 2008 09:25 | .c |
| Eduardo Gonçalves | 07 May 2008 09:53 | |
| kanzaki | 07 May 2008 14:25 | |
| Jonathan Herriott | 08 May 2008 13:23 | |
| Lorraine | 10 May 2008 22:36 | |
| Lorraine | 10 May 2008 22:37 | |
| windstorm | 11 May 2008 05:56 | |
| Jonathan Herriott | 11 May 2008 09:42 | |
| Lorraine | 11 May 2008 22:20 | |
| kanzaki | 11 May 2008 22:29 | |
| Lorraine | 12 May 2008 00:13 | |
| kanzaki | 12 May 2008 01:19 | |
| 53 later messages | ||
| Subject: | [android-internals] Re: Android on Nokia n810 (OMAP2420)![]() |
|---|---|
| From: | Jonathan Herriott (herr...@gmail.com) |
| Date: | 04/24/2008 04:30:12 PM |
| List: | com.googlegroups.android-internals |
Hi, I've been able to install the kernel, but I am having issues installing the file system. I am using the m5-rc14 userspace with the m5-rc14 kernel.
I get a segmentation fault upon running the kernel. I straced the init and received:
\h:\w\$ strace -f -ff -tt -s 200 /init 04:02:38.896362 execve("/init", ["/init"], [/* 59 vars */]) = 0 04:02:38.909790 gettid() = 1464 04:02:38.912689 syscall_983045(0xbea0d614, 0, 0x20, 0, 0xbe9ee000, 0xbea0d6d0, 0xbea0d720, 0xf0005, 0xbea0d720, 0, 0x80b8, 0x80b4, 0, 0xbea0d608, 0x17c77, 0x17f2c, 0x60000010, 0xbea0d614, 0, 0, 0xc764, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) = 0 04:02:38.916168 socket(PF_FILE, SOCK_STREAM, 0) = 3 04:02:38.919250 connect(3, {sa_family=AF_FILE, path=@property_service}, 19) = -1 ECONNREFUSED (Connection refused) 04:02:38.923248 close(3) = 0 04:02:38.926208 sigaction(SIGCHLD, {0x8211, [], SA_NOCLDSTOP}, NULL, 0xc0fb8) = 0 04:02:38.929718 umask(0) = 022 04:02:38.932373 ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 04:02:38.936523 dup(1) = 3 04:02:38.939422 write(3, "init: HOW ARE YOU GENTLEMEN\n", 28init: HOW ARE YOU GENTLEMEN ) = 28 04:02:38.943328 close(0) = 0 04:02:38.945983 close(1) = 0 04:02:38.948577 close(2) = 0 04:02:38.951202 open("/dev/null", O_RDWR|O_LARGEFILE) = 0 04:02:38.954345 dup2(0, 1) = 1 04:02:38.956939 dup2(0, 2) = 2 04:02:38.959625 write(3, "init: reading config file\n", 26init: reading config file ) = 26 04:02:38.963592 brk(0) = 0x20000 04:02:38.966217 brk(0x20000) = 0x20000 04:02:38.968994 brk(0x21000) = 0x21000 04:02:38.971832 open("/etc/init.rc", O_RDONLY|O_LARGEFILE) = 4 04:02:38.975006 lseek(4, 0, SEEK_END) = 5746 04:02:38.991088 lseek(4, 0, SEEK_SET) = 0 04:02:38.993286 brk(0x22000) = 0x22000 04:02:38.998413 read(4, "## Global environment setup\n##\nenv {\n PATH /sbin:/system/sbin:/system/bin\n LD_LIBRARY_PATH /system/lib \n ANDROID_BOOTLOGO 1\n ANDROID_ROOT /system\n ANDROID_ASSETS /system/app\n ANDROID_"..., 5746) = 5746 04:02:39.002288 close(4) = 0 04:02:39.003845 brk(0x23000) = 0x23000 04:02:39.005310 mkdir("/proc", 0755) = -1 EEXIST (File exists) 04:02:39.006622 mkdir("/dev", 0755) = -1 EEXIST (File exists) 04:02:39.007843 mkdir("/dev/pts", 0755) = -1 EEXIST (File exists) 04:02:39.009368 mkdir("/sys", 0755) = -1 EEXIST (File exists) 04:02:39.011230 mkdir("/d", 0755) = -1 EEXIST (File exists) 04:02:39.012451 mount("/dev/pts", "/dev/pts", "devpts", 0, NULL) = -1 EBUSY (Device or resource busy) 04:02:39.017883 mount("/proc", "/proc", "proc", 0, NULL) = -1 EBUSY (Device or resource busy) 04:02:39.026428 mount("/sys", "/sys", "sysfs", 0, NULL) = -1 EBUSY (Device or resource busy) 04:02:39.033416 mount("/d", "/d", "debugfs", 0, NULL) = -1 EBUSY (Device or resource busy) 04:02:39.038238 mount("/tmp", "/tmp", "tmpfs", 0, NULL) = 0 04:02:39.043457 open("/proc/cmdline", O_RDONLY|O_LARGEFILE) = 4 04:02:39.046417 read(4, "root=1f03 rootfstype=jffs2 ro\n", 1023) = 30 04:02:39.048187 close(4) = 0 04:02:39.049346 chmod("/proc/cmdline", 0400) = 0 04:02:39.050689 open("/system_properties", O_RDWR|O_CREAT|O_EXCL| O_LARGEFILE, 0600) = 4 04:02:39.052368 ftruncate(4, 32768) = 0 04:02:39.053588 open("/system_properties", O_RDONLY|O_LARGEFILE) = 5 04:02:39.056884 unlink("/system_properties") = 0 04:02:39.058624 mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_SHARED, 4, 0) = -1 EINVAL (Invalid argument) 04:02:39.059997 close(5) = 0 04:02:39.061096 close(4) = 0 04:02:39.063110 open("/etc/default.prop", O_RDONLY|O_LARGEFILE) = 4 04:02:39.064422 lseek(4, 0, SEEK_END) = 130 04:02:39.065521 lseek(4, 0, SEEK_SET) = 0 04:02:39.066619 read(4, "# default system properties\n# these may be overridden by /data/local.prop\n\nnet.bt.name = Android\n\n# end default system properties\n", 130) = 130 04:02:39.069152 close(4) = 0 04:02:39.070251 --- SIGSEGV (Segmentation fault) @ 0 (0) --- 04:02:39.072601 +++ killed by SIGSEGV +++ Process 1464 detached
I can't seem to figure out what's going wrong. Any ideas?
On Apr 24, 12:26 pm, astr...@gmail.com wrote:
Hi, Please ignore it. It is caused by the wrong file system. Keep working on the blank screen issue.
-Leon
On Apr 24, 1:46 am, astr...@gmail.com wrote:
Hi,
I use the toolchain(cs2005q3.2-glibc2.5)
inhttp://www.progbox.co.uk/wordpress/?p=453.
But I got the following error in /dev/log/main:
dalvikvmToo many exceptions during init (failed on 'java/lang/ NoClassDefFoundError' 'java/lang/NoClassDefFoundError') dalvikvmVM aborting le deps in cache file; removing and retrying dalvikvmDexOpt: --- BEGIN 'core.jar' (bootstrap=1) --- dalvikvmDexOpt: waiting for verify+opt, pid=1688 dalvikvmDexOpt: --- END 'core.jar' --- status=0x0009, process failed dalvikvmUnable to extract+optimize DEX from '/system/framework/ core.jar' dalvikvmDexOpt: incorrect opt magic number (0xff ff ff ff)
Not sure whether it was caused by the toolchain. Should I use cs2007q3-glibc2.5 to compile the source ?
Thanks, Leon
On Apr 5, 7:35 pm, sim0nx <Geor...@gmail.com> wrote:
I can't believe it !!! Android runs on the maemo n810 !!!
After reading
this:http://groups.google.lu/group/android-internals/browse_thread/thread/...
for the 100th time, and following the instructions on the mentioned
link:http://nemustech.blogspot.com/2007/12/android-porting-to-real-target-...
it works.
Here are the specifics I've implemented: * patch /etc/init.rc ---- begin : init.rc .... ## qemu-init { ## exec /etc/qemu-init.sh ## } network-property { exec /etc/set_network.sh
}
/bin/chmod -R a+rw /data /tmp /bin/chmod a+rw . /bin/chmod -R a+rw data
# rm /dev/log (if you have) # mkdir /dev/log;touch /dev/log/{main,events,radio} * you can see usefull infos from strace log and /dev/log/main
and instead of: chroot . /a.sh I execute the android init process: chroot . /init
Not sure yet what exactly of those steps solved the problem (maybe the qemu one), but it does work. After a quick try I see that the touchscreen doesn't work (the keyboard does though), but that shouldn't be too hard to fix.
BTW, this is using an m5 kernel, and binder.c
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Android Internals" group.
To post to this group, send email to andr...@googlegroups.com
To unsubscribe from this group, send email to
andr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-internals?hl=en
-~----------~----~----~----~------~----~------~--~---





.diff