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

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> How To Set A Dev Environment For Moto E680i
david_chen
post Jul 27 2005, 06:42 AM
Post #1





Group: Members
Posts: 4
Joined: 27-July 05
Member No.: 7,707



Do someone know how to set an environment for developing MOTO E680i Applications???

I've searched the Internet for a long time.
I just can find some pieces of information. It's not enough.
I've got some software like, xscale-gcc-vfp-3.3.2, qt-2.3.6, tmake-1.8.5.

Mostly, I follow this Build native application on E680. But it doesn't work.

Oh, I forget to tell that I use Cygwin.
Go to the top of the page
 
+Quote Post
rpconnect
post Jul 27 2005, 06:17 PM
Post #2





Group: Members
Posts: 6
Joined: 8-July 05
Member No.: 7,561



QUOTE(david_chen @ Jul 27 2005, 06:42 AM)
Do someone know how to set an environment for developing MOTO E680i Applications???

I've searched the Internet for a long time.
I just can find some pieces of information. It's not enough.
I've got some software like, xscale-gcc-vfp-3.3.2, qt-2.3.6, tmake-1.8.5.

Mostly, I follow this Build native application on E680. But it doesn't work.

Oh, I forget to tell that I use Cygwin.
*


Have you tried the opie app development on http://marcus.bluetroll.se/e680/ ? It does a very nice job of setting up a cross-compiler development and shows how to compile first qt-2.3.10 then opie to run on the e680. The only problem w/ this setup is that opie apps are based on a different version of qt than the phone so by default they don't run too smoothly together. This problem has been solved at the moto fanclub forum where a proxy environment handles the interfacing (touchscreen and key inputs) between opie an the native phone qt apps so that both can be running essentially at the same time regardless of the different versions of qt.

The moto fanclub forum can be found at http://www.rcsc.sisrs.com/mfc/index.php?name=Forums but it is down right now. When it comes back up check out the development section, there you will see a thread started by "cyph" who did the very nice job of developing the proxy and there is an opie package there along w/ the code for the proxy and patches needed to the qt-2.6.10 package to get things to work harmoniously. In addition to opie I now have an X server running on the same package, and all of this stems from the opie app development at http://marcus.bluetroll.se/e680/ (so far the key seems to be that the cross-compiler described here correctly compiles w/ softfloat options, i have tried at least three other cross-compilers and just couldn't get the softfloat patching to work properly)

I have also played w/ qtopia compiled w/ and against qt-2.3.6 thinking that it might be closer to the phone environment (i think the phone qt version is 2.3.6), but the opie option is much better and works much more reliably.

Also, the development description from the link you posted assumes you have access to the headers used by Motorola to compile their qt libraries (note that they are not by any means stock). With the proper headers, and the right cross compiler, it is possible to develop for the e680, but we have noticed that the e680i is different enough that qt apps that work on the e680 aren't compatible w/ the e680i.

I've even tried to put together an OE-style environment to build apps using the e680 linux source (its available at sourceforge), but as of right now the opie w/ qt-2.3.10 and the proxy interface is by far the most stable environment. There are still some bugs to work out (e.g. sound is buggy) but it has yielded the most reliable development that still works the native apps so that we don't have to give up the actual phone in the e680/i.

As far as I know, all the development thus far has been done on linux, if you want to do it on cygwin i'd suggest starting w/ the opie app dev. page and see if you can't build the cross-compiler; after that it shouldn't be too much of a problem. If you have luck w/ this please let us know, i too would be interested in a Cygwin dev. environment. Best of luck....
Go to the top of the page
 
+Quote Post
david_chen
post Jul 29 2005, 05:37 AM
Post #3





Group: Members
Posts: 4
Joined: 27-July 05
Member No.: 7,707



rpconnect, Thanks for your reply!!!

I'm trying the OPIE right now.
I find it hard to get Qt from Trolltech's ftp.

And when I'm ready, I will let you know that.

Thanks!!!
Go to the top of the page
 
+Quote Post
rpconnect
post Jul 29 2005, 08:49 AM
Post #4





Group: Members
Posts: 6
Joined: 8-July 05
Member No.: 7,561



QUOTE(david_chen @ Jul 29 2005, 05:37 AM)
rpconnect, Thanks for your reply!!!

I'm trying the OPIE right now.
I find it hard to get Qt from Trolltech's ftp.
*


If you want to try opie on the phone first go to: http://www.rcsc.sisrs.com/mfc/index.php?na...iewtopic&t=1148. There you can download a prepared opie image that will run on the phone to test it out.

I have found the easiest way to get the qt sutff is to do a google search for qt-embedded-2.3.10-free.tar.gz. I just did a search for it and i think you can get it from http://ftp.iasi.roedu.net/pub/mirrors/ftp....com/qt/sources/.

have fun!
Go to the top of the page
 
+Quote Post
david_chen
post Jul 29 2005, 07:43 PM
Post #5





Group: Members
Posts: 4
Joined: 27-July 05
Member No.: 7,707



QUOTE(rpconnect @ Jul 30 2005, 12:49 AM)
QUOTE(david_chen @ Jul 29 2005, 05:37 AM)
rpconnect, Thanks for your reply!!!

I'm trying the OPIE right now.
I find it hard to get Qt from Trolltech's ftp.
*


If you want to try opie on the phone first go to: http://www.rcsc.sisrs.com/mfc/index.php?na...iewtopic&t=1148. There you can download a prepared opie image that will run on the phone to test it out.

I have found the easiest way to get the qt sutff is to do a google search for qt-embedded-2.3.10-free.tar.gz. I just did a search for it and i think you can get it from http://ftp.iasi.roedu.net/pub/mirrors/ftp....com/qt/sources/.

have fun!
*



Oh, thanks!
I just got the package from Trolltech's ftp this early morning.
And I do follow Leprechaun's guide, but I find it hard to setup the crosstool in Cygwin.
the Cygwin has not gcc-3.3.2 and glibc-2.3.2. then the configure script stop there, and I'm finding a way to install gcc-3.3.2 and glibc-2.3.2.
Go to the top of the page
 
+Quote Post
kopsis
post Jul 30 2005, 06:18 AM
Post #6





Group: Members
Posts: 329
Joined: 1-July 04
Member No.: 3,880



QUOTE(david_chen @ Jul 29 2005, 10:43 PM)
I just got the package from Trolltech's ftp this early morning.
And I do follow Leprechaun's guide, but I find it hard to setup the crosstool in Cygwin.
*


Forget Cygwin -- it's going to cause you way more pain than it's worth. Use a LiveCD like DSL to get a real Linux environment. If you don't want to leave Windows (and you have a 1.5GHz+ machine) you can use a LiveCD in conjunction with QEMU to get a Linux dev environment in a virtual machine.
Go to the top of the page
 
+Quote Post
david_chen
post Jul 30 2005, 09:29 AM
Post #7





Group: Members
Posts: 4
Joined: 27-July 05
Member No.: 7,707



QUOTE(kopsis @ Jul 30 2005, 10:18 PM)
Forget Cygwin -- it's going to cause you way more pain than it's worth. Use a LiveCD like DSL to get a real Linux environment. If you don't want to leave Windows (and you have a 1.5GHz+ machine) you can use a LiveCD in conjunction with QEMU to get a Linux dev environment in a virtual machine.
*


Thanks for your mention.
I almost finish the environment setup in Cygwin, and I don't want go to another place and do the same thing again.
Go to the top of the page
 
+Quote Post

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

 



RSS Lo-Fi Version Time is now: 28th December 2014 - 09:19 AM