158 messages in com.googlegroups.android-internals[android-internals] Re: Android on No...
FromSent OnAttachments
5 earlier messages
stolzi02 Apr 2008 06:37 
Anil Sasidharan02 Apr 2008 07:35 
sim0nx02 Apr 2008 07:54 
sim0nx02 Apr 2008 08:06 
stolzi02 Apr 2008 15:17 
stolzi02 Apr 2008 15:52 
sim0nx02 Apr 2008 17:03 
sim0nx02 Apr 2008 17:04 
kojiran02 Apr 2008 19:27 
stolzi03 Apr 2008 00:57 
sim0nx03 Apr 2008 10:51 
sim0nx03 Apr 2008 11:00 
sim0nx03 Apr 2008 11:02 
sim0nx03 Apr 2008 12:06 
stolzi03 Apr 2008 22:56 
mizmit122204 Apr 2008 20:13 
sim0nx05 Apr 2008 03:35 
sim0nx05 Apr 2008 03:57 
sim0nx05 Apr 2008 04:34 
stolzi09 Apr 2008 23:18 
Georges Toth10 Apr 2008 15:48 
mizmit122210 Apr 2008 19:34 
Georges Toth11 Apr 2008 09:14 
Mohan11 Apr 2008 12:19 
Georges Toth12 Apr 2008 01:58 
Mohan Parthasarathy12 Apr 2008 16:20 
Georges Toth13 Apr 2008 03:27 
stolzi13 Apr 2008 15:55 
Mohan Parthasarathy14 Apr 2008 01:32 
Georges Toth14 Apr 2008 01:58 
Georges Toth14 Apr 2008 03:49 
stolzi18 Apr 2008 01:57 
Mohan19 Apr 2008 09:13 
PowerGUI19 Apr 2008 21:32 
Cary Harper19 Apr 2008 22:39 
Guiyong Zhu20 Apr 2008 20:49 
Mohan Parthasarathy21 Apr 2008 09:07 
Georges Toth21 Apr 2008 10:12 
Mohan Parthasarathy21 Apr 2008 11:08 
Georges Toth21 Apr 2008 12:06 
Georges Toth21 Apr 2008 12:08 
Mohan Parthasarathy21 Apr 2008 12:14 
Mohan Parthasarathy21 Apr 2008 12:16 
Georges Toth21 Apr 2008 12:20 
Georges Toth21 Apr 2008 12:21 
Mohan Parthasarathy21 Apr 2008 13:51 
Mohan Parthasarathy21 Apr 2008 15:06 
astr...@gmail.com23 Apr 2008 10:46 
astr...@gmail.com24 Apr 2008 12:26 
Jonathan Herriott24 Apr 2008 16:30 
Georges Toth25 Apr 2008 07:09 
Jonathan Herriott25 Apr 2008 12:34 
Jonathan Herriott26 Apr 2008 00:31 
Georges Toth26 Apr 2008 03:27 
Jonathan Herriott26 Apr 2008 19:00 
Jonathan Herriott28 Apr 2008 12:55 
Jonathan Herriott28 Apr 2008 13:56 
Jonathan Herriott28 Apr 2008 15:48 
Mohan Parthasarathy30 Apr 2008 09:50 
rzgroup30 Apr 2008 11:20 
Georges Toth30 Apr 2008 11:45 
Jonathan Herriott30 Apr 2008 13:01 
jesse30 Apr 2008 16:07 
Jonathan Herriott30 Apr 2008 16:56 
Georges Toth01 May 2008 05:23 
Georges Toth01 May 2008 05:39 
jesse01 May 2008 08:34 
Jonathan Herriott02 May 2008 13:01 
jesse02 May 2008 14:12 
Jonathan Herriott02 May 2008 14:22 
Jonathan Herriott02 May 2008 15:17 
Jonathan Herriott02 May 2008 15:42 
Georges Toth03 May 2008 03:50 
Georges Toth03 May 2008 03:54 
Jonathan Herriott05 May 2008 11:42 
Jonathan Herriott05 May 2008 11:52 
Georges Toth05 May 2008 14:09 
Mohan Parthasarathy05 May 2008 15:29 
Georges Toth05 May 2008 16:14.diff
Mohan Parthasarathy05 May 2008 18:12 
Georges Toth06 May 2008 00:34 
Mohan Parthasarathy06 May 2008 10:40 
Mohan Parthasarathy06 May 2008 11:08 
kanzaki06 May 2008 11:55 
Georges Toth06 May 2008 13:09 
Georges Toth06 May 2008 13:11 
Mohan Parthasarathy06 May 2008 14:00 
kanzaki06 May 2008 18:14 
Mohan Parthasarathy07 May 2008 09:25.c
Eduardo Gonçalves07 May 2008 09:53 
kanzaki07 May 2008 14:25 
Jonathan Herriott08 May 2008 13:23 
Lorraine10 May 2008 22:36 
Lorraine10 May 2008 22:37 
windstorm11 May 2008 05:56 
Jonathan Herriott11 May 2008 09:42 
Lorraine11 May 2008 22:20 
kanzaki11 May 2008 22:29 
Lorraine12 May 2008 00:13 
kanzaki12 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