$ sudo modprobe flexfb width=320
height=240 buswidth=8 init=\
-1,0x01,-2,5,\
-1,0x28,\
-1,0x36,0x08,\
-1,0x3A,0x55,\
-1,0x21,\
-1,0x11,-2,100,\
-1,0x29,-2,20,\
-3
$ sudo modprobe fbtft_device name=flexpfb \
gpios=reset:6,dc:11,wr:21,cs:12,db00:7,db01:8,db02:9,db03:10,db04:20,db05:200,db06:201,db07:198
$ fbset -i -fb /dev/fb2
mode "320x240"
geometry 320 240 320 240 16
timings 0 0 0 0 0 0 0
nonstd 1
rgba 5/11,6/5,5/0,0/0
endmode
Frame buffer device information:
Name : flexfb
Address : 0
Size : 153600
Type : PACKED
PIXELS
Visual :
TRUECOLOR
XPanStep : 0
YPanStep : 0
YWrapStep : 0
LineLength : 640
Accelerator : No
$ con2fbmap 1 2 |