Android doesnt start.

Lucas Andre
Hi, 

I'm trying to compile Android for tiny210.

When I try to load the compiled image, its doesnt start. The screen stops
in a black background with a penguim draw.

When I load the zImage that I've generated using rootfs that is avaible in
Tiny210-20120913.iso it works perfectly.

when I compiled the rootfs I got no errors.

Im taking the following steps for compile Android.


# mkdir –p /opt/FriendlyARM/Tiny210/android
# chmod 777 /opt/FriendlyARM/Tiny210/android
 
#mkdir /tmp/android
 
#cd /opt/FriendlyARM/Tiny210/android
#tar xvzf /tmp/android/linux-3.0.8-20120912.tgz
 
#cd /opt/FriendlyARM/Tiny210/android
#tar xvzf /tmp/android/android-2.3.1-fs-20120912.tar.gz
 
#cd /opt/FriendlyARM/Tiny210/android
#tar xvzf /tmp/android/rootfs_android4.0.3-20120912.tar.gz
 
# cd /opt/FriendlyARM/Tiny210/android/ linux-2.6.35.7-android
# cp miny210_android_defconfig .config
# make
 
# cd /opt/FriendlyARM/Tiny210/android/Android-2.3.1
# ./build-android
 
#./genrootfs.sh
 
#cd /opt/FriendlyARM/Tiny210/android/Android-2.3.1
#mkyaffs2image-128M rootfs_dir rootfs_android.img
 
The FrinedlyARM.ini file is configured as follow:
 
#This line cannot be removed. by FriendlyARM(www.arm9.net)
 
CheckOneButton=No
Action = Install
OS =Android
 
LCD-Mode = No
LCD-Type = S70
 
LowFormat = Yes
VerifyNandWrite = No
CheckCRC32=No
 
StatusType = LED
 
################### Android 4.0.3 ####################
Android-BootLoader = Superboot210.bin
Android-Kernel = Android/zImage
Android-CommandLine = root=/dev/mtdblock4 console=ttySAC0,115200
init=/linuxrc androidboot.console=ttySAC0 skipcali=yes ctp=3
Android-RootFs-InstallImage = Android/rootfs_android.img

I DO NOT change anything to compile

Do someone have any idea about whats wrong?

Thanks

Dave McLaughlin
Hi Lucas,

What size is the rootfs_android.img?

Can you log the output from the serial port? This will have lots of output
during the boot and might show where it is hanging up.

I have this in my INI file. The only difference I can see is that you don't
have the lcd= entry.

################### Android ####################
Android-BootLoader = superboot-210-20110928.bin
Android-Kernel = Android/zImage
Android-CommandLine = root=/dev/mtdblock4 console=ttySAC0,115200
init=/linuxrc androidboot.console=s3c2410_serial0 lcd=W50
Android-RootFs-InstallImage = Android/rootfs_android.img


Dave...

Lucas Andre
Hi dave,

The rootfs_android.img is 188Mb

I believe there are two problems, because I couldn't read anything at
serial port.

There's nothing there. I've tried reading the serial port with docklight,
hyperterminal and DWM and none of them worked. And I've checked that the
serial port on my computer is working.

The android image is working, using the itest that comes bundled with it,
but serial port still does not work.

I've tried both ports 0 and 1 and both did not work

Inside /dev I see 4 serial ports available, but can't use any of them.

I've tried installing qtopia (Linux) and it also did not work

I have two Tiny210 kits, SDK 1.0

Thanks,