On Thu, Jan 4, 2018 at 12:39 PM, <arm_ml(a)rirasoft.de> wrote:
last step on my Odroid-Xu4 is console output on the small display at the
Cloudshell (Cloudshell features a 2.2“ TFT LCD with a 320×240 resolution.
The display is controlled by the well-known ILI9340 controller.)
Does the CloudShell have a different/separate device/Ybdevice tree or
are you currently using the XU4 dt?
[root@myodroid ~]# uname -a
Linux myodroid 4.15.0-0.rc4.git3.1.fc28.armv7hl #1 SMP Sat Dec 23 22:10:52
UTC 2017 armv7l armv7l armv7l GNU/Linux (Running with Fedora 27)
[root@myodroid ~]# fbset -fb /dev/dri/card0
geometry 0 -1225101404 -1225318544 1 0
timings 0 0 0 0 0 0 0
[root@myodroid ~]# fbi -d /dev /dri/card0 -i
using "DejaVu Sans Mono-16", pixelsize=16,67
ioctl VT_GETSTATE: Inappropriate ioctl for device (not a linux console?)
[root@myodroid ~]# lsmod | grep drm
tinydrm 24576 0
exynosdrm 163840 0
analogix_dp 32768 1 exynosdrm
drm_kms_helper 155648 3 tinydrm,exynosdrm,analogix_dp
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
fb_sys_fops 16384 1 drm_kms_helper
drm 376832 5 tinydrm,exynosdrm,analogix_dp,drm_kms_helper
cec 53248 2 exynosdrm,s5p_cec
Is there any howto to get this display working with tinydrm? I didn't find
anything beside https://github.com/notro/tinydrm/wiki/Tools
I'm not sure how the ILI9340 is connected, I suspect it's SPI or i2c.
I don't see a driver in drivers/gpu/drm/tinydrm upstream for the
ILI9340 unless the driver goes under a different name.
Ultimately there will need to be a ILI9340 driver plus a means of
enabling it in the DT, or a means of identifying where the display is
connected. We don't currently have that documented as far as I'm
aware, that's not to say someone else hasn't documented it.