Kernel compile issues 2 versions downloads ?

Kernel development related

Kernel compile issues 2 versions downloads ?

Postby MadRocker » Sun Dec 26, 2010 6:00 am

There seems to be 2 version of the kernel downloading from these 2 methods and the first is causing a lot of compile issues in several linux distro's.
Note the -2.6.29 missing from the first that would result in the first having a make-kernel.sh and the 2nd having a build.sh .
The 2nd one builds without issues and apears to be a more generic kernel where the first tries to build with errors and it's make menuconfig is more s3c6410 specific.
http://code.google.com/p/jetdroid/wiki/JetDroidBuildEnvironment
Code: Select all
cd JetKernel
git checkout -b testing origin/testing

http://code.google.com/p/jetdroid/wiki/JetKernel
Code: Select all
cd JetKernel
git checkout -b testing-2.6.29 origin/testing-2.6.29

Not sure how big deal this is but 2nd 2.6.29 one seems to work better less issues in the build process and produces a zImage .
MadRocker
Dev Team
Dev Team
 
Posts: 528
Joined: Sun Dec 12, 2010 7:15 am

Advertisement

       

Re: Kernel compile issues 2 versions downloads ?

Postby Dopi » Sun Dec 26, 2010 11:13 am

You are right. The testing and testing-2.6.29 versions are quite poorly maintained. The idea was to have a stable kernel moved there. Currently the active branch is experimental-2.6.29. This one should not give you any compile issues.

Cheers,
Dopi
Ad banners support the JetDroid forum. Please consider clicking them once in a while.
User avatar
Dopi
Dev Team
Dev Team
 
Posts: 926
Joined: Sun Aug 22, 2010 9:47 pm

Re: Kernel compile issues 2 versions downloads ?

Postby MadRocker » Wed Dec 29, 2010 10:07 pm

Here is 2 kernels I build using ( git checkout -b experimental-2.6.29-dopi origin/experimental-2.6.29-dopi )
one for "-eclair android EABI" GCC4.4.0 other for "generic mydroid EABI" GCC4.4.3 .

4.4.3 feels a bit more responsive, both has the color instead of white screen flash before android logo shows up on my phone.

Each tar has kernel.log + android.log related to that kernel + .config file that was used to build.

Hoping with GCC4.4.3 that it would have a bit more optimizations / more backwards compatible if compatibility is needed.
Can now start tinkering with the kernel.

4.4.0 :
http://www.megaupload.com/?d=YDVLY4D7

4.4.3 :
http://www.megaupload.com/?d=9JWDTPIS
MadRocker
Dev Team
Dev Team
 
Posts: 528
Joined: Sun Dec 12, 2010 7:15 am

Re: Kernel compile issues 2 versions downloads ?

Postby Dopi » Mon Jan 03, 2011 12:27 pm

MadRocker wrote:4.4.3 feels a bit more responsive, both has the color instead of white screen flash before android logo shows up on my phone.

Sorry, I did not yet have time to test any of your kernels. What confuses me is your not on the different screen colors flashing before the android boot logo. Why can this happen.

How did you install ARM GCC 4.4.3.? Is it part of the prebuild tools in the Platform directory and you just changed the symlink? In this case we could change the default to 4.4.3.

Cheers,
Dopi
Ad banners support the JetDroid forum. Please consider clicking them once in a while.
User avatar
Dopi
Dev Team
Dev Team
 
Posts: 926
Joined: Sun Aug 22, 2010 9:47 pm

Re: Kernel compile issues 2 versions downloads ?

Postby MadRocker » Tue Jan 04, 2011 1:20 am

I have this as part of the android toolchain arm-eabi-4.4.3
Yup changes default all to 4.4.0 and later to 4.4.3 just to compare results.

JetKernel/Makefile points to /usr/local/...4.3.1 might just need to update that + build.sh toolchain link.
Just remember to update to glibc 2.11 otherwise 4.4.3 will complain about glibc 2.10 .
MadRocker
Dev Team
Dev Team
 
Posts: 528
Joined: Sun Dec 12, 2010 7:15 am

Re: Kernel compile issues 2 versions downloads ?

Postby Dopi » Tue Jan 04, 2011 2:18 pm

MadRocker wrote:JetKernel/Makefile points to /usr/local/...4.3.1 might just need to update that + build.sh toolchain link.
Just remember to update to glibc 2.11 otherwise 4.4.3 will complain about glibc 2.10 .

Okay. I will have a look at that. I was not paying very much attention to the tools as they were running smoothly ;)

Cheers,
Dopi
Ad banners support the JetDroid forum. Please consider clicking them once in a while.
User avatar
Dopi
Dev Team
Dev Team
 
Posts: 926
Joined: Sun Aug 22, 2010 9:47 pm

Re: Kernel compile issues 2 versions downloads ?

Postby Dopi » Tue Jan 04, 2011 10:46 pm

Hi MadRocker,

I had a look at my build tools. I can only see arm-eabi-4.4.0. Nothing newer. How did you get 4.4.3 ?

Cheers,
Dopi
Ad banners support the JetDroid forum. Please consider clicking them once in a while.
User avatar
Dopi
Dev Team
Dev Team
 
Posts: 926
Joined: Sun Aug 22, 2010 9:47 pm

Re: Kernel compile issues 2 versions downloads ?

Postby MadRocker » Thu Jan 06, 2011 3:47 am

http://developer.android.com/sdk/ndk/index.html
Code: Select all
Includes a new toolchain (based on GCC 4.4.3), which generates better code, and can also now be used as a standalone cross-compiler, for people who want to build their stuff with ./configure && make. See docs/STANDALONE-TOOLCHAIN.html for the details. The binaries for GCC 4.4.0 are still provided, but the 4.2.1 binaries were removed.


Only thing I can think is that I cloned android after the gingerbread release.

repo sync could pull in new updates but if this does not work then redo the android ADK install method over existing files and try -b gingerbread or -b froyo and it should clone newer files over your existing files then switch back to -b eclair and repo sync again.
Or delete android and do a clean android clone.

Not sure how well the repo sync works as I still have a 4.2.1 for eabi and i686 .

Hope this helps.
MadRocker
Dev Team
Dev Team
 
Posts: 528
Joined: Sun Dec 12, 2010 7:15 am

Re: Kernel compile issues 2 versions downloads ?

Postby Dopi » Fri Jan 07, 2011 1:31 pm

MadRocker wrote:repo sync could pull in new updates but if this does not work then redo the android ADK install method over existing files and try -b gingerbread or -b froyo and it should clone newer files over your existing files then switch back to -b eclair and repo sync again.

Hi MadRocker,

thanks for your hint. I will try to get (git ;) ) the toolchain with -b froyo. I will let you know if that helps. What they say about the 4.4.3 tools sounds promising :D

Cheers,
Dopi
Ad banners support the JetDroid forum. Please consider clicking them once in a while.
User avatar
Dopi
Dev Team
Dev Team
 
Posts: 926
Joined: Sun Aug 22, 2010 9:47 pm

Re: Kernel compile issues 2 versions downloads ?

Postby MadRocker » Fri Jan 07, 2011 4:40 pm

I have had these links as well that you might be able to use, I try to stay away from 4.5.1 as there is too many code changes and possibly not backwards compatibility or something where 4.4.3 is very good and stable.
I see kernel.org has removed the 4.4.3 they only have 4.4.0 , 4.4.4 , 4.5*

Toolchain 4.5.1:
http://www.codesourcery.com/sgpp/lite/arm
Arm kernel + patches:
http://www.linux-arm.org/git
s3c6410 = arm1176jz (double check on this number)
http://www.arm.com/community/software-e ... /linux.php
MadRocker
Dev Team
Dev Team
 
Posts: 528
Joined: Sun Dec 12, 2010 7:15 am


Return to JetKernel

Who is online

Users browsing this forum: No registered users and 2 guests

  • Advertisement
cron