Porting Linux for Pharos in progress - P3470 General

I am now working on porting linux to HTC Pharos. Gotten HaREt to boot it, working on the keymap. Will post the image here when it's "usable"
For questions go to the launchpad project's "Answers" page. For discussion, use this thread.
Links:
Progress (Handhelds.org Wiki)
Launchpad project
Git repository

very very cool ... but try to do one better... try to get the android working on our phone !! (the image has been released so it should be possible to compile it for the Pharos)

I'm going to make android work, but I won't make a ROM before next year because android doesn't have a soft keyboard (onscreen keyboard). They plan to develop it in the first quarter of next year though.
Android Roadmap
Still, a working android (but without keyboard) would be cool, so when the linux kernel is good to use, I will start on android.

please DO NOT make it a rom, if possible make it work with HARET because then we have a choice!! (far more flexable)
i see you're dependant on the drivers released by source.android. q1 09 will be great (hell its allmost 2009 anyway)

I'm developing on HaRET, will release that after some time. I will maybe release an android ROM when it's stable and usable. Btw, all releases (ie. files) will be in the first post. So no need to go through pages (if this discussion will be that popular) to look for files...
Also, I can make it work pretty well without the soft keyboard drivers, but not with android. So here's my plan:
1 Make the linux kernel work (keypad and touchscreen most important now...)
2 Release kernel + a distro like familiar
3 Make it work (loosely) on Android

just a supporting note
I will be happy to see your linux rom

Awesome! It will be very interesting to see the progress of this.

i tested linwizard , the touchscreen dont work .
do you found any driver?
what about android?

touchscreen work now.
files will be available soon.

Hey, why don't use kaiser,nike,vogue,polaris zImage and just change the mtype to have android on your Pharos?
Launch haret console and find the gpios button commande and maybe somebody can make a new zimage compatible with your device?

hi,
thank you for the idea.
i already started the project.
touchscreen work very well, and i'm now working on buttons and jog wheel.
pharos is omap850 and many difference/and similarity with list of model you listed.
lets hope it work now.
can you please give me any documentation.I'm very thankful.

Oh yeah i didn't mention it wasn't the same chipset so it isn't possible to merge source with our thread.
I don't know much things but i can try to help you.
Try to contact @ : dzo, dcordes or another member in the kaiser thread
Can you please post a POC zip. I want to test how android is reactive on Pharos.
Thanks.

please join this thread http://forum.xda-developers.com/showthread.php?t=494991
source will be uploaded on server as soon as possible.
for now you can play with proposed file.
you can join our project.

Related

Android on ARM920T phones? (like Trinity.. ;-))

Dear all,
as I wrote on this other post (excuse me for crossposting - please mods to close the wrong-placed one):
http://forum.xda-developers.com/showthread.php?goto=newpost&t=384850
there are two guys that recompiled Android for ARMv4 processor - like ARM920T, the trinity processor!!
Here you have the links:
http://benno.id.au/blog/
http://perpetual-notion.blogspot.com/2008/10/android-freerunnder-updates.html
They are working on the Freerunner and Neo1973 devices.. but the processor is the same..
Anyone out there wants Android on our beloved trinity?
At the moment I have no spare time (and skills) to take the challenge.. but I hope that someone will do.
I think that with the source code the CLZ and Thumb mode issues are completely addressed.
Anyone could confirm this to me?
Best regards,
s
Hi,
i'm also interested to see android on my htc hermes. i'm waiting benos new blog entries to see if he was able to run the code on "Neo1973".
What is the diference between htc hermes and htc dream (g1) regarding other chips beside the prcessor?
i don't think that drivers included in android can cover all chips in hermes. can someone maybe make an list of same and different devices(chips) in this 2 devices?
thanks
G phone?
So this is the same OS that the G phone is sporting yeah?
If The flashing process isn't harder than the current process then I'd be up for this. Also will it brick the phone?
Need some people to test.
Great Topic!
More information about this here:
http://lists.openmoko.org/nabble.html#nabble-td1368755|a1368755
http://review.source.android.com/user/sean,,mcneil.com
Since the openmoko is very like the p3600 I will give these patches a try. Let you know!
That would be awesome !
Please tel us your progression.
I'm waiting for a Android ROM for my Trinity ^_^
This is what we can try. The openmoke images are out. Since the openmoke is very like the p3600 we could give these images a try. The images are located over here.
http://people.openmoko.org/sean_mcneil/androidfs.jffs2
http://people.openmoko.org/sean_mcneil/uImage-android
We need haret for the images as well.
http://www.handhelds.org/~koconnor/haret/haret-0.5.2.exe
The thing we also need is to have a proper default.txt for haret. Who can help?
Hi piethein,
This will replace the rom we have installed in the trinity or is like an emulator running under wm ?
We dont loss any wm rom that we have installed ?
Dear all,
here you have some (bad) news:
http://groups.google.com/group/android-porting/browse_thread/thread/906dcae21176d4e9#
at the link above you will find a thread I started in adroid-porting developers group.
http://groups.google.com/group/android-porting/browse_thread/thread/0b3743f8151783f6#
at this link there are other infos, but let me report two msgs:
shaice:
Dear all,
sorry to bother you with (probably) silly questions but..
I own a HTC trinity that use the same ARM920T processor of Freerunner.
I saw benno's and christopher's posts on their blogs...
Is there any chance that your binaries will run on other ARM920T
phones?
Thank you in advance for any answer.
Best regards,
s
Christopher Friedt:
Hi Shaice,
In short, no (for now...)
Chris
sigh sob!
Now I'm searching for some fresh news.
Stay tuned!
s
uhmm reading somewhere in the group I found this post:
Jean-Baptiste Queru
3 Nov, 01:14
The shipping G1s have 192MB. Earlier development devices had 128MB,
and that wasn't quite enough to smoothly run the applications that
ship with the G1. Even if all the device's RAM could be allocated to
Android (no baseband, no framebuffer) 64MB would probably be very
tight, to the point where even foreground applications would risk
getting killed because of low memory conditions (the browser
especially comes to mind). In 32MB the system is likely to be
thrashing for memory even before it's done starting the system server
(if it can even start it at all).
JBQ
Mmmmh no good news for us.. :-/
s
Hi there,
basically these are great news!!!
piethein said:
This is what we can try. The openmoke images are out. Since the openmoke is very like the p3600 we could give these images a try. The images are located over here.
http://people.openmoko.org/sean_mcneil/androidfs.jffs2
http://people.openmoko.org/sean_mcneil/uImage-android
We need haret for the images as well.
http://www.handhelds.org/~koconnor/haret/haret-0.5.2.exe
The thing we also need is to have a proper default.txt for haret. Who can help?
Click to expand...
Click to collapse
....but forget about running exactly these images on your trinity units.
It won't work
I don't want to digg your hope but there's a lot to do to make it real.
First:
You'll need a kernel that suits to trinity and offer some features the android OS needs.
Second:
You'll have to modify the image in jffs2 format to get loaded on trinity or build up a tricky environment to mount these image files after booting the kernel.
Have fun!
scholbert
Android on Trinity wanted!!
now that the full Android code is out it's possible!!
we can have Android on Trinity!!
please help... I cannot stand anymore WM!!
IMHO there is no enough memory to run smoothly android on trinity...
but stay tuned..
s
Dear all,
there is no hope for trinity users like us to see android running on our wonderful device.
As stated here:
http://groups.google.com/group/android-internals/browse_thread/thread/788c201e75ca7351
Android don't run on the ARM920T used in Neo1973.
In the following site
http://en.wikipedia.org/wiki/ARM_architecture#ARM_cores there is a table
where are described all the ARM cpu.
Android framework is compiled for the ARMv5 architecture version, so run on
the all the processors that belong to this architecture version and also in
some cpu of the new architecture (ARMv6/v7).
Other information can be found on this site
http://elinux.org/Android_on_OMAP#Real_hardware.
Best Regards,
Andrea Bernardi
Click to expand...
Click to collapse
:-(
bye all
s
ehm...
on HTC vox wat i was using 2 weeks ago they builded a ADNROID rom !!! But they have only clock working but working !!! (no gsm,no edge,no menu,....)
http://forum.xda-developers.com/showthread.php?t=368014&page=14
didoop said:
on HTC vox wat i was using 2 weeks ago they builded a ADNROID rom !!! But they have only clock working but working !!! (no gsm,no edge,no menu,....)
http://forum.xda-developers.com/showthread.php?t=368014&page=14
Click to expand...
Click to collapse
a new step per day, some time good new, other time bad news..... lets get hope that android will run on trinity...

Android Boots On HTC Touch Viva (Opal)

Hello.
I've been trying to boot android the opal by trying the vogue kernal (since it has the same specs as the opal) on the opal until i came across this. a fellow xda-dev member had some good news on android booting on the opal.
heres the original quote from him in the "LINUX BOOTS at OPAL! Thanks to linwizard project!" thread.
MusikMonk said:
I have some good news, Android can boot on the Opal. This is just a proof of concept as it's missing tons of drivers and is completely useless.
Touchscreen and all keys except for the volume control (and obviously the reset button) are not working. So you basically can't do anything when you run it.
What I tried is the same as what's written in this thread about running Android on Gene. They're using the build made for the Herald/Wing (just as I was proposing in my last post) with customized initramfs and kernel.
You'll find all the necessary details in that thread. However, there's a newer build than the one mentioned there it's wing-linux-0.4pre2.cab. And the suitable kernel for that build is supposed to be the pre2 posted in this post but it didn't work on my Opal so I tried the older Gene kernel and it worked. The main difference between the two is bluetooth support, and that's obviously is of no use for us.
This doesn't effect the Windows rom, nor does it requires any special partitioning. Still it's best to have everything backed up before launching it, just in case.
This is the official site for the wing/herald build:
http://wing-linux.sf.net/
This thread on their forums about the Gene port will probably be of use to us:
http://sourceforge.net/apps/phpbb/wing-linux/viewtopic.php?f=4&t=4
I'm reading about the next steps but as I said before, I don't have any previous experience or knowledge about this type of things. If someone can give me hand, I would be more than grateful. At any rate, once I have better understanding of the concept I'll contact the people behind the Wing and the Gene ports.
P.S: If you do try to run this, keep in mind that this will take lots of time, specially for the first launch. And when you get an error saying something like "android sh: can't access tty" just ignore it and keep waiting. After a while you'll have a flashing "android" on the screen, and after some more waiting you'll reach the main screen.
Click to expand...
Click to collapse
i've not tried it yet, but the touchscreen drivers and buttons are not working. if anyone could help build a android kernel for the opal, it would be extremly great!
This thread will be used for future android builds for the opal.
It is possible "Android" in this mobile ????
I would like install to
no, i don't think you can install, but you can boot it from haret. i'm not sure too how to boot it though, trying to find a way.
okay i tried reached till ANDROID boot screen struck waiting for fone to respond.. responded now struck on power off screen..
nothing happens powering offffff strucks.. any way it worked half way.. now i have hope one day will run android on opal
If the Opal is based on the Omap850 chipset, anyone care to try the Wing-linux project on their phones? It's Android ported (or in the process of being ported) to the Wing/Herald. The keys won't be mapped to your phones but I wonder if it will actually boot all the way to the Android desktop. (Btw, the first boot takes a long time to finish.)
would love to try android!!
ivanmmj said:
If the Opal is based on the Omap850 chipset, anyone care to try the Wing-linux project on their phones? It's Android ported (or in the process of being ported) to the Wing/Herald. The keys won't be mapped to your phones but I wonder if it will actually boot all the way to the Android desktop. (Btw, the first boot takes a long time to finish.)
Click to expand...
Click to collapse
Actually, we're already working with wing-linux:
MusikMonk said:
What I tried is the same as what's written in this thread about running Android on Gene. They're using the build made for the Herald/Wing (just as I was proposing in my last post) with customized initramfs and kernel.
Click to expand...
Click to collapse
At any rate, the main thread is here:
http://forum.xda-developers.com/showthread.php?t=462188
I would appreciate any help because, at the moment, I seem to be the only Opal owner working on the port. And I lack the experience.
I was working on modifying the kernel so that the touchscreen would work but I ran into some problems and I've been too busy during the last week to do anything concerning this project.
i'll be happy if anyone could post links to videos showing android running on our HTC touch viva
I got Android CupCake installed and working on my HTC Opal a few weeks back using the WingLinux.
Keys are not mapped and Android is not fully functional but never the less, its android 1.6 on your viva...u can chk da pic off my facebook album, i dnt wanna upload'em again:
http://www.facebook.com/album.php?aid=2068361&id=1493937383
what is special in android which make it different from windows? How it connect to windows pc and linux?

Enlightment

http://www.enlightenment.org/p.php?p=about&l=en
After reading this i thought it is possible to bring this to our omap 850 devices so i just want see ur views
you can use e17 booting angstrom + illume thanks to wing linux project
but there aren't angstrom image ready to load you must compile...
As gp.triple pointed out, it should be possible to do. As Wing Linux uses Angstrom+Android so Angstrom+E17 shouldn't be a problem.
And pitillo on #wing-linux mentioned a couple of days ago that he was trying to build it for elf (aka Touch, another Omap850 device). If he succeded in making one, it should run as is on our devices.
Personally, I prefer having a Kernel that supports all Opal features before worrying about builds and packages. And sadely, I'm not having lots of success there
Anyway, check the link in my sig if you want to know more about Wing Linux.
MusikMonk said:
Personally, I prefer having a Kernel that supports all Opal features before worrying about builds and packages.
Click to expand...
Click to collapse
're right I also think that before we have a working kernel and then you can choose what you prefer
Linux is freedom
i tried android wing linux already , its cool thnx musik monk

Zubuntu!!!!!

I just got Zubuntu running on my universal!!! I'm so excited!!!!
It's kernel 2.6.32 with the android drivers enabled but i've only gotten zubuntu to start. None of the keys seem to work...or anything else for that matter. will do some more test and debugging.
Here's the link to the Zubuntu page
Here's a link to the rootfs
I got the kernel, default text, and haret attached below.
Congratulations!
Keep us informed if make any advance in getting it work!
awesome
Bravo very cool, good luck with solving the problems will watch this topic
Great news mate, I will test it by myself today
How can I install it?
The download link is crash don't work. Please upload again.
The link is working, I have no problems
I think. Thank you.
great!
touchscreen work?
is there any progress on this project?i think drivers from other linux kernel's could be imported.what works and what does not?
Any chance you could point me in the direction of the Git and defconfig that you used to build the 2.6.32 kernel?
keep it up !!
Any news so far??
Any news on this topic?
Making this work perfectly would be awsome, hence the large amount of RAM and CPU power!
Unfortunately im a linux user, not a developer.
I hope someone could get the touchscreen and keyboard drivers from other distro.-s, e.g Titchy linux, or Opie.
It has been already done for other HTC phones, and for Samsung Omnia, and there is a big bunch of programs already compiled for ARM versions of Ubuntu.
Getting and making the drivers work with this wont take more than days for developers, but without the suitable knowledge, it would take weeks for us to research everything about embedded linux's from zero.
I'm going to release a new 2.6.33 kernel, defconfig, and the source changes for everybody to play with later this evening (now posted below). It's faster and the power functions seem to work and you can see the touch screen enabled not functional in ubuntu tho.... .
KEYMAP
Posted corrected keymap above. All of the fn keys are as they are labeled on the universal except for & and the first and last rows of special keys.
Not kwl: Kernal Panic
how to fix? =]

Researching Linux / Android ROM

Hello everybody,
I'm Johan, I live in the netherlands and i'm doing a study Informatica->Software Engineer. For a schoolproject we have to write an Android Application, though i don't have Android running on my telephone natively. So i searched the internet and found out that on the XDA forums its all about custom roms and that there are some Android Roms available. Unfortunately nothing for my MDA Compact/HTC Magician yet.
After asking arround a bit and searching all over the internet I figured nowone actually was bothering to further investigate Android for Magician.
So even though I have no idea if it will ever gonna work i'm gonna try to document as much as possible, and I hope others might join this topic and give some (usefull!!) feedback.
These websites I think are the best place to start, as I don't have any experience with ROMS or Android-OS its gonna be a challenging task but if you guys have any idea's, suggestions or websites where we can find more information feel free to post comments.
Startpage for Magician info:
http://wiki.xda-developers.com/index.php?pagename=HTC_Magician
HaRET bootloader working on magician:
http://www.handhelds.org/moin/moin.cgi/HaRET
http://www.handhelds.org/moin/moin.cgi/HaRET_20Documentation
Linux kernel for Magician:
http://www.htc-linux.org/wiki/index.php?title=Kernel#Kernel_for_intel_PXA_based_devices
Current status for linux kernel:
http://wiki.xda-developers.com/index.php?pagename=MagicianProgress
http://www.handhelds.org/moin/moin.cgi/Magician
Source code for Android:
http://source.android.com/
How to build Android OS:
http://source.android.com/porting/build_system.html
Compatiblity test suite:
http://source.android.com/compatibility/cts-intro.html
Any feedback is apreciated but please don't make it like "nice, when is it finished?" or "its impossible!"
as I have no idea about both of those 2 comments yet, I'll have to figure that out on the go.
It should be possible, someone already ported android to pxa270!
http://www.mask.org.tw/demo.htm
need to throw in a kernel guess i ll fetch yet another magician if that happens!!!
Hi header2k and evildarknight, thanks for the input.
My chinese/tw isn't to good, so i googled for android and pxa270 and found the following website, no idea if its any usefull (currently not at home, and my datalimit on my laptop dislikes downloading 1,3GB so i'll have to see what it is when i'm at my desktop again.)
http://www.ntut.edu.tw/~wyliang/
This looks interesting, if it comes to testing, you can contact me!
guess my chinese aint better
can't somebody anybody compile the android froyo kernel 2.6.32 for the magician which seems to be inline with ph5 dev???
I can't read chinese either, but i wanted to link to the pdf files:
http://www.mask.org.tw/data/Android_Porting_on_PXA270.pdf
http://www.mask.org.tw/data/BringUp_Android_on_PXA270.pdf (he used files from: svn co https://android-pxa270.svn.sourceforge.net/svnroot/android-pxa270 android-pxa270 )
He uploaded his work, too(with two mirrors, after 原始碼 (1.3GB) 下載位置: )
His machine:
[email protected] <-- identical with our magician
64MB RAM <-- identical with our magician
32mb ROM <-- Isn't important because he used an external usb-stick with chroot - We can use our sdcard and haret
Toppoly TD035STEB1 <-- identical wth our magician
Setting up Dev-Team
So this proves i guess its a done deal already
But is it then just theoretically/closed project? or did he indeed release his sourcecode as well? Sourceforge SVN shows there isn't anything deposited.
Anyway, still want to use this on my telephone, no idea what it takes to use/modify his work. Anyone interested in actually joining the project-team to make it run on a telephone? cause in the pics in the powerpoint i see some laptop and some mainboard and touchscreen but not a MDA Compact/HTC Magician yet.
There are copies of the project www.mask.org.tw/data/release-sourceforge.tgz and www.ntut.edu.tw/~wyliang/release-sourceforge.tgz. I don't have access to a linux box at this moment. Need to fix my PC before working on android.
Hello, This is Mask from http://www.mask.org.tw
Hello, I am Mask and I found there are some traffic from xda-developers to my website, so I come here and found there are some discussion of my work before in last year.
I had open an android project for pxa270 on sourceforge, but I didn't know how to upload my source code to sourceforge, so I put the source code on my website and mirror sites.
I hope maybe I could help you if you are interest in "android porting" and some related topics.
mask.chung said:
Hello, I am Mask and I found there are some traffic from xda-developers to my website, so I come here and found there are some discussion of my work before in last year.
I had open an android project for pxa270 on sourceforge, but I didn't know how to upload my source code to sourceforge, so I put the source code on my website and mirror sites.
I hope maybe I could help you if you are interest in "android porting" and some related topics.
Click to expand...
Click to collapse
Yes, i have a question. Do you have a pxafb.c driver that works with android and the 2.6.32 kernels?
sorry about that I have no time to maintain my android project for pxa270, and now I have no plan to keep to maintain it, maybe we could upload whole developing source code including all svn reversion from begin to now, do you know how to import svn to sourceforge ? thanks a lot.
Here is some information on SVN and sourceforge.
http://haacked.com/archive/2006/02/22/QuickstartGuidetoSubversiononSourceForge.aspx some older howto from 2006 not sure if its up to date
http://sourceforge.net/apps/trac/sourceforge/wiki/Subversion Official sourceforge howto.
http://tortoisesvn.net/ svn client
Kernel
Can someone test this kernel and see if it works as I do not have a magician to test it with.
If it does boot can you follow the steps posted here to see if android boots...
http://forum.xda-developers.com/showthread.php?t=658664
notime2d8 said:
Can someone test this kernel and see if it works as I do not have a magician to test it with.
If it does boot can you follow the steps posted here to see if android boots...
Click to expand...
Click to collapse
I try to use kernel on Qtek S110(WM 6.1 by Cotulla), but get freeze screen on line "Jumping to Kernel...". When i use zImage from thread "Android 1.5 Cupcake on Universal" - again freeze on line "Jumping to Kernel...". Any ideas?
If you need to test something on Magician, contact me by ICQ 258113792.
Pavel A Safonov said:
I try to use kernel on Qtek S110(WM 6.1 by Cotulla), but get freeze screen on line "Jumping to Kernel...". When i use zImage from thread "Android 1.5 Cupcake on Universal" - again freeze on line "Jumping to Kernel...". Any ideas?
If you need to test something on Magician, contact me by ICQ 258113792.
Click to expand...
Click to collapse
Make sure you have the radio turned on and not in airplane mode and wifi and bluetooth turned off. Also the correct machine type 875 in the startup text file or 855 if using the one for the universal.
i think set MTYPE 875 should be the right one
notime2d8 said:
Make sure you have the radio turned on and not in airplane mode and wifi and bluetooth turned off. Also the correct machine type 875 in the startup text file or 855 if using the one for the universal.
Click to expand...
Click to collapse
When radio is turned on, Linux loading and stop on next lines:
1. With kernel for Magician
...
mmc0: new SD card at addess 41a8
mmcblk0: mmc0:41a8 SD01G 982 MiB
mmcvlk0: p1 p2 p3
Waiting for root device /dev/sdb2...
I wait more then 5 minutes, but nothing happens.
2. With kernel for Universal
...
ds1wm: ds1wm: reset failed
Device vibrate all time and after last line turn off display.
Pavel A Safonov said:
When radio is turned on, Linux loading and stop on next lines:
1. With kernel for Magician
...
mmc0: new SD card at addess 41a8
mmcblk0: mmc0:41a8 SD01G 982 MiB
mmcvlk0: p1 p2 p3
Waiting for root device /dev/sdb2...
I wait more then 5 minutes, but nothing happens.
2. With kernel for Universal
...
ds1wm: ds1wm: reset failed
Device vibrate all time and after last line turn off display.
Click to expand...
Click to collapse
Ok, don't use the universal kernel, from what you posted it seems that the kernel is not pointing to the correct memory card path in the startup text file or try reinserting the card.
If anybody knows how to build kernels i can provide the files and walk them through how i built the kernel for the universal which i have just gotten a very slow and unusable eclair (mostly due to hardware) working. I think this is the most i can help out as i don't have a magician.

Categories

Resources