# Module for kernel "5.16.17-sun50iw9" (Official Debian image v.3.0.0) # NOTE: Used SPI1-CS0 for LCD! # Thx to: https://www.kancloud.cn/lichee/lpi0/539002 !!! BUG: Red and Blue colors are mixed up !!! ### Install: cp *.ko /lib/modules/5.16.17-sun50iw9/kernel/drivers/staging/fbtft/ depmod orangepi-add-overlay ili9488.dts sync reboot ### For build kernel module: git clone --branch orange-pi-5.16-sunxi64 https://github.com/orangepi-xunlong/linux-orangepi.git # Copy/replace files in drivers/staging/fbtft/ make LOCALVERSION='-sun50iw9' oldconfig make LOCALVERSION='-sun50iw9' prepare make LOCALVERSION='-sun50iw9' M=drivers/staging/fbtft/ cp drivers/staging/fbtft/*.ko /lib/modules/5.16.17-sun50iw9/kernel/drivers/staging/fbtft/ depmod