yashsingh1/xdaforums huggingface dataset:
[Android] ayysir:
idk if this is the right place to post this but, im trying to make a script to convert zimage to boot.img

i already compiled the kernel and it resulted in a zimage, i found a script courtesy of Ktoonsez git automating the compile and zimage convert process

but i am trying to change it towards my own kernel setup

below is the script code, what i made bold is what i dont understand and tried to google myself with no clear answer.

from what i can deduce is "-f " is a command to specify the user is looking for a file. Readlink is what i dont understand

where do i find initramfs in git cloned folder? i understand you need this for making a kernel

#!/bin/sh
export KERNELDIR=`[B]readlink -f[/B] .`
export PARENT_DIR=`[B]readlink -f[/B] ..`
export INITRAMFS_DEST=$KERNELDIR[B]/kernel/usr/initramfs[/B]
[B]export INITRAMFS_SOURCE=`readlink -f ..`/Ramdisks/AOSP_JB_MR1[/B]
export CONFIG_AOSP_BUILD=y
export PACKAGEDIR=$PARENT_DIR/Packages/AOSP_JB_MR1_ATT
#Enable FIPS mode
export USE_SEC_FIPS_MODE=true
export ARCH=arm
# export CROSS_COMPILE=$PARENT_DIR/linaro4.5/bin/arm-eabi-
# export CROSS_COMPILE=/home/ktoonsez/kernel/siyah/arm-2011.03/bin/arm-none-eabi-
# export CROSS_COMPILE=/home/ktoonsez/android/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-
# export CROSS_COMPILE=/home/ktoonsez/androidjb/system/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-
export CROSS_COMPILE=$PARENT_DIR/linaro4.7/bin/arm-eabi-

echo "Remove old Package Files"
rm -rf $PACKAGEDIR/*

echo "Setup Package Directory"
mkdir -p $PACKAGEDIR/system/app
mkdir -p $PACKAGEDIR/system/lib/modules
mkdir -p $PACKAGEDIR/system/etc/init.d

echo "Create initramfs dir"
mkdir -p $INITRAMFS_DEST

echo "Remove old initramfs dir"
rm -rf $INITRAMFS_DEST/*

echo "Copy new initramfs dir"
cp -R $INITRAMFS_SOURCE/* $INITRAMFS_DEST

[B]echo "chmod initramfs dir"
chmod -R g-w $INITRAMFS_DEST/*
rm $(find $INITRAMFS_DEST -name EMPTY_DIRECTORY -print)
rm -rf $(find $INITRAMFS_DEST -name .git -print)[/B]

echo "Remove old zImage"
rm $PACKAGEDIR/zImage
rm arch/arm/boot/zImage

echo "Make the kernel"
make ***_d2att_defconfig

HOST_CHECK=`uname -n`
if [ $HOST_CHECK = 'host_namehere' ] || [ $HOST_CHECK = 'task650' ]; then
echo "task650 24!"
make -j24
else
echo "Others! - " + $HOST_CHECK
make -j`grep 'processor' /proc/cpuinfo | wc -l`
fi;

echo "Copy modules to Package"
cp -a $(find . -name *.ko -print |grep -v initramfs) $PACKAGEDIR/system/lib/modules/

if [ -e $KERNELDIR/arch/arm/boot/zImage ]; then
echo "Copy zImage to Package"
cp arch/arm/boot/zImage $PACKAGEDIR/zImage

echo "Make boot.img"
./mkbootfs $INITRAMFS_DEST | gzip > $PACKAGEDIR/ramdisk.gz
./mkbootimg --cmdline 'console = null androidboot.hardware=qcom user_debug=31 zcache' --kernel $PACKAGEDIR/zImage --ramdisk $PACKAGEDIR/ramdisk.gz --base 0x80200000 --pagesize 2048 --ramdiskaddr 0x81500000 --output $PACKAGEDIR/boot.img
export curdate=`date "+%m-%d-%Y"`
else
echo "KERNEL DID NOT BUILD! no zImage exist"
fi;
[Android] thewadegeek:
No you need it to build a boot.img, the zImage is the kernel. I would try just using the file paths.
[Android] trulyliu:
really helpfull for me.

Thanks alot.
[Android] ghost shell:
that was a good tip :)

it was the case, so thanks

I copied the usr dir from another kernel (CM), which supplied the missing files.

I don't know if this produces a valid kernel, so I'll have to investigate this latter (but since the kernel repo I used is missing the usr dir, it will have to suffice for now).

However I'm now having some other compilation errors.

The problem seems to be with missing include directories compilation flags. Example:

.../kernel_JB_ZSLS6_i9100/arch/arm/include/asm/cacheflush.h:19:22: error: mach/smc.h: No such file or directory

But the file exists at arch/arm/mach-exynos/include/mach/smc.h

The problem is, I don't know how to add additional include dirs in the makefiles/kconfig files.

CFLAGS += ... doesn't do the trick

And changing the code, besides being a ugly hack, is frustrating because more and more similar errors pop up.

EDIT: I was able to fix this and build a zImage.

---------- Post added at 12:47 AM ---------- Previous post was at 12:21 AM ----------

readlink -f DIR gives you the real path to the DIR, instead of a link. I'm guessing this is done in order to prevent any issue with links.

Think of it has a smart pwd.

As for where to get an initramfs for your device... well, try asking in your device forum OR try searching for a kernel unpack script.

Take a look at this: http://xdaforums.com/showthread.php?t=901152

Let me know if it works or if you find a better version.
[Android] omigosh:
Hi guys, I'm facing a problem right when I try to build a certain module for a wireless receiver on the Beagleboard using rowboat's source for Beagleboard XM

while in my source directory, i would execute the command:

~/rowboat-jb$ make ~/rowboat-jb/kernel/drivers/net/wireless/rt2x00/rt2800usb.ko

However at the end, I would receive the following:

make: *** No rule to make target `/home/user/rowboat-jb/kernel/drivers/net/wireless/rt2x00/rt2800usb.ko

What can I do solve this problem? I had already searched the thread and made sure that my directory is correct, and the file exists

Thanks in advance!

I came from here:

http://xdaforums.com/showthread.php?t=2099060
[Android] ttibbetts83:
Where would I make changes for over clocking kernel before I compile I am trying to over clock a cyanegon 10.1 kernel just want to over clock it
[Android] iHateWebOS:
http://xdaforums.com/showthread.php?t=1660638

I googled it and that's the first result. I used this to make my first overclock kernel
[Android] ttibbetts83:
I've seen that but my phone is the n7000 witch is not tegra its exnos4 I've looked at the files in the exnos folder and they are different but think I figured it out
[Android] iHateWebOS:
My phone is the rezound, that guide gives really nice guidelines in what you should be changing.
[Android] trecko1234:
I get this error at the end of the build:

drivers/cpufreq/cpufreq_smartass.c: In function 'cpufreq_governor_smartass':
drivers/cpufreq/cpufreq_smartass.c:495:34: error: 'CONFIG_MSM_CPU_FREQ_ONDEMAND_MAX' undeclared (first use in this function)
drivers/cpufreq/cpufreq_smartass.c:495:34: note: each undeclared identifier is reported only once for each function it appears in
drivers/cpufreq/cpufreq_smartass.c:496:34: error: 'CONFIG_MSM_CPU_FREQ_ONDEMAND_MIN' undeclared (first use in this function)
make[2]: *** [drivers/cpufreq/cpufreq_smartass.o] Error 1
make[1]: *** [drivers/cpufreq] Error 2
make: *** [drivers] Error 2

And a lot of these during it:

include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:415:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
CC block/blk-lib.o
In file included from include/linux/blkdev.h:12:0,
from block/blk-lib.c:7:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:415:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
CC block/ioctl.o
In file included from include/linux/blkdev.h:12:0,
from block/ioctl.c:2:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:415:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
CC block/genhd.o
In file included from include/linux/blkdev.h:12:0,
from block/genhd.c:10:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:415:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
CC block/scsi_ioctl.o
In file included from include/linux/blkdev.h:12:0,
from block/scsi_ioctl.c:23:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:415:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
CC block/noop-iosched.o
In file included from include/linux/blkdev.h:12:0,
from block/noop-iosched.c:4:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:415:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
CC block/cfq-iosched.o
In file included from include/linux/blkdev.h:12:0,
from block/cfq-iosched.c:11:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:415:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]

Any help? Ive searched the thread and none of the solutions posted here worked for me.
[Android] thewadegeek:
The second part should be able to be ignored, but ideally should be fixed. The first is quite simple, it tells you it's exact complaint in the error. CONFIG_MSM_CPU_FREQ_ONDEMAND_MAX is undefined in the config file, you need to figure out the appropriate value and define it.
[Android] thewadegeek:
Take a look at any of the Note2/GS3 kernels, they'll provide guidelines.
[Android] thewadegeek:
Is that wireless module defined in the Makefile?
[Android] omigosh:
how do you define the wireless module in the Makefile? :confused:
[Android] de333:
Cyanogenmod

BTW, anyone knows what happened to the kernel compiling tutorial of cyanogenmod? Since they reorganized their wiki, I cannot find it any more.

Now I'm puzzled which gingerbread kernel source to choose for my Galaxy Ace...
[Android] tomtom1265:
Using the guide you posted, I would use tegra3 files for my device? Tegra2 is also present in source.

http://xdaforums.com/showthread.php?p=36876137#post36876137
[Android] AndroidAceTeam:
This also works for the Galaxy Ace 5830?
[Android] azoller1:
Would you recommend your tut or the tut on googles open source website for the nexus 7 kernel?
[Android] tomtom1265:
I have a similar tablet it's tegra 3 family, I can build a kernel without problems, I am just try to figure out the over clocking and under voltage.
[Android] azoller1:
Those have to do with kernel patches probably
[Android] ayysir:
can anyone help? i keep getting this error:

make[1]: *** No rule to make target `arch/arm/boot/zImage'. Stop.

make: *** [zImage] Error 2
[Android] neectron:
Some insight?

neec@ubuntu:~/kernel$ make -j4
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CC scripts/mod/empty.o
make[1]: `include/generated/mach-types.h' is up to date.
as: unrecognized option '-EL'
make[2]: *** [scripts/mod/empty.o] Error 1
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2
make: *** Waiting for unfinished jobs....
CALL scripts/checksyscalls.sh
[Android] kissingmylove:
some1 know how to UV,UC??

S5570I,same hardware as glx Y
[Android] cpu999:
Try using a different tool chain
[Android] TroNit:
Hi there guys well i compile my kernel for the supersonic evo4g wich use qsd8k JB source but i got a problem theres one rom whos able to boot uo with my kernel the rest of JB roms for the supersonic will boot loop. i got an last_kmsg of ones of those rom so if somebody can give me some idea thanks!

heres the link of the Last_kmsg BlackDome Kernel
[Android] 74M3NUMB3RS:
NEED HELP...

i did this

A. Open "drivers/cpufreq/Kconfig"

B. Add the following lines in appropriate spot amongst the other govenor's

config CPU_FREQ_DEFAULT_GOV_SMARTASS
bool "smartass"
select CPU_FREQ_GOV_SMARTASS
select CPU_FREQ_GOV_PERFORMANCE
help
Use the CPUFreq governor 'smartass' as default.

config CPU_FREQ_GOV_SMARTASS
tristate "'smartass' cpufreq governor"
depends on CPU_FREQ
help
smartass' - a "smart" optimized governor!
If in doubt, say N.

C. Open "drivers/cpufreq/Makefile"

D. Add the following line in the appropriate spot.

obj-$(CONFIG_CPU_FREQ_GOV_SMARTASS) += cpufreq_smartass.o

E. Create a file called "drivers/cpufreq/cpufreq_smartass.c"

F. Put the following code in that file.

http://pastebin.com/f0Bk9kVZ

G. open "include/linux/cpufreq.h"

H. Under the "Cpufreq Default" section add

#elif defined(CONFIG_CPU_FREQ_DEFAULT_GOV_SMARTASS)
extern struct cpufreq_governor cpufreq_gov_smartass;
#define CPUFREQ_DEFAULT_GOVERNOR (&cpufreq_gov_smartass)

after that stuff

i did this command

make clean

then this command

make <my_config_name>_defconfig

after that i got errors

like this

hybridproject2013@ubuntu:~/sgy/kernel/common$ make gov_defconfig
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
drivers/cpufreq/Kconfig:73:error: found recursive dependency: CPU_FREQ_DEFAULT_GOV_SMARTASS -> CPU_FREQ_GOV_SMARTASS -> <choice>
make[1]: *** [gov_defconfig] Error 1
make: *** [gov_defconfig] Error 2
[Android] kylon:
R: [Tutorial] Building Your First Kernel

The kconfig:

The first part(default gov.......bool) should be pasted with the others bool

While "smartass......tristate" should be pasted with the others tristate

Cpufreq.h:

There is a mistake: elif, should be elseif

Check your code

Anyway, even if you added smartass, it is not enabled

You need "make menuconfig" to enable it, otherwise it will not be compiled
[Android] AmanMehta007:
need help

ace plus and s duos have same chipset(as per gsm arena)

ace plus is running gb and s duos is running ics

i want to have ics on ace plus but i dont understand what to do (which source to be downloaded ace plus or s duos, if s duos then how to make it compactible with ace plus, if ace plus then how to get ics kernel)

need help help me
[Android] kylon:
R: [Tutorial] Building Your First Kernel

You are speaking about porting

I don t think this is the right thread

Anyway,i never ported a kernel but i know that you have to add your device drivers and files in the new kernel but you have to rewrite some thing because your kernel is 2.6 while the new kernel is 3.0
[Android] AmanMehta007:
can you please explain it will help many
[Android] kiksotaki:
where can i find source for my alcatel 908 froyo?
[Android] kylon:
R: [Tutorial] Building Your First Kernel

You can look at some ported kernel

I don t know exactly how to port a kernel
[Android] slovoblydie:
thanks for manual !!!

take :good:
[Android] RuckusDecay:
lol "is" command not found :highfive:

surely you has not had linux shell learning i believe you should dive into that first before attempting this.:fingers-crossed:

Great laugh by the way:laugh:
[Android] dsixda:
Great guide, thewadegeek.

I was wondering if you or someone else can help out. I am working on the CM9 ROM for the Galaxy S2 HD LTE, and am encountering an issue where the CM9 Performance tab allows me to change the Minimum Freqency values successfully, but if I increase/decrease the Max Frequency, it goes back to the default.

I haven't specifically done any overclocking in the CM9 msm8660-common kernel source, other than modifying the kernel defconfig to specify the governors, but I thought CM9 had the overclocking already working out of the box.

Does this issue seem familiar, and is there something in this guide that could potentially fix it? I could provide more details if necessary (we can do it over PM in case it goes off-topic and hijacks this thread). ;-)
[Android] zainthesnipe:
thnx for updating your guide i will try it out in the next couple of days and see where i get
[Android] thewadegeek:
Wow....thanks man, that means a lot coming from you! A good chunk of the credit goes to Hacre though for getting on my case about it. :p I have never encountered that problem myself, but I've heard of a similar issue. I think they tested it by using SetCPU, and they discovered that the changes stuck when using that tool. It's not a fix, but it will at least help narrow down the problem. Also I would check the kernel source itself. Are you using this source? And we'll see how big of a issue it is, if it's going to take a bit then we can take it to PM.
[Android] thewadegeek:
No problem glad to do it. I would however brush up on my basic Linux skills first if I were you.
[Android] dsixda:
Yup, I'm using the same source, and in SetCPU the same problem happens if I try to change the Max Frequency.. it will not update the CPU speed info, but Min. Frequency can be changed.

I mean the different frequencies are shown, from 192MHz to 1836 but they won't stick if used for Max Freq. It stays at 1512MHz.
[Android] thewadegeek:
Hmm I'm probably not going to be of too much help then sorry, I'm just learning all of this myself. Hope you figure out the problem though.
[Android] Hacre:
Well done OP, you'd have to be an utter moron utterly devoid of any Linux knowledge to not understand what you've outlined in your latest revision. Which means your bases are covered, because if you cannot follow your guide, there's a fair few other things you should be learning before trying to make kernels.

Well done. Seriously.

Hacre out.
[Android] thewadegeek:
Thank you sir, that means a lot from you. Thanks for all your help and guidance getting it there.
[Android] dsixda:
Figured out my issue. I had to disable DVFS in the kernel config:

# CONFIG_SEC_DVFS=y

# CONFIG_SEC_DVFS_UNI=y

DVFS = Dynamic voltage and frequency scaling. It automatically adjusts your voltage/freq... so even if you change it manually, it changes it back.

If you look in the set_cpu_freq procedure in cpufreq.c, you'll notice that it interferes with setting the max frequency manually:

static int set_cpu_freq(struct cpufreq_policy *policy, unsigned int new_freq)
{
int ret = 0;
struct cpufreq_freqs freqs;

freqs.old = policy->cur;
if (override_cpu) {
if (policy->cur == policy->max)
return 0;
else
freqs.new = policy->max;
}
#ifdef CONFIG_SEC_DVFS
else if (lower_limit_freq || upper_limit_freq)
{
freqs.new = new_freq;

if (lower_limit_freq && new_freq < lower_limit_freq)
freqs.new = lower_limit_freq;

if (upper_limit_freq && new_freq > upper_limit_freq)
freqs.new = upper_limit_freq;

if (freqs.new == freqs.old)
return 0;
}
#endif
else
freqs.new = new_freq;
freqs.cpu = policy->cpu;
cpufreq_notify_transition(&freqs, CPUFREQ_PRECHANGE);
ret = acpuclk_set_rate(policy->cpu, freqs.new, SETRATE_CPUFREQ);
if (!ret)
cpufreq_notify_transition(&freqs, CPUFREQ_POSTCHANGE);

return ret;
}

Forgot to mention that I am using an MSM8660-based kernel.

Hope this helps someone.
[Android] thewadegeek:
Ok thanks for posting the fix.
[Android] giajp:
Great guide! Thank u
[Android] TheGreatSega:
add wifi modules

please add how to seperatley make wifi modules to the op!!
[Android] Apology11:
Nice Tut :good:

Maby you can add this in the first post for people with Sony (Ericsson) phones:

http://developer.sonymobile.com/wportal/devworld/search-downloads/opensource
[Android] thewadegeek:
Thanks for the link, I'll pop it up here.
[Android] thewadegeek:
Done, thanks for the feedback.
[Android] tr0ubled_0ne:
Great guide.I have seen several kernel tutorials but almost all of them are outdated and really don't go into much detail as yours did so thanks for your tutorial this will really help me on my way to compiling kernels.
[Android] Roqu3:
Hi, thanks for the guide, btw here is the Open source Center for LG devices

http://www.lg.com/global/support/opensource/opensource.jsp

About patches I prefer to use git, I know that maybe git needs another tutorial but when you work on things like this its very important, about patching with git I do it this way:

git apply --check ../kernelPatch

This checks if the patch applies clean, if not git will show you the warning or errors so you can fix them, if the patch is ok then ther will be no message, so if its ok then to apply it:

git apply ../kernelPatch

or :

git am ../kernelPatch

the first way just apply the changes, the second one apply the changes and commits them retaining the author of the patch, I prefer this way because gives proper credits.
[Android] Pradeep:
Thank you very much:fingers-crossed:
[Android] thewadegeek:
Thank you sir, glad you like it.

Added the LG link, good point on the Git stuff, maybe when I get around to editing this weekend I'll add that bit.

You're welcome.
[Android] thewadegeek:
I'd start by getting the 2.6->3.0 patch, then comparing changes in similar device's board files to see which one's you need to modify for yours. I will not do it for you and I will not hold your hand all the way through it.
[Android] kylon:
R: [Tutorial] Building Your First Kernel

Hey, i was thinking this:

I want to patch my 3.0.62 to 3.1.0

I m thinking to patch it to 3.1.0-rc1 first, then rc2, rc3 .........final

Do you think this is a good idea or a waste of time(coz the kernel will not work)

If i will do this,do i need to rewrite something?

Thanks
[Android] thewadegeek:
It depends on if the patches are incremental, or if they are all rolled up into the final. Yes you will most likely need to make some code changes to get everything to compile in the end.
[Android] kylon:
R: [Tutorial] Building Your First Kernel

They are incremental but i don t know c lang >…<
[Android] aLNG:
Go learn c lang first..easiest lang to learn
[Android] thewadegeek:
You are going to want to have at least a basic understanding of C, so you can look at the code before/after a patch and fix anything it broke. I have yet to ever see a kernel patch apply perfectly the first time.

I take it you have no idea what you are talking about then. Please do not respond to people's questions if you don't have a valid answer.
[Android] ernesto gongora:
Thanks great tutorial ;)

Sent from my LG optimus black 970 using neighbors wifi :P
[Android] themr87:
thx great job :)
[Android] thewadegeek:
No problem guys.
[Android] Anthrax:
some thing failed while using the patch
[Android] GideonX:
Check drivers/cpufreq/Kconfig.rej on what failed.
[Android] thewadegeek:
You will need to check the .rej like mentioned above, it will not work perfectly 100% of the time.
[Android] storm11:
Check Kconfig file line 258 :)
[Android] Perka:
Hi great guide, now I compile without problems, now on to patching :)

Thx :D
[Android] nirupamclassteacher:
Thank you..

Thank you.. Really helpful..
[Android] Deadly:
Ya, its really great guide & thread.. could you please edit your quoted post... op posts or such big posts need not be quoted to say that right?:rolleyes:

____________________________________

“If you wait to do everything until you’re sure it’s right, you’ll probably never do much of anything.” –Win Borden
[Android] Perka:
Wanted to try another toolchain and now I get this error when I try to build with the toolchain that worked, I have searched for hours now so here it is:

perka@Perkas-File-Stash ~/sgs3/Kernel $ echo $PATH
/home/perka/sgs3/toolchains/arm-eabi-4.4.3/arm-eabi/bin:/home/perka/bin/SoupKit:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
perka@Perkas-File-Stash ~/sgs3/Kernel $ make clean
perka@Perkas-File-Stash ~/sgs3/Kernel $ make mrproper
perka@Perkas-File-Stash ~/sgs3/Kernel $ export ARCH=arm
perka@Perkas-File-Stash ~/sgs3/Kernel $ export CROSS_COMPILE=~/sgs3/toolchains/arm-eabi-4.4.3/arm-eabi/binarm-eabi-
perka@Perkas-File-Stash ~/sgs3/Kernel $ make arch=arm m0_00_defconfig
HOSTCC scripts/basic/fixdep
gcc: error trying to exec 'cc1': execvp: No such file or directory
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2

I have no idea what to do, pls help :)
[Android] kylon:
R: [Tutorial] Building Your First Kernel

This error happened to me when i had no perms to run gcc

I don t know why but some folders/files are locked so i can t run gcc and i can t set perms for them

Also check the name
[Android] Daniel_GT:
Check the syntax and path in your CROSS_COMPILE line?
[Android] Perka:
Was a bit tired and the path was wrong :p thx :)
[Android] Daniel_GT:
No trouble, you might be able to help me actually. I'm compiling using the OPs suggested toolchain without a hitch but I keep hitting a wall when trying others using the latest Linaro. I've cloned quite a few different jellybean pre-builts, CROSS_COMPILEd to the equivalent arm-eabi- binaries (I believe) but keep returning an "arch/arm/boot/compressed/piggy.o: unknown CPU architecture" error at the zImage make stage. I imagine I need to change/ point a config file or the suchlike to ARM7 (my device) but I'm damned if I can find where. The Doomlord toolchain works fine straight out of the box.
[Android] Perka:
I tried linaro and no luck just fails :p so cant help there.

also tried some other but no luck, so for now I just stick with Doomlord :)
[Android] thicklizard:
I will help you out

https://github.com/showp1984/bricked-mako/commit/8863363c57e14b0cc0d1add77c5dafd5c54f8ff7
[Android] moon61:
How to make kernel swap support?