Page 1 of 1

Including the device tree for TFT touch screen

Posted: Tue Sep 26, 2017 2:25 pm
by pijke
Hello!

I'm new to working with RedPitaya's and I am trying to add the MI0283QT Adapter Rev 1.5 touch TFT screen as a display for a RedPitaya STEMlab 125-14 (with software version 0.96-86). To do that, I'm using this tutorial: https://redpitaya.readthedocs.io/en/lat ... t/TFT.html

I followed the tutorial, but at a certain point it says:

Code: Select all

The reconfiguration is performed by including the tft-E2.dtsi device tree.
How and where do I add the device tree? I can't find it anywhere. I tried to get it to work without it, but it keeps crashing when I execute startx.

Code: Select all

X.Org X Server 1.18.4
Release Date: 2016-07-19
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.4.0-89-generic armv7l Ubuntu
Current Operating System: Linux rp-f0211a 4.4.0-xilinx #1 SMP PREEMPT Thu Sep 8 04:50:50 CEST 2016 armv7l
Kernel command line: console=ttyPS0,115200 root=/dev/mmcblk0p2 ro rootfstype=ext4 earlyprintk rootwait uio_pdrv_genirq.of_id=generic-uio
Build Date: 09 August 2017  09:40:26PM
xorg-server 2:1.18.4-0ubuntu0.4 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.33.6
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Sep 26 11:00:22 2017
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) no screens found(EE)
(EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
I have attached the log as an attachment.

I found the device trees (https://github.com/RedPitaya/RedPitaya/ ... ga/dts/tft) but i couldn't find the location where I can add them so the screen works.

Thank you very much in advance.

best regards,
Pijke

Re: Including the device tree for TFT touch screen

Posted: Tue Oct 17, 2017 3:56 pm
by amike88
Hi,

take a look at this branch. The support for display is already added.

best of luck