3 messages in com.googlegroups.android-internalsRe: [android-internals] Re: Boot from...
FromSent OnAttachments
Bryan Wu25 Jan 2008 07:45 
Bryan Wu28 Jan 2008 06:47 
Anil Sasidharan30 Jan 2008 02:00 
Subject:Re: [android-internals] Re: Boot from Nand Flash
From:Anil Sasidharan (anil@gmail.com)
Date:01/30/2008 02:00:43 AM
List:com.googlegroups.android-internals

Hi,

We are also facing the same problem. In our case the rootfs is ramdisk and the android directories (/system and /data) are residing on NAND flash (yaffs2 partition). When the android framework gets initiated (app_process and then dbus-daemon and then followed by /system/bin/runtime), we do see the same error as you have encountered.

binder_open(c001a750 c262f320) (pid 291) got c279b000 java.lang.NullPointerException at java.io.BufferedInputStream.fillbuf(BufferedInputStream.java:150) at java.io.BufferedInputStream.read(BufferedInputStream.java:306) at java.io.FilterInputStream.read(FilterInputStream.java:137) at java.util.Properties.load(Properties.java:272) at java.util.logging.LogManager.readConfigurationImpl( LogManager.java:532) at java.util.logging.LogManager.readConfiguration(LogManager.java :455) at java.util.logging.LogManager$1.run(LogManager.java:247) at java.security.AccessController.doPrivilegedImpl( AccessController.java:173) at java.security.AccessController.doPrivileged(AccessController.java :53) at java.util.logging.LogManager.<clinit>(LogManager.java:233) at java.util.logging.Logger.initHandler(Logger.java:435) at java.util.logging.Logger.log(Logger.java:1091) at java.util.logging.Logger.warning(Logger.java:910) at java.util.ZoneInfoDB.<clinit>(ZoneInfoDB.java:113) at java.util.TimeZone.getDefault(TimeZone.java:176) at java.util.GregorianCalendar.<init>(GregorianCalendar.java:192) at java.util.GregorianCalendar.<init>(GregorianCalendar.java:151) at java.util.Date.getYear(Date.java:333) at java.util.Date.<clinit>(Date.java:44) at android.dalvik.Zygote.initClass(Native Method) at android.os.ZygoteInit.preloadClasses(ZygoteInit.java:1082) at android.os.ZygoteInit.main(ZygoteInit.java:1117) at android.dalvik.NativeStart.main(Native Method) getFileType got errno=13 on '/mnt/system/framework/framework-res.apk' getFileType got errno=13 on '/mnt/system/framework/framework-res.apk' +++ post-zygote

We have tried setting the access privilege for the file with read, write and execute permission for everyone, but the problem persists. From your latest post we understand that the problem got resolved for you but we would like to get a more detailed description on this. It would be great if you could explain the soultion to us in a little more deeper.

Warm Regards, Anil

On Jan 28, 2008 7:43 PM, andy luo <Andy@gmail.com> wrote:

This problem is solved. We can boot from Nand now.

The solution is to modify the boot address in the Nand.

On Jan 26, 10:26 pm, nagamatu <naga@gmail.com> wrote:

Check the permission for /system directory. Need to allow read and execution access for others