Hi, 1st post and would like to share a procedure in how to get the Ili9488 3.9" 480x320 LCD Display to work with your Pi. I've tested this on Pi1 and Pi3 running Raspbian Jessie Lite; safe to say that it will work with all versions as well.
The 3.9" 9488 LCD has no touch, bright, clear and is cheap with one caveat. It is currently very slow and is unusable for gaming as it is driven via parallel bus with gpiolib. I'm posting this also so that others may chime in on how to do improvement on the kernel for this display. The discussion linked below mentions fbtft optimization by Notro (thank you) which involves compiling a kernel which unfortunately, is alien to me.
https://github.com/notro/fbtft/issues/311
Please comment if there are errors on the procedure below, and thank you all. So on with the show:
To make The Ili9488 3.9" LCD display work with the Raspberry Pi running Raspbian Jessie Lite (Tested on Pi1 B+ and Pi3 B+; should also work with pi2 & Zero) follow these steps:
1) Create a new file in modules-load.d called fbtft.conf with command:
Code: Select all
sudo nano /etc/modules-load.d/fbtft.conf
and add the following lines:
Code: Select all
spi-bcm2835
flexfb
fbtft_device
Save and exit ctrl+o > enter > ctrl+x
2) create a new file in modprobe.d also called fbtft.conf with command:
Code: Select all
sudo nano /etc/modprobe.d/fbtft.conf
and add the following lines (DISABLE WORDWRAP IF COPY/PASTING FROM NOTEPAD. THE FF SHOULD ONLY BE TWO LINES BEGINNING WITH "OPTIONS"):
Code: Select all
options fbtft_device name=flexpfb rotate=180 fps=60 gpios=dc:18,reset:7,wr:17,cs:4,db00:22,db01:23,db02:24,db03:10,db04:25,db05:9,db06:11,db07:8
options flexfb width=480 height=320 buswidth=8 init=-1,0xb0,0x0,-1,0x11,-2,120,-1,0x3A,0x55,-1,0xC2,0x33,-1,0xC5,0x00,0x1E,0x80,-1,0x36,0x28,-1,0xB1,0xB0,-1,0xE0,0x00,0x04,0x0E,0x08,0x17,0x0A,0x40,0x79,0x4D,0x07,0x0E,0x0A,0x1A,0x1D,0x0F,-1,0xE1,0x00,0x1B,0x1F,0x02,0x10,0x05,0x32,0x34,0x43,0x02,0x0A,0x09,0x33,0x37,0x0F,-1,0x11,-1,0x29,-3
Save and exit ctrl+o > enter > ctrl+x
3) Open cmdline.txt in the editor
Code: Select all
sudo nano /boot/cmdline.txt
and add this BEFORE the "rootwait" parameter, making sure of the spaces before and after the added line:
Code: Select all
fbcon=map:10 fbcon=font:VGA8x8 FRAMEBUFFER=/dev/fb1
Save and exit ctrl+o > enter > ctrl+x
4) Install framebuffer drivers:
Code: Select all
sudo apt-get install xserver-xorg-video-fbdev
5) Create new x config file with command:
Code: Select all
sudo nano /usr/share/X11/xorg.conf.d/99-fbdev.conf
and add the following lines:
Code: Select all
Section "Device"
Identifier "myfb"
Driver "fbdev"
Option "fbdev" "/dev/fb1"
EndSection
Save and exit ctrl+o > enter > ctrl+x
Check your work then Reboot your Pi.
sudo reboot
Special thanks to the following for the info:
https://www.youtube.com/watch?v=TyqHsEw4ids
https://github.com/notro/fbtft/issues/311
viewtopic.php?f=91&t=95366 (SEE END)
http://raspberrypi.stackexchange.com/qu ... ft-ili9488