Hey Hastarin or anyone who may offer insight,
When I compile from your git and build the modules....
I don't get the cifs.ko outputted.
I get a file not included in your downloadable: msm_rmnet_wince.ko
And I get a bunch of .mod.o files that go along with them.
Can you give me some insight???? This is using a clone of your origin/master.
Related
Sorry for a lame question, but i've got a problem. I've compiled a simple hello-world application using arm-gcc 3.4.3 (compiled under x86 linux using gcc compiler for ARM) with default settings. When I was trying to start it under Universal, I got the message 'Invalid instruction' (or something like that).
Please provide me with a working example (command-line arguments for building and etc) or some instructions on build process, if anybody has one.
Thanks.
bazis said:
I've compiled a simple hello-world application using arm-gcc 3.4.3 (compiled under x86 linux using gcc compiler for ARM) with default settings.
Click to expand...
Click to collapse
You don't tell where does the gcc-3.4.3 come from.
With the 3.4.1 stadalone toolchain from
ftp://ftp.handhelds.org/projects/toolchain
it is just
Code:
/usr/local/arm/3.4.1/bin/arm-linux-gcc -o hello hello.c
If you want to compile GUI apps or big packages, then you should read
http://www.openembedded.org/wiki/GettingStarted
I downloaded it from www.gnuarm.com. It worked OK when compiled ROM images for my ARM7TDMI-based boards.
Thanks for the link, I'll try it today.
And, finally, another lame question: did anybody tried to build gcc 4.1 for cross-compiling from x86 to ARM? Or it is possible to use the script from the FTP to build it?
Hello!
as the title indicates I am having trouble cross-compiling. hello world compiles perfectly but bigger programs just wont give in..
I downloaded the android source from git and compiled just the way the website (http://source.android.com/download) says you should (is there anyway to verify that its compiled correctly?)
Then I use the agcc python script(http://plausible.org/andy/agcc) for the linking but when i compile i always get trouble about it not being able to find certain defined fields or other types. So basicly i followed the second part of what this wiki says (eventough using a toolchain from codesourcery for example and cc staticly. It also fails...)
What im really asking is how and what do you guys use to cross-compile to android?
Richard_Xeli said:
Hello!
as the title indicates I am having trouble cross-compiling. hello world compiles perfectly but bigger programs just wont give in..
I downloaded the android source from git and compiled just the way the website (http://source.android.com/download) says you should (is there anyway to verify that its compiled correctly?)
Then I use the agcc python script(http://plausible.org/andy/agcc) for the linking but when i compile i always get trouble about it not being able to find certain defined fields or other types. So basicly i followed the second part of what this wiki says (eventough using a toolchain from codesourcery for example and cc staticly. It also fails...)
What im really asking is how and what do you guys use to cross-compile to android?
Click to expand...
Click to collapse
Hello,
i am having problems with the linker too! i am using the NDK (because it actually does C / C++ code) and the code compiles with very few warnings on some instructions but works well otherwise, it just WOULD NOT LINK the stuff together!! one interesting setting i noticed in some public makefiles for the NDK i noticed is that they actually set the linker to /system/bin/linker, which is obviously a file on the target device. but i don't know how it would access it? any ideas?
BTW: post your error(s) please
Try this
The system won't let me post a link (as a new user), however there is a really good tutorial on native android development and debugging using the AOSP build system. Search on Aton International Incorporated and click on blogs in the menubar. I am in no way associated with the company, just happy to finally be able to cross-compile, link and debug for android.
Maybe someone who has more posts could post a link here.
http://www.aton.com/android-native-development-using-the-android-open-source-project/
Hi,
I want to know how can I make my own ROM using paul's ICS sources or build it from the CM9 sources, which software I need to use and is this tut good for beginning?
www(.)theunlockr(.)com/2010/03/26/how-to-create-your-own-custom-rom-for-android-part-1-setting-up-the-kitchen/?
PS: I also want to add the reason why I don't contact with paul is that I wanted to learn & develop it only for me & mine friends
Ofc. for X8 and on nAa kernel ;3
do you know JAVA atleast?
EDIT: wait, you want only to make the build, or to work on the rom and on the source?
EDIT2: Wrong section btw, you should asked on Q&A's
Java on basic level, I do not know any of it's APIs but I can learn them ( I don't know Android API too )
C/C++ on intermediate level
First build it from source, after successful modify source and compile ROM.
MOD: Please move to Q&A if possible, thanks.
You could read my thread (look at my signature). I wrote all the stuff you need to know of ROM-compiling. There's also a thread about kernel making.
eagleeyetom said:
You could read my thread (look at my signature). I wrote all the stuff you need to know of ROM-compiling. There's also a thread about kernel making.
Click to expand...
Click to collapse
Dzięki
Thanks at all, you got the point. I'll try to compile it using yours tut and post result here And one more thing, developing CM9 for X8 build for which phone i need to base on? And where I can get hmmm... X8 Driver sources? Adreno libs and others?
Right now we don't have sources for X8. You need to port most of libs. You could also paul-xxx's drivers from his github. Good luck If you have some questions PM me, I'll help if I'll be able to.
NeveHanter said:
And one more thing, developing CM9 for X8 build for which phone i need to base on?
Click to expand...
Click to collapse
doixanh based his GingerDX ROM - based on Gingerbread - on the Hero source tree. If I recall correctly I read somewhere that a CM9 port to the HTC Hero exists; that might be your best shot as the phone is about the same specs as the X8.
And as eagleeyetom wrote: You either use paul-xxx's drivers or you reverse engineer the Eclair drivers and write them anew from scratch (if your thought was going into the direction of the kernel) - there's no CM9 port for the X8. Your best option would be to try and find devices having a matching hardware component and porting the drivers from there - but chances are pretty slim that other phones use the same hardware SEMC stuffed into the X8.
---------- Post added at 09:13 PM ---------- Previous post was at 09:03 PM ----------
Update: paul-xxx also maintains a GIT repo with a msm7227 kernel ...
paul-xxx / semc-kernel-msm7227-ics
EDIT: Along with some other interesting repos ...
- android_hardware_qcom_camera
- Xperia-TI-Wlan
- android_device_semc_msm7x27-common
These three at least seem to relate to the X8 "Shakira"
Thanks all for help, now I have some basic workaround with this
And one off topic question
ICS is running on 3.0.3 kernel, yes? So why we don't try to port it for X8 and using old 2.6.xx?
NeveHanter said:
And one off topic question
ICS is running on 3.0.3 kernel, yes? So why we don't try to port it for X8 and using old 2.6.xx?
Click to expand...
Click to collapse
It seems the genuine Google AOSP ICS is running Linux 3.0.8
Porting the Kernel might turn into a huge effort. The ABI of 2.6.29 and 3.0 are not really compatible, so the kernel drivers would need to be ported to the CM9 3.0.x series - in case a simple patching them into the kernel tree and trying to compile bombs out with tons of make errors.
Apart from that - the main problem with ICS on the X8 is that a whole lot of devices can't use a custom kernel as a change in the hardware (devices of 11W29 and newer) prevents boot loader unlock.
We could try to see if the CM9 kernel could be slapped into shape ... I got a Quad-Core Phenom II to tackle that task - if someone wants to help out in the research if some msm7227 / Shakira specific parts would need to be patched into the source tree because they aren't part of it.
EDIT: Even the official CM repo uses Linux 2.6.37.6 as their kernel, and the progress on the FXP Kernel seems to have come to a halt; at least I can't see any new stuff in the -shakira repos.
LG GT-540 has ICS on 2.6.35 kernel. Maybe we could try to port Arc's kernel. Maybe this one? Recommend me some C/C++ books to learn basic stuff
You want this book's in english or you prefer in our native? ;3
eagleeyetom said:
Recommend me some C/C++ books to learn basic stuff
Click to expand...
Click to collapse
This is a rather tricky question ...
If you do as I did simply Google up a C/C++ Reference/Tutorial (i.e. http://www.acm.uiuc.edu/webmonkeys/book/c_guide/ or http://www.cplusplus.com/doc/tutorial/) and get going ... you already got gedit to code up .c files, and gcc is also part of your Linux distro to try and compile your "hello_world.c" You could also Google for Online Classes (in the like of http://www2.its.strath.ac.uk/courses/c/) and pick whatever suits you.
However, if you want to read real books ... look through the offers of Addison Wesley and pick what you think is the best book for you. You could also hit up your closest public library and see what they have in store (may be cheaper than buying in case you don't have much money to spend) - or, in case you study, you may want to look into your University's library.
Of course you could also start off with the usual "C/C++ for Dummies" or "Teach yourself <whatever> in 7|14|21|30 days"
Polish would be awesome ;P
Best, simply writed polish C/C++ tutorial, one of the best www(.)warsztat(.)gd/tutorials.php?x=category&id=18
In adddition you can search for ( it's a big ebook ) Symfonia C++ Grębosza ( Symphony in C++ ), you can find it on chomikuj.pl but if U want I can upload it somewhere for you
And if you will have any problems with C/C++ you can write to my GG number 10037533 or PM me here
Hi!
I need config.gz for the linux installer application. I think the app can determine weather or not my rom is compatible with the certain features. Do you guys know any way to obtain it?
Edit: I'm using wiui rom.
Hello everybody!
I've been thinking a while of running my own bèta channel and decided to start one.
There is something that I've wondered, how do I keep the original and bèta code seperated?
Is there a sdk for a beta channel or do I need to use a private Github repository?
If yes, can somebody please tell me how I set it up?
I've been trying and dying to get Github work with Eclipse, but it doesn't work
Thank you in advance!
Git is definitely the best way to do this, basically make a beta and release branch. Switching between the two is really easy once you have it all setup.
What are the specific problems you have been having with Git?
I got GitLab instald on a local server and I have a beta ans a master branch. The problen with git is that i know the basics, push, pull, add and commit thats is. I really don't know how to seperate the code of different versions (eg v.1 and v.2) in the same branch.
Let me give another exame the GitLab is a wonderfull project, but I can't delete a folder (all the magic happens within a webinterface), but I can delete the files one by one ... Nope takes to much time
How do I manage files trough git, from my workstation (remove directory's for example)
Is there a guide about git somewere? When i search for it on Google all i get is github results but i want git results.
Thanks for helping me out!
Appriciate it!!
Why do you need GitLab? From your requirements you just need Git client and remote repository (which can be github.com).
You might want to check Git Branching - Basic Branching and Merging.
I wanted an east to use git software. When installing GitLab the setup setups everything for you, so I don't have to run commands etc. which saves me a great amount of time.
Thanks for the link, I'll check it out later today!
I see. Basically to get started with GitHub you just need Git package (e.g. msysgit for windows).
Yeah, I got GitLab installed on a networked server.
Can you learn me a few tips 'n tricks?
Sure, you can start from here: https://help.github.com/articles/good-resources-for-learning-git-and-github/
Thanks!