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!
Related
I'm working on compiling a kernel for the Sprint Samsung Galaxy Tab 7. I've got source and the proper toolchain installed, but I need a rootfs. I did this for the Epic, but it's been quite a while. In the kernel config file CONFIG_INITRAMFS_SOURCE needs to be pointed to the source rootfs, if I remember correctly. Can someone lend a hand? Is there a FAQ or HOWTO?
not sure how familiar you are with irc, but if you get on fossnet and join the #gtab channel you will get some help there im sure.
Thanks for the tip!
Sorry to resurrect this thread, but I'm having issues too (having only just had time to actually compile something from the Gingerbread source).
So, I've got the gingerbread update 2 kernel source, have extracted the initramfs.cpio from the existing gb kernel and pointed the appropriate CONFIG setting of the kernel p1_defconfig at that file and then performed a build. My assumption was that this would build a kernel that would boot and be nearly identical to the vanilla kernel. But apparently not as it just hangs.
Anyone know off-hand what I'm missing?
My issue was that the script I was using to extract the initramfs from the zImage wasn't working properly and was apparently truncating the cpio file. This was causing hangs when I rebuilt the kernel using this initramfs.
Using this script all works fine: https://github.com/mistadman/Extract-Kernel-Initramfs
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
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.
I'm currently trying to build from Franco's source his kernel and revert his LCD change.
I really like Franco kernel but the color are way too much saturated, i even saw some "black clipping" in some movies that weren't there in stock kernel. As soon as i finish compiling it, i will be testing.
I'll use the default toolchain from google (GCC 4.8).
Any tips? First time building a kernel.
Update:
Compiled the kernel but flashing the boot.img instantly load fastboot mode (guess it didn't worked).
If someone is willing to compile the source with the modification would be nice! Maybe franco itself! :laugh:
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'