Power & Source of Big Ideas

No image on LCD S430 from Fire3

Moderators: chensy, FATechsupport

Hi,

Fire3 boots normally (althrough both LEDs constantly lights ON) with image
s5p6818-friendly-core-xenial-4.4-arm64-YYYYMMDD.img.zip.
I can connect via serial console and over ssh.

Now the problem is that on LCD-S430 (from Fire3 Starter Combo with 4.3" Cap-Touch LCD)
there is no any image (only backlight is on).

How I need to configure settings in Linux to use LCD-S430 for Qt5?
Now after following commands

Code: Select all

root@Fire301:~# sudo qt5demo
Qt5_CinematicExperience: no process found
Unable to query physical screen size, defaulting to 100 dpi.
To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile


no any changes on LCD and command seems hangs.

Below you can find some settings and output from dmesg during boot.

Code: Select all

pi@Fire301:~$ more /etc/friendlyarm-ts-input.conf
TSLIB_TSDEVICE=/dev/touchscreen-1wire
pi@Fire301:~$ more /proc/driver/one-wire-info
0 0 16 0 606A FFFFFFFF
pi@Fire301:~$ grep -Ei "\<ctp=(1|2|3)\>" /proc/cmdline
pi@Fire301:~$ less /proc/cmdline
pi@Fire301:~$ more /proc/cmdline
console=ttySAC0,115200n8 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait init=/sbin
/init loglevel=7 printk.time=1 consoleblank=0 lcd=HDMI720P60 bootdev=2
pi@Fire301:~$ more /etc/ts.conf
module_raw friendlyarm-ts-input
module pthres pmin=1
module variance delta=30
module dejitter delta=10000
module linear
pi@Fire301:~$ more /etc/pointercal
-27 13757 -2071768 -9105 -32 34531248 65536 800 480
pi@Fire301:~$ echo $QTDIR

pi@Fire301:~$ ls -l /usr/nexell-libs/lib64
total 1744
lrwxrwxrwx 1 root root      11 Oct 16 13:54 libEGL.so -> libEGL.so.1
lrwxrwxrwx 1 root root      13 Oct 16 13:54 libEGL.so.1 -> libEGL.so.1.4
lrwxrwxrwx 1 root root      10 Oct 16 13:54 libEGL.so.1.4 -> libMali.so
lrwxrwxrwx 1 root root      17 Oct 16 13:54 libGLESv1_CM.so -> libGLESv1_CM.so.1
lrwxrwxrwx 1 root root      19 Oct 16 13:54 libGLESv1_CM.so.1 -> libGLESv1_CM.so.1.1
lrwxrwxrwx 1 root root      10 Oct 16 13:54 libGLESv1_CM.so.1.1 -> libMali.so
lrwxrwxrwx 1 root root      14 Oct 16 13:54 libGLESv2.so -> libGLESv2.so.2
lrwxrwxrwx 1 root root      16 Oct 16 13:54 libGLESv2.so.2 -> libGLESv2.so.2.0
lrwxrwxrwx 1 root root      10 Oct 16 13:54 libGLESv2.so.2.0 -> libMali.so
-rwxr-xr-x 1 root root 1782080 Oct 16 13:54 libMali.so

root@Fire301:/home/fa/build# ls -l /dev | grep video
crw-rw-rw- 1 root video    29,   0 Mar 11 00:52 fb0
crw-rw-rw- 1 root video    10,  61 Mar 11 00:52 mali
crw-rw---- 1 root video    81,   0 Mar 11 00:52 video14
crw-rw---- 1 root video    81,   1 Mar 11 00:52 video15
root@Fire301:/home/fa/build# ls -l /dev | grep input
drwxr-xr-x 3 root root         140 Mar 11 00:52 input
crw-rw-rw- 1 root input    10, 181 Mar 11 00:52 touchscreen-1wire
crw-rw-rw- 1 root input    10, 185 Mar 11 00:52 ts-if



Some output from dmesg:

Code: Select all

[    0.000000] Kernel command line: console=ttySAC0,115200n8 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait init=/sbin/init loglevel=7 printk.time=1 consoleblank=0 lcd=HDMI720P60 bootdev=2
...
[    2.176000] spu1705 3-002d: found chip 0x4d, rev 1711
[    2.188000] [drm] Initialized drm 1.1.0 20060810
[    2.188000] [drm] Load LVDS panel
[    2.192000] [drm] Load HDMI panel
[    2.196000] [drm] irq 37 install for hdp
[    2.200000] [drm] num of crtcs 2, FB align 1
[    2.204000] [drm] crtc[0]: pipe.0
[    2.204000] [drm] crtc[1]: pipe.1
[    2.208000] [drm] Bind LVDS panel
[    2.212000] nexell,display_drm c0102800.display_drm: bound c0101000.display_drm_lvds (ops 0xffffff8008a3a7d8)
[    2.220000] [drm] Bind HDMI panel
[    2.224000] [drm] HDMI force connected at boot
[    2.228000] nexell,display_drm c0102800.display_drm: bound c0101000.display_drm_hdmi (ops 0xffffff8008a3acf8)
[    2.240000] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.244000] [drm] No driver support for vblank timestamp query.
[    2.248000] [drm] HDMI: connect
[    2.252000] [drm] FB counts = 3, FB vblank Pass fb crtcs 2 [0xff]
[    2.256000] [drm] HDMI: connect
[    2.260000] [drm] framebuffer width(1280), height(720) and bpp(32) buffers(3)
[    2.276000] [drm] Copy splash image from 0x46000000(0xffffff8009d8e000) to 0xffffff8009301000 size 3686400
[    2.324000] HDMI: PHY [Ready Done][0x1] ...
[    2.348000] [drm] request CRTC.35 IRQ 0
[    2.420000] Console: switching to colour frame buffer device 160x45
[    2.448000] nexell,display_drm c0102800.display_drm: fb0:  frame buffer device
[    2.464000] [drm] Initialized nexell 3.0.0 20160219 on minor 0
[    2.468000] Mali: Mali device driver loaded
[    2.472000] Unable to detect cache hierarchy from DT for CPU 0
[    2.484000] brd: module loaded
[    2.504000] loop: module loaded
...
[    3.320000] hub 3-0:1.0: USB hub found
[    3.320000] hub 3-0:1.0: 3 ports detected
[    3.324000] [drm] HDMI: unplug
[    3.324000] [drm] HDMI: disconnect
[    3.324000] [drm] HDMI: disconnect
[    3.324000] [drm] free CRTC.35 IRQ 0
...
[    3.372000] mousedev: PS/2 mouse device common for all mice
[    3.376000] <<-GTP-INFO->> GTP driver installing
[    3.380000] himax_ts 2-0048: Unable to get DevId
[    3.384000] touchscreen-1wire        initialized
[    3.388000] backlight-1wire  initialized
[    3.392000] onewire: REQ 0x60: i2c write error -6
[    3.396000] input: fa_ts_input as /devices/virtual/input/input0
[    3.404000] ts-if    initialized
...
[    3.416000] i2c /dev entries driver
[    3.424000] nx-v4l2 nx-v4l2: nx_v4l2_probe success
[    3.428000] nx-vpu c0080000.video-codec: encoder registered as /dev/video14
[    3.432000] nx-vpu c0080000.video-codec: decoder registered as /dev/video15


Code: Select all

root@Fire301:~# dmesg | grep -i LVDS
[    2.196000] [drm] Load LVDS panel
[    2.216000] [drm] Bind LVDS panel
[    2.216000] nexell,display_drm c0102800.display_drm: bound c0101000.display_drm_lvds (ops 0xffffff8008a3a7d8)


In dmesg:

Code: Select all

[    3.388000] backlight-1wire  initialized
[    3.392000] onewire: REQ 0x60: i2c write error -6



So, what is wrong with my (default) settings now?
How I can fix that?

PS. May be I need to change lcd=HDMI720P60 to value appropriate for my LCD model?


Regards,
Michael
Hi,

Fixed.
It was simple bad contact on FPC cable connector.

Now I can see at least Lubuntu GUI on S430 and

pi@FriendlyELEC:~$ dmesg | grep 'Kernel command line'
[ 0.000000] Kernel command line: console=ttySAC0,115200n8 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait init=/sbin/init loglevel=7 printk.time=1 consoleblank=0 lcd=S430,180dpi bootdev=2

instead default

[ 0.000000] Kernel command line: console=ttySAC0,115200n8 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait init=/sbin/init loglevel=7 printk.time=1 consoleblank=0 lcd=HDMI720P60 bootdev=2


Regards,
Michael

Who is online

In total there are 35 users online :: 0 registered, 0 hidden and 35 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 35 guests