[Q] Gingerbread kernel compile - Galaxy Tab Q&A, Help & Troubleshooting

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

Related

[Q] Intersectraven's kernel??

I would like to know if config_tun is set to Y or M?
thanks in advanced
For most kernels (including IR's), you can extract the .config file from /proc/config.gz
ch33kybutt said:
For most kernels (including IR's), you can extract the .config file from /proc/config.gz
Click to expand...
Click to collapse
Thanks man. BTW yesterday i switch back from CM 7.0.2.1 to CM 6.1.1 coz of wonk issues and i really want the vpnc app to work. i'm looking for a good battery life kernel currently i'm using WM last kernel version for CM6, if someone can give me a link for IR kernel (latest) that works with CM6.1.1 coz on IR's download page i tried all the kernel's for CM6 eventually i got boot loops and on RS kernel i got FC's & i can't find those with OC/UV. for now i don't have any issues with WM but i really want IR for comparison Thanks

missing piece in compiling a flashable kernel for Galaxy Tab

I am able to compile Kernel from source and re-use initramfs extracted from CF, Overcome and stock rom. But still it hangs when I flash.
I think I need to regenerate the /res/keys in the initramfs but I can't find details though I have read through most of the Development forum related here. I even search for some source posted to Github.
I don't want to patch the boot loader as it should be risky. Also CF and Overcome don't need to and I want to follow the same.
Please help
Thanks

[Q] Building the Samsung GT-N7000 Kernel Sources - Config?

Hi,
I've downloaded the 'official' Samsung Opensource Kernel files (GT-N7000_Kernel.tar.gz) - in an attempt to rebuild the kernel for my Galaxy Note (which has no tun.ko support).
However - there's no kernel config file on the device (e.g. under /proc/config.gz etc.) - and there's a bewildering number of defconfig's for the arch/arm architecture (over 200).
Does anyone know either where I can get the Galaxy Note's actual config (if it's not available under /proc) - or, which defconfig to use for the Note?
Cheers,
-Tacks
Hi !
I have another question, but let's first try to answer the original one. As far as I've understood, you can use the config file arch/arm/configs/c1_rev02_defconfig. Before launching "make", do
Code:
make c1_rev02_defconfig
According to this thread, you have to patch the generated .config file it before using "make" to build everything. However, this was about the SII, anyone knows if this still holds for the GNote ?
So, my other question is : how do you specify the stock kernel version you want. On the Samsung's Open Source Community website, they only offer one kernel source. How can I choose if I want to build the KK9 kernel, or the LB1 version ?
Thank you !
Bump.
How does one build a specific kernel version from the Samsung's sources (e.g. KK9 vs LB1) ?
Thanks !

[Q] Compile Cyanogenmod 10.1 with Linaro 4.8 Toolchain

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.

[Q] How to compile kowalski kernel from sources?

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!

Categories

Resources