Q - Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl

How to use toolchain for edit kernel?
Sent from my GT-S5360 using xda premium

You use toolchain to build kernel from source. Not to edit it.
And questions should be posted in Q&A section

In simple words Toolchain is a set of tools used to compile a kernel/rom...
Their are 3 toolchains AFAIK! One is normal one which can be found on www.codesourcery.com second is Linaro Toolchain and third is SaberMod Linaro!
For linaro > www.linaro.org
for SM Toolchain you have to search

Related

Kernel location

I was wondering if some kind person could tell me how to get to where the kernel is located using root explorer and what the exact name of the kernel is,or are there more than 1 files that make up the kernel .I would really appreciate it,thanks
Currently running 2.3.5 / nscollab
sent from my Nexus NScollab
Its made up of many files none of which will give you the name. The closest you will get is settings/about phone.
Sent from my Nexus S 4G using xda premium
Download the kernel zip and see the files that are in there.
By the way, don't post the questions in the Development section, there is s Q&A section.
What brainmaster meant to say was post in q&a forum instead of general
Sent from my Nexus S 4G using xda premium
mike216 said:
I was wondering if some kind person could tell me how to get to where the kernel is located using root explorer and what the exact name of the kernel is,or are there more than 1 files that make up the kernel .I would really appreciate it,thanks
Currently running 2.3.5 / nscollab
sent from my Nexus NScollab
Click to expand...
Click to collapse
So, technically the kernel file name is going to be zimage - and depending on your kernel build you may have one or more modules that will be loaded (at the very least you will have the bcm4329 module for wifi).
However, you won't find zImage within the filesystem - it's contained within the boot.img and written to the boot partition.
The modules will be present usually in /system/modules - but this can change depending on your ROM if someone really wants to change it and update the init scripts.
If you're just curious of the build check about phone under kernel version. However, the is configurable as well at build if desired.

[Q] Kernel with cifs and/or tun support ?

Just as the title says, looking for a kernel built with cifs and tun compiled in. If it doesn't exist, I'm not opposed to trying to compile it myself seeing as how the sources are available. Haven't compiled my own android kernel yet though so while it would be a great learning experience, I'm looking for the fast answer at the moment
Questions go in the Q&A section
Motley kernel in the original development section supports cifs
Sent from my Nexus 7 using Tapatalk 2

[Q] Compiling Custom Kernel From Source

Hey there
I'm trying to compile some custom kernels posted by members. However I've been having issues with compiling.
I'm using the latest Linaro toolchain, 4.7.
The error I receive is
Code:
lib1funcs.o unknown CPU architecture
and
Code:
piggy.gzip.o unknown CPU architecture
Anyone got any solutions?
I've found a solution for a different device (Samsung I think) however it doesn't work :/
I would be willing to change toolchains
Thanks
Start off with a different toolchain
Sent from my Nexus 7 using xda app-developers app

[Q] franco & Paranoid linaro versions?

Hey,
I'd like to know if the franco kernel and paranoid Rom are built using linaro and if not how can they be?
Thanks in advance
- Hyflex
franco kernel isnt. but why would you want a linaro built kernel, the google toolchain produces much better results. you can build franco kernel yourself, from franco source, using the linaro toolchain if you want.
simms22 said:
franco kernel isnt. but why would you want a linaro built kernel, the google toolchain produces much better results. you can build franco kernel yourself, from franco source, using the linaro toolchain if you want.
Click to expand...
Click to collapse
I thought linaro is supposed to be way superior and faster?
Hyflex said:
I thought linaro is supposed to be way superior and faster?
Click to expand...
Click to collapse
i think that you fell into the linaro guys hype, as many people did. now its just more of a buzzword without any supporting evidence. anyways, the google toolchain absorbed the linaro benefits, and produces better results. there is also the linaro patches, what the fast roms are including now-a-days, thats different than the linaro toolchain, this applies to roms and not kernels. linaro patched rom do bring more optimations to the table.

[Q] Kernel builds

Hello all, and befor all, sory for my poor english.
I just want to ask you for some help. I was trying to build my oun kernel for the nexus 7 (ba dum tsss) and want some information about this, since I never compile anithing for android.
I have knowledge about programming, and if I fin something I don't know, learn about it and try, like everyone I assume
I have readed a lot of guides here and there, but I can't find anything specific about how to create a custom kernel, mod voltages, frequencys, and the most important, create a recovery flashable zip.
So, if somebody can point me with some instructions on how to do it, I will be very thankful.
Thx for the help and have a nice day
Download the source and a toolchain in a Linux distro. Unpack the source, and navigate to the folder in Terminal. Type this:
Code:
export ARCH=arm
export CROSS_COMPILE=/path/to/toolchain/bin/arm-xxx-xxx (figure this part on your own)
Edit your defconfig from arch/arm/configs. Then type in
Code:
make xxx_defconfig (where xxx is the name of your defconfig)
make -j# (where # is the number of cores + 1)
This will take some time. Patiently fight out errors, and I'd recommend you start with a vanilla build.
After it's done, grab the zImage from arch/arm/boot/. Grab a flashable kernel that does not use boot.img. Delete the zImage from there and rpaste in your zImage. It should be flashable now.
Let me know if you need more help.
Thx for the info, I have some questions
How or where can I download the kernel source? (Yeah, I want to work with the google vainilla one for the stock rom)
Do you recomend the linaro toolchain or the google original one?
Sory, I work with eclipse and svn repos for years, never work with other programs or source code sistems xD
Sent from my Nexus 7 using xda app-developers app
http://source.android.com/source/building-kernels.html
This link's got much more details. Plus if it supports Linaro, go with Linaro toolchain.
Im stuck in the defconfig making part, how can i know the name of my defconfig file?
Sent from my Nexus 7 using xda app-developers app
If I rember correctly to build the kernel its
make grouper defconfig
But its been a few months since I've touched my source codes
But the defconfig is just the codename of the device your building for (aka WiFi nexus 7 is grouper gsm is tilapia)
Sent from my Nexus 7 @1.60 GHz on Stock 4.2.2
Ok, when I try to run the make grouper command, it say defconfig not found or something like that (sory, I am not om the dev ,achine right now xD).
Apart, any help about adding frequency to cpu steeps and gpu steeps (oc support for 1,7 single core, 1.6 quad and 520 gpu with 1.7 default frequency).
Yeah, I know, it's a lot of information, but I never touch linux kernel on the past, and don't know anything about it some directory info will be great xD
Sent from my Nexus 7 using xda app-developers app
All of it is found in the /arch/arm/mach-msm directory. Some files are linked so you'll have to update both. And for the defconfig, navigate to the /arch/arm/configs directory (not in Terminal) and note down the name of the defconfig you want to use. It varies with different kernel sources.
THX for all, I viewthe faux123 kernel source for reference, and found the files I need to edit to allow cpu and gpu oc, and the defconfig for nexus 7 are the tegra3_android_defconfig, strange name jaja
I am installing ubuntu x64 12.04 LTS because of compatibility things over 13.04 Thx for all the info and all the help guys
Sent from my Nexus 7 using xda app-developers app
Actually for faux kernel it's better to use faux_grouper_defconfig if you want your kernel to have features that faux-kernel has.

Categories

Resources