Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - charli

Pages: [1]
1
Android / Google Android Installable Image Available!
« on: January 22, 2008, 04:58:04 am »
My apology if this is off the track.

I'm working on booting android on a custom made phone equipped with ARM9v5 and following are the steps I've taken:
1. extract cortez's android-root distro to a host directory
2. update and merge my kernel to 2.6.23, including both binder and android drivers
3. nfs mount the rootfs after the device boot up with mounting point /mnt/nfs (unfortunately I don't have the mmc driver working on the device yet)
4. run shell command: $chroot /mnt/nfs/home/root/android-root/ /start
5. double checke that /dev/binder was in right mod after start:
    crw-rw-rw- 1 root root 253, 0 2008-01-21 16:40 dev/binder
6. Guess what, I got this famous red cylon bouncing forever on screen
 
here's the list of start script:

######################
#!/system/bin/sh

echo "* Booting Android"

export PATH=/sbin:/system/sbin:/system/bin:$PATH
export LD_LIBRARY_PATH=/system/lib
export ANDROID_BOOTLOGO=1
export ANDROID_ROOT=/system
export ANDROID_ASSETS=/system/app
export ANDROID_DATA=/data
export EXTERNAL_STORAGE=/sdcard
export DRM_CONTENT=/data/drm/content

mount -t proc proc /proc
mount -t sysfs sysfs /sys

/system/bin/rm /tmp/*
/system/bin/ifconfig lo 127.0.0.1 up

umask 000

/system/bin/app_process -Xzygote /system/bin --zygote &
/system/bin/dbus-daemon --system &
runtime
######################

I also did strace for runtime, and the log file is attached.

Not sure what I did wrong, it would be greeeeeeat if someone can shed some light on this.


thanx
charli

Pages: [1]