воскресенье, 25 сентября 2016 г.

retropie and waveshare 32b

git clone https://github.com/swkim01/waveshare-dtoverlays.git
sudo cp waveshare-dtoverlays/waveshare32b-overlay.dtb /boot/overlays/waveshare32b.dtbo
 
sudo nano /boot/config.txt
 
dtparam=spi=on
dtoverlay=waveshare32b
 
sudo apt-get install cmake
git clone https://github.com/tasanakorn/rpi-fbcp
cd rpi-fbcp/
mkdir build
cd build/
cmake ..
make
sudo install fbcp /usr/local/bin/fbcp 
 
sudo nano /etc/rc.local
 
/usr/local/bin/fbcp &
 
reboot