I had burnt SD with Mintypi v4, then insert SD in raspberry pi zero and follow your steps:
via Raspi Config (in the Retropie menu)
disable SPI
enable Overscan
reboot
I've done this via SSH
this is meant to be done at the end, but I found I couldnt even get to this point (so I've done it first)
Code: Select all
sudo nano /etc/rc.local
and add this before end
Code: Select all
/home/pi/fbcp-ili9341/build/fbcp-ili9341 &
now just follow these steps
Code: Select all
sudo apt-get install cmake
git clone https://github.com/juj/fbcp-ili9341.git
cd fbcp-ili9341
mkdir build
cd build
cmake -DSPI_BUS_CLOCK_DIVISOR=6 -DILI9341=ON -DARMV8A=ON -DGPIO_TFT_DATA_CONTROL=24 -DGPIO_TFT_RESET_PIN=25 -DSTATISTICS=0 -DDISPLAY_ROTATE_180_DEGREES=ON ..
make -j
sudo ./fbcp-ili9341 &
This is the squence:
pi@retropie:/boot $ sudo nano /etc/rc.local
pi@retropie:/boot $ sudo nano /etc/rc.local
pi@retropie:/boot $ sudo apt-get install cmake
Reading package lists... Done
Building dependency tree
Reading state information... Done
cmake is already the newest version.
The following packages were automatically installed and are no longer required:
libasn1-8-heimdal libfile-copy-recursive-perl libhcrypto4-heimdal
libhdb9-heimdal libheimbase1-heimdal libhx509-5-heimdal
libkrb5-26-heimdal libroken18-heimdal libwind0-heimdal
python-dnspython samba-dsdb-modules tdb-tools update-inetd
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 20 not upgraded.
pi@retropie:/boot $
pi@retropie:/boot $ git clone
https://github.com/juj/fbcp-ili9341.git
fatal: could not create work tree dir 'fbcp-ili9341'.: Permission denied
pi@retropie:/boot $
pi@retropie:/boot $ cd fbcp-ili9341
-bash: cd: fbcp-ili9341: No such file or directory
pi@retropie:/boot $
pi@retropie:/boot $ mkdir build
mkdir: cannot create directory ‘build’: Permission denied
pi@retropie:/boot $
pi@retropie:/boot $ cd build
-bash: cd: build: No such file or directory
pi@retropie:/boot $
pi@retropie:/boot $ cmake -DSPI_BUS_CLOCK_DIVISOR=6 -DILI9341=ON -DARMV6Z=ON -DGPIO_TFT_DATA_CONTROL=24 -DGPIO_TFT_RESET_PIN=25 -DSTATISTICS=0 -DDISPLAY_ROTATE_180_DEGREES=ON ..
CMake Error: The source directory "/" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
pi@retropie:/boot $
pi@retropie:/boot $ make -j
make: *** No targets specified and no makefile found. Stop.
pi@retropie:/boot $
pi@retropie:/boot $ sudo ./fbcp-ili9341 &
[1] 1067
pi@retropie:/boot $ sudo: ./fbcp-ili9341: command not found
[1]+ Exit 1 sudo ./fbcp-ili9341
Now i have white screen and doesn't work...