make kernel of wahoo

305 views
Skip to first unread message

9270...@qq.com

unread,
Mar 16, 2019, 11:37:49 AM3/16/19
to Android Building
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 

error.jpg

how can i do


Alessio Balsini

unread,
Mar 18, 2019, 10:28:32 AM3/18/19
to android-...@googlegroups.com
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


--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@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-buildi...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Saurabh Sakhare

unread,
Mar 18, 2019, 10:28:34 AM3/18/19
to android-...@googlegroups.com
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


Saurabh Sakhare

unread,
Mar 21, 2019, 11:28:45 AM3/21/19
to android-...@googlegroups.com
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
  CALL    scripts/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

Reply all
Reply to author
Forward
0 new messages