OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Android Possible On Sl-6000, Let's get Android on the Tosa
AsLan^
post May 21 2009, 09:48 PM
Post #1





Group: Members
Posts: 45
Joined: 3-June 04
From: Seoul, Korea
Member No.: 3,555



Sorry for not posting this in the Tosa forum but there's like 20 sticky threads in there so I figure it would probably be overlooked (and it is Android related too).

I would like to try getting Android on the 6000 but I'm not really sure how to go about doing it.

Do we have to use the Angstrom distribution kernel and put Android on top of it (like how cortez is doing it on the 3000)? Is there some way we can make an easy to flash distribution?

I'm not really sure where to start, and some things that might be obvious to others are unknown to me (for example, I can't figure out how to turn the tar.gz packages built by the Angstrom auto-builder into an installable image for my 6000) so I need help. But, I'm a pretty quick learner and if anyone's interested in helping me I'd like to give it a shot.

Android with Angstrom could be the modern OS that revives our 6000's and makes them useful again!
Go to the top of the page
 
+Quote Post
speculatrix
post May 25 2009, 01:23 PM
Post #2





Group: Admin
Posts: 3,281
Joined: 29-July 04
From: Cambridge, England
Member No.: 4,149



a cool idea. yeah, I'd start by installing the smallest angstrom image possible, then copying in the android rootfs, and using cortez's chroot method.

when you know that works, it should be possible to do away with chroot and simply merge the android directory hierarchy with angstrom

finally, use the D+M boot option to take a rom snapshop and publish
Go to the top of the page
 
+Quote Post
undrwater
post May 25 2009, 07:09 PM
Post #3





Group: Members
Posts: 232
Joined: 26-September 03
Member No.: 500



I'll try this sometime soon. Anything to keep this beautiful device fresh! biggrin.gif
Go to the top of the page
 
+Quote Post
AsLan^
post May 27 2009, 04:05 AM
Post #4





Group: Members
Posts: 45
Joined: 3-June 04
From: Seoul, Korea
Member No.: 3,555



Okay, I got it to the oscillating cylon eye but it doesn't go any further.

I first flashed a small Angstrom console image onto the device. Then I copied cortez's SL-C3x00 Android image to an ext2 formatted SD card (the image I used didn't recognize CF cards or ext3 format).

Then booted the Z and untarred the android image onto the card (I recommend using the -v switch with tar as it took about 3 hours).

Then I chrooted to /media/card

There is a shell script here called start. The first thing it does is tar up /dev and untar it to /home/root/android-root/dev. I performed this part of the script manually because I like to include the -v switch (then removed the doit placeholder file - take a look at the script).

I then ran the start script and it booted into the oscillating eye.

The version of Angstrom I'm using is 2007.12-r8 tosa console image. The Android I used was the SL-C3x00 image from Omegamoon blog (but I don't know what version it is).

If anyone knows of a more functional Angstrom image for the Tosa that would help. The one I'm using has no wireless so I can't even ssh in.
Go to the top of the page
 
+Quote Post
AsLan^
post May 27 2009, 04:16 AM
Post #5





Group: Members
Posts: 45
Joined: 3-June 04
From: Seoul, Korea
Member No.: 3,555



QUOTE(speculatrix @ May 25 2009, 01:23 PM) *
finally, use the D+M boot option to take a rom snapshop and publish


I'm afraid I also don't know how to specify any boot options. I'm not running any kind of boot manager.

Go to the top of the page
 
+Quote Post
cortez
post May 27 2009, 06:33 AM
Post #6





Group: Members
Posts: 376
Joined: 18-March 04
From: The Netherlands
Member No.: 2,380



QUOTE(AsLan^ @ May 27 2009, 02:16 PM) *
QUOTE(speculatrix @ May 25 2009, 01:23 PM) *
finally, use the D+M boot option to take a rom snapshop and publish


I'm afraid I also don't know how to specify any boot options. I'm not running any kind of boot manager.


By "D+M boot option" speculatrix means the NAND Backup option in the Diagnostic (ROM) menu. To get there, use D+P+Reset, you will hear a beep and a graphical menu is shown. Scroll right with the D-pad until you are on page 4/4 and then there will be two options for NAND Backup, and NAND Restore.

The version you took from my blog actually is the M5-RC15 release, which was the last "early-look" version before version 1.0 was released. The fact that you see the "oscillating cylon eye" indicates that you've setup everything correctly. The reason Android doesn't boot is because you're kernel doesn't contain the Android Binder device driver.

Add the driver, rebuild and flash the kernel and you're all set. Sounds easy, but I know it's not wink.gif
Go to the top of the page
 
+Quote Post
AsLan^
post May 27 2009, 07:01 AM
Post #7





Group: Members
Posts: 45
Joined: 3-June 04
From: Seoul, Korea
Member No.: 3,555



Thank you for clarifying the NAND backup procedure.

QUOTE(cortez @ May 27 2009, 06:33 AM) *
The version you took from my blog actually is the M5-RC15 release, which was the last "early-look" version before version 1.0 was released. The fact that you see the "oscillating cylon eye" indicates that you've setup everything correctly. The reason Android doesn't boot is because you're kernel doesn't contain the Android Binder device driver.

Add the driver, rebuild and flash the kernel and you're all set. Sounds easy, but I know it's not wink.gif


It's good to hear that it's setup properly so far smile.gif

Regarding rebuilding the kernel etc. does this mean I will have to set up bitbake? (I don't think Poky Linux has a build for the tosa).

Also, how do I go about getting the newer version of Android, is it just a matter of downloading the Android SDK and locating the tar.gz file? (getting ahead of myself laugh.gif)
Go to the top of the page
 
+Quote Post
cortez
post May 27 2009, 12:58 PM
Post #8





Group: Members
Posts: 376
Joined: 18-March 04
From: The Netherlands
Member No.: 2,380



QUOTE(AsLan^ @ May 27 2009, 05:01 PM) *
Thank you for clarifying the NAND backup procedure.

QUOTE(cortez @ May 27 2009, 06:33 AM) *
The version you took from my blog actually is the M5-RC15 release, which was the last "early-look" version before version 1.0 was released. The fact that you see the "oscillating cylon eye" indicates that you've setup everything correctly. The reason Android doesn't boot is because you're kernel doesn't contain the Android Binder device driver.

Add the driver, rebuild and flash the kernel and you're all set. Sounds easy, but I know it's not wink.gif


It's good to hear that it's setup properly so far smile.gif

Regarding rebuilding the kernel etc. does this mean I will have to set up bitbake? (I don't think Poky Linux has a build for the tosa).

Also, how do I go about getting the newer version of Android, is it just a matter of downloading the Android SDK and locating the tar.gz file? (getting ahead of myself laugh.gif)

Setting up bitbake (Poky or OpenEmbedded) is a good and quick option to get a working build environment. You could tweak one of the provided kernel packages easily to build a kernel for the tosa, even with the latest 2.6.30 sources. The latest kernel should work using stock kernel.org sources without the need for patches.

To get the latest Android version you could rip the file system from the emulator (as I did with the pre-releases) or rebuild it from source (as described here)
Go to the top of the page
 
+Quote Post
AsLan^
post May 29 2009, 12:35 AM
Post #9





Group: Members
Posts: 45
Joined: 3-June 04
From: Seoul, Korea
Member No.: 3,555



QUOTE(cortez @ May 27 2009, 12:58 PM) *
Setting up bitbake (Poky or OpenEmbedded) is a good and quick option to get a working build environment. You could tweak one of the provided kernel packages easily to build a kernel for the tosa, even with the latest 2.6.30 sources. The latest kernel should work using stock kernel.org sources without the need for patches.

To get the latest Android version you could rip the file system from the emulator (as I did with the pre-releases) or rebuild it from source (as described here)


Unfortunately, I've run into some problems with openembedded and building tosa images. I've posted the details over here in the tosa forum.

If you or anyone else following this thread can get me back on track I'd appreciate it smile.gif
Go to the top of the page
 
+Quote Post
ant
post Jun 1 2009, 01:23 AM
Post #10





Group: Members
Posts: 163
Joined: 11-March 04
From: IT
Member No.: 2,270



QUOTE(AsLan^ @ May 29 2009, 10:35 AM) *
QUOTE(cortez @ May 27 2009, 12:58 PM) *
Setting up bitbake (Poky or OpenEmbedded) is a good and quick option to get a working build environment. You could tweak one of the provided kernel packages easily to build a kernel for the tosa, even with the latest 2.6.30 sources. The latest kernel should work using stock kernel.org sources without the need for patches.

To get the latest Android version you could rip the file system from the emulator (as I did with the pre-releases) or rebuild it from source (as described here)


Unfortunately, I've run into some problems with openembedded and building tosa images. I've posted the details over here in the tosa forum.

If you or anyone else following this thread can get me back on track I'd appreciate it smile.gif


Hi,
I answered you in the other thread.
Now, I add another advice: use a plain local.conf, no need for .bz2. Seeing how many images were created, I guess you have not updated in the last weeks smile.gif

BTW: Tosa was needing just two patches against 2.6.29. Don't think these are yet merged.

Regards

Ant
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 28th December 2014 - 01:33 PM