Advertisement
saper_2

mcufriend 3.95 tftlcd raspberry pi 3 raspbian 8

Apr 6th, 2017
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.61 KB | None | 0 0
  1. Tested on Raspberry Pi 3.
  2. Display: 3.95" tftlcd for raspberry pi
  3. Manufacturer: http://mcufriend.com
  4.  
  5. Using fbflex fbtft driver with Kernel 4.4 & Raspbian (full sys image) 8.0+
  6.  
  7. SSH console log:
  8.  
  9. pi@rpiv3:~ $ uname -a
  10. Linux rpiv3 4.4.50-v7+ #970 SMP Mon Feb 20 19:18:29 GMT 2017 armv7l GNU/Linux
  11. pi@rpiv3:~ $ cat /etc/debian_version
  12. 8.0
  13. pi@rpiv3:~ $ cd /etc/modprobe.d
  14. pi@rpiv3:/etc/modprobe.d $ ls
  15. blacklist-libnfc.conf blacklist-rtl8xxxu.conf fbtft_device.conf ipv6.conf raspi-blacklist.conf
  16. blacklist-rtl8192cu.conf fbdev-blacklist.conf flexfb.conf libpisock9.conf
  17. pi@rpiv3:/etc/modprobe.d $ cat fbtft_device.conf
  18. 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
  19. pi@rpiv3:/etc/modprobe.d $ cat flexfb.conf
  20. 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
  21. pi@rpiv3:/etc/modprobe.d $ cat /etc/modules
  22. # /etc/modules: kernel modules to load at boot time.
  23. #
  24. # This file contains the names of kernel modules that should be loaded
  25. # at boot time, one per line. Lines beginning with "#" are ignored.
  26.  
  27. i2c-dev
  28. fbtft_device
  29. flexfb
  30. pi@rpiv3:/etc/modprobe.d $ cat /boot/cmdline.txt
  31. dwc_otg.lpm_enable=0 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes fbcon=map:10 fbcon=rotate:3 rootwait
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement