RetroPie image + WaveShare LCD 3.5(A) git clone https://github.com/swkim01/waveshare-dtoverlays.git sudo cp waveshare-dtoverlays/waveshare35a-overlay.dtb /boot/overlays/ sudo nano /boot/config.txt 加在/boot/config.txt最下面2行 dtparam= spi= on dtoverlay= waveshare35a reboot reboot後檢查 ls /dev/fb* 如果有發現/dev/fb0跟/dev/fb1 那/dev/fb1就是3.5LCD了 編譯fbcp 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 在exit 0 前面加入 /usr/ local /bin/fbcp & 存檔完reboot 就可以了 如果買的是3.2b 把上面35a都改成32b即可 git抓下只有這兩款 , 如果是4吋的不知道能不能用 完成後ssh連不進去 , 應該是輸出的問題 . 我沒研究 ... 官網的驅動 https://github.com/MCUapps/waveshare-3.5-Spotpear-for-Rpi 裡面的方法對RetroPie的image會有rpi-update出現ca的錯誤裝不起來 參考 https://retropie.org.uk/forum/topic/295/retropie-and-waveshare-32b/2 另一方法 modprobe flexfb width=320 height=480 regwidth=16 init=-1,0xb0,0x0,-1,0x11,-2,250,-1,0x3A,0...
留言