Compiled fbtft for Oprange Pi PC:
goo.gl/rokH6M
Archive contains the kernel modules (for all LCD) and compiled several useful programs for fbdev.
Tested on cheap Arduino LCD from banggood (SKU 940735). Spfd5408 chip is almost ILI9341. The connection is the same as by snowbody
CS (LOW) -> 35
DC (CD, RS) -> 11
WR -> 15
RD (HIGH) -> 1
RESET -> 37
D0 -> 13
D1 -> 10
D2 -> 22
D3 -> 26
D4 -> 28
D5 -> 27
D6 -> 31
D7 -> 33
as root:
rmmod gpio_sunxi (if necessary)
modprobe fbtft_device custom name=flexpfb gpios=reset:20,dc:1,wr:3,cs:10,db00:0,db01:14,db02:2,db03:21,db04:18,db05:19,db06:8,db07:9
modprobe flexfb width=320 height=240 buswidth=8 init=\
-1,0x01,-2,5,-1,0x28,-2,20,-1,0xCF,0x00,0x83,0x30,-1,0xED,0x64,0x03,0x12,0x81,-1,0xE8,0x85,0x01,0x79,\
-1,0xCB,0x39,0x2c,0x00,0x34,0x02,-1,0xF7,0x20,-1,0xEA,0x00,0x00,-1,0xC0,0x26,-1,0xC1,0x11,\
-1,0xC5,0x35,0x3E,-1,0xC7,0xBE,-1,0xB1,0x00,0x1B,-1,0xB6,0x0a,0x82,0x27,0x00,-1,0xB7,0x07,\
-1,0x3A,0x55,-1,0x36,0x38,-1,0x11,-2,120,-1,0x29,-2,20,-3
or etc modules, respectively modprobe.d blacklist |