Google Pixel 3a XL >> LineageOS

解決"Input tree has errors, aborting"問題


參考資訊:
1. kernel_google_msm-4.9_KernelSU

問題如下:

To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
  CHK     include/generated/compile.h
  UPD     include/generated/compile.h
  CC      init/version.o
  LD      init/built-in.o
  KSYM    .tmp_kallsyms1.o
  KSYM    .tmp_kallsyms2.o
  LD      vmlinux
  SORTEX  vmlinux
  SYSMAP  System.map
  DTC     arch/arm64/boot/dts/google/../qcom/sdm670.dtb
  DTC     arch/arm64/boot/dts/google/sdm670-b4-dev.dtbo
ERROR: Input tree has errors, aborting (use -f to force output)
make[2]: *** [scripts/Makefile.dtbo:24: arch/arm64/boot/dts/google/sdm670-b4-dev.dtbo] Error 2
make[1]: *** [scripts/Makefile.build:656: arch/arm64/boot/dts/google] Error 2
make: *** [arch/arm64/Makefile:217: dtbs] Error 2

解法如下:必須使用LineageOS的dtc compiler

$ cd
$ wget https://github.com/steward-fu/website/releases/download/pixel-3a-xl/lineageos_linux-x86.tar.gz
$ tar xvf lineageos_linux-x86.tar.gz
$ export PATH=~/linux-x86/bin/:$PATH

$ dtc --version
    Version: DTC 1.6.0-Android-build


返回上一頁