MiCode / Xiaomi_Kernel_OpenSource

Xiaomi Mobile Phone Kernel OpenSource
8.6k stars 3.17k forks source link

Camellia kernel source is broken #2357

Open pjgowtham opened 2 years ago

pjgowtham commented 2 years ago

As usual cust.dtsi is missing but its unlikely that its the issue

You have 3 touchpanel drivers for the same touchpanel ( wherein two of them starts building automatically - one hardcoded and one built cos of defconfig). The third one being unmodified novatek driver. None of this fixes the kernel and it end up either bricking or bootlooping.

There is also missing drivers for certain touchpanels and sensors. Here's a diff between your stock camellia defconfig and the generated defconfig. Kindly sync the source with your working tree or even better release camellia-s-oss source early.

Gesture mode is breaking touch in TWRP and without working kernel source, i wonder if it can be fixed. Kindly update your s sources to avoid touchpanel bugs for TWRP.

pjgowtham commented 2 years ago

diff_stock_generated.txt

z-nerd commented 4 months ago

DTC arch/arm64/boot/dts/mediatek/camellia.dtb 9 ../arch/arm64/boot/dts/mediatek/camellia.dts:457:10: fatal error: 'camellia/cust.dtsi' file not found 10 #include <camellia/cust.dtsi> 11 ^~~~~~~~ 12 1 error generated. 13 make[3]: [scripts/Makefile.lib:321: arch/arm64/boot/dts/mediatek/camellia.dtb] Error 1 14 make[2]: [../scripts/Makefile.build:671: arch/arm64/boot/dts/mediatek] Error 2 15 make[1]: *** [arch/arm64/Makefile:194: dtbs] Error 2

I can't compile kernel with above error because of cust.dtsi didn't exit is source code!