Reply
Thread Tools
Posts: 43 | Thanked: 18 times | Joined on May 2010 @ Sydney
#31
Originally Posted by blackjack4it View Post
Are you compiling ics or gingerbread branch?
gingerbread
 
Posts: 176 | Thanked: 190 times | Joined on Jun 2011 @ Italy
#32
Ok so the cause could be that in gingerbread is not necessary to modify those files, i've updated the guide with the changes that I've encountered through ics building so skip them..I'll modify the guide in different sections about what changes are needed for gingerbread and what for ics
 

The Following User Says Thank You to blackjack4it For This Useful Post:
Posts: 43 | Thanked: 18 times | Joined on May 2010 @ Sydney
#33
Thanks again.

Minor problem, but I'm not sure what's the right way to fix this:

Code:
build/core/base_rules.mk:162: *** vendor/nitdroid/n900/libaudio: MODULE.TARGET.SHARED_LIBRARIES.libaudio already defined by hardware/alsa_sound.  Stop.
 
Posts: 176 | Thanked: 190 times | Joined on Jun 2011 @ Italy
#34
Here:
http://www.mail-archive.com/android-.../msg04665.html
a dev says that "The cause for the problem was having alsa-lib in two places.

1) mydroid/alsa-lib
2) mydroid/external/alsa-lib.

I removed the first one."

I had a fix for this in my guide but I removed that when I went to ICS branch instructions..I'm becoming crazy in finding again the fix on the web, apparently google has forgotten where the h**l is it >-( if someone remember the solution please post it here. Damn, I don't know why I've decided to remove it.
 

The Following User Says Thank You to blackjack4it For This Useful Post:
Posts: 43 | Thanked: 18 times | Joined on May 2010 @ Sydney
#35
Thanks blackjack4it for all your help so far.
My build was completed without any errors.
 

The Following User Says Thank You to pigeond For This Useful Post:
Posts: 176 | Thanked: 190 times | Joined on Jun 2011 @ Italy
#36
Originally Posted by pigeond View Post
Thanks blackjack4it for all your help so far.
My build was completed without any errors.
No problem I'm happy that you succeded in resolving the problem ! Just tell me which steps did you do to solve the problem and I'll add them to the guide giving credit to you !
 
Posts: 43 | Thanked: 18 times | Joined on May 2010 @ Sydney
#37
Sorry one more question.
I just notice this doesn't include any of the kernel/modules stuff.
How do I go about building them?
Thanks again!
 
Posts: 176 | Thanked: 190 times | Joined on Jun 2011 @ Italy
#38
My next guide will be about drivers compilation from sources but I can't write it yet because I'm going to finish my studies in the end of April and I don't have much spare time to do that sadly
As I told in a previous post:
Originally Posted by blackjack4it View Post
If with "a small part" you mean a driver that you wants to let nitdroid use it you have two ways to do that:
1) compile inside the kernel
2) compile that driver as a module (and load it with the commands insmod)
for both choices you can find a lot of tutorials by googling..for example, to compile a driver as a module here there is a little guide:
http://android-jotting.blogspot.it/2...driver-as.html
So if you compile a driver as a module you can:
1) push it to the device using adb utility
2) load it with the command "insmod <completepathof .ko driver>"
3) debug it by looking at his kernel messages with the command "dmesg"

Note that in most cases loading the driver and dmesg is not enough, you will have to adapt some pieces of Android code to let it use it correctly

This is what I've understood for now, but I need to go deeper to write a guide
 
Posts: 43 | Thanked: 18 times | Joined on May 2010 @ Sydney
#39
Hmm, but the thing is, it seems that the kernel source isn't actually checked out in the android tree for some reasons (at least with this nitdroid gingerbread tree)

Or I'll need to check that out separately?

Thanks again, good luck with your study.
 
Posts: 176 | Thanked: 190 times | Joined on Jun 2011 @ Italy
#40
Because of confusion between ics and gingerbread branch, I splitted the guide in ics steps, gingerbread steps and common steps for both branches.

Gingerbread steps are a WIP so stay tuned, I plan to finish gingerbread steps in a couple of hours

EDIT: Gingerbread steps completed, now anyone can work on 2.3.7 using Ubuntu 11.10 64 bit. About ics branch, stay tuned. As soon as I have updates I'll update the guide

Last edited by blackjack4it; 2012-04-06 at 17:37.
 

The Following User Says Thank You to blackjack4it For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 20:29.