Open jmbott opened 5 years ago
This driver works, https://github.com/juj/fbcp-ili9341
sudo apt-get install cmake
mkdir ~/display && cd ~/display
git clone https://github.com/juj/fbcp-ili9341.git
cd fbcp-ili9341/
mkdir build
cd build/
cmake -DSPI_BUS_CLOCK_DIVISOR=6 -DTONTEC_MZ61581=ON ..
make -j
sudo ./fbcp-ili9341
sudo vim /boot/config.txt
# uncomment if hdmi display is not detected and composite is being output
hdmi_force_hotplug=1
# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1
hdmi_group=2
hdmi_mode=87
hdmi_cvt=480 320 60 1 0 0 0
sudo vim /etc/rc.local
sudo /home/pi/display/fbcp-ili9341/build/fbcp-ili9341 &
sudo reboot
old display driver not working
calibration not working too https://github.com/tias/xinput_calibrator/blob/master/scripts/xinput_calibrator_pointercal.sh
Old files no longer exist, http://s3.amazonaws.com/ttbox/35screen.zip http://s3.amazonaws.com/ttbox/35calibrate.zip
Some truth in old configs/guides. https://davies-barnard.co.uk/2015/07/07/tontec-touch-screen-set-up/ http://www.colegate.net/setting-up-a-raspberry-pi-with-a-tontec-tft-3-5-screen-model-mz61581/
New device tree overlay in raspbian may work too.
Old overlays, https://github.com/recalbox/linux/blob/b40632ec688273b41990116a3a7704ee6175820a/arch/arm/boot/dts/mz61581-overlay.dts