Drakou wrote:
> Hello,
>
> I am actually working on porting Android to an Mx27 custom board. That
> board is really close to the Mx27ADS. I used the Mx31 porting advices
> to make my own porting.
>
> I have a 2.6.25 kernel with freescale and android patches. I can start
> the system , get the animated ANDROID logo centered on screen  . But
> then nothing more happens. If I look into the log files, there is a
> lot of errors and warnings. But I am too new to android system to spot
> the critical one. So I request some help in analysing the log files. I
> made a little selection of all Warning and Errors lines and some
> usefull debug lines.
>
> If someone could tell me where to find to solve that problems.
>
> I/DEBUG   (  400): debuggerd: Apr  2 2009 14:18:20
> I/vold    (  399): Android Volume Daemon version 2.0
> E/flash_image(  408): can't find recovery partition
> E/vold    (  399): Unable to open '/sys/class/mmc_host' (m)
> E/vold    (  399): Unable to open '/sys/class/switch' (m)
> D/vold    (  399): Bootstrapping complete
> D/AndroidRuntime(  402):
> D/AndroidRuntime(  402): >>>>>>>>>>>>>> AndroidRuntime START
> <<<<<<<<<<<<<<
> D/AndroidRuntime(  402): CheckJNI is ON
> I/        (  403): ServiceManager: 0xac38
> W/AudioHardwareInterface(  403): Using stubbed audio hardware. No
> sound will be produced.
> E/MemoryHeapBase( 1464): error opening /dev/pmem: No such file or
> directory
> E/SurfaceFlinger( 1464): Couldn't open /sys/power/wait_for_fb_sleep
> or /sys/power/wait_for_fb_wake
>   
These are not critical, but your android version is not ok:
the 2.6.25 use the /sys/android_power/ path instead of sys/power/path
> E/SurfaceFlinger( 1464): ioctl(20, VT_ACTIVATE, ...) failed, 6 (No
> such device or address) for 7
>   
Increase the vt terminal in you kernel configuration
> E/GLLogger( 1464): couldn't load <libhgl.so> library (Cannot find
> library)
> W/HAL     ( 1464): load: module=/system/lib/hw/copybit.intuitive.so
> error=Cannot find library
> W/HAL     ( 1464): load: module=/system/lib/hw/copybit.default.so
> error=Cannot find library
> W/SurfaceFlinger( 1464): ro.sf.lcd_density not defined, using 160 dpi
> by default.
> W/HAL     ( 1464): load: module=/system/lib/hw/copybit.intuitive.so
> error=Cannot find library
> W/HAL     ( 1464): load: module=/system/lib/hw/copybit.default.so
> error=Cannot find library
> W/HAL     ( 1464): load: module=/system/lib/hw/overlay.intuitive.so
> error=Cannot find library
> W/HAL     ( 1464): load: module=/system/lib/hw/overlay.default.so
> error=Cannot find library
> E/GLLogger( 1464): couldn't load <libhgl.so> library (Cannot find
> library)
> E/PackageManager( 1464): Package com.android.providers.subscribedfeeds
> requires unavailable shared library com.google.android.gtalkservice;
> ignoring!
> E/PackageManager( 1464): Package com.android.development requires
> unavailable shared library com.google.android.maps; ignoring!
> W/PackageManager( 1464): Unknown permission
> com.google.android.googleapps.permission.GOOGLE_AUTH in package
> com.android.providers.contacts
> W/PackageManager( 1464): Unknown permission
> com.google.android.googleapps.permission.GOOGLE_AUTH.cp in package
> com.android.providers.contacts
> W/PackageManager( 1464): Unknown permission
> com.google.android.providers.gmail.permission.WRITE_GMAIL in package
> com.android.settings
> W/PackageManager( 1464): Unknown permission
> com.google.android.providers.gmail.permission.READ_GMAIL in package
> com.android.settings
> W/PackageManager( 1464): Unknown permission
> com.google.android.googleapps.permission.GOOGLE_AUTH in package
> com.android.settings
> W/PackageManager( 1464): Unknown permission
> com.google.android.googleapps.permission.GOOGLE_AUTH.mail in package
> com.android.calendar
> W/PackageManager( 1464): Unknown permission
> com.google.android.googleapps.permission.GOOGLE_AUTH in package
> com.android.providers.calendar
> W/PackageManager( 1464): Unknown permission
> com.google.android.googleapps.permission.GOOGLE_AUTH.cl in package
> com.android.providers.calendar
> W/PackageManager( 1464): Unknown permission
> com.google.android.googleapps.permission.GOOGLE_AUTH in package
> com.android.browser
> W/PackageManager( 1464): Unknown permission
> com.google.android.googleapps.permission.GOOGLE_AUTH.mail in package
> com.android.contacts
> W/ActivityManager( 1464): Unable to start service Intent
> { action=android.accounts.IAccountsService comp=
> {com.google.android.googleapps/
> com.google.android.googleapps.GoogleLoginSe
> rvice} }: not found
> W/AccountMonitor( 1464): Couldn't connect to Intent
> { action=android.accounts.IAccountsService comp=
> {com.google.android.googleapps/
> com.google.android.googleapps.GoogleLoginService
> } } (Missing service?)
> E/BatteryService( 1464): Could not open '/sys/class/power_supply/ac/
> online'
> E/BatteryService( 1464): Could not open '/sys/class/power_supply/usb/
> online'
> E/BatteryService( 1464): Could not open '/sys/class/power_supply/
> battery/present'
> E/BatteryService( 1464): Could not open '/sys/class/power_supply/
> battery/capacity'
> E/BatteryService( 1464): Could not open '/sys/class/power_supply/
> battery/batt_vol'
> E/BatteryService( 1464): Could not open '/sys/class/power_supply/
> battery/batt_temp'
> E/BatteryService( 1464): Could not open '/sys/class/power_supply/
> battery/status'
> E/BatteryService( 1464): Could not open '/sys/class/power_supply/
> battery/health'
> E/BatteryService( 1464): Could not open '/sys/class/power_supply/
> battery/technology'
> E/ActivityManager( 1464): Attempt to launch receivers of broadcast
> intent Intent { action=android.intent.action.POWER_DISCONNECTED }
> before boot completion
> E/System  ( 1464): Failure starting core service
>   
I think this can be critical, because it can't start the battery service.
I don't have idea to the other one.
> E/System  ( 1464): java.lang.IllegalStateException: Cannot broadcast
> before boot completed
> E/System  ( 1464):      at
> com.android.server.am.ActivityManagerService.broadcastIntent
> (ActivityManagerService.java:10241)
> E/System  ( 1464):      at android.app.ApplicationContext.sendBroadcast
> (ApplicationContext.java:640)
> E/System  ( 1464):      at com.android.server.BatteryService.update
> (BatteryService.java:247)
> E/System  ( 1464):      at com.android.server.BatteryService.<init>
> (BatteryService.java:131)
> E/System  ( 1464):      at com.android.server.ServerThread.run
> (SystemServer.java:128)
> E/AndroidRuntime( 1464): Crash logging skipped, no checkin service
> W/ResourceType( 1464): No package identifier when getting value for
> resource number 0x7f060000
> W/ActivityManager( 1464): Unable to start service Intent { comp=
> {com.google.android.server.checkin/
> com.google.android.server.checkin.CheckinService} }: not found
> W/SystemServer( 1464): Using fallback Checkin Service.
> W/AudioService( 1464): Soundpool could not load file: /system/media/
> audio/ui/Effect_Tick.ogg
> W/AudioService( 1464): Soundpool could not load file: /system/media/
> audio/ui/KeypressStandard.ogg
> W/AudioService( 1464): Soundpool could not load file: /system/media/
> audio/ui/KeypressSpacebar.ogg
> W/AudioService( 1464): Soundpool could not load file: /system/media/
> audio/ui/KeypressDelete.ogg
> W/AudioService( 1464): Soundpool could not load file: /system/media/
> audio/ui/KeypressReturn.ogg
> W/HeadsetObserver( 1464): This kernel does not have wired headset
> support
> W/dalvikvm( 1464): threadid=15: thread exiting with uncaught exception
> (group=0x4000fe70)
> E/AndroidRuntime( 1464): Uncaught handler: thread
> android.server.ServerThread exiting due to uncaught exception
> E/AndroidRuntime( 1464): *** EXCEPTION IN SYSTEM PROCESS.  System will
> crash.
> E/AndroidRuntime( 1464): java.lang.NullPointerException
> E/AndroidRuntime( 1464):        at com.android.server.ServerThread.run
> (SystemServer.java:332)
> I/ServiceManager(  397): service 'activity' died
> I/ServiceManager(  397): service 'meminfo' died
> I/ServiceManager(  397): service 'package' died
> I/ServiceManager(  397): service 'permission' died
> I/ServiceManager(  397): service 'SurfaceFlinger' died
> I/ServiceManager(  397): service 'power' died
> I/ServiceManager(  397): service 'batteryinfo' died
> I/ServiceManager(  397): service 'usagestats' died
> I/ServiceManager(  397): service 'telephony.registry' died
> I/ServiceManager(  397): service 'appwidget' died
> I/ServiceManager(  397): service 'cpuinfo' died
> I/ServiceManager(  397): service 'activity.broadcasts' died
> I/ServiceManager(  397): service 'activity.services' died
> I/ServiceManager(  397): service 'activity.senders' died
> I/ServiceManager(  397): service 'activity.providers' died
> I/ServiceManager(  397): service 'content' died
> I/ServiceManager(  397): service 'clipboard' died
> I/ServiceManager(  397): service 'statusbar' died
> I/ServiceManager(  397): service 'input_method' died
> I/ServiceManager(  397): service 'netstat' died
> I/ServiceManager(  397): service 'audio' died
> I/ServiceManager(  397): service 'wifi' died
> I/ServiceManager(  397): service 'mount' died
> I/ServiceManager(  397): service 'connectivity' died
> I/ServiceManager(  397): service 'devicestoragemonitor' died
> I/ServiceManager(  397): service 'notification' died
> I/ServiceManager(  397): service 'location' died
> I/ServiceManager(  397): service 'search' died
> I/ServiceManager(  397): service 'checkin' died
> I/ServiceManager(  397): service 'wallpaper' died
> I/Zygote  (  402): Exit zygote because system server (424) has
> terminated
>
> Then it restart .. and generate the same errors.
>
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to