Discussion

Use Adafruit PITft Screen on Bananapi

6 5882
FishX  
Step1ownload & Install the Newest kernel in Lubuntu(use default config when compile kernel,kernelversion:3.4.103)
Link :http://pan.baidu.com/s/1c0gYRzM Password:z9xx
Step2:enable kernel driver module
nano /etc/modules
add two lines at the bottom
spi-sun7i
fbtft_device name=pitft rotate=90
Step3:enable console display
nano uEnv.txt
add fbcon=map:2 before rootwait
Step4:reboot & enjoy it
QQ图片20141018140742.jpg
tjCFeng  
Very good. How much is the screen?

Cosine  
Very good。

Dante2x  
Could you please be a little bit more precise on how to do it? So what ressources did you use? What did you do with your provided file and so on. Just saying: "compile the kernel" is like saying: "make the tft work and your done"

FishX  
Dante2x replied at Sun Nov 9, 2014 18:36
Could you please be a little bit more precise on how to do it? So what ressources did you use? What  ...

You can just use the newest Lubuntu image. it patched fbtft driver,then follow my settings,just do it easy

palsbo  
Edited by palsbo at Tue Feb 17, 2015 03:33

I have installed the image  "Raspbian For BananaPi v1412" and following the above instruction (starting with modifying /etc/modules), and it works for console output on PiTFT.
When the load reach the xterm start, the screen get blanc and nothing more happens.
I assume I have to change the script.bin in /boot but need help for this purpose.
(I have tried to change script.bin in order to use the composit output, at it works well.)
please advice!

palsbo  
Edited by palsbo at Tue Feb 17, 2015 06:52

UPDATE:
I changed the file /usr/share/X11/xorg.conf.d/99-fbturbo.conf:
from
option "fbdev" "/dev/fb0"
to
option "fbdev" "/dev/fb2"
and this gives me boot into the desktop.
Remaining problem is to activate the touchscreen.

You have to log in before you can reply Login | Sign Up

Points Rules