[email protected]:~/android/kernel$ make zImage
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CC drivers/input/touchscreen/ft5x06_ts.o
drivers/input/touchscreen/ft5x06_ts.c: In function 'ft5x06_get_factory_id':
drivers/input/touchscreen/ft5x06_ts.c:432:45: warning: 'ft5336_bootloader_ver' may be used uninitialized in this function [-Wuninitialized]
error, forbidden warning: ft5x06_ts.c:432
make[3]: *** [drivers/input/touchscreen/ft5x06_ts.o] Error 1
make[2]: *** [drivers/input/touchscreen] Error 2
make[1]: *** [drivers/input] Error 2
make: *** [drivers] Error 2
DevendraMilmile121 said:
[email protected]:~/android/kernel$ make zImage
CHK include/linux/version.h
Click to expand...
Click to collapse
its toolchain error..use Linaro 4.6 toolchain
Luffy.d said:
its toolchain error..use Linaro 4.6 toolchain
Click to expand...
Click to collapse
Thanks Bro Problem Now solved now another problem presist
Code:
CC drivers/video/msm/mdss/mdss_mdp_overlay.o
drivers/video/msm/mdss/mdss_mdp_overlay.c: In function ‘mdss_mdp_overlay_ioctl_handler’:
drivers/video/msm/mdss/mdss_mdp_overlay.c:2273:1: warning: the frame size of 1280 bytes is larger than 1024 bytes [-Wframe-larger-than=]
error, forbidden warning: mdss_mdp_overlay.c:2273
make[4]: *** [drivers/video/msm/mdss/mdss_mdp_overlay.o] Error 1
make[3]: *** [drivers/video/msm/mdss] Error 2
make[2]: *** [drivers/video/msm] Error 2
make[1]: *** [drivers/video] Error 2
make: *** [drivers] Error 2
DevendraMilmile121 said:
Thanks Bro Problem Now solved now another problem presist
Code:
CC drivers/video/msm/mdss/mdss_mdp_overlay.o
drivers/video/msm/mdss/mdss_mdp_overlay.c: In function ‘mdss_mdp_overlay_ioctl_handler’:
drivers/video/msm/mdss/mdss_mdp_overlay.c:2273:1: warning: the frame size of 1280 bytes is larger than 1024 bytes [-Wframe-larger-than=]
error, forbidden warning: mdss_mdp_overlay.c:2273
make[4]: *** [drivers/video/msm/mdss/mdss_mdp_overlay.o] Error 1
make[3]: *** [drivers/video/msm/mdss] Error 2
make[2]: *** [drivers/video/msm] Error 2
make[1]: *** [drivers/video] Error 2
make: *** [drivers] Error 2
Click to expand...
Click to collapse
this also seem toolchain error bro....do one thing bro use sabermod toolchain
i successfully compile the kernel with saber toolchain
Luffy.d said:
this also seem toolchain error bro....do one thing bro use sabermod toolchain
i successfully compile the kernel with saber toolchain
Click to expand...
Click to collapse
Im using 64bit os any problem with this and can u give me saber toolchain link
DevendraMilmile121 said:
Im using 64bit os any problem with this and can u give me saber toolchain link
Click to expand...
Click to collapse
os is ok....try this toolchain
https://github.com/SaberMod/arm-eabi-4.9
Luffy.d said:
os is ok....try this toolchain
https://github.com/SaberMod/arm-eabi-4.9
Click to expand...
Click to collapse
4.9 won't work, you'll need 4.7(i use linaro)
CoreWolf said:
4.9 won't work, you'll need 4.7(i use linaro)
Click to expand...
Click to collapse
i use linaro 4.6 no luck i will try 4.7 and tell u tomorrow
CoreWolf said:
4.9 won't work, you'll need 4.7(i use linaro)
Click to expand...
Click to collapse
i tried it work...getting one or two error but compile successfully
I downloaded both tool chain Im trying today
@DevendraMilmile121 have you solved compilation errors? which toolchain you are using ??
Used linero 4.7 2014 build. compile kernel but some problem in display driver it show only mi logo
DevendraMilmile121 said:
Used linero 4.7 2014 build. compile kernel but some problem in display driver it show only mi logo
Click to expand...
Click to collapse
how did you repack kernel? did you generate a dt.img?
thewisenerd said:
how did you repack kernel? did you generate a dt.img?
Click to expand...
Click to collapse
same question wat i have did you get the DT.img ???? m stuck there :crying:
Tarun93 said:
same question wat i have did you get the DT.img ???? m stuck there :crying:
Click to expand...
Click to collapse
p.s. compiled kernel, added s2w, dt2w (by showp1984) (thx showp1984)
thewisenerd said:
p.s. compiled kernel, added s2w, dt2w (by showp1984) (thx showp1984)
Click to expand...
Click to collapse
i wanna get my carbon rom kicked up with the kernel source i have the kernel ready with a couple of governors n schedulers n working on other things too but i wanna have a stock kernel kicked in n booted first for the rom tried everything i could but cant get it started @thewisenerd do you have any idea how do i get around this ??
I pack kernel on windows I have two system .kernel booted but only show mi logo how to solve this
How to solve milogo bug
DevendraMilmile121 said:
How to solve milogo bug
Click to expand...
Click to collapse
What you had done with source code?
DevendraMilmile121 said:
How to solve milogo bug
Click to expand...
Click to collapse
the kernel wont work on old cm and old rom....try it on latest cm11 r15 and see the magic
Related
So... I download the kernel source from HTC (http://developer.htc.com) and I found this blog that got me started on compiling it...
http://blog.coralic.nl/2009/10/25/how-to-compile-the-htc-hero-kernel/comment-page-1/#comment-42
Well, at first attempt, I got an error that make couldn't find the rule to make projector.o. Well, I went through the .config and changed that option to No...
Then, it gets all the way to where it looks like it's going to make vmlinux1 and it errors out with the message "arm-eabi-ld: no machine record defined .... make: *** [.tmp_vmlinux1] Error 1"
Has anybody successfully compiled the source yet?
jmanley69 said:
So... I download the kernel source from HTC (http://developer.htc.com) and I found this blog that got me started on compiling it...
http://blog.coralic.nl/2009/10/25/how-to-compile-the-htc-hero-kernel/comment-page-1/#comment-42
Well, at first attempt, I got an error that make couldn't find the rule to make projector.o. Well, I went through the .config and changed that option to No...
Then, it gets all the way to where it looks like it's going to make vmlinux1 and it errors out with the message "arm-eabi-ld: no machine record defined .... make: *** [.tmp_vmlinux1] Error 1"
Has anybody successfully compiled the source yet?
Click to expand...
Click to collapse
Try "make msm7200a_defconfig" before compiling, do not pull config.gz.
Lox_Dev said:
Try "make msm7200a_defconfig" before compiling, do not pull config.gz.
Click to expand...
Click to collapse
That was a very good starting point...
It all comes down to these two lines
On the config from my phone it says
Code:
# CONFIG_ARCH_MSM7200A is not set
CONFIG_ARCH_MSM75010A=y
on msm7200a_defconfig, it has
Code:
CONFIG_ARCH_MSM7200A=y
# CONFIG_ARCH_MSM75010A is not set
Also, msm7200a_defconfig has these two extra lines that don't exist at all in my config
Code:
CONFIG_MACH_SAPPHIRE=y
CONFIG_MACH_HERO=y
That wouldn't be too big a problem, but my config has
Code:
# CONFIG MSM_AMSS_SUPPORT_256MB_EBI1 is not set
and msm7200a_defconfig has
Code:
CONFIG_MSM_AMSS_SUPPORT_256MB_EBI1=y
and without that set, SAPPHIRE.o won't compile because an integer is long instead of unsigned....
Any idea how I can figure out the correct file to fix for the CONFIG_ARCH_MSM75010A? I looked in /arch/arm/Makefile, and it says ARCH_MSM7XXXX points to msm, and I look in /arch/arm/msm/Makefile, and don't see anything referencing either MSM7200A or MSM75010A, but 7200A has to be someplace
Standard config pulled from running 1.5 should compile just fine.
Done it countless times myself.
What version of the toolchain are you running?
packetlss said:
Standard config pulled from running 1.5 should compile just fine.
Done it countless times myself.
What version of the toolchain are you running?
Click to expand...
Click to collapse
/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin
Just tried it myself with the same toolchain:
Code:
[email protected]:~/android/kernel/kernel_hero$ [B]cp config-gsm-stock .config[/B]
[email protected]:~/android/kernel/kernel_hero$ [B]CROSS_COMPILE=~/android/src/aosp/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi- make[/B]
scripts/kconfig/conf -s arch/arm/Kconfig
CHK include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
...
<lots of muck removed>
....
SYSMAP System.map
SYSMAP .tmp_System.map
OBJCOPY arch/arm/boot/Image
Kernel: arch/arm/boot/Image is ready
AS arch/arm/boot/compressed/head.o
GZIP arch/arm/boot/compressed/piggy.gz
AS arch/arm/boot/compressed/piggy.o
CC arch/arm/boot/compressed/misc.o
LD arch/arm/boot/compressed/vmlinux
OBJCOPY arch/arm/boot/zImage
Kernel: arch/arm/boot/zImage is ready
Building modules, stage 2.
MODPOST 0 modules
[email protected]:~/android/kernel/kernel_hero$ [B]ls -al arch/arm/boot/zImage[/B]
-rwxr-xr-x 1 mange mange 1648748 2009-12-05 02:13 arch/arm/boot/zImage
[email protected]:~/android/kernel/kernel_hero$
The error your getting is usually due to a incomplete machine specification for the linker.
Try and checkout the prebuilt stuff again from AOSP, it's possibly corrupted.
Mine is master branch, synced yesterday.
The Galaxy Tab source code is online at http://opensource.samsung.com/ section GT-P1000
Now we can manage this source code for inspecting memory problem of galaxy s 1080p video playback and hdmi out.
I'm not able to download it at the moment, by any chance is the source for the bootloaders included?
im uploading it now
http://www.mediafire.com/file/4qkxeg1fbi1exbe/GT-P1000_OpenSource.zip
Here you go !
Jeshter2000 said:
http://www.mediafire.com/file/4qkxeg1fbi1exbe/GT-P1000_OpenSource.zip
Here you go !
Click to expand...
Click to collapse
. Thanks!
From first look - a lot of debug options are disabled that were enabled in SGS config.
Edit: Also memory assignments are different, somewhere higher, somewhere lower ... On average I think number would be similar.
On general at least in config so far the difference seems bigger then I would expect.
Which means that we got a Froyo source that voodoo and cm can use?
jakaka said:
From first look - a lot of debug options are disabled that were enabled in SGS config.
Edit: Also memory assignments are different, somewhere higher, somewhere lower ... On average I think number would be similar.
On general at least in config so far the difference seems bigger then I would expect.
Click to expand...
Click to collapse
Is it possible to use the same memory assignments and have similar memory available in he sgs?
Compiling right now
thanks zulu99 !
I will take a look at the sound driver ^^ (and the rest)!
An ext4 modules in a few minutes!
I really like the fact that this time the ramdisk in included in sources.
Code:
sound/soc/s3c24xx/s3c-idma.c: In function 's3c_idma_hw_params':
sound/soc/s3c24xx/s3c-idma.c:230: warning: format '%x' expects type 'unsigned int', but argument 6 has type 'unsigned char *'
sound/soc/s3c24xx/s3c-idma.c: In function 's3c_idma_pointer':
sound/soc/s3c24xx/s3c-idma.c:318: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'unsigned char *'
make[3]: *** [sound/soc/s3c24xx/s3c-idma.o] Erreur 1
make[3]: *** Attente des tâches non terminées....
make[2]: *** [sound/soc/s3c24xx] Erreur 2
make[1]: *** [sound/soc] Erreur 2
make: *** [sound] Erreur 2
(compiling with trusty gcc 4.3.5 i use for Voodoo)
BOO !
Ext4 modules (no POSIX ACL or xattrs to keep it small)
PS: i doubt they insert in Galaxy S Froyo kernels, but who know, with a little help...
Samsung are releasing the Galaxy K (SHW-M130K) with froyo in South Korea soon. The Source code isn't on their site yet, but judging by their track record so far, we should see it very soon.
supercurio said:
Ext4 modules (no POSIX ACL or xattrs to keep it small)
PS: i doubt they insert in Galaxy S Froyo kernels, but who know, with a little help...
Click to expand...
Click to collapse
I've tried to compile them using samsung suggested toolset (in readme), but they won't insmod - device just reboots.
supercurio said:
Code:
sound/soc/s3c24xx/s3c-idma.c: In function 's3c_idma_hw_params':
sound/soc/s3c24xx/s3c-idma.c:230: warning: format '%x' expects type 'unsigned int', but argument 6 has type 'unsigned char *'
sound/soc/s3c24xx/s3c-idma.c: In function 's3c_idma_pointer':
sound/soc/s3c24xx/s3c-idma.c:318: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'unsigned char *'
make[3]: *** [sound/soc/s3c24xx/s3c-idma.o] Erreur 1
make[3]: *** Attente des tâches non terminées....
make[2]: *** [sound/soc/s3c24xx] Erreur 2
make[1]: *** [sound/soc] Erreur 2
make: *** [sound] Erreur 2
(compiling with trusty gcc 4.3.5 i use for Voodoo)
BOO !
Click to expand...
Click to collapse
Erreur... You got a little Clouseau in your compiler. No wonder it's giving you erreurs .. leul
vitalij said:
I've tried to compile them using samsung suggested toolset (in readme), but they won't insmod - device just reboots.
Click to expand...
Click to collapse
Okay. I suppose compiling them using at least Galaxy S .config would help
appelflap said:
Erreur... You got a little Clouseau in your compiler. No wonder it's giving you erreurs .. leul
Click to expand...
Click to collapse
HAHAHA, why everybody laugh at my erreurs
Trying to compile kernel from sources. I now the process, and I do it not the first time - I have kernel on my desktop linux compiled from source ...
okay. the question is ... about errors from "make" (I changed locale to EN)
[[email protected] KangBanged-7x30]$ LANG=en_GB.UTF-8 ARCH=arm CROSS_COMPILE=$CCOMPILER make -j3
File "/home/melky/KERNEL/KangBanged-7x30/scripts/gcc-wrapper.py", line 76
print "error, forbidden warning:", m.group(2)
^
SyntaxError: invalid syntax
CHK include/linux/version.h
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
File "/home/melky/KERNEL/KangBanged-7x30/scripts/gcc-wrapper.py", line 76
print "error, forbidden warning:", m.group(2)
^
SyntaxError: invalid syntax
make[2]: *** [scripts/mod/empty.o] Error 1
make[2]: *** Waiting for unfinished jobs....
HOSTCC scripts/kallsyms
make[1]: *** [scripts/mod] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [scripts] Error 2
make: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
What I'm doing wrong?
About config and other ...
.config I got from phone via "adb pull /proc/config.gz".
about $CCOMPILER variable :
[[email protected] KangBanged-7x30]$ echo $CCOMPILER
/usr/bin/arm-none-eabi-
[[email protected] KangBanged-7x30]$ whereis arm-none-eabi-gcc
arm-none-eabi-gcc: /usr/bin/arm-none-eabi-gcc
Click to expand...
Click to collapse
kernel source from KangBangKreations.
LOL
LOL! In Archlinux python is linked to python3. Just linked /usr/bin/python to /usr/bin/python2.7 and everything is going fine.
P.S. Sorry for doublepost.
coloured_chalk said:
LOL! In Archlinux python is linked to python3. Just linked /usr/bin/python to /usr/bin/python2.7 and everything is going fine.
P.S. Sorry for doublepost.
Click to expand...
Click to collapse
I've been trying for HOURS to get the toolchain to work just to figure out it was ARCH LINUX. First time trying to build a kernel as well. You have saved me all the time in the world. I never would have figured this out.
Thank you,
Jake
thank you so much! i also would have never considered thinking in this direction..
but now im stuck on the correct linking command.
i tried ln -s /usr/bin/python /usr/bin/python2.7
and i tried exchanging the two paths.. none of them succeeded and im confused now.. could you pls help me?
sorry for this stupid question, i know this could not work, but i cant help myself finding the correct solution..
Inf.Lagranty said:
thank you so much! i also would have never considered thinking in this direction..
but now im stuck on the correct linking command.
i tried ln -s /usr/bin/python /usr/bin/python2.7
and i tried exchanging the two paths.. none of them succeeded and im confused now.. could you pls help me?
sorry for this stupid question, i know this could not work, but i cant help myself finding the correct solution..
Click to expand...
Click to collapse
I followed the tutorial from archwiki, works fine
Code:
mkdir ~/bin
ln -s /usr/bin/python2 ~/bin/python
ln -s /usr/bin/python2-config ~/bin/python-config
export PATH=~/bin:$PATH
Help Please how to compiling kernel from source
thejakehemmerle said:
I've been trying for HOURS to get the toolchain to work just to figure out it was ARCH LINUX. First time trying to build a kernel as well. You have saved me all the time in the world. I never would have figured this out.
Thank you,
Jake
Click to expand...
Click to collapse
i was try to compiling kernel from source but i got error where i am wrong
error log uploaded
To make our lifes a little bit easier, i've created a "toolbox" for linux which allows you to easily brew custom kernels.
It includes kernel sources (fixed to build properly), arm-eabi-4.7 toolchain, a stock ramdisk, mkbootimg and a handy script which does the dirty job for you.
Please make sure that bash, git, repo, cpio and gzip packages are installed on your system!
How to get it?
Code:
mkdir h60
cd h60
repo init -u https://github.com/codeworkx/h60.git -b kk
repo sync
Usage:
Code:
./build.sh bootimage l04 -> creates boot.img for the specified variant.
./build.sh kernel -> builds just the zImage
./build.sh unpack boot.img -> unpacks boot/recovery images
./build.sh clean -> runs mrproper
Let it rain custom kernels!
Have fun!
Update:
fixed some problems
added colored output
added unpack function
added support for l02, l04, l12
Update:
updated to latest available B310 sources
Update:
added L04 ramdisk
Hi @codeworkx
Can you build a stock kernel for h60-l04 with add only doubletap2wake and sweep2wake ?
Many users would like this.
Thanks and sorry for my bad english!
Steve Giordano said:
Hi @codeworkx
Can you build a stock kernel for h60-l04 with add only doubletap2wake and sweep2wake ?
Many users would like this.
Thanks and sorry for my bad english!
Click to expand...
Click to collapse
Omg yes! That would be awesome to have :fingers-crossed:
Steve Giordano said:
Hi @codeworkx
Can you build a stock kernel for h60-l04 with add only doubletap2wake and sweep2wake ?
Many users would like this.
Thanks and sorry for my bad english!
Click to expand...
Click to collapse
Probably but don't have time.
Sent from my Nexus 5 using XDA Free mobile app
Hi @codeworkx i have this error:
Code:
WARNING: modpost: Found 6 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
GEN .version
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
LD init/built-in.o
drivers/built-in.o: In function `store_config':
/home/stefano/Scrivania/h60_kernel_toolbox-master/kernel/drivers/huawei/ext_modem/viacbp82d/spi/rnic_adapter.c:102: undefined reference to `RNIC_ConfigRmnetStatus'
make: *** [vmlinux] Errore 1
~/Scrivania/h60_kernel_toolbox-master
Failed to build zImage!
[email protected]:~/Scrivania/h60_kernel_toolbox-master$
Why?
Happens when the modem driver fails to build. Did the python script fail? You have to use python2.
Sent from my Nexus 5 using XDA Free mobile app
so with this tool i can edit/create kernel for my Honor 6?
TheTigerDeveloper said:
so with this tool i can edit/create kernel for my Honor 6?
Click to expand...
Click to collapse
Sure
Sent from my Nexus 5 using XDA Free mobile app
@codeworkx I got this error while trying to compile the l02 kernel:
Code:
MODPOST vmlinux.o
WARNING: modpost: Found 6 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
GEN .version
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
LD init/built-in.o
drivers/built-in.o: In function `store_config':
/home/chris/Desktop/h60_kernel_toolbox-master/kernel/drivers/huawei/ext_modem/viacbp82d/spi/rnic_adapter.c:102: undefined reference to `RNIC_ConfigRmnetStatus'
make: *** [vmlinux] Error 1
~/Desktop/h60_kernel_toolbox-master
Failed to build zImage!
I saw that is happens when the modem driver failed to build. But how I can solve it...? Thanks.
root-expert said:
@codeworkx I got this error while trying to compile the l02 kernel:
Code:
MODPOST vmlinux.o
WARNING: modpost: Found 6 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
GEN .version
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
LD init/built-in.o
drivers/built-in.o: In function `store_config':
/home/chris/Desktop/h60_kernel_toolbox-master/kernel/drivers/huawei/ext_modem/viacbp82d/spi/rnic_adapter.c:102: undefined reference to `RNIC_ConfigRmnetStatus'
make: *** [vmlinux] Error 1
~/Desktop/h60_kernel_toolbox-master
Failed to build zImage!
I saw that is happens when the modem driver failed to build. But how I can solve it...? Thanks.
Click to expand...
Click to collapse
Make sure that you're using python2.
codeworkx said:
Make sure that you're using python2.
Click to expand...
Click to collapse
I'm using python 2.7.6
root-expert said:
I'm using python 2.7.6
Click to expand...
Click to collapse
Then post the error message of modem build.
It clearly says what's going wrong.
codeworkx said:
Then post the error message of modem build.
It clearly says what's going wrong.
Click to expand...
Click to collapse
I think this is it:
Code:
drivers/built-in.o: In function `store_config':
/home/chris/Desktop/h60_kernel_toolbox-master/kernel/drivers/huawei/ext_modem/viacbp82d/spi/rnic_adapter.c:102: undefined reference to `RNIC_ConfigRmnetStatus'
root-expert said:
I think this is it:
Code:
drivers/built-in.o: In function `store_config':
/home/chris/Desktop/h60_kernel_toolbox-master/kernel/drivers/huawei/ext_modem/viacbp82d/spi/rnic_adapter.c:102: undefined reference to `RNIC_ConfigRmnetStatus'
Click to expand...
Click to collapse
No it's not. That's an error from kernel build.
And this error happens because the modem build way before the kernel build even starts has failed.
codeworkx said:
No it's not. That's an error from kernel build.
And this error happens because the modem build way before the kernel build even starts has failed.
Click to expand...
Click to collapse
And how can I find that...? I should rebuild the kernel or check the output log...?
root-expert said:
And how can I find that...? I should rebuild the kernel or check the output log...?
Click to expand...
Click to collapse
Run this:
Code:
pushd kernel/drivers/vendor/hisi/build
python obuild.py product=hi3630_udp acore-oam_ps -j${THREADS}
popd
codeworkx said:
Run this:
Code:
pushd kernel/drivers/vendor/hisi/build
python obuild.py product=hi3630_udp acore-oam_ps -j${THREADS}
popd
Click to expand...
Click to collapse
I believe it is right: http://pastebin.com/SAavAM1c
Hi guys! I need help from more experienced people or devs. I'm building a kernel for SM-T110 (the lite wifi version)., and i have a few problems. First problem is, i don't know how to add OC to this device. This device (SM-T110) has a Marvell PXA986 CPU, not like T210 wich has Exynos CPU. Im going to folder where my kernel is then /arch/arm and because this device has PXA986 im opening a folder mach-pxa, and then there is a multiple files with .c extension, like PXA2xx,PXA95x, and CPUFREQpxa3xx , CPUFREQpxa2xx, The tablet has a PXA986, and i dont know wich file i must open and edit... yeah it's a "real problem" . And i need a little help with compiling the kernel. Why? Because when i try to compile kernel i've got multiple errors, i fixed most of em but there is a 1 error i can't get rid of. Now i'm on Windows so i'm gonna post the log from this error in post 2, cause i must boot ubuntu first .
I'm using this as a source http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=SM-T110 - SM-T110_EUR_JB_OPENSOURCE.
It's my first time when im building a kernel, so maybe i ****ed something up Tried 2 times doing it all over again, nothing.
P.S I really want to OC this device so please not ask questions like "why do you want OC this device OC is dangerous blah blah blah" I know it can harm my hardware but, i want better performance!
Now im on UBUNTU 14.04
OK, here is the log with error from terminal with command make -j2 (2 because of number of cores in CPU)
[email protected]:~$ cd android
[email protected]:~/android$ cd kernel
[email protected]:~/android/kernel$ make -j2
scripts/kconfig/conf --silentoldconfig Kconfig
drivers/Kconfig:164: syntax error
drivers/Kconfig:163: unknown option "The"
drivers/Kconfig:164: unknown option "changes"
drivers/Kconfig:165: unknown option "The"
drivers/Kconfig:166: unknown option "do"
drivers/Kconfig:167: unknown option "transitions"
make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
[email protected]:~/android/kernel$
Click to expand...
Click to collapse
And with command "make"
[email protected]:~/android/kernel$ make
scripts/kconfig/conf --silentoldconfig Kconfig
drivers/Kconfig:164: syntax error
drivers/Kconfig:163: unknown option "The"
drivers/Kconfig:164: unknown option "changes"
drivers/Kconfig:165: unknown option "The"
drivers/Kconfig:166: unknown option "do"
drivers/Kconfig:167: unknown option "transitions"
make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
[email protected]:~/android/kernel$
Click to expand...
Click to collapse
With SU :
[email protected]:/home/bl1nd/android/kernel# make
scripts/kconfig/conf --silentoldconfig Kconfig
drivers/Kconfig:164: syntax error
drivers/Kconfig:163: unknown option "The"
drivers/Kconfig:164: unknown option "changes"
drivers/Kconfig:165: unknown option "The"
drivers/Kconfig:166: unknown option "do"
drivers/Kconfig:167: unknown option "transitions"
make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
[email protected]:/home/bl1nd/android/kernel#
Click to expand...
Click to collapse
I don't know what this error means...
Bl!nd said:
Hi guys! I need help from more experienced people or devs. I'm building a kernel for SM-T110 (the lite wifi version)., and i have a few problems. First problem is, i don't know how to add OC to this device. This device (SM-T110) has a Marvell PXA986 CPU, not like T210 wich has Exynos CPU. Im going to folder where my kernel is then /arch/arm and because this device has PXA986 im opening a folder mach-pxa, and then there is a multiple files with .c extension, like PXA2xx,PXA95x, and CPUFREQpxa3xx , CPUFREQpxa2xx, The tablet has a PXA986, and i dont know wich file i must open and edit... yeah it's a "real problem" . And i need a little help with compiling the kernel. Why? Because when i try to compile kernel i've got multiple errors, i fixed most of em but there is a 1 error i can't get rid of. Now i'm on Windows so i'm gonna post the log from this error in post 2, cause i must boot ubuntu first .
I'm using this as a source http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=SM-T110 - SM-T110_EUR_JB_OPENSOURCE.
It's my first time when im building a kernel, so maybe i ****ed something up Tried 2 times doing it all over again, nothing.
P.S I really want to OC this device so please not ask questions like "why do you want OC this device OC is dangerous blah blah blah" I know it can harm my hardware but, i want better performance!
Click to expand...
Click to collapse
T210 also has Marvell, not Exynos. Take a look at Werewolf kernel sources. I believe he added OC to it.
Sent from my SM-G920V using Tapatalk
Well that's strange, this forum http://forum.xda-developers.com/galaxy-tab-3 says "The 7 is powered by an Exonys 1.2 dual core processor" same like other sources. Thanks, i'm gonna look at his kernel.
EDIT: Yep! i found it it's in arch/arm/mach_mpp/apuclock988 / dvfs-pxa988.c /clock-pxa988.c
Again...
gr8nole said:
T210 also has Marvell, not Exynos. Take a look at Werewolf kernel sources. I believe he added OC to it.
Sent from my SM-G920V using Tapatalk
Click to expand...
Click to collapse
Hi, thanks for your help, i added the CPU oc to the kernel and some GPU OC entries (i think this GPU OC wont work). Now i have a problem with compiling the kernel. Here's a log from terminal:
[email protected]:~$ su
Password:
[email protected]:/home/bl1nd# cd android
[email protected]:/home/bl1nd/android# cd kernel
[email protected]:/home/bl1nd/android/kernel# make
scripts/kconfig/conf --silentoldconfig Kconfig
drivers/Kconfig:164: syntax error
drivers/Kconfig:163: unknown option "The"
drivers/Kconfig:164: unknown option "changes"
drivers/Kconfig:165: unknown option "The"
drivers/Kconfig:166: unknown option "do"
drivers/Kconfig:167: unknown option "transitions"
make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
? What this error means?
another error
gr8nole said:
T210 also has Marvell, not Exynos. Take a look at Werewolf kernel sources. I believe he added OC to it.
Sent from my SM-G920V using Tapatalk
Click to expand...
Click to collapse
This errors make it a torture to compile this kernel.....:
CC arch/arm/plat-versatile/leds.o
CC arch/arm/plat-versatile/sched-clock.o
LD arch/arm/plat-versatile/built-in.o
CC kernel/fork.o
CC kernel/exec_domain.o
CC kernel/panic.o
CC kernel/printk.o
kernel/printk.c:49:28: fatal error: mach/sec_debug.h: No such file or directory
compilation terminated.
make[1]: *** [kernel/printk.o] Error 1
make: *** [kernel] Error 2
[email protected]:~/android/K
.......I'm fixing one error then another comes, and again again again .
/tmp/ccg3uLct.s: Assembler messages:
/tmp/ccg3uLct.s: Error: .size expression for __v7_pj4_proc_info does not evaluate to a constant
make[1]: *** [arch/arm/mm/proc-v7.o] Error 1
make: *** [arch/arm/mm] Error 2
Click to expand...
Click to collapse
But this is the error that im trying to fix from a 3 hours, and i just can't.
See this commit for the fix: https://github.com/pazos/android_ke...bb936b4716cf3b07896d3f26df4e376b5738718bbafde