FORUMS
Remove All Ads from XDA

[TOOL] Honor 6 Kernel Toolbox

8,421 posts
Thanks Meter: 57,458
 
By codeworkx, Senior Recognized Developer on 23rd January 2015, 08:41 PM
Post Reply Email Thread
6th March 2015, 05:32 PM |#21  
codeworkx's Avatar
OP Senior Recognized Developer
Flag Bad Neustadt
Thanks Meter: 57,458
 
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.
 
 
6th March 2015, 05:35 PM |#22  
Recognized Developer
Flag Greece
Thanks Meter: 502
 
Donate to Me
More
Quote:
Originally Posted by codeworkx

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.

Again the same:
Code:
[email protected]:~/Desktop/h60_kernel_toolbox-master/kernel/drivers/vendor/hisi/build$ python obuild.py product=hi3630_udp acore-oam_ps -j${THREADS}
>> PARAMS: product=hi3630_udp acore-oam_ps -j compiletime=20150306_193502
sh: 1: /home/chris/Desktop/h60_kernel_toolbox-master/kernel/drivers/vendor/hisi/build/tools/ccache/ccache: not found
Failed to guess WindRiver Home path. please set env ROOT_WIND_PATH_W or WIND_HOME
>> The ROOT_BALONG_HOME= /home/chris/Desktop/h60_kernel_toolbox-master/kernel/drivers/vendor/hisi
>> Output log to /home/chris/Desktop/h60_kernel_toolbox-master/kernel/drivers/vendor/hisi/build/delivery/hi3630_udp/log/obuild.log ...
>> EXEC: make  product=hi3630_udp acore-oam_ps -j compiletime=20150306_193502 1> /home/chris/Desktop/h60_kernel_toolbox-master/kernel/drivers/vendor/hisi/build/delivery/hi3630_udp/log/obuild.log 2>&1 
>> Error: 512
>> Duration  : 0:0:4
6th March 2015, 07:09 PM |#23  
codeworkx's Avatar
OP Senior Recognized Developer
Flag Bad Neustadt
Thanks Meter: 57,458
 
Donate to Me
More
Quote:
Originally Posted by root-expert

Again the same:

Code:
[email protected]:~/Desktop/h60_kernel_toolbox-master/kernel/drivers/vendor/hisi/build$ python obuild.py product=hi3630_udp acore-oam_ps -j${THREADS}
>> PARAMS: product=hi3630_udp acore-oam_ps -j compiletime=20150306_193502
sh: 1: /home/chris/Desktop/h60_kernel_toolbox-master/kernel/drivers/vendor/hisi/build/tools/ccache/ccache: not found
Failed to guess WindRiver Home path. please set env ROOT_WIND_PATH_W or WIND_HOME
>> The ROOT_BALONG_HOME= /home/chris/Desktop/h60_kernel_toolbox-master/kernel/drivers/vendor/hisi
>> Output log to /home/chris/Desktop/h60_kernel_toolbox-master/kernel/drivers/vendor/hisi/build/delivery/hi3630_udp/log/obuild.log ...
>> EXEC: make  product=hi3630_udp acore-oam_ps -j compiletime=20150306_193502 1> /home/chris/Desktop/h60_kernel_toolbox-master/kernel/drivers/vendor/hisi/build/delivery/hi3630_udp/log/obuild.log 2>&1 
>> Error: 512
>> Duration  : 0:0:4

resync and try again
6th March 2015, 08:55 PM |#24  
Recognized Developer
Flag Greece
Thanks Meter: 502
 
Donate to Me
More
Quote:
Originally Posted by codeworkx

resync and try again

Same issue
Code:
[email protected]:~/Desktop/h60_kernel_toolbox$ bash ./build.sh bootimage l02
-e\e[0;33mNo zImage found. Building ...

~/Desktop/h60_kernel_toolbox/kernel ~/Desktop/h60_kernel_toolbox
~/Desktop/h60_kernel_toolbox
~/Desktop/h60_kernel_toolbox/kernel/drivers/vendor/hisi/build ~/Desktop/h60_kernel_toolbox
>> PARAMS: product=hi3630_udp acore-oam_ps -j2 compiletime=20150306_225349
sh: 1: /home/chris/Desktop/h60_kernel_toolbox/kernel/drivers/vendor/hisi/build/tools/ccache/ccache: not found
>> The ROOT_BALONG_HOME= /home/chris/Desktop/h60_kernel_toolbox/kernel/drivers/vendor/hisi
>> Output log to /home/chris/Desktop/h60_kernel_toolbox/kernel/drivers/vendor/hisi/build/delivery/hi3630_udp/log/obuild.log ...
>> EXEC: make  product=hi3630_udp acore-oam_ps -j2 compiletime=20150306_225349 -j 20  1> /home/chris/Desktop/h60_kernel_toolbox/kernel/drivers/vendor/hisi/build/delivery/hi3630_udp/log/obuild.log 2>&1
i want you to notice that I use bash before script because it doesn't recognise the script...!
6th March 2015, 08:59 PM |#25  
codeworkx's Avatar
OP Senior Recognized Developer
Flag Bad Neustadt
Thanks Meter: 57,458
 
Donate to Me
More
Quote:
Originally Posted by root-expert

Same issue

Code:
[email protected]:~/Desktop/h60_kernel_toolbox$ bash ./build.sh bootimage l02
-e\e[0;33mNo zImage found. Building ...

~/Desktop/h60_kernel_toolbox/kernel ~/Desktop/h60_kernel_toolbox
~/Desktop/h60_kernel_toolbox
~/Desktop/h60_kernel_toolbox/kernel/drivers/vendor/hisi/build ~/Desktop/h60_kernel_toolbox
>> PARAMS: product=hi3630_udp acore-oam_ps -j2 compiletime=20150306_225349
sh: 1: /home/chris/Desktop/h60_kernel_toolbox/kernel/drivers/vendor/hisi/build/tools/ccache/ccache: not found
>> The ROOT_BALONG_HOME= /home/chris/Desktop/h60_kernel_toolbox/kernel/drivers/vendor/hisi
>> Output log to /home/chris/Desktop/h60_kernel_toolbox/kernel/drivers/vendor/hisi/build/delivery/hi3630_udp/log/obuild.log ...
>> EXEC: make  product=hi3630_udp acore-oam_ps -j2 compiletime=20150306_225349 -j 20  1> /home/chris/Desktop/h60_kernel_toolbox/kernel/drivers/vendor/hisi/build/delivery/hi3630_udp/log/obuild.log 2>&1
i want you to notice that I use bash before script because it doesn't recognise the script...!

chmod +x build.sh

Sent from my Nexus 5 using XDA Free mobile app
6th March 2015, 09:03 PM |#26  
Recognized Developer
Flag Greece
Thanks Meter: 502
 
Donate to Me
More
@codeworkx

Just fix the error with ccache by disabling it into the python script. But I keep getting the same error.
The Following User Says Thank You to root-expert For This Useful Post: [ View ]
7th March 2015, 11:45 AM |#27  
codeworkx's Avatar
OP Senior Recognized Developer
Flag Bad Neustadt
Thanks Meter: 57,458
 
Donate to Me
More
Quote:
Originally Posted by root-expert

@codeworkx

Just fix the error with ccache by disabling it into the python script. But I keep getting the same error.

resync and try again
7th March 2015, 12:17 PM |#28  
Recognized Developer
Flag Greece
Thanks Meter: 502
 
Donate to Me
More
Quote:
Originally Posted by codeworkx

resync and try again

I've done these changes my own. Epsecially at obuild.py. Just keep getting the sae error. I'll try one time again...!

Code:
~/Desktop/h60_kernel_toolbox/kernel ~/Desktop/h60_kernel_toolbox
~/Desktop/h60_kernel_toolbox
~/Desktop/h60_kernel_toolbox/kernel/drivers/vendor/hisi/build ~/Desktop/h60_kernel_toolbox
>> PARAMS: product=hi3630_udp acore-oam_ps -j2 compiletime=20150307_141230
>> The ROOT_BALONG_HOME= /home/chris/Desktop/h60_kernel_toolbox/kernel/drivers/vendor/hisi
>> Output log to /home/chris/Desktop/h60_kernel_toolbox/kernel/drivers/vendor/hisi/build/delivery/hi3630_udp/log/obuild.log ...
>> EXEC: make  product=hi3630_udp acore-oam_ps -j2 compiletime=20150307_141230 -j 20  1> /home/chris/Desktop/h60_kernel_toolbox/kernel/drivers/vendor/hisi/build/delivery/hi3630_udp/log/obuild.log 2>&1
EDIT: Failed again...
7th March 2015, 01:42 PM |#29  
codeworkx's Avatar
OP Senior Recognized Developer
Flag Bad Neustadt
Thanks Meter: 57,458
 
Donate to Me
More
Quote:
Originally Posted by root-expert

I've done these changes my own. Epsecially at obuild.py. Just keep getting the sae error. I'll try one time again...!

Code:
gcc: error: unrecognized argument in option '-mabi=aapcs-linux'
gcc: note: valid arguments to '-mabi=' are: ms sysv
gcc: error: unrecognized command line option '-mlittle-endian'
gcc: error: unrecognized command line option '-mapcs'
gcc: error: unrecognized command line option '-mno-sched-prolog'
gcc: error: unrecognized command line option '-mno-thumb-interwork'
make[5]: *** [scripts/mod/empty.o] Error 1
make[5]: *** Waiting for unfinished jobs....
  CC      scripts/mod/devicetable-offsets.s
gcc: error: unrecognized argument in option '-mabi=aapcs-linux'
gcc: note: valid arguments to '-mabi=' are: ms sysv
gcc: error: unrecognized command line option '-mlittle-endian'
gcc: error: unrecognized command line option '-mapcs'
gcc: error: unrecognized command line option '-mno-sched-prolog'
gcc: error: unrecognized command line option '-mno-thumb-interwork'
make[5]: *** [scripts/mod/devicetable-offsets.s] Error 1
make[4]: *** [scripts/mod] Error 2
make[3]: *** [scripts] Error 2
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [sub-make] Error 2
make[2]: Leaving directory `/android/github/codeworkx/h60_kernel_toolbox/kernel'
make[1]: *** [comm] Error 2
make[1]: Leaving directory `/android/github/codeworkx/h60_kernel_toolbox/kernel/drivers/vendor/hisi/build/scripts'
make: *** [acore-oam_ps] Error 2
7th March 2015, 01:49 PM |#30  
Recognized Developer
Flag Greece
Thanks Meter: 502
 
Donate to Me
More
Quote:
Originally Posted by codeworkx

Code:
gcc: error: unrecognized argument in option '-mabi=aapcs-linux'
gcc: note: valid arguments to '-mabi=' are: ms sysv
gcc: error: unrecognized command line option '-mlittle-endian'
gcc: error: unrecognized command line option '-mapcs'
gcc: error: unrecognized command line option '-mno-sched-prolog'
gcc: error: unrecognized command line option '-mno-thumb-interwork'
make[5]: *** [scripts/mod/empty.o] Error 1
make[5]: *** Waiting for unfinished jobs....
  CC      scripts/mod/devicetable-offsets.s
gcc: error: unrecognized argument in option '-mabi=aapcs-linux'
gcc: note: valid arguments to '-mabi=' are: ms sysv
gcc: error: unrecognized command line option '-mlittle-endian'
gcc: error: unrecognized command line option '-mapcs'
gcc: error: unrecognized command line option '-mno-sched-prolog'
gcc: error: unrecognized command line option '-mno-thumb-interwork'
make[5]: *** [scripts/mod/devicetable-offsets.s] Error 1
make[4]: *** [scripts/mod] Error 2
make[3]: *** [scripts] Error 2
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [sub-make] Error 2
make[2]: Leaving directory `/android/github/codeworkx/h60_kernel_toolbox/kernel'
make[1]: *** [comm] Error 2
make[1]: Leaving directory `/android/github/codeworkx/h60_kernel_toolbox/kernel/drivers/vendor/hisi/build/scripts'
make: *** [acore-oam_ps] Error 2

What error is this...?
15th March 2015, 06:59 PM |#31  
codeworkx's Avatar
OP Senior Recognized Developer
Flag Bad Neustadt
Thanks Meter: 57,458
 
Donate to Me
More
reorganized and updated kernel to 3.10.71
The Following User Says Thank You to codeworkx For This Useful Post: [ View ]
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