FORUMS
Remove All Ads from XDA

[TOOL] Honor 6 Kernel Toolbox

8,429 posts
Thanks Meter: 57,466
 
By codeworkx, Senior Recognized Developer on 23rd January 2015, 08:41 PM
Post Reply Email Thread
23rd February 2015, 04:11 PM |#11  
codeworkx's Avatar
OP Senior Recognized Developer
Flag Bad Neustadt
Thanks Meter: 57,466
 
Donate to Me
More
Quote:
Originally Posted by TheTigerDeveloper

so with this tool i can edit/create kernel for my Honor 6?

Sure

Sent from my Nexus 5 using XDA Free mobile app
 
 
6th March 2015, 04:48 PM |#12  
Recognized Developer
Flag Greece
Thanks Meter: 502
 
Donate to Me
More
@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.
6th March 2015, 04:50 PM |#13  
codeworkx's Avatar
OP Senior Recognized Developer
Flag Bad Neustadt
Thanks Meter: 57,466
 
Donate to Me
More
Quote:
Originally Posted by root-expert

@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.

Make sure that you're using python2.
6th March 2015, 04:55 PM |#14  
Recognized Developer
Flag Greece
Thanks Meter: 502
 
Donate to Me
More
Quote:
Originally Posted by codeworkx

Make sure that you're using python2.

I'm using python 2.7.6
6th March 2015, 04:56 PM |#15  
codeworkx's Avatar
OP Senior Recognized Developer
Flag Bad Neustadt
Thanks Meter: 57,466
 
Donate to Me
More
Quote:
Originally Posted by root-expert

I'm using python 2.7.6

Then post the error message of modem build.
It clearly says what's going wrong.
6th March 2015, 05:01 PM |#16  
Recognized Developer
Flag Greece
Thanks Meter: 502
 
Donate to Me
More
Quote:
Originally Posted by codeworkx

Then post the error message of modem build.
It clearly says what's going wrong.

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'
6th March 2015, 05:16 PM |#17  
codeworkx's Avatar
OP Senior Recognized Developer
Flag Bad Neustadt
Thanks Meter: 57,466
 
Donate to Me
More
Quote:
Originally Posted by root-expert

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'

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.
6th March 2015, 05:18 PM |#18  
Recognized Developer
Flag Greece
Thanks Meter: 502
 
Donate to Me
More
Quote:
Originally Posted by codeworkx

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.

And how can I find that...? I should rebuild the kernel or check the output log...?
6th March 2015, 05:22 PM |#19  
codeworkx's Avatar
OP Senior Recognized Developer
Flag Bad Neustadt
Thanks Meter: 57,466
 
Donate to Me
More
Quote:
Originally Posted by root-expert

And how can I find that...? I should rebuild the kernel or check the output log...?

Run this:
Code:
pushd kernel/drivers/vendor/hisi/build
python obuild.py product=hi3630_udp acore-oam_ps -j${THREADS}
popd
6th March 2015, 05:29 PM |#20  
Recognized Developer
Flag Greece
Thanks Meter: 502
 
Donate to Me
More
Quote:
Originally Posted by codeworkx

Run this:

Code:
pushd kernel/drivers/vendor/hisi/build
python obuild.py product=hi3630_udp acore-oam_ps -j${THREADS}
popd

I believe it is right: http://pastebin.com/SAavAM1c
6th March 2015, 05:32 PM |#21  
codeworkx's Avatar
OP Senior Recognized Developer
Flag Bad Neustadt
Thanks Meter: 57,466
 
Donate to Me
More
Quote:
Originally Posted by root-expert

I believe it is right: http://pastebin.com/SAavAM1c

Code:
sh: 1: /home/chris/Desktop/h60_kernel_toolbox-master/kernel/drivers/vendor/hisi/build/tools/ccache/ccache: not found
export USE_CCACHE=0

then try to build again.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes