Re: [android-building] make kernel of wahoo

2019-03-21 Thread Saurabh Sakhare
I don't know why but I started getting errors as below.

  CHK include/config/kernel.release
  CHK include/generated/uapi/linux/version.h
  CHK include/generated/utsrelease.h
  CHK include/generated/bounds.h
  CHK include/generated/timeconst.h
  CHK include/generated/asm-offsets.h
  CALLscripts/checksyscalls.sh
make[1]: 'include/generated/vdso-offsets.h' is up to date.
make[1]: 'include/generated/vdso32-offsets.h' is up to date.
  CHK scripts/mod/devicetable-offsets.h
  DTC arch/arm64/boot/dts/htc/overlay-walleye-xa_xb_xc.dtbo
Error: arch/arm64/boot/dts/htc/base-msm8998-camera-sensor-mtp.dtsi:14.1-5
syntax error
FATAL ERROR: Unable to parse input tree
scripts/Makefile.lib:308: recipe for target
'arch/arm64/boot/dts/htc/overlay-walleye-xa_xb_xc.dtbo' failed
make[2]: *** [arch/arm64/boot/dts/htc/overlay-walleye-xa_xb_xc.dtbo] Error 1
scripts/Makefile.build:551: recipe for target 'arch/arm64/boot/dts/htc'
failed
make[1]: *** [arch/arm64/boot/dts/htc] Error 2
arch/arm64/Makefile:179: recipe for target 'dtbs' failed
make: *** [dtbs] Error 2


Saurabh Sakhare
8007157873


On Mon, Mar 18, 2019 at 7:58 PM 'Alessio Balsini' via Android Building <
android-building@googlegroups.com> wrote:

> Hi,
>
> That is not the right procedure to build Wahoo kernels: as the
> documentation says, that is an example for HiKey development boards.
> Please have a look at our recently updated Building Kernels documentation,
> which shows a much simpler out-of-the-box procedure to build custom
> kernels: https://source.android.com/setup/build/building-kernels.
>
> Regards,
> Alessio
>
>
> On Sat, Mar 16, 2019 at 3:37 PM <927002...@qq.com> wrote:
>
>> *i put below:*
>> export ARCH=arm64
>> export CROSS_COMPILE_ARM32=aarch64-linux-android-
>> PATH=/home/shallin/android9_r22/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin:$PATH
>> make wahoo_defconfig *and then i put "make" ,show like this*
>>
>> [image: error.jpg]
>>
>> how can i do
>>
>> --
>> --
>> You received this message because you are subscribed to the "Android
>> Building" mailing list.
>> To post to this group, send email to android-building@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-building+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-building?hl=en
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Android Building" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to android-building+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to android-building@googlegroups.com
> To unsubscribe from this group, send email to
> android-building+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Building" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-building+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-building] make kernel of wahoo

2019-03-18 Thread Saurabh Sakhare
Check your build.config file in kernel. So it has what needed config
directories and files.

LZ4_PREBUILTS_BIN=prebuilts-master/misc/linux-x86/lz4
DTC_PREBUILTS_BIN=prebuilts-master/misc/linux-x86/dtc
LIBUFDT_PREBUILTS_BIN=prebuilts-master/misc/linux-x86/libufdt

Download this lz4(Compression algorithm),dtc(Device Tree
compiler),libufdt(Used for optimization of dtos)
and give proper path and config and use CC=clang. Coz pixel 2 user level
programms are compiled using clang. So some of the files will be compile
using Clang.

export ARCH=arm64
export CROSS_COMPILE_ARM32=~/PATH_TO_directory(arm eabi 4.7 or
4.8)/arm-eabi-
export CROSS_COMPILE=~/PATH_TO_DIR(aarch64)/
LZ4_PREBUILTS_BIN=prebuilts-master/misc/linux-x86/lz4
DTC_PREBUILTS_BIN=~/pATH TO/linux-x86/dtc
LIBUFDT_PREBUILTS_BIN=`/pATH_TO_DIR/linux-x86/libufdt

Saurabh Sakhare
8007157873


On Sat, Mar 16, 2019 at 9:07 PM <927002...@qq.com> wrote:

> *i put below:*
> export ARCH=arm64
> export CROSS_COMPILE_ARM32=aarch64-linux-android-
> PATH=/home/shallin/android9_r22/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin:$PATH
> make wahoo_defconfig *and then i put "make" ,show like this*
>
> [image: error.jpg]
>
> how can i do
>
> --
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to android-building@googlegroups.com
> To unsubscribe from this group, send email to
> android-building+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Building" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-building+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-building] make kernel of wahoo

2019-03-18 Thread 'Alessio Balsini' via Android Building
Hi,

That is not the right procedure to build Wahoo kernels: as the
documentation says, that is an example for HiKey development boards.
Please have a look at our recently updated Building Kernels documentation,
which shows a much simpler out-of-the-box procedure to build custom
kernels: https://source.android.com/setup/build/building-kernels.

Regards,
Alessio


On Sat, Mar 16, 2019 at 3:37 PM <927002...@qq.com> wrote:

> *i put below:*
> export ARCH=arm64
> export CROSS_COMPILE_ARM32=aarch64-linux-android-
> PATH=/home/shallin/android9_r22/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin:$PATH
> make wahoo_defconfig *and then i put "make" ,show like this*
>
> [image: error.jpg]
>
> how can i do
>
> --
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to android-building@googlegroups.com
> To unsubscribe from this group, send email to
> android-building+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Building" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-building+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-building] make kernel of wahoo

2019-03-16 Thread 927002786
*i put below:* 
export ARCH=arm64 
export CROSS_COMPILE_ARM32=aarch64-linux-android- 
PATH=/home/shallin/android9_r22/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin:$PATH
 
make wahoo_defconfig *and then i put "make" ,show like this* 

[image: error.jpg]

how can i do

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.