Hellooooooo i try to make a port (downstream) for the Realme C21Y rmx3263 but the compilatioon of the kernel fail with an error who is not explain in the wiki so i was wondering if someone knows something :

`Error: ../arch/arm64/boot/dts/sprd/ums512-w27v1.dts:1044.1-15 Label or path modem_dbg_log not found
 FATAL ERROR: Syntax error parsing input tree
 make[3]: *** [scripts/Makefile.lib:317: arch/arm64/boot/dts/sprd/ums512-w27v1.dtb] Error 1
 make[2]: *** [../scripts/Makefile.build:676: arch/arm64/boot/dts/sprd] Error 2
 make[1]: *** [arch/arm64/Makefile:201: dtbs] Error 2
 make[1]: *** Waiting for unfinished jobs....
 ../drivers/gpio/gpio-brcmstb.c: In function 'brcmstb_gpio_irq_bank_handler':
 ../drivers/gpio/gpio-brcmstb.c:220:49: error: 'struct gpio_chip' has no member named 'irqdomain'
   220 |         struct irq_domain *irq_domain = bank->gc.irqdomain;
       |                                                 ^
 make[3]: *** [../scripts/Makefile.build:361: drivers/gpio/gpio-brcmstb.o] Error 1
 make[2]: *** [../scripts/Makefile.build:676: drivers/gpio] Error 2
 make[2]: *** Waiting for unfinished jobs....
 make[1]: *** [/home/pmos/build/src/realme_C21Y-AndroidR-kernel-source-3e85eafa35a4915079900d50834fb184a05c65db/Makefile:1163: drivers] Error 2
 make: *** [Makefile:146: sub-make] Error 2
 >>> ERROR: linux-realme-rmx3263: build failed`
image of the phone
you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 4 days ago

https://www.kernelconfig.io/CONFIG_GPIO_BRCMSTB?q=gpio-brcmstb&kernelversion=7.3.1&arch=arm64

Just disable that and get the kernel to build. Then try to fix the issues.

The GPIO is probably used for thermals sensors and physical buttons, perhaps some other sensors, so don't be suprised when those don't work.

  • source
  • parent