arter97 / android_kernel_oneplus_sm8150

Other
66 stars 32 forks source link

Missing property '#cooling-cells' during kernel complication #4

Closed bnt2025 closed 4 years ago

bnt2025 commented 4 years ago

Hello,

I am getting the following error running ./build_kernel.sh -j11.

  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CHK     scripts/mod/devicetable-offsets.h
  CHK     include/generated/timeconst.h
  CHK     include/generated/bounds.h
  CHK     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  CHK     kernel/config_data.h
  DTC     arch/arm64/boot/dts/qcom/sm8150-v2.dtb
arch/arm64/boot/dts/qcom/sm8150-v2.dtb: Warning (cooling_device_property): Missing property '#cooling-cells' in node /soc/qcom,mdss_mdp@ae00000 or bad phandle (referred from /soc/thermal-zones/pop-mem-test/cooling-maps/pop_test_cdev4:cooling-device[0])
  DTC     arch/arm64/boot/dts/qcom/guacamole-overlay-pvt.dtbo
  DTC     arch/arm64/boot/dts/qcom/guacamole-sdx50m-overlay-pvt.dtbo
Error: arch/arm64/boot/dts/qcom/pm8150.dtsi:21.1-10 syntax error
FATAL ERROR: Unable to parse input tree
scripts/Makefile.dtbo:24: recipe for target 'arch/arm64/boot/dts/qcom/guacamole-overlay-pvt.dtbo' failed
make[2]: *** [arch/arm64/boot/dts/qcom/guacamole-overlay-pvt.dtbo] Error 1
make[2]: *** Waiting for unfinished jobs....
Error: arch/arm64/boot/dts/qcom/pm8150.dtsi:21.1-10 syntax error
FATAL ERROR: Unable to parse input tree
scripts/Makefile.dtbo:24: recipe for target 'arch/arm64/boot/dts/qcom/guacamole-sdx50m-overlay-pvt.dtbo' failed
make[2]: *** [arch/arm64/boot/dts/qcom/guacamole-sdx50m-overlay-pvt.dtbo] Error 1
scripts/Makefile.build:676: recipe for target 'arch/arm64/boot/dts/qcom' failed
make[1]: *** [arch/arm64/boot/dts/qcom] Error 2
arch/arm64/Makefile:221: recipe for target 'dtbs' failed
make: *** [dtbs] Error 2
make: *** Waiting for unfinished jobs....
  CC      drivers/staging/qcacld-3.0/core/hdd/src/wlan_hdd_main.o
  AR      drivers/staging/qcacld-3.0/wlan.o
  AR      drivers/staging/qcacld-3.0/built-in.o
  AR      drivers/staging/built-in.o
  AR      drivers/built-in.o

Can you provide any help with?

Thank you in advance.

arter97 commented 4 years ago

Install the latest dtc manually and put it in your $PATH

bnt2025 commented 4 years ago

Perfect thank you, manage to compile after;

git clone git://git.kernel.org/pub/scm/utils/dtc/dtc.git
cd dtc
make -j11
export PATH=$PATH:$(pwd)

dtc went from version 1.4.5 to 1.6.0-g9d7888cb.

Thanks again