Hi! I’d like to use a JDI LT070ME05000 IPS display panel in my project with a RaspberryPi CM4 module. This is a 4-lane DSI panel, which I managed to get running on a RaspberryPi OS, by recompiling the 5.10 kernel and enabling a module for it.
I have seen the GitHub - balena-os/kernel-module-build: Example project for building an OOT kernel module in balena repository, but my attempts to build a module from sources at linux/panel-jdi-lt070me05000.c at rpi-5.10.y · raspberrypi/linux · GitHub failed with an error:
gcc: error: unrecognized command line option '-mstack-protector-guard=sysreg'; did you mean '-fstack-protector-strong'? gcc: error: unrecognized command line option '-mstack-protector-guard-reg=sp_el0'; did you mean '-fstack-protector-all'? gcc: error: unrecognized command line option '-mstack-protector-guard-offset=1336'; did you mean '-fstack-protector-strong'? make: *** [scripts/Makefile.build:266: /usr/src/app/output/panel-jdi-lt070me05000_raspberrypicm4-ioboard_2.71.3+rev5.prod/panel-jdi-lt070me05000.o] Error 1 make: *** [Makefile:1732: /usr/src/app/output/panel-jdi-lt070me05000_raspberrypicm4-ioboard_2.71.3+rev5.prod] Error 2
I also tried using RaspberryPi 4 device type when provisioning my device, thinking the module would be already included in the kernel, as it was newer than the one in RaspberryPi CM4IO, but my device wasn’t appearing in the devices list when it was powered on.
I am really new to the kernel stuff, so I apologize if I was mistaken in something. Thanks!