logo

Could not compile stylesheet for simplistic. Using last compiled stylesheet.

Building android from source - patching ???

posted in Uncategorized
Saturday, September 17 2011, 01:10 PM
fmartens
fmartens
Offline
0
Hi all, There are 2 wiki\\\'s describing the Android build process for the IGEPv2. 1) [url=http://labs.igep.es/index.php/How_to_get_the_Android_distribution#How_to_get_the_Android_distribution]http://labs.igep.es/index.php/How_to_ge ... stribution[/url]: This ISEE Wiki describes 3 patches but a statement is given that the patches are wrong. How to proceed? 2) [url=http://code.google.com/p/rowboat/wiki/ConfigureAndBuild]http://code.google.com/p/rowboat/wiki/ConfigureAndBuild[/url]: This website provides a oneliner to build froyo for IGEPv2 but it does not state anything about patching the IGEP kernel. I\\\'ve already seen that Hedwin worked his @$$ of to get Wifi and Bluetooth fixed. A few posts on this forum are covering this subject. Is it possible to document the changes/procedure in the IGEP Android wiki? @Hedwin: At which stage in the build process can I use your kernel fixes/patches and how do I include them when building according to the IGEP wiki? Alvast bedankt :-D Freddy
Responses (15)
  • Accepted Answer

    Saturday, September 17 2011, 06:20 PM - #permalink
    0
    the patches work and apply cleanly. i already tested that. all you have to do is find the proper files that they actually patch. as the one patch that doesn\\\'t \\\"work\\\" the long one, i think was patch 1, has some incorrect paths for few of the files. look at the diff --git lines and find the apropriate files. i already cleaned up the patches, unfortunatelly being the stupid guy i am, i accidentaly \\\'rm\\\' them from my system. i will clean them up again tonight, and if you haven\\\'t done that already i will give the proper copy of patch 1
    The reply is currently minimized Show
  • Accepted Answer

    fmartens
    fmartens
    Offline
    Saturday, September 17 2011, 07:17 PM - #permalink
    0
    Ok, I will try that also.
    The reply is currently minimized Show
  • Accepted Answer

    hedwin
    hedwin
    Offline
    Sunday, September 18 2011, 09:55 AM - #permalink
    0
    Freddy, If you don\\\'t want to apply the patches yourself you can use my repository. It includes my igep wifi and bluetooth patches. But need to check if it is still ok, was to busy with getting gingerbread working in igep. Hedwin
    The reply is currently minimized Show
  • Accepted Answer

    fmartens
    fmartens
    Offline
    Sunday, September 18 2011, 10:32 PM - #permalink
    0
    Ok, I applied the patches by hand and everything builds and runs fine. I need to get more familiar with git and I need to figure out how to use Hedwin\\\'s kernel i.s.o. the one provided by ISEE. Is it enough to invoke \\\'repo init -u [url=git://gitorious.org/~hedwin/rowboat/igepv2-manifest.git]git://gitorious.org/~hedwin/rowboat/igepv2-manifest.git[/url] -m rowboat-froyo-dsp.xml -b igepv2\\\' and should I invoke this inside the \\\'kernel\\\' folder? I noticed that the froyo behaves a bit slow, or is that just my imagination? I am using the 2009-11 u-boot, is that ok or should I use the newer version. Somewhere on this forum, it was suggested to use the older one because of USB keyboard issues. Regards, Freddy
    The reply is currently minimized Show
  • Accepted Answer

    fmartens
    fmartens
    Offline
    Sunday, September 18 2011, 10:33 PM - #permalink
    0
    Are your changes to the WIFI part also improving the wifi speed?
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, September 18 2011, 11:18 PM - #permalink
    0
    Freddy, is the accelerated video playback working with your build of Froyo. I still haven\\\'t found enough time to compile froyo and I use the images provided on the wiki for the 3530 and so far the only video I was able to play was the mpeg4 sample that comes with the image. No 480p or 720p h264 was playable. The gallery activity just dies at one point. Also has anyone been able to use the Android Market successfully inside Froyo?
    The reply is currently minimized Show
  • Accepted Answer

    hedwin
    hedwin
    Offline
    Monday, September 19 2011, 10:36 AM - #permalink
    0
    Are your changes to the WIFI part also improving the wifi speed?
    No because the antenna is shared between wifi and bluetooth. Which improvement are you refering to? Could add a mechanism that selects antenna usage based on the android configuration.
    I am using the 2009-11 u-boot, is that ok or should I use the newer version. Somewhere on this forum, it was suggested to use the older one because of USB keyboard issues.
    Interesting option here is to skip u-boot and just use x-loader to boot android. Works perfectly.
    repo init -u [url=git://gitorious.org/~hedwin/rowboat/igepv2-manifest.git]git://gitorious.org/~hedwin/rowboat/igepv2-manifest.git[/url] -m rowboat-froyo-dsp.xml -b igepv2
    Is the same as the rowboat repo except some git repositories refer to my git clones. Building it stays the same, best is to build the kernel first and then android because of the kernel modules.
    The reply is currently minimized Show
  • Accepted Answer

    fmartens
    fmartens
    Offline
    Monday, September 19 2011, 12:03 PM - #permalink
    0
    Hi Hedwin, I misread. Your fixes seem to improve signal quality. ([url=http://www.igep.es/index.php?option=com_kunena&Itemid=97&func=showcat&catid=46]http://www.igep.es/index.php?option=com ... t&catid=46[/url]) I did not know that you can boot android without u-boot. Need to look into that? Do you also have the OMAP3530 running at 720Mhz? How is the user experience, is the user interface performing without delays? (Dutch: Loopt het allemaal een beetje soepel) Best regards, Freddy
    The reply is currently minimized Show
  • Accepted Answer

    fmartens
    fmartens
    Offline
    Monday, September 19 2011, 12:05 PM - #permalink
    0
    @IliyanStoyanov: I was able to build everything and I need to test the accelerated video. Did not have the time yet since I\\\'m a newborn daddy :-) Freddy
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, September 20 2011, 04:54 AM - #permalink
    0
    [quote]repo init -u [url=git://gitorious.org/~hedwin/rowboat/igepv2-manifest.git]git://gitorious.org/~hedwin/rowboat/igepv2-manifest.git[/url] -m rowboat-froyo-dsp.xml -b igepv2
    Is the same as the rowboat repo except some git repositories refer to my git clones. Building it stays the same, best is to build the kernel first and then android because of the kernel modules.[/quote] would you mind explaining that. i used your repo and checked few of the files that patch1,2 and 3 patch. it seems they are the versions that are in the rowboat repo. should I still use the patches or can I skip them, that is what I don\\\'t get. also i saw that the last commit of the froyo kernel in your repo activates bluetooth. is there some specific procedure for activation/deactivation of the bluetooth? i read a topic about using the gpios to deactivate wifi, so bt can be activated, or do both work together with your fixes? @fmartens Congrats! I suppose you\\\'re the happiest person right now, so enjoy it. Cheers, mate!
    The reply is currently minimized Show
  • Accepted Answer

    hedwin
    hedwin
    Offline
    Wednesday, September 21 2011, 01:33 AM - #permalink
    0
    would you mind explaining that. i used your repo and checked few of the files that patch1,2 and 3 patch. it seems they are the versions that are in the rowboat repo. should I still use the patches or can I skip them, that is what I don\\\'t get.
    I created the repo/git-clones to maintain my changes but also for others such that they don\\\'t have to apply the patches manually anymore, so yes you can skip them. In the repo (not in the patches) wifi is updated, signal strenght and speed are correct now, and bluetooth is added.
    also i saw that the last commit of the froyo kernel in your repo activates bluetooth. is there some specific procedure for activation/deactivation of the bluetooth? i read a topic about using the gpios to deactivate wifi, so bt can be activated, or do both work together with your fixes?
    You can activate wifi and bluetooth via the \"settings\" and then \"wireless and networks\". Both can be active at the same time or use them seperately. Only deactivating them is still a problem. This is slightly related to wifi and the dependency of bluetooth with the wifi driver wrt antenna selection.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, September 21 2011, 12:06 PM - #permalink
    0
    wow, that is great news. ok, i started building and at some point compilation fails because of some kernel modules. (libertas_sdio.ko and libertas.ko and bluetooth\\\'s hci). from your previous comments it seems that you are suggesting that kernel should be compiled first then the OS. however in the wiki nobody says anything about the kernel compile and also in the rowboat wiki it is said that when you select a dsp target you should not bother with the kernel compile (?!). any ideas on that, because the i\\\'m kinda lost, already. oh, how much i would prefer android to be nowhere right now and meego to rule the world. just a straight forward linux OS with all the known quirks. :)
    The reply is currently minimized Show
  • Accepted Answer

    hedwin
    hedwin
    Offline
    Wednesday, September 21 2011, 01:03 PM - #permalink
    0
    You first need to build the kernel then android. That is because of wifi libertas and bluetooth kernel modules. In gingerbread this problem is fixed though.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, September 21 2011, 01:38 PM - #permalink
    0
    i know you were working towards dsp working in gingerbread. what is your take on that?
    The reply is currently minimized Show
  • Accepted Answer

    hedwin
    hedwin
    Offline
    Wednesday, September 21 2011, 11:09 PM - #permalink
    0
    Hope I understood you question correctly. Sofar DSP for gingerbread is not operational yet. See some activity but this is focused on other types of SoC\\\'s, not omap3xxx types of SoC\\\'s.
    The reply is currently minimized Show
Your Reply

SUPPORT


This email address is being protected from spambots. You need JavaScript enabled to view it.
This email address is being protected from spambots. You need JavaScript enabled to view it.
IGEP Community Wiki
IGEP Community Forum
IGEP Community Online Chat