This is the logcat output...

I/DEBUG   (  598): debuggerd: Dec 23 2008 13:31:40
E/flash_image(  604): error scanning partitions: No such file or
directory
D/mountd  (  597): AddMountPoint device: /dev/block/mmcblk0,
mountPoint: /sdcard driverStorePath: /sys/devices/platform/
usb_mass_storage/lun0/file
E/mountd  (  597): could not read initial mass storage state
D/mountd  (  597): USB offline
D/mountd  (  597): RequestMount /sdcard
D/mountd  (  597): mounting /dev/block/mmcblk0 at /sdcard
D/mountd  (  597): CheckFilesystem(/dev/block/mmcblk0): fsck_msdos not
found (skipping checks)
D/mountd  (  597): mount returned -1 errno: 16
D/AndroidRuntime(  600):
D/AndroidRuntime(  600): >>>>>>>>>>>>>> AndroidRuntime START
<<<<<<<<<<<<<<
D/AndroidRuntime(  600): CheckJNI is ON
I/        (  601): ServiceManager: 0xabe0
W/AudioHardwareInterface(  601): Using stubbed audio hardware. No
sound will be produced.
I/AudioFlinger(  601): AudioFlinger's main thread ready to run.
I/CameraService(  601): CameraService started: pid=601
D/AndroidRuntime(  600): --- registering native functions ---
I/Zygote  (  600): Preloading classes...
D/dalvikvm(  600): GC freed 761 objects / 42008 bytes in 27ms
D/dalvikvm(  600): GC freed 284 objects / 17736 bytes in 15ms
D/dalvikvm(  600): GC freed 302 objects / 18400 bytes in 10ms
D/dalvikvm(  600): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm(  600): Added shared lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm(  600): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm(  600): Shared lib '/system/lib/libmedia_jni.so' already
loaded in same CL 0x0
D/dalvikvm(  600): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm(  600): Shared lib '/system/lib/libmedia_jni.so' already
loaded in same CL 0x0
D/dalvikvm(  600): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm(  600): Shared lib '/system/lib/libmedia_jni.so' already
loaded in same CL 0x0
D/dalvikvm(  600): GC freed 3738 objects / 182104 bytes in 29ms
D/dalvikvm(  600): GC freed 267 objects / 18976 bytes in 24ms
D/dalvikvm(  600): GC freed 384 objects / 23000 bytes in 28ms
D/dalvikvm(  600): GC freed 118 objects / 25240 bytes in 29ms
D/dalvikvm(  600): GC freed 766 objects / 47488 bytes in 45ms
D/dalvikvm(  600): GC freed 380 objects / 23584 bytes in 47ms
D/dalvikvm(  600): Trying to load lib /system/lib/libwebcore.so 0x0
D/dalvikvm(  600): Added shared lib /system/lib/libwebcore.so 0x0
D/dalvikvm(  600): GC freed 488 objects / 28200 bytes in 48ms
D/dalvikvm(  600): GC freed 288 objects / 20104 bytes in 55ms
D/dalvikvm(  600): GC freed 391 objects / 21128 bytes in 51ms
D/dalvikvm(  600): GC freed 1806 objects / 94360 bytes in 57ms
D/dalvikvm(  600): GC freed 554 objects / 42920 bytes in 54ms
D/dalvikvm(  600): GC freed 14400 objects / 504752 bytes in 84ms
D/dalvikvm(  600): GC freed 11173 objects / 471104 bytes in 85ms
D/SSLSocketFactory(  600): Using factory
org.apache.harmony.xnet.provider.jsse.opensslsocketfactoryi...@4012dbf8
D/dalvikvm(  600): GC freed 5815 objects / 246504 bytes in 134ms
D/dalvikvm(  600): GC freed 644 objects / 35072 bytes in 70ms
D/dalvikvm(  600): GC freed 587 objects / 30480 bytes in 80ms
D/dalvikvm(  600): GC freed 369 objects / 26272 bytes in 104ms
I/Zygote  (  600): ...preloaded 842 classes in 19342ms.
D/dalvikvm(  600): GC freed 43 objects / 2440 bytes in 85ms
I/Zygote  (  600): Preloading resources...
D/dalvikvm(  600): GC freed 6 objects / 8928 bytes in 85ms
D/dalvikvm(  600): GC freed 198 objects / 10144 bytes in 81ms
D/dalvikvm(  600): GC freed 171 objects / 7272 bytes in 77ms
I/Zygote  (  600): ...preloaded 42 resources in 2770ms.
D/dalvikvm(  600): GC freed 97 objects / 4672 bytes in 78ms
D/dalvikvm(  600): GC freed 127 objects / 4992 bytes in 77ms
D/dalvikvm(  600): GC freed 2 objects / 48 bytes in 76ms
I/dalvikvm(  600): Splitting out new zygote heap
I/dalvikvm(  600): System server process 615 has been created
I/Zygote  (  600): Accepting command socket connections
D/dalvikvm(  615): Trying to load lib /system/lib/
libandroid_servers.so 0x0
D/dalvikvm(  615): Added shared lib /system/lib/libandroid_servers.so
0x0
I/sysproc (  615): Entered system_init()
I/sysproc (  615): ServiceManager: 0xc4ac0
I/SurfaceFlinger(  615): SurfaceFlinger is starting
I/SurfaceFlinger(  615): SurfaceFlinger's main thread ready to run.
Initializing graphics H/W...
E/MemoryHeapBase(  615): error opening /dev/pmem: No such file or
directory
E/SurfaceFlinger(  615): Couldn't open /sys/power/wait_for_fb_sleep
or /sys/power/wait_for_fb_wake
E/GLLogger(  615): couldn't load <libhgl.so> library (Cannot find
library)
I/SurfaceFlinger(  615): EGL informations:
I/SurfaceFlinger(  615): # of configs : 6
I/SurfaceFlinger(  615): vendor    : Android
I/SurfaceFlinger(  615): version   : 1.3 Android META-EGL
I/SurfaceFlinger(  615): extensions: EGL_ANDROID_query_string_config
EGL_ANDROID_swap_rectangle
I/SurfaceFlinger(  615): ext/config: EGL_ANDROID_swap_rectangle
I/SurfaceFlinger(  615): Client API: OpenGL ES
I/EGLDisplaySurface(  615): using (fd=21)
I/EGLDisplaySurface(  615): id           = PXA
I/EGLDisplaySurface(  615): xres         = 320 px
I/EGLDisplaySurface(  615): yres         = 320 px
I/EGLDisplaySurface(  615): xres_virtual = 320 px
I/EGLDisplaySurface(  615): yres_virtual = 640 px
I/EGLDisplaySurface(  615): bpp          = 16
I/EGLDisplaySurface(  615): r            = 11:5
I/EGLDisplaySurface(  615): g            =  5:6
I/EGLDisplaySurface(  615): b            =  0:5
I/EGLDisplaySurface(  615): width        = 51 mm (159.372543 dpi)
I/EGLDisplaySurface(  615): height       = 51 mm (159.372543 dpi)
I/EGLDisplaySurface(  615): refresh rate = 57.78 Hz
E/HAL     (  615): load: module=/system/lib/hw/copybit.default.so
error=Cannot find library
I/SurfaceFlinger(  615): density = 1.000000
I/SurfaceFlinger(  615): OpenGL informations:
I/SurfaceFlinger(  615): vendor    : Android
I/SurfaceFlinger(  615): renderer  : Android PixelFlinger 1.0
I/SurfaceFlinger(  615): version   : OpenGL ES-CM 1.0
I/SurfaceFlinger(  615): extensions: GL_OES_byte_coordinates
GL_OES_fixed_point GL_OES_single_precision GL_OES_read_format
GL_OES_compressed_paletted_texture GL_OES_draw_texture
GL_OES_matrix_get GL_OES_query_matrix GL_ARB_texture_compression
GL_ARB_texture_non_power_of_two GL_ANDROID_direct_texture
GL_ANDROID_user_clip_plane GL_ANDROID_vertex_buffer_object
GL_ANDROID_generate_mipmap
E/HAL     (  615): load: module=/system/lib/hw/copybit.default.so
error=Cannot find library
E/HAL     (  615): load: module=/system/lib/hw/overlay.default.so
error=Cannot find library
I/sysproc (  615): System server: starting Android runtime.
I/sysproc (  615): System server: starting Android services.
E/GLLogger(  615): couldn't load <libhgl.so> library (Cannot find
library)
I/SystemServer(  615): Entered the Android system server!
I/sysproc (  615): System server: entering thread pool.
I/SystemServer(  615): Starting Power Manager.
I/ARMAssembler(  615): generated
scanline__00000177:03545404_00001A04_00000000 [ 61 ipp] (86 ins) at
[0x1b1950:0x1b1aa8] in 653537 ns
I/ARMAssembler(  615): generated
scanline__00000177:03010104_00001A01_00000000 [ 40 ipp] (65 ins) at
[0x1b1ab0:0x1b1bb4] in 531384 ns
I/ARMAssembler(  615): generated
scanline__00000177:03545404_00000A01_00000000 [ 48 ipp] (72 ins) at
[0x1b1be0:0x1b1d00] in 448614 ns
I/SystemServer(  615): Starting Activity Manager.
I/SystemServer(  615): Starting telephony registry
I/SystemServer(  615): Starting Package Manager.
I/Installer(  615): connecting...
I/installd(  603): new connection
W/PackageManager(  615): Library not found: /system/framework/
com.google.android.gtalkservice.jar
W/PackageManager(  615): Library not found: /system/framework/
com.google.android.maps.jar
D/PackageManager(  615): Scanning app dir /system/framework
D/dalvikvm(  615): GC freed 6484 objects / 255064 bytes in 854ms
D/PackageManager(  615): Scanning app dir /system/app
D/dalvikvm(  615): GC freed 3953 objects / 229960 bytes in 399ms
D/PackageManager(  615): Scanning app dir /data/app
W/PackageParser(  615): Intent filter for activity ActivityIntentInfo
{434ea720 com.example.android.apis.media.MediaPlayerDemo_Audio}
defines no actions
W/PackageParser(  615): Intent filter for activity ActivityIntentInfo
{434eb278 com.example.android.apis.media.MediaPlayerDemo_Video}
defines no actions
D/PackageManager(  615): Scanning app dir /data/app-private
I/PackageManager(  615): Time to scan packages: 19.659 seconds
W/PackageManager(  615): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH in package
com.android.providers.contacts
W/PackageManager(  615): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH.cp in package
com.android.providers.contacts
W/PackageManager(  615): Unknown permission
com.google.android.providers.gmail.permission.WRITE_GMAIL in package
com.android.settings
W/PackageManager(  615): Unknown permission
com.google.android.providers.gmail.permission.READ_GMAIL in package
com.android.settings
W/PackageManager(  615): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH in package
com.android.settings
W/PackageManager(  615): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH in package
com.android.development
W/PackageManager(  615): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH.ALL_SERVICES in
package com.android.development
W/PackageManager(  615): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH.YouTubeUser in
package com.android.development
W/PackageManager(  615): Unknown permission
com.google.android.googleapps.permission.ACCESS_GOOGLE_PASSWORD in
package com.android.development
W/PackageManager(  615): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH in package
com.android.unit_tests
W/PackageManager(  615): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH.ALL_SERVICES in
package com.android.unit_tests
W/PackageManager(  615): Unknown permission
com.google.android.googleapps.permission.ACCESS_GOOGLE_PASSWORD in
package com.android.unit_tests
W/PackageManager(  615): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH.mail in package
com.android.calendar
W/PackageManager(  615): Unknown permission
android.permission.ACCESS_DOWNLOAD_DATA in package
com.android.providers.downloads
W/PackageManager(  615): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH in package
com.android.providers.calendar
W/PackageManager(  615): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH.cl in package
com.android.providers.calendar
W/PackageManager(  615): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH in package
com.android.browser
W/PackageManager(  615): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH.mail in package
com.android.contacts
D/dalvikvm(  615): GC freed 4407 objects / 258208 bytes in 246ms
D/dalvikvm(  615): GC freed 1432 objects / 67912 bytes in 155ms
I/SystemServer(  615): Starting Content Manager.
W/ActivityManager(  615): Unable to start service Intent
{ action=android.accounts.IAccountsService comp=
{com.google.android.googleapps/
com.google.android.googleapps.GoogleLoginService} }: not found
W/AccountMonitor(  615): Couldn't connect to Intent
{ action=android.accounts.IAccountsService comp=
{com.google.android.googleapps/
com.google.android.googleapps.GoogleLoginService} } (Missing service?)
I/SystemServer(  615): Starting System Content Providers.
I/ActivityThread(  615): Publishing provider settings:
com.android.providers.settings.SettingsProvider
I/ActivityThread(  615): Publishing provider android.server.checkin:
android.server.checkin.CheckinProvider
I/ActivityThread(  615): Publishing provider subscribedfeeds:
com.android.providers.subscribedfeeds.SubscribedFeedsProvider
W/ActivityManager(  615): Unable to start service Intent
{ action=android.accounts.IAccountsService comp=
{com.google.android.googleapps/
com.google.android.googleapps.GoogleLoginService} }: not found
W/AccountMonitor(  615): Couldn't connect to Intent
{ action=android.accounts.IAccountsService comp=
{com.google.android.googleapps/
com.google.android.googleapps.GoogleLoginService} } (Missing service?)
I/ActivityThread(  615): Publishing provider sync:
android.content.SyncProvider
I/SystemServer(  615): Starting Battery Service.
E/BatteryService(  615): Could not open '/sys/class/power_supply/ac/
online'
E/BatteryService(  615): Could not open '/sys/class/power_supply/usb/
online'
E/BatteryService(  615): Could not open '/sys/class/power_supply/
battery/present'
E/BatteryService(  615): Could not open '/sys/class/power_supply/
battery/capacity'
E/BatteryService(  615): Could not open '/sys/class/power_supply/
battery/batt_vol'
E/BatteryService(  615): Could not open '/sys/class/power_supply/
battery/batt_temp'
E/BatteryService(  615): Could not open '/sys/class/power_supply/
battery/status'
E/BatteryService(  615): Could not open '/sys/class/power_supply/
battery/health'
E/BatteryService(  615): Could not open '/sys/class/power_supply/
battery/technology'
E/power   (  615): set_a_light failed to open /sys/class/leds/keyboard-
backlight/brightness
I/SystemServer(  615): Starting Alarm Manager.
I/SystemServer(  615): Starting Sensor Service.
E/HAL     (  615): load: module=/system/lib/hw/sensors.default.so
error=Cannot find library
I/SystemServer(  615): Starting Window Manager.
I/EventHub(  615): New device: path=/dev/input/event1 name=wm97xx
touchscreen id=0x10000 (of 0x1) index=1 fd=41 classes=0x0
I/EventHub(  615): New device: path=/dev/input/event0 name=pxa27x-
keypad id=0x10001 (of 0x2) index=2 fd=42 classes=0x1
I/EventHub(  615): New keyboard: publicID=65537 device->id=65537
devname='pxa27x-keypad' propName='hw.keyboards.65537.devname'
keylayout='/system/usr/keylayout/qwerty.kl'
E/EventHub(  615): could not get driver version for /dev/input/mice,
Not a typewriter
I/KeyInputQueue(  615): Device added: id=0x0, name=pxa27x-keypad,
classes=1
I/KeyInputQueue(  615): Device added: id=0x10000, name=null, classes=0
E/HAL     (  615): load: module=/system/lib/hw/sensors.default.so
error=Cannot find library
D/SensorManager(  615): found sensor: null, handle=0
I/SystemServer(  615): Starting Bluetooth Service.
I/SystemServer(  615): Starting Status Bar Service.
I/SystemServer(  615): Starting Clipboard Service.
I/SystemServer(  615): Starting Input Method Service.
I/InputManagerService(  615): Enabled input methods:
com.example.android.softkeyboard/.SoftKeyboard
I/SystemServer(  615): Starting Hardware Service.
I/SystemServer(  615): Starting NetStat Service.
I/SystemServer(  615): Starting Connectivity Service.
D/WifiService(  615): WifiService starting up with Wi-Fi disabled
I/SystemServer(  615): Starting Notification Manager.
I/SystemServer(  615): Starting Mount Service.
I/SystemServer(  615): Starting DeviceStorageMonitor service
I/SystemServer(  615): Starting Location Manager.
D/MountListener(  615): handleEvent ums_disconnected
D/LocationManagerService(  615): Constructed LocationManager Service
D/MountListener(  615): handleEvent ums_disabled
I/System.out(  615): #### #### Setting locale to en_US
D/libhardware(  615): no GPS hardware on this device
D/LocationManagerService(  615): Found dir /data/location/gps
D/LocationManagerService(  615): name = gps
D/TrackProvider(  615): Loading properties file /data/location/gps/
properties
D/dalvikvm(  615): GC freed 4710 objects / 290792 bytes in 1349ms
D/dalvikvm(  615): GC freed 11686 objects / 517808 bytes in 314ms
I/SystemServer(  615): Starting Search Service.
I/SystemServer(  615): Starting Checkin Service
W/SystemServer(  615): Could not find
com.google.android.server.checkin.CheckinService, trying fallback
I/SystemServer(  615): Starting Wallpaper Service
D/WallpaperService(  615): WallpaperService startup
I/SystemServer(  615): Starting Audio Service
I/SystemServer(  615): Starting HeadsetObserver
W/HeadsetObserver(  615): This kernel does not have wired headset
support
I/WindowManager(  615): Input configuration changed: { scale=1.0
imsi=0/0 locale=en_US touch=3 key=2/1/2 nav=3 orien=3 }
I/WindowManager(  615): Menu key state: 0
D/PowerManagerService(  615): system ready!
D/ActivityManager(  615): Start running!
I/Zygote  (  615): Process: zygote socket opened

On Dec 31, 2:21 pm, Lo Yuk Fai <loyuk...@gmail.com> wrote:
> One more thing, I also applied the double buffer patch 
> fromhttp://androidzaurus.seesaa.net/article/105551643.html
>
> On Dec 31, 2:19 pm, Lo Yuk Fai <loyuk...@gmail.com> wrote:
>
> > Greetings!
>
> > > What source are you using?  android.git.kernel.org?  hackndev?
> > > Are there any patches you've applied?
>
> > The kernel is based on the android.git.kernel.org tree.
>
> > Then I used git to get a diff between the stock and H&D's 2.6.27
> > kernel trees, and patched the above mentioned tree accordingly.
>
> > I uploaded the diff tohttp://www.mediafire.com/?1x9jnigundy
>
> > Afterwards, run "make palmt650_defconfig" to get a default .config.
> > IIRC, Thumb support is not enabled so you need to configure it
> > manually. You may also enable the Low Memory Killer.
>
> > > What does the command look like to cross-compile to the ARM
> > > architecture?
>
> > The Android sources include the ARM cross-compiling toolchains
> > already. I had also installed the CodeSourcery toolchains 
> > fromhttp://www.codesourcery.com/gnu_toolchains/arm/download.html
>
> > > Using cocoboot?
>
> > Yes sure.
>
> > > Did you manage to get dropbear installed?  Can you connect to the
> > > phone from your PC?
>
> > Not yet tried.
>
> > After you've got the kernel, you can then partition the SD card into 2
> > partitions, 1 FAT for the zImage and 1 ext2/ext3 for the Android. You
> > can try running the Android init command directly by giving cocoboot
> > the command line "rootdelay=1 root=/dev/mmcblk0p2 init=/init".
>
> > For some reasons I only managed to do it with the pre-cupcake build,
> > but not the post-cupcake build (there are some permissions errors... I
> > think the reason is not because of Android but I haven't yet figured
> > it out). Anyway I made the Android binaries into system.img and
> > data.img, used a initrd.gz and mount them as loop devices on boot,
> > then load the Android init.
>
> > Hope this helps.
>
> > On Dec 31, 7:54 am, Don Spaulding <donspauldin...@gmail.com> wrote:
>
> > > Lo Yuk Fai wrote:
> > > > I just compiled and booted the new codes/binaries on my Treo 650,
> > > > unfortunately it's still in a loop and no-go.
>
> > > > Could someone enlighten me on the debug process...?
>
> > > Greetings Lo (and other Android on Treo hackers)!
>
> > > I'm a long-time linux user, first-time kernel compiler, so this whole
> > > process is a bit foreign to me.  I'd like to get at least to the point
> > > that you're at to see what I can do to help.  Can you provide just a
> > > brief overview of how you got to where you are right now?  I've got
> > > the Android master branch downloaded (http://source.android.com/download
> > > ) and built against the generic target ($ make), but I'm a little
> > > unsure where to go from here.  Specific questions I have are...
>
> > > What source are you using?  android.git.kernel.org?  hackndev?
>
> > > Are there any patches you've applied?
>
> > > What does the command look like to cross-compile to the ARM
> > > architecture?
>
> > > Using cocoboot?
>
> > > Did you manage to get dropbear installed?  Can you connect to the
> > > phone from your PC?
>
> > > I'd be grateful for any assistance, I'll try to stick around #android
> > > and #hackndev if IRC is more convenient.
> > > Don Spaulding
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to