I've been trying to enable fbtft
module on a minimal buildroot image for an Orangepi zero board. I've enabled it under Device Drivers > Graphics Support > Frame Buffer Devices >
using make linux-menuconfig
.
<M> Support for frame buffer devices --->
<M> Support for small TFT LCD display modules --->
and under latter, i've enabled <m> FB driver for the ILI9340 LCD Controller
too.
.config file contains following:
...
# BR2_LINUX_KERNEL_EXT_EV3DEV_LINUX_DRIVERS is not set
BR2_LINUX_KERNEL_EXT_FBTFT=y
# BR2_LINUX_KERNEL_EXT_AUFS is not set
...
...
# BR2_PACKAGE_FAN_CTRL is not set
BR2_PACKAGE_FBTFT=y
# BR2_PACKAGE_FCONFIG is not set
...
Patching of kernel appears during build process:
if [ -e /some_path/dev/buildroot/buildroot-2023.02.1/output/build/linux-5.15.16/drivers/video/fbdev ]; then dest=drivers/video/fbdev ; else dest=drivers/video ; fi ; mkdir -p /some_path/dev/buildroot/buildroot-2023.02.1/output/build/linux-5.15.16/${dest}/fbtft; cp -dpfr /some_path/dev/buildroot/buildroot-2023.02.1/output/build/fbtft-274035404701245e7491c0c6471c5b72ade4d491/* /some_path/dev/buildroot/buildroot-2023.02.1/output/build/linux-5.15.16/${dest}/fbtft/ ; echo "source \"${dest}/fbtft/Kconfig\"" >> /some_path/dev/buildroot/buildroot-2023.02.1/output/build/linux-5.15.16/${dest}/Kconfig ; echo 'obj-y += fbtft/' >> /some_path/dev/buildroot/buildroot-2023.02.1/output/build/linux-5.15.16/${dest}/Makefile
After building, when I check using make linux-menuconfig
, above options (Support for etc.) are blank again, and image does not contain anything related to fbtft
. No kernel messages whatsoever.
Output of # find /lib/modules/$(uname -r) -type f -name '*.ko*'
:
/lib/modules/5.15.16/extra/xradio_wlan.ko
(I've tried clean build too) What am I missing here?