This is an old revision of the document!
Auto startx
Add following lines in “/etc/modprobe.d/lcd35.conf” file.
options fbtft_device name=flexpfb rotate=270 options flexfb chip=ili9488
Add following lines in “/etc/modules” file.
aml_i2c pwm-meson pwm-ctrl fbtft_device flexfb sx865x
Create a new config file
sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.old
Add following lines in “/etc/X11/xorg.conf” file.
Section "Device" Identifier "C fbdev" Driver "fbdev" Option "fbdev" "/dev/fb2" EndSection
Reboot
sudo reboot