Join Today
+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 11
Like Tree8Likes

Thread: I want to develop on linux for linux !

  1. #1

    Question I want to develop on linux for linux !

    I am trying to develop applications for linux on linux (ubuntu as i use it)

    I would at least ask peoples to explain what sdk to download and a little more precise question, like : how to have ubuntu ready to develop ezx softs...
    Easy steps you know you will have to do, like wich scripts are you using at bootup to setup the environemnt...


    Please help me regarding this .
    Last edited by kundancool; 02-10-2010 at 10:48 AM.
    Motorola A1200 : Beast
    Motorola MOTOROKR E6/E6e : GoldenBird/Bricked
    Samsung Galaxy Y S5360 : Stock ROM (Gingerbread 2.3.6) - ROOTED


  2. #2
    Join Date
    Sep 2007
    Location
    Germany
    Posts
    436

    Default

    Quote Originally Posted by kundancool View Post
    I am trying to develop applications for linux on linux (ubuntu as i use it)
    In the firmware development section?

    Quote Originally Posted by kundancool View Post
    I would at least ask peoples to explain what sdk to download
    I would say a sdk for A1200 or E6 with some modifications. But it is hard to say which one. It depends if
    you wonna go a legal way by using a reverse engineered sdk or a half stolen sdk with adaption. It is like personal attitude.
    Also it depends on what you wonna do. If you want develop some applications you can start with every sdk. All will give you nice functions to develop applications. But when you want to improve some applications it would be easier to stick to the developers used sdk. Furthermore it depends on the libraries on your phone/firmware version maybe you need to reverse engineer some libraries
    to fine tune your sdk.
    In principle there is no standard sdk several people was working on different sdk's. There are different headers from:
    samr7 foxe6 (ruthfox) blackhawk donga eakrin and others (forgot somebody sorry)

    Quote Originally Posted by kundancool View Post
    and a little more precise question, like : how to have ubuntu ready to develop ezx softs...
    That is a realy global question. I think you not even started trying to make an enviroment for developing.
    I think it is realy important to start to try there are some informations around, it is also good to read some
    package documentation from released toolchains. To find solutions is the daily business of a programmer.
    With some linux and compile knowledge it is not so hard to do it.

    First you need a crosstool or a toolchain to build one. (samr7, kegel, mkezx, openembedded)
    Second you need a sdk for your phone model now it doesn't matter which one.
    Third you need the libraries from your phone.
    Fourth you need to setup the enviroment for sdk/crosstool depends on where you installed everything.
    Fith you need a hello world program to check if the enviroment is setup right.

    Zero you need to start (include reading and trying) and then asking precise when you are stuck.
    There are different ways and possibilities to reach the goal.
    Quote Originally Posted by kundancool View Post
    Easy steps you know you will have to do, like wich scripts are you using at bootup to setup the environemnt
    I think it isn't a good idea to setup the enviroment at bootup. It could be that you want compile something for the host.
    And if you have set advanced parameter in your enviroment script there could be different for other libraries or programs you want to compile.

    In the end now I have talked to much so here is one example how to do it. The everything in one thread solution.
    This is the fastest and easiest way with a precompiled crosstool and not so much knowledge is needed.
    Keep in mind many people did a lot of work for each part that it makes so simple for you.

    It is realy funny first there was a sdk for linux but no step by step tutorial.
    Then eakrin made a realy good one for cygwin and then principle and structure was ported back to Linux.

    So here Lubomyr's howto from motofanru:

    1. package you will need

    make
    automake
    autoconf
    patch

    2. Libraries from phone

    Code:
     cd /usr/lib
    tar zcvf /mmc/mmca1/a1200-lib.tar.gz *
    3. The crosstool from MKEZX toolchain (Jeremy)

    RapidShare: 1-CLICK Web hosting - Easy Filehosting

    4. The sdk here it is from Blackhawk

    http://keaglez.e2mod.com/upload/sdk/...80i-SDK.tar.gz


    5. games enviroment from Eug for easy sdl coding

    MEGAUPLOAD - The leading online storage and file delivery service

    6. Extract on Linux

    It is done as su. (I would do it different but I will keep it simple.)

    Code:
    mkdir /opt/a1200
    mkdir /opt/sdk
    cd /
    tar -C /opt -xzvf /a1200-crosstool.tar.gz
    tar -C /usr/local -xzvf /games-env-linux.tar.gz
    tar -C /opt/a1200 -xzvf /a1200-lib.tar.gz
    tar -C /opt/sdk -xzvf /a1200-e2-e680i-SDK.tar.gz
    cp -a /opt/sdk/a1200/* /opt/a1200
    7. Set enviroment

    Code:
    source /usr/local/setenv-a1200.sh
    8. Compiling (Eakrin)

    http://www.motorolafans.com/forums/a...s-helloezx.zip

    Goto /home/user

    extract helloworld and change folder

    this helloezx project contain 3 files. main.cpp, helloezx.h, and helloezx.cpp. first create a project file for helloezx by
    Code:
    progen -o helloezx.pro
    create makefile for complier by command
    Code:
    tmake helloezx.pro -o Makefile
    create helloezx 's binary file by
    Code:
    make
    make the binary "smaller" (only after debug is done)

    Code:
    arm-linux-strip helloezx
    testing your first app by copy helloezx file into your mmc and execute this commands via telnet.

    Code:
    . /home/native/.profile <-- this command start with dot and space too.
    /mmc/mmca1/HelloEZX
    Last edited by Halftux; 02-11-2010 at 12:00 AM. Reason: removed some typo
    swifty, Konig, sabrod and 2 others like this.
    -------------------------------------
    In any apple is a worm. Through each window flies a bug.
    That's why I take Linux, because what does not fly can not crash.

  3. #3
    Join Date
    Mar 2008
    Location
    just at the other end of the line.
    Posts
    879

    Default

    oh, yeah!!! this is cool, Halftux >> thanks! And you should place it on setius.net's firmware sub-forum too! Hehe !
    Well i place that on development section ( and probably i would make STICKY! so be carefull now, Kudankool...!!! now you have to ask smart hacker's questions as you will be one in a few hours probably )
    kundancool likes this.
    Say developer, but it's so hard!

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

    Default

    Full ACK!

  5. #5
    Join Date
    Sep 2007
    Location
    Germany
    Posts
    436

    Default

    Quote Originally Posted by sabrod View Post
    oh, yeah!!! this is cool, Halftux >> thanks!
    You are welcome.

    Quote Originally Posted by sabrod View Post
    And you should place it on setius.net's firmware sub-forum too! Hehe !
    Yeah good idea for such a hot topic it is worth to make a new sub-forum.
    Quote Originally Posted by sabrod View Post
    now you have to ask smart hacker's questions as you will be one in a few hours probably )
    When I started it took some weeks to get my environment running with everything qmake and tmake...(not working every day on it)
    At this time it was twelve years ago that I coded something in pascal or c. And now I needed to learn c again and QT. I am horrible in programming but it works sometimes.

    @swifty
    sometimes I am nerved but I have a big interest that more people programming or porting apps...

    @kundancool
    take it easy and start coding
    -------------------------------------
    In any apple is a worm. Through each window flies a bug.
    That's why I take Linux, because what does not fly can not crash.

  6. #6

    Talking Thanks

    A very big
    THANKS!

    to all of you HALFTUX for this great explaination this will really help me alot and SABROD thank you for this great IDEA !
    few things i want is
    RapidShare: 1-CLICK Web hosting - Easy Filehosting
    this is really a big file 81 MB and not resumable you if you please upload to oron.com i would be thankful to you.
    and this one too
    MEGAUPLOAD - The leading online storage and file delivery service
    as i can't download from rapidshare or megaupload some problem with my ISP
    Question
    I have "samr7-ezx-crosstool-foxe6-sdk-20080304" will this work for me.
    THANK YOU MOTOROLAFANS !
    Last edited by kundancool; 02-11-2010 at 04:25 AM.
    Motorola A1200 : Beast
    Motorola MOTOROKR E6/E6e : GoldenBird/Bricked
    Samsung Galaxy Y S5360 : Stock ROM (Gingerbread 2.3.6) - ROOTED


  7. #7
    Join Date
    Mar 2008
    Location
    just at the other end of the line.
    Posts
    879

    Default

    Hum the ideas come from Halftux and sam revitch... The rest is what i did: telling you i was lost in any cygwin environment, so that you would have better chances to ask in our forum...
    Fortunately you were curious and we 'converted' you to linux and well, this is GOOD!!
    Say developer, but it's so hard!

  8. #8
    Join Date
    Sep 2007
    Location
    Germany
    Posts
    436

    Default

    @kundancool

    samr7-ezx-crosstool-foxe6-sdk-20080304

    This one is crosstool + sdk and it is compiled under cygwin so I would not recommend to use it with real linux. It could work but I dont know. Also when you want to use it then you can not use this tutorial here. If you like you can use the foxe's header files but header files from blackhawk are more compatible to different a1200 versions.
    So I will upload all needed packages to oron.

    I could also create a tutorial with samr7 crosstool.
    -------------------------------------
    In any apple is a worm. Through each window flies a bug.
    That's why I take Linux, because what does not fly can not crash.

  9. #9

    Default

    @halftux

    thank you
    waiting for the links and i am surely going to learn it deeply
    Motorola A1200 : Beast
    Motorola MOTOROKR E6/E6e : GoldenBird/Bricked
    Samsung Galaxy Y S5360 : Stock ROM (Gingerbread 2.3.6) - ROOTED


  10. #10
    Join Date
    Sep 2007
    Location
    Germany
    Posts
    436

    Default

    atulgoswami21 and kundancool like this.
    -------------------------------------
    In any apple is a worm. Through each window flies a bug.
    That's why I take Linux, because what does not fly can not crash.


 
+ Reply to Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 11
    Last Post: 04-30-2008, 08:53 PM
  2. Replies: 0
    Last Post: 01-04-2008, 10:06 AM
  3. News: ARM to develop Linux-based mobile platform
    By mitesh_saini in forum E6 General Chat
    Replies: 0
    Last Post: 10-12-2007, 04:13 AM
  4. Requesting LINUX WALLPAPERS 2 create new linux skin
    By hunter2k9 in forum MotoTheme
    Replies: 1
    Last Post: 07-23-2007, 01:40 AM
  5. LINUX?? right !! i found some gps software for LINUX??
    By burtonsunny in forum E680i General Chat
    Replies: 3
    Last Post: 01-13-2006, 01:04 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