Join Today
+ Reply to Thread
Page 1 of 11 12345 ... LastLast
Results 1 to 10 of 109
Like Tree19Likes

Thread: EZX Crosstool and SDK for Motorola EZX phones

  1. #1

    Thumbs up EZX Crosstool and SDK for Motorola EZX phones [Windows + Cygwin Version]

    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

    cd /usr/lib
    tar zcvf /mmc/mmca1/ezx-lib.tar.gz *
    3. 400MB harddisk space for cygwin, crosstool, sdk, and ezx library files.

    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

    cd /
    tar zxvf samr7-ezx-crosstool-foxe6-sdk.tar.gz
    Crosstool should be in /opt/crosstool and EZX sdk in /opt/dev-ezx in cygwin main folder.

    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

    cd /opt/dev-ezx/{PHONEMODEL}/lib
    tar xvf ezx-lib.tar.gz
    make sure that all files in /usr/lib from phone are in /opt/dev-ezx/{PHONEMODEL}/lib.

    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

    . /opt/dev-ezx/setENV.sh e6 <-- be careful this command start with dot and space.
    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.

    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

    cd ~
    cd helloEZX
    3. this helloezx project contain 3 files. main.cpp, helloezx.h, and helloezx.cpp. first create a project file for helloezx by

    progen -o helloezx.pro
    4. create makefile for complier by command

    tmake helloezx.pro -o Makefile
    5. create helloezx 's binary file by

    make
    if everything is ok you 'll get HelloEZX file in your folder.

    6. testing your first app by copy helloezx file into your mmc and execute this commands via telnet.

    . /home/native/.profile <-- this command start with dot and space too.
    /mmc/mmca1/HelloEZX
    if you done a right step Hello EZX application should appear on phone screen. VIVA! you are new Ezx developer now!

    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

    (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.
    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.

    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
    Attached Thumbnails Attached Thumbnails EZX Crosstool and SDK for Motorola EZX phones-helloezx.png  
    Attached Files Attached Files
    Last edited by eakrin; 03-05-2008 at 08:02 AM. Reason: Edited download link, Add file at MotoFans, mod samr7 link
    naset, Lubomyr, ustrucx and 8 others like this.
    Visit my Blog here.http://my.opera.com/eakrin

  2. #2
    Join Date
    Jul 2005
    Location
    Franconia
    Posts
    4,866

    Default

    thanks eakrin!
    Last edited by swifty; 03-04-2008 at 01:19 PM.

  3. #3

    Default

    Thanks eakrin !

  4. #4

    Default

    good job !

  5. #5

    Default

    Can't download the link: http://www.motorolafans.com/docman/f...0080304.tar.gz:

    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 =)
    May be it is not correct? Could you give me a good link? Thanks!
    Last edited by 29a; 03-04-2008 at 12:29 PM.

  6. #6
    Join Date
    Jul 2005
    Location
    Franconia
    Posts
    4,866

    Default

    29a likes this.

  7. #7
    Join Date
    Sep 2005
    Location
    Jakarta, Indonesia
    Posts
    1,091

    Default

    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 happy In short, starting to learn Qt is a good decision.

  8. #8

    Default

    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.

  9. #9

    Default

    @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?
    29a likes this.
    Visit my Blog here.http://my.opera.com/eakrin

  10. #10
    Join Date
    Jan 2008
    Location
    Romania
    Posts
    785

    Default

    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.


 
+ Reply to Thread
Page 1 of 11 12345 ... LastLast

Similar Threads

  1. ezx-devkit and crosstool
    By blackglasses in forum Development
    Replies: 10
    Last Post: 05-14-2011, 09:21 AM
  2. Codeminders EZX crosstool [Linux]- *simple*
    By kuratkull in forum Development
    Replies: 0
    Last Post: 12-20-2008, 02:36 AM
  3. Problem on compiling with EZX Crosstool
    By arash in forum A1200 General Chat
    Replies: 8
    Last Post: 10-31-2008, 05:43 PM
  4. Need help with ezx-crosstool-0.5 on SuSE 10.0
    By Kenno in forum Development
    Replies: 4
    Last Post: 06-10-2006, 11:53 AM
  5. how to get ezx-crosstool work with E680?
    By eakrin in forum Development
    Replies: 0
    Last Post: 05-14-2006, 09:14 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Optimization by vBSEO 3.6.0 RC 1