thanks eakrin!
Unofficial EZX Crosstool and SDK for Motorola EZX Phones (A780, E680i, A1200, E6)
from Sam Revitch (samr7) and FoxE6.
Cygwin/Windows XP version.
packing and documentation by eakrin@gmail.com
release date Mar 3, 2008
LICENSE : THIS ARTICLE AND EZX-CROSSTOOL AND SDK PACKAGE RELEASED UNDER GPLv2.DO NOT USED IT OR DISTRIBUTED IT FOR COMMERCIAL PURPOSE
EZX CROSSTOOL is compiler that use to develop application for another architectures like create application for EZX on PC. see detail about crosstool from http://www.kegel.com/crosstool/curre...ool-howto.html Normally Crosstool is a portable shell script that need time and harddisk space to build it in your PC. but here is a binary of EZX crosstool in Cygwin on M$ Windows. This Crosstool was create by Samr7's scripts (Sam Revitch) at http://lsb.blogdns.com/ezx-crosstool
EZX SDK is a set of C++ header file (*.h) for QT libraries and EZX libraries for EZX phones. EZX-SDK for A780 was develop by Samr7 (Sam Revitch) http://lsb.blogdns.com/ezx-devkit it can use for E680i too. EZX-SDK for A1200 and E6 was develop by FoxE6 (ccmove.com). Until now there have no sign from Motorola to release official EZX SDK. so we need to hack it ourself. like FoxE6 and Samr7 did.
QT is a application development platform for C++ see more detail from http://trolltech.com/products/qt. QT version on A780 and E680i is 2.3.6 and on A1200 and E6 is 2.3.8.
Specification of EZX-Crosstool and SDK.
- Support for A780, E680i, A1200, and ROKR E6 EZX/QT/C++ development.
- A780 and E680i have the same SDK from Samr7.
- A1200/E6 have the same SDK from FoxE6.
- This is not an Official SDK from Motorola. so some class or header file not 100% working.
- use progen to create project file.
- use tmake to create Makefile.
- presetting tmake spec for each phone model.
Requirements.
1. install Cygwin on Windows XP with 3 optional packages. Cygwin is here
devel->gcc
devel->make
perl->perl
2. copy EZX library files from phone by commands
3. 400MB harddisk space for cygwin, crosstool, sdk, and ezx library files.cd /usr/lib
tar zcvf /mmc/mmca1/ezx-lib.tar.gz *
4. C++ programming basic knowledge.
5. Linux shell command basic knowledge.
How to setup EZX Crosstool and EZX SDK on cygwin
1. download Samr7-EZX-Crosstool-cygwin-FoxE6-SDK.tar.gz file.
2. copy it to cygwin folder. ie. C:\cygwin
3. open cygwin command prompt and extract it by commands
Crosstool should be in /opt/crosstool and EZX sdk in /opt/dev-ezx in cygwin main folder.cd /
tar zxvf samr7-ezx-crosstool-foxe6-sdk.tar.gz
4. copy ezx-library.tar.gz file from phone to /opt/dev-ezx/{PHONEMODEL}/lib
when {PHONEMODEL} is your phone model e6, a1200, e680i, or a780.
5. extract ezx library files by command
make sure that all files in /usr/lib from phone are in /opt/dev-ezx/{PHONEMODEL}/lib.cd /opt/dev-ezx/{PHONEMODEL}/lib
tar xvf ezx-lib.tar.gz
Now EZX-Crosstool is ready to use.
How to coding your ezx application.
- Do it in Windows by your favorite text editor ie. editplus.
How to create Hello EZX program by EZX Crosstool.
1. Open Cygwin and set crosstool environment variables for your phone model by
when e6 is your phone model. for convenient you can copy setENV.sh to anywhere for easy calling or can ln it to anywhere. and this step need to do everytime you open Cygwin.. /opt/dev-ezx/setENV.sh e6 <-- be careful this command start with dot and space.
2. now goto your work space folder and try to create HelloEZX application. extract and copy helloezx folder into your home folder (ie /home/eakrin) and change cygwin to your home folder by
3. this helloezx project contain 3 files. main.cpp, helloezx.h, and helloezx.cpp. first create a project file for helloezx bycd ~
cd helloEZX
4. create makefile for complier by commandprogen -o helloezx.pro
5. create helloezx 's binary file bytmake helloezx.pro -o Makefile
if everything is ok you 'll get HelloEZX file in your folder.make
6. testing your first app by copy helloezx file into your mmc and execute this commands via telnet.
if you done a right step Hello EZX application should appear on phone screen. VIVA! you are new Ezx developer now!. /home/native/.profile <-- this command start with dot and space too.
/mmc/mmca1/HelloEZX
7. package it into mpkg format for testing and distribute your application.
What to do next?
If you want to learn more QT goto http://doc.trolltech.com/2.3/
If you have a problem about ezx header files. try to compare it with standard qt. or read its header file (*.h) in /opt/dev-ezx/e6/include/ some class will not 100% working. they need more modding and hacking because they are not official sdk from Motorola. feel free to asking problem at www.motorolafans.com.
PS. If you got error in like this in cygwin
try to copy cygwin1.dll from c:\cygwin\bin to replace old cygwin1.dll in c:\windows\system32. this is mezzy because cygwin cannot delete its old library when installation. and Windows search can not find cygwin1.dll in c:\windows\system32. This error is occur after you reinstall or update cygwin version and have a error Can not delete cygwin1.dll. I got this solution from http://www.governmentsecurity.org/archive/t14374.html.(2216): *** system shared memory version m
ismatch detected - 0x75BE007A/0x75BE007E.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version *should*
reside in x:cygwinbin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
Download File here![]()
from MotoFans samr7-ezx-crosstool-foxe6-sdk-20080304.tar.gz
or
http://61.47.60.185/rebirthstory.com...0080304.tar.gz
Thanks to
Samr7 for EZX-Crosstool and SDK for A780/E680i.
FoxE6 for EZX-SDK for A1200/E6.
blackhawk for setting complier environments.
Donga for progen and tmake.
E.&O.E. Errors and omissions excepted
Last edited by eakrin; 03-05-2008 at 08:02 AM. Reason: Edited download link, Add file at MotoFans, mod samr7 link
Visit my Blog here.http://my.opera.com/eakrin
thanks eakrin!
Last edited by swifty; 03-04-2008 at 01:19 PM.
Thanks eakrin !
good job !
Can't download the link: http://www.motorolafans.com/docman/f...0080304.tar.gz:
May be it is not correct? Could you give me a good link? Thanks!Hi, You have probably reached this page because we have upgraded our forums and most of our links has changed.
Please research the forums again for your item. Have a nice time =)
Last edited by 29a; 03-04-2008 at 12:29 PM.
/me much links repairing today
http://motorolafans.com/MotoModFiles...0080304.tar.gz
Thanks eakrin. I hope this howto can spread EZX application for our phone or at least you help introducing Qt to this community. Qt will bring you to Linux/Unix variant including Mac OS, embedded device and Windows developtment. Qtopia (Qt for embedded) officially support Greenphone, OpenMoko, and Nokia's Maemo, working on Windows Mobile also. When Nokia bought Trolltech and guarantee the open source version availability, it's make me really happyIn short, starting to learn Qt is a good decision.
Thank swifty!
But the .gz file is corrupted, its size is 4.685.824, when I try unpack it, I got this error:
~ tar zxvf samr7-ezx-crosstool-foxe6-sdk-20080304.tar.gz
...
opt/crosstool/gcc-3.3.6-glibc-2.3.2/arm-linux/arm-linux/include/linux/scx200.h
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
Last edited by 29a; 03-05-2008 at 01:36 AM.
@29a
Let try new downlaod from rebirth.com. I try to upload to MotoModFiles 3 times. It's always failed.
@Admin can you upload this file to MotoModFiles?
@Any QT newbies (like me)
Here is a free pdf Qt 3 book that I found. I read few chapter it's good. Qt version is 4 now but the main concept of Signals, Slots, Layouts always the same as older version.
http://www.amazon.com/exec/obidos/tg...glance&s=books
@blackhawk
I fall in love with QT now. I decide to learn it after QT4 release opensource version on Windows + FoxE6 release EZX SDK. I hope that EZX/QT/C++ programming will spread all overthe world like you too. this is the main point that I try to build and release this Crosstool+SDK.
Do you interest to write article about basic EZX programming?
Visit my Blog here.http://my.opera.com/eakrin
modify this link: http://lsb.blogdns.com/ezx-crosstool
because it shows http://lsb.blogdns.com/ezx-crosstool
but it accesses http://lsb.blogdns.net/ezx-crosstool
and it's not working. some users might not notice that and abort the sdk testing.
edit:
which is the cygwin command prompt?
is it tclsh84.exe?
Last edited by BruceLee; 03-05-2008 at 06:37 AM.