$ 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:4,dc:3,wr:7,cs:2,db00:5,db01:6,db02:13,db03:19,db04:26,db05:12,db06:16,db07:20
$ fbset -i -fb /dev/fb1
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 1
|