I downloaded sony kernel source version 10.4.B.0.569, but i can't compile with CodeSourcery compiler, it's always get fail. Please tell me which toolchains should i use.
Thks
sorry for bad english
mronly1love said:
I downloaded sony kernel source version 10.4.B.0.569, but i can't compile with CodeSourcery compiler, it's always get fail. Please tell me which toolchains should i use.
Thks
sorry for bad english
Click to expand...
Click to collapse
I don't think you can use a CodeSourcery ToolChain. Try the linaro or GNU GCC
Related
I download source code from https://github.com/CyanogenMod/lge-kernel-star,and use config is star_cyanogenmod_defconfig
then i make it and compile successful,but then i replace the boot.img and put it in cm7 rom,but it stuck on LG logo,i dont know why
and my git branch is on the last commit,it is:rm_spi: Fix merge derpage commit by rmcc.
Anyone can help me?
Which toolchain you are using if gcc linaro > 4.6.1 version then migrate to 4.5
Sent from my LG-P990 using Tapatalk 2
Hi people,
according do this benchmark GCC 4.7.1 seems to be better in every benchmark than 4.6 from Linaro distribution.
Could this help to squeeze a bit more juice from our OB when building a Kernel?
Your link is not valid..
redy2006 said:
Your link is not valid..
Click to expand...
Click to collapse
Thanks, link working now.
Dear XDA-Community!
Im new here so i'd like to introduce me quickly.
Im Alex, 18 years old (at the time of this writing) and im from Austria.
Before i owned a Galaxy Ace and got our p970 some months ago.
Now to my question
I tried my hands on building cyanogenmod 10.1 for the p970.
i build it with the standard toolchain and it worked perfectly.
now im trying to build it with the Linaro 4.8 Toolchain, but it isnt booting and i do know its a kernel fault.
i know this because if i flash my Cyanogenmod Build, it doesnt boot, BUT if i flash it and then flash the ZeroGravitiyKernel from here
http://forum.xda-developers.com/showthread.php?t=2082740
it boots up perfectly.
So i would like to know, if someone had succcess with building our kernel with a Linaro Toolchain and which patches i may or may not have to apply.
i tried using the ZeroGravitiySources but still it fails to boot up after flashing.
(also i did a quick benchmark test with rom toolbox and the build with the standard toolchain gets 7.3 and with using linaro and the other kernel i get 10.2)
any help is much appreciated
Yes the problem is the kernel. ....it was not easy to make the kernel boot...
Use my patch from my topic...
http://forum.xda-developers.com/showthread.php?t=2184519
This patch is for ICS v30c.....you can diff the patch with original files....and put the same in your kernel...
You can find original files from Nooby's git...and dowload only those specific files to see the diff......
Sent from my LG-P970 using xda app-developers app
rajeshmk2012 said:
Yes the problem is the kernel. ....it was not easy to make the kernel boot...
Use my patch from my topic...
http://forum.xda-developers.com/showthread.php?t=2184519
This patch is for ICS v30c.....you can diff the patch with original files....and put the same in your kernel...
You can find original files from Nooby's git...and dowload only those specific files to see the diff......
Sent from my LG-P970 using xda app-developers app
Click to expand...
Click to collapse
Thank you very much, already used it some days before and got it working, forgot to update here
Cherry Picked a lot of patches etc.
i just wondered, because i cloned his source and compiled without changing anything with the same toolchain as he was using and i didnt got it to boot.
Hi all,
First of all, I hope that is this question was not yet in the forum. At least, I have searched for it.
Well, I'm trying to compile LG P990 kowalski kernel from @pengus77 from it's github sources (github(dot)com/pengus77/lge-kernel-star)
Currently, I'm using the oldBL and I'm compiling the kernel using Linaro toolchain 4.6.2 (in Ubuntu).
I can compile the kernel without major problems, and both zImage and modules are generated. After, I used the the anykernel script (for old bootloader - oldBL), the same used by @pengus77 to distribute the kowalski.
The problem is that I can not boot the phone using the zImage compiled by myself. It always stucks in LG Logo.
Do you have hint to this? It might be a problem with environment setup and/or with Linario toolchain version?
All your possible help will be appreciated.
Many thanks!
hey guys, just trying to fiture out a little problem,,, i downloaded 4.9 linaro and used this guide http://forum.xda-developers.com/galaxy-nexus/general/howto-build-rom-linaro-toolchain-t1988315 to set it up, but its still trying to build kernel with gcc 4.4.x,, is there a way i can force it to compile with linaro??
winxuser said:
hey guys, just trying to fiture out a little problem,,, i downloaded 4.9 linaro and used this guide http://forum.xda-developers.com/galaxy-nexus/general/howto-build-rom-linaro-toolchain-t1988315 to set it up, but its still trying to build kernel with gcc 4.4.x,, is there a way i can force it to compile with linaro??
Click to expand...
Click to collapse
So rom is compiling with linaro, but kernel not?
I am not quite sure how it works, but there are 2 places when toolchain may be stated: in kernel's defconfig and in Makefile. You can change both of them to your desired one and then try to compile.
Or (it should work too) before writing 'make' in terminal, write 'export CROSS_COMPILE=~/YOURtoolchainLOCATION'