This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/PROCESSOR-SDK-AM335X: Matrix GUI fails to start

Part Number: PROCESSOR-SDK-AM335X
Other Parts Discussed in Thread: DP83848C, AM3352, TPS65910

Tool/software: Linux

Hello,

I am using custom AM335x board with LCD.

When I do cat "Image.name" > /dev/fb0, I can see the image properly on the LCD.

But  when I start Matrix GUI application, it is not running on the LCD screen, Screen is only showing "please wait..."

/------------------- Start Matrix GUI application ------------------------/

/etc/init.d/matrix-gui-2.0 start
/home/root
Removing stale PID file /var/run/matrix-gui-2.0.pid.
Starting Matrix GUI application.

/---------------------------------------------------------------------------------/

My LCD parameter in DTS file.

/------------------- Entry  in DTS file------------------------/

panel {
                compatible = "ti,tilcdc,panel";
                status = "okay";
                pinctrl-names = "default";
                pinctrl-0 = <&lcd_pins_s0>;
                panel-info {
                        ac-bias           = <255>;
                        ac-bias-intrpt    = <0>;
                        dma-burst-sz      = <16>;
                        bpp               = <32>;
                        fdd               = <0x80>;
                        sync-edge         = <1>;
                        sync-ctrl         = <1>;
                        raster-order      = <0>;
                        fifo-th           = <0>;
                };

                display-timings {
                        480x272 {
                                clock-frequency = <9000000>;
                                hactive = <480>;
                                vactive = <272>;
                                hfront-porch = <5>;
                                hback-porch = <40>;
                                hsync-len = <24>;
                                vback-porch = <8>;
                                vfront-porch = <8>;
                                vsync-len = <2>;
                                hsync-active = <0>;
                                vsync-active = <0>;
                        };
                };
        };

/--------------------------------------------------------------------/

Please do the needful.

Regards,

-- Ronak

  • What Linux version is this?
  • Hello,

    We are using 4.4.32 version of linux.
    Is matrix GUI application which is showing on LCD depends on any linux version?
    If yes than please let me know in which linux version needed?
    If no than please give some guidance to run GUI application on LCD?

    Regards,
    -- Ronak
  • Thanks, I have notified the software team. They will respond here.
  • Okay.
    Thank You for your quick response.
    I will wait for the response.

    Regards,
    -- Ronak
  • Hi,

    Can you kill weston process. Then execute the following (from your terminal):
    weston
    /etc/init.d/matrix-gui-2.0 start

    Post your console output in case of failure. Also it would be good if you attach the full bootlog.

    Best Regards,
    Yordan
  • Hello,

    Thank you for your response.

      Here I am attaching two photos of LCD

    1). while booting -- LCD activity while booting

    2). After booting -- LCD activity after booting

    In the boot log I can see the weston and matrix services started. But when I fire ps -aux, I can't see any process running .

    For Weston  process I can't see in ps -aux, so I stop the service using "/etc/init.d/weston  stop"

    /------------------------------------------------------ On the Terminal --------------------------------------------/

    root@am335x-evm:~# /etc/init.d/weston stop

    Stopping Weston

    root@am335x-evm:~# weston

    Date: 2017-04-19 UTC

    [09:05:18.141] weston 1.9.0

                 Bug reports to:

                 Build: 1.8.93-2-gb05cdb8 configure.ac: bump to version 1.9.0 for the official release (2015-09-21 18:11:26 -0700)

    [09:05:18.142] OS: Linux, 4.4.32-gadde2ca9f8, #40 PREEMPT Tue Apr 18 11:55:54 IST 2017, armv7l

    [09:05:18.146] Using config file '/etc//weston.ini'

    [09:05:18.149] Loading module '/usr/lib/weston/wayland-backend.so'

    [09:05:18.150] Failed to load module: /usr/lib/weston/wayland-backend.so: cannot open shared object file: No such file or directy

    root@am335x-evm:~# /etc/init.d/weston start

    root@am335x-evm:~# /etc/init.d/matrix-gui-2.0 start

    /home/root

    Removing stale PID file /var/run/matrix-gui-2.0.pid.

    Starting Matrix GUI application.

    root@am335x-evm:~#

    /-------------------------------------------------------------------------------------------------------------------/

    /--------------------------------------------- Boot log -------------------------------------------------------/

    Starting kernel ...

    [    0.000000] Booting Linux on physical CPU 0x0

    [    0.000000] Initializing cgroup subsys cpu

    [    0.000000] Initializing cgroup subsys cpuacct

    [    0.000000] Linux version 4.4.32-gadde2ca9f8 (root@AHMCPU1852) (gcc version 4.9.3 20150413 (prerelease) (Linaro GCC 4.9-2015.7

    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d

    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache

    [    0.000000] Machine model: TI AM335x EVM

    [    0.000000] cma: Reserved 48 MiB at 0x8b800000

    [    0.000000] Memory policy: Data cache writeback

    [    0.000000] CPU: All CPU(s) started in SVC mode.

    [    0.000000] AM335X ES2.1 (neon )

    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64960

    [    0.000000] Kernel command line: console=ttyS0,115200n8 root=/dev/nfs nfsroot=10.99.8.101:/opt/nfs/AM335x_BIG,nolock rw ip=dhp

    [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)

    [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)

    [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)

    [    0.000000] Memory: 200328K/262144K available (6579K kernel code, 324K rwdata, 2372K rodata, 268K init, 265K bss, 12664K rese)

    [    0.000000] Virtual kernel memory layout:

    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)

    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)

    [    0.000000]     vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)

    [    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)

    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)

    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)

    [    0.000000]       .text : 0xc0008000 - 0xc08c6034   (8953 kB)

    [    0.000000]       .init : 0xc08c7000 - 0xc090a000   ( 268 kB)

    [    0.000000]       .data : 0xc090a000 - 0xc095b160   ( 325 kB)

    [    0.000000]        .bss : 0xc095b160 - 0xc099d930   ( 266 kB)

    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1

    [    0.000000] Preemptible hierarchical RCU implementation.

    [    0.000000]  Build-time adjustment of leaf fanout to 32.

    [    0.000000] NR_IRQS:16 nr_irqs:16 16

    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts

    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz

    [    0.000013] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns

    [    0.000032] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns

    [    0.000041] OMAP clocksource: timer1 at 24000000 Hz

    [    0.000186] clocksource_probe: no matching clocksources found

    [    0.000346] Console: colour dummy device 80x30

    [    0.000381] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)

    [    0.089244] pid_max: default: 32768 minimum: 301

    [    0.089355] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)

    [    0.089365] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)

    [    0.089964] Initializing cgroup subsys io

    [    0.089990] Initializing cgroup subsys memory

    [    0.090022] Initializing cgroup subsys devices

    [    0.090035] Initializing cgroup subsys freezer

    [    0.090047] Initializing cgroup subsys perf_event

    [    0.090059] Initializing cgroup subsys pids

    [    0.090081] CPU: Testing write buffer coherency: ok

    [    0.090441] Setting up static identity map for 0x80008200 - 0x80008258

    [    0.092236] devtmpfs: initialized

    [    0.102870] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3

    [    0.115596] omap_hwmod: debugss: _wait_target_disable failed

    [    0.170287] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns

    [    0.173836] pinctrl core: initialized pinctrl subsystem

    [    0.174958] NET: Registered protocol family 16

    [    0.176793] DMA: preallocated 256 KiB pool for atomic coherent allocations

    [    0.199235] cpuidle: using governor ladder

    [    0.229224] cpuidle: using governor menu

    [    0.233001] OMAP GPIO hardware version 0.1

    [    0.240614] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/nandflash_pie

    [    0.242924] hw-breakpoint: debug architecture 0x4 unsupported.

    [    0.276316] edma 49000000.edma: TI EDMA DMA engine driver

    [    0.279966] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pie

    [    0.280019] omap_i2c 4819c000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c2_pie

    [    0.280133] media: Linux media interface: v0.10

    [    0.280184] Linux video capture interface: v2.00

    [    0.280226] pps_core: LinuxPPS API ver. 1 registered

    [    0.280232] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>

    [    0.280257] PTP clock support registered

    [    0.280306] EDAC MC: Ver: 3.0.0

    [    0.281332] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400

    [    0.281627] Advanced Linux Sound Architecture Driver Initialized.

    [    0.282649] clocksource: Switched to clocksource timer1

    [    0.291768] NET: Registered protocol family 2

    [    0.292453] TCP established hash table entries: 2048 (order: 1, 8192 bytes)

    [    0.292483] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)

    [    0.292506] TCP: Hash tables configured (established 2048 bind 2048)

    [    0.292575] UDP hash table entries: 256 (order: 0, 4096 bytes)

    [    0.292590] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)

    [    0.292784] NET: Registered protocol family 1

    [    0.293140] RPC: Registered named UNIX socket transport module.

    [    0.293151] RPC: Registered udp transport module.

    [    0.293156] RPC: Registered tcp transport module.

    [    0.293162] RPC: Registered tcp NFSv4.1 backchannel transport module.

    [    0.294023] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available

    [    0.295741] futex hash table entries: 256 (order: -1, 3072 bytes)

    [    0.302418] squashfs: version 4.0 (2009/01/31) Phillip Lougher

    [    0.303332] NFS: Registering the id_resolver key type

    [    0.303397] Key type id_resolver registered

    [    0.303404] Key type id_legacy registered

    [    0.303470] ntfs: driver 2.1.32 [Flags: R/O].

    [    0.306641] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)

    [    0.306667] io scheduler noop registered

    [    0.306679] io scheduler deadline registered

    [    0.306814] io scheduler cfq registered (default)

    [    0.308116] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568

    [    0.310910] backlight supply power not found, using dummy regulator

    [    0.362305] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled

    [    0.365897] console [ttyS0] disabled

    [    0.365984] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250

    [    0.980428] console [ttyS0] enabled

    [    0.985084] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 159, base_baud = 3000000) is a 8250

    [    0.994972] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 160, base_baud = 3000000) is a 8250

    [    1.004837] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 161, base_baud = 3000000) is a 8250

    [    1.014648] 481aa000.serial: ttyS5 at MMIO 0x481aa000 (irq = 162, base_baud = 3000000) is a 8250

    [    1.024477] [drm] Initialized drm 1.1.0 20060810

    [    1.031241] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).

    [    1.038007] [drm] No driver support for vblank timestamp query.

    [    1.069355] Console: switching to colour frame buffer device 60x34

    [    1.077252] tilcdc 4830e000.lcdc: fb0:  frame buffer device

    [    1.112809] [drm] Initialized tilcdc 1.0.0 20121205 on minor 0

    [    1.124695] loop: module loaded

    [    1.130129] libphy: Fixed MDIO Bus: probed

    [    1.192682] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6

    [    1.198820] davinci_mdio 4a101000.mdio: detected phy mask fffffffd

    [    1.205759] libphy: 4a101000.mdio: probed

    [    1.209851] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver NS DP83848C 10/100 Mbps PHY

    [    1.220337] cpsw 4a100000.ethernet: Detected MACID = 98:5d:ad:61:af:5a

    [    1.227146] cpsw 4a100000.ethernet: cpts: overflow check period 850

    [    1.235137] mousedev: PS/2 mouse device common for all mice

    [    1.241286] i2c /dev entries driver

    [    1.245965] cpuidle: enable-method property 'ti,am3352' found operations

    [    1.293374] ledtrig-cpu: registered to indicate activity on CPUs

    [    1.306690] NET: Registered protocol family 10

    [    1.312403] omap_hsmmc 47810000.mmc: no support for card's volts

    [    1.318616] sit: IPv6 over IPv4 tunneling driver

    [    1.323298] mmc0: error -22 whilst initialising SD card

    [    1.329357] NET: Registered protocol family 17

    [    1.335262] Key type dns_resolver registered

    [    1.339752] omap_voltage_late_init: Voltage driver support not added

    [    1.349155] omap-gpmc 50000000.gpmc: GPMC revision 6.0

    [    1.354522] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000

    [    1.361861] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda

    [    1.368387] nand: Micron MT29F2G08ABAEAWP

    [    1.372417] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64

    [    1.380082] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme

    [    1.385513] 10 ofpart partitions found on MTD device 8000000.nand

    [    1.391657] Creating 10 MTD partitions on "8000000.nand":

    [    1.397101] 0x000000000000-0x000000020000 : "NAND.SPL"

    [    1.403499] 0x000000020000-0x000000040000 : "NAND.SPL.backup1"

    [    1.410392] 0x000000040000-0x000000060000 : "NAND.SPL.backup2"

    [    1.417278] 0x000000060000-0x000000080000 : "NAND.SPL.backup3"

    [    1.424185] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os"

    [    1.431213] 0x0000000c0000-0x0000001c0000 : "NAND.u-boot"

    [    1.438083] 0x0000001c0000-0x0000001e0000 : "NAND.u-boot-env"

    [    1.445018] 0x0000001e0000-0x000000200000 : "NAND.u-boot-env.backup1"

    [    1.452425] 0x000000200000-0x000000a00000 : "NAND.kernel"

    [    1.461556] 0x000000a00000-0x000010000000 : "NAND.file-system"

    [    1.572853] tps65910 0-002d: No interrupt support, no core IRQ

    [    1.600202] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz

    [    1.619123] vaux2: supplied by vbat

    [    1.630993] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz

    [    1.636931] vdd_mpu: supplied by vbat

    [    1.642617] input: volume_keys@0 as /devices/platform/volume_keys@0/input/input0

    [    1.650723] hctosys: unable to open rtc device (rtc0)

    [    1.672838] net eth0: initializing cpsw version 1.12 (0)

    [    1.678206] net eth0: initialized cpsw ale version 1.4

    [    1.683416] net eth0: ALE Table size 1024

    [    1.763020] net eth0: phy found : id is : 0x20005c90

    [    1.768070] ###### I am here ####### priv->rmii_clock_external value = 0

    [    1.774829] net eth0: PHY already attached

    [    1.778970] net eth0: phy "4a101000.mdio:01" not found on slave 1, err -16

    [    1.791605] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

    [    3.763454] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx

    [    3.772823] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

    [    3.792709] Sending DHCP requests ..., OK

    [    9.842774] IP-Config: Got DHCP answer from 10.103.1.10, my address is 10.103.2.210

    [    9.851370] IP-Config: Complete:

    [    9.854858]      device=eth0, hwaddr=98:5d:ad:61:af:5a, ipaddr=10.103.2.210, mask=255.255.252.0, gw=10.103.1.1

    [    9.865172]      host=10.103.2.210, domain=, nis-domain=(none)

    [    9.871057]      bootserver=192.168.9.82, rootserver=10.99.8.101, rootpath=

    [    9.878076]      nameserver0=192.168.6.56, nameserver1=10.107.0.18

    [    9.884786] lis3_reg: disabling

    [    9.888513] ALSA device list:

    [    9.891517]   No soundcards found.

    [    9.926554] VFS: Mounted root (nfs filesystem) on device 0:15.

    [    9.933733] devtmpfs: mounted

    [    9.937658] Freeing unused kernel memory: 268K (c08c7000 - c090a000)

    [    9.944184] This architecture does not have kernel memory protection.

    [   10.452489] systemd[1]: System time before build time, advancing clock.

    [   10.527271] random: systemd: uninitialized urandom read (16 bytes read, 123 bits of entropy available)

    [   10.560056] random: systemd: uninitialized urandom read (16 bytes read, 124 bits of entropy available)

    [   10.581124] systemd[1]: systemd 229 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBC)

    [   10.600194] systemd[1]: Detected architecture arm.

    Welcome to Arago 2016.10!

    [   10.634698] systemd[1]: Set hostname to <am335x-evm>.

    [   10.659331] random: nonblocking pool is initialized

    [   11.141081] systemd[1]: [/lib/systemd/system/gadget-init.service:15] Unknown lvalue 'ExecStopPre' in section 'Service'

    [   11.534157] systemd[1]: sysinit.target: Found ordering cycle on sysinit.target/start

    [   11.542078] systemd[1]: sysinit.target: Found dependency on alignment.service/start

    [   11.550076] systemd[1]: sysinit.target: Found dependency on basic.target/start

    [   11.557390] systemd[1]: sysinit.target: Found dependency on sockets.target/start

    [   11.565275] systemd[1]: sysinit.target: Found dependency on dropbear.socket/stop

    [   11.572835] systemd[1]: sysinit.target: Found dependency on sysinit.target/start

    [   11.580314] systemd[1]: sysinit.target: Breaking ordering cycle by deleting job alignment.service/start

    [   11.589792] systemd[1]: alignment.service: Job alignment.service/start deleted to break ordering cycle starting with sysinit.t

    [ SKIP ] Ordering cycle found, skipping alignment.service

    [   11.631218] systemd[1]: Listening on Journal Socket.

    [  OK  ] Listening on Journal Socket.

    [   11.654836] systemd[1]: Listening on udev Kernel Socket.

    [  OK  ] Listening on udev Kernel Socket.

    [   11.684656] systemd[1]: Listening on Syslog Socket.

    [  OK  ] Listening on Syslog Socket.

    [   11.713720] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.

    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.

    [   11.744785] systemd[1]: Listening on udev Control Socket.

    [  OK  ] Listening on udev Control Socket.

    [   11.775544] systemd[1]: Created slice User and Session Slice.

    [  OK  ] Created slice User and Session Slice.

    [   11.805158] systemd[1]: Listening on Network Service Netlink Socket.

    [  OK  ] Listening on Network Service Netlink Socket.

    [   11.833563] systemd[1]: Started Forward Password Requests to Wall Directory Watch.

    [  OK  ] Started Forward Password Requests to Wall Directory Watch.

    [   11.863104] systemd[1]: Reached target Paths.

    [  OK  ] Reached target Paths.

    [   11.883000] systemd[1]: Reached target Remote File Systems.

    [  OK  ] Reached target Remote File Systems.

    [   11.985159] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.

    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.

    [   12.014974] systemd[1]: Created slice System Slice.

    [  OK  ] Created slice System Slice.

    [   12.043294] systemd[1]: Reached target Slices.

    [  OK  ] Reached target Slices.

    [   12.064943] systemd[1]: Created slice system-getty.slice.

    [  OK  ] Created slice system-getty.slice.

    [   12.094944] systemd[1]: Created slice system-serial\x2dgetty.slice.

    [  OK  ] Created slice system-serial\x2dgetty.slice.

    [   12.129765] systemd[1]: Starting Create list of required static device nodes for the current kernel...

           Starting Create list of required st... nodes for the current kernel...

    [   12.190125] systemd[1]: Starting Load Kernel Modules...

           Starting Load Kernel Modules...

    [   12.252159] systemd[1]: Mounting Debug File System...

           Mounting Debug File System...

    [   12.329386] cryptodev: driver 1.8 loaded.

    [   12.337196] systemd[1]: Starting Remount Root and Kernel File Systems...

           Starting Remount Root and Kernel File Systems...

    [   12.419259] systemd[1]: Mounting Temporary Directory...

           Mounting Temporary Directory...

    [   12.508447] systemd[1]: Mounting POSIX Message Queue File System...

           Mounting POSIX Message Queue File System...

    [   12.577241] systemd[1]: Starting Setup Virtual Console...

           Starting Setup Virtual Console...

    [   12.620210] systemd[1]: Listening on Journal Socket (/dev/log).

    [  OK  ] Listening on Journal Socket (/dev/log).

    [   12.657280] systemd[1]: Starting Journal Service...

           Starting Journal Service...

    [   12.693172] systemd[1]: Reached target Swap.

    [  OK  ] Reached target Swap.

    [   12.745001] systemd[1]: Mounted POSIX Message Queue File System.

    [  OK  ] Mounted POSIX Message Queue File System.

    [   12.793550] systemd[1]: Mounted Debug File System.

    [  OK  ] Mounted Debug File System.

    [   12.813417] systemd[1]: Mounted Temporary Directory.

    [  OK  ] Mounted Temporary Directory.

    [   12.835150] systemd[1]: Started Create list of required static device nodes for the current kernel.

    [  OK  ] Started Create list of required sta...ce nodes for the current kernel.

    [   12.885130] systemd[1]: Started Load Kernel Modules.

    [  OK  ] Started Load Kernel Modules.

    [   12.905449] systemd[1]: Started Remount Root and Kernel File Systems.

    [  OK  ] Started Remount Root and Kernel File Systems.

    [   12.935759] systemd[1]: Started Setup Virtual Console.

    [  OK  ] Started Setup Virtual Console.

    [   12.954032] systemd[1]: Started Journal Service.

    [  OK  ] Started Journal Service.

           Starting udev Coldplug all Devices...

           Starting Flush Journal to Persistent Storage...

           Starting Apply Kernel Variables...

           Starting Create Static Device Nodes in /dev...

    [  OK  ] Started Apply Kernel Variables.

    [  OK  ] Started Create Static Device Nodes in /dev.

    [   14.227859] systemd-journald[107]: Received request to flush runtime journal from PID 1

    [  OK  ] Started Flush Journal to Persistent Storage.

           Starting udev Kernel Device Manager...

    [  OK  ] Reached target Local File Systems (Pre).

           Mounting /media/ram...

           Mounting /var/volatile...

    [  OK  ] Mounted /media/ram.

    [  OK  ] Mounted /var/volatile.

    [  OK  ] Started udev Kernel Device Manager.

           Starting Load/Save Random Seed...

    [  OK  ] Reached target Local File Systems.

           Starting Create Volatile Files and Directories...

    [  OK  ] Started Load/Save Random Seed.

    [  OK  ] Started udev Coldplug all Devices.

    [   16.080632] input: matrix_keypad@0 as /devices/platform/matrix_keypad@0/input/input1

    [   16.263333] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec

    [   16.273832] input: ti-tsc as /devices/platform/ocp/44e0d000.tscadc/TI-am335x-tsc/input/input2

    [  OK  ] Started Create Volatile Files and Directories.

    [   16.358960] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0

    [   16.437178] 47401300.usb-phy supply vcc not found, using dummy regulator

    [   16.545009] 47401b00.usb-phy supply vcc not found, using dummy regulator

    [  OK  ] Found device /dev/ttyS0.

    [   17.091808] Error: Driver 'tlv320aic3x-codec' is already registered, aborting...

    [   17.135749] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20

    [   17.261021] omap_hwmod: pruss: _wait_target_ready failed: -16

    [   17.344603] Error: Driver 'tlv320aic3x-codec' is already registered, aborting...

    [   17.368495] ti-pruss 4a300000.pruss: couldn't enable pruss

    [   17.404403] ti-pruss: probe of 4a300000.pruss failed with error -16

    [  OK  ] Found device /dev/ttyS3.

    [   17.574249] omap-sham 53100000.sham: hw accel on OMAP rev 4.3

    [   17.930657]  remoteproc0: wkup_m3 is available

    [   18.007196]  remoteproc0: Note: remoteproc is still under development and considered experimental.

    [   18.094648]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.

    [  OK  ] Created slice system-systemd\x2dbacklight.slice.

           Starting Load/Save Screen Backlight...htness of backlight:backlight...

           Starting Network Time Synchronization...

           Starting Update UTMP about System Boot/Shutdown...

    [  OK  ] Started Load/Save Screen Backlight Brightness of backlight:backlight.

    [   18.999860] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2

    [  OK  ] Started Network Time Synchronization.

    [   19.706950] omap_hwmod: gfx: failed to hardreset

    [   19.781412]  remoteproc0: powering up wkup_m3

    [   19.841013]  remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217280

    [   19.907459] pvrsrvkm 56000000.sgx: Unable to reset SGX!

    [   19.952937]  remoteproc0: remote processor wkup_m3 is now up

    [   19.952956] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192

    [   20.029626] omap_hwmod: gfx: _wait_target_ready failed: -16

    [   20.116798] PVR_K:(Error): EnableSGXClocks: pm_runtime_get_sync failed (16)

    [   20.184007] PVR_K:(Error): SysInitialise: Failed to Enable system clocks (175)

    [   20.887646] asoc-simple-card sound: tlv320aic3x-hifi <-> 4803c000.mcasp mapping ok

    [   20.974914] PM: bootloader does not support rtc-only!

    [  OK  ] Started Update UTMP about System Boot/Shutdown.

    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.

           Starting Synchronize System and HW clocks...

    [  OK  ] Reached target System Time Synchronized.

    [  OK  ] Started Synchronize System and HW clocks.

    [   23.648526] usbcore: registered new interface driver usbfs

    [   23.718227] usbcore: registered new interface driver hub

    [   23.758523] usbcore: registered new device driver usb

    [   23.900442] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver

    [   23.978726] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 1

    [   24.028576] hub 1-0:1.0: USB hub found

    [   24.050636] hub 1-0:1.0: 1 port detected

    [   24.109567] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver

    [   24.167514] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 2

    [   24.232569] hub 2-0:1.0: USB hub found

    [   24.237511] hub 2-0:1.0: 1 port detected

    [  OK  ] Reached target Sound Card.

    [  OK  ] Reached target System Initialization.

    [  OK  ] Listening on RPCbind Server Activation Socket.

    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.

    [  OK  ] Started Daily Cleanup of Temporary Directories.

    [  OK  ] Reached target Timers.

    [  OK  ] Listening on D-Bus System Message Bus Socket.

    [  OK  ] Listening on dropbear.socket.

    [  OK  ] Reached target Sockets.

    [  OK  ] Reached target Basic System.

           Starting Permit User Sessions...

           Starting Print notice about GPLv3 packages...

           Starting Avahi mDNS/DNS-SD Stack...

           Starting Login Service...

    [  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.

           Starting Save/Restore Sound Card State...

    [  OK  ] Started Kernel Logging Service.

           Starting uim-sysfs.service...

    [  OK  ] Started D-Bus System Message Bus.

    [  OK  ] Started Avahi mDNS/DNS-SD Stack.

           Starting Network Service...

    [  OK  ] Started System Logging Service.

           Starting Telephony service...

    [  OK  ] Started Permit User Sessions.

    [  OK  ] Started Save/Restore Sound Card State.

    [  OK  ] Started Network Service.

    [   30.482128] Bluetooth: Core ver 2.21

    [   30.492473] NET: Registered protocol family 15

    [   30.533862] NET: Registered protocol family 31

    [   30.581828] Bluetooth: HCI device and connection manager initialized

    [   30.621628] Bluetooth: HCI socket layer initialized

    [   30.651142] Bluetooth: L2CAP socket layer initialized

    [   30.691582] Bluetooth: SCO socket layer initialized

    [   31.539906] Initializing XFRM netlink socket

    [  OK  ] Started Telephony service.

    [  OK  ] Started Login Service.

    [  OK  ] Reached target Network.

           Starting Lightning Fast Webserver With Light System Requirements...

           Starting Network Name Resolution...

    [  OK  ] Started Getty on tty1.

    [  OK  ] Started Serial Getty on ttyS3.

    [  OK  ] Started Serial Getty on ttyS0.

    [  OK  ] Started Lightning Fast Webserver With Light System Requirements.

    [  OK  ] Started Network Name Resolution.

    [  OK  ] Started uim-sysfs.service.

           Starting rc.pvr.service...

    [  OK  ] Started rc.pvr.service.

           Starting weston.service...

    [  OK  ] Started weston.service.

           Starting telnetd.service...

    [  OK  ] Started telnetd.service.

           Starting thttpd.service...

           Starting busybox-udhcpd.service...

    [  OK  ] Started busybox-udhcpd.service.

    [  OK  ] Started thttpd.service.

           Starting rng-tools.service...

    [  OK  ] Started rng-tools.service.

           Starting matrix-gui-2.0.service...

    [  OK  ] Started matrix-gui-2.0.service.

           Starting thermal-zone-init.service...

           Starting parse-ip.service...

    [  OK  ] Started thermal-zone-init.service.

    [  OK  ] Started parse-ip.service.

    _____                    _____           _         _  

    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_

    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|

    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  

                |___|                    |___|            

    Arago Project  am335x-evm ttyS0

    Arago 2016.10 am335x-evm ttyS0

    am335x-evm login: ***************************************************************

    NOTICE: This file system contains the following GPLv3 packages:

          autoconf

          binutils

          bison-dev

          bison

          cpp-symlinks

          cpp

          dosfstools

          g++-symlinks

          g++

          gawk-dev

          gawk

          gcc-symlinks

          gcc

          gdb

          gdbserver

          gstreamer1.0-libav

          hidapi

          libcairo-perf-utils

          libgmp10

          libidn11

          libmpc3

          libmpfr4

          m4-dev

          m4

          make

          nettle

          swig-dev

          swig

    If you do not wish to distribute GPLv3 components please remove

    the above packages prior to distribution.  This can be done using

    the opkg remove command.  i.e.:

      opkg remove <package>

    Where <package> is the name printed in the list above

    NOTE: If the package is a dependency of another package you

        will be notified of the dependent packages.  You should

        use the --force-removal-of-dependent-packages option to

        also remove the dependent packages as well

    ***************************************************************

    /------------------------------------------------------------------------------------------------/

    Please let me know in case of any more information required.

    Regards,

    -- Ronak

  • Hello,
    Add to last post It seems that
    First we need to start weston that matrix GUI.
    When weston will start white screen will be come and than matrix GUI will start.
    But in may case weston is not going to start.
    Is it the correct process to start Matrix GUI?
    If yes than in my case it isn't happening.
    Please do the needful.
    Regards,
    -- Ronak
  • Hello Ronak,

    Can you reboot the board and attach these logs?

    root@am335x-evm:~# chmod +x ./gfx_check.sh
    root@am335x-evm:~# ./gfx_check.sh > gfx_check.log
    root@am335x-evm:~# ps aux > ps.log
    root@am335x-evm:~# /etc/init.d/weston stop
    root@am335x-evm:~# eglinfo > eglinfo.log
    root@am335x-evm:~# cat /var/log/weston.log > weston.log

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/1667.gfx_5F00_check.sh

    Best regards,
    Kemal

  • Hello,

    Thanks for the reply.

    I attached the logs here.

    PVR:(Error): OpenServices: PVRDRMOpenRender failed [0, ]
    PVR:(Error): PVRSRVConnect: Unable to open connection. [0, ]
    PVR:(Error): Couldn't connect to services [0, ]
    Unable to initialise egl
        egl error 'EGL_BAD_ALLOC' (0x3003)
    

    WSEGL settings
    [default]
    #WindowSystem=libpvrws_WAYLAND.so
    ------
    ARM CPU information
    processor	: 0
    model name	: ARMv7 Processor rev 2 (v7l)
    BogoMIPS	: 298.84
    Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpd32 
    CPU implementer	: 0x41
    CPU architecture: 7
    CPU variant	: 0x3
    CPU part	: 0xc08
    CPU revision	: 2
    
    Hardware	: Generic AM33XX (Flattened Device Tree)
    Revision	: 0000
    Serial		: 0000000000000000
    ------
    SGX driver information
    ------
    Framebuffer settings
    
    mode "480x272"
        geometry 480 272 480 272 32
        timings 0 0 0 0 0 0 0
        accel true
        rgba 8/16,8/8,8/0,0/0
    endmode
    
    Frame buffer device information:
        Name        : 
        Address     : 0x8b880000
        Size        : 522240
        Type        : PACKED PIXELS
        Visual      : TRUECOLOR
        XPanStep    : 1
        YPanStep    : 1
        YWrapStep   : 0
        LineLength  : 1920
        Accelerator : No
    ------
    Rotation settings
    0
    ------
    Kernel Module information
    Module                  Size  Used by
    sha512_generic          9903  0
    sha512_arm             12079  0
    drbg                   13425  1
    des_generic            17736  0
    cbc                     2324  0
    xfrm_user              22606  2
    xfrm4_tunnel            2040  0
    ipcomp                  2257  0
    xfrm_ipcomp             4311  1 ipcomp
    esp4                    6466  0
    ah4                     5627  0
    bluetooth             327425  2
    af_key                 26406  0
    xfrm_algo               6970  5 ah4,esp4,af_key,xfrm_user,xfrm_ipcomp
    musb_dsps               8235  0
    musb_hdrc              71486  1 musb_dsps
    udc_core               12063  1 musb_hdrc
    usbcore               195911  1 musb_hdrc
    ti_am335x_adc           5783  0
    kfifo_buf               3291  1 ti_am335x_adc
    pm33xx                  5577  0
    snd_soc_simple_card     7712  0
    wkup_m3_ipc             8278  1 pm33xx
    ecb                     1909  0
    ti_emif_sram            6242  1 pm33xx
    pru_rproc              11796  0
    pruss_intc              7163  1 pru_rproc
    wkup_m3_rproc           3669  1
    sha256_generic          9503  1
    hmac                    2735  1
    md5                     1897  0
    sha1_generic            2621  0
    sha1_arm_neon           6261  0
    sha1_arm                3862  1 sha1_arm_neon
    pvrsrvkm              406903  0
    omap_aes_driver        19488  0
    pruss                  10892  1 pru_rproc
    omap_sham              21513  0
    remoteproc             26901  4 pruss,wkup_m3_rproc,pru_rproc,wkup_m3_ipc
    virtio                  7742  1 remoteproc
    virtio_ring            12163  1 remoteproc
    omap_rng                4759  0
    rng_core                7794  1 omap_rng
    ti_am335x_tsc           6029  0
    rtc_omap                8272  1
    musb_am335x             1426  0
    omap_wdt                4634  0
    ti_am335x_tscadc        6290  2 ti_am335x_adc,ti_am335x_tsc
    matrix_keypad           6769  0
    matrix_keymap           3009  1 matrix_keypad
    sch_fq_codel            8289  1
    cryptodev              38007  1
    ------
    Boot settings
    console=ttyS0,115200n8 root=/dev/nfs nfsroot=10.99.8.101:/opt/nfs/AM335x_BIG,nolock rw ip=dhcp
    ------
    Linux Kernel version
    Linux am335x-evm 4.4.32-gadde2ca9f8 #40 PREEMPT Tue Apr 18 11:55:54 IST 2017 armv7l GNU/Linux
    ------
    CRTC
    trying to open device 'i915'...failed
    trying to open device 'radeon'...failed
    trying to open device 'nouveau'...failed
    trying to open device 'vmwgfx'...failed
    trying to open device 'omapdrm'...failed
    trying to open device 'exynos'...failed
    trying to open device 'tilcdc'...done
    Encoders:
    id	crtc	type	possible crtcs	possible clones	
    25	24	LVDS	0x00000001	0x00000000
    
    Connectors:
    id	encoder	status		name		size (mm)	modes	encoders
    26	25	connected	LVDS-1         	0x0		1	25
      modes:
    	name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
      480x272 57 480 485 509 549 272 280 282 290 flags: phsync, pvsync; type: preferred, driver
      props:
    	1 EDID:
    		flags: immutable blob
    		blobs:
    
    		value:
    	2 DPMS:
    		flags: enum
    		enums: On=0 Standby=1 Suspend=2 Off=3
    		value: 0
    
    CRTCs:
    id	fb	pos	size
    24	29	(0,0)	(480x272)
      480x272 57 480 485 509 549 272 280 282 290 flags: phsync, pvsync; type: preferred, driver
      props:
    
    Planes:
    id	crtc	fb	CRTC x,y	x,y	gamma size	possible crtcs
    23	24	29	0,0		0,0	0       	0x00000001
      formats: BG16 RG24 XR24
      props:
    	5 type:
    		flags: immutable enum
    		enums: Overlay=0 Primary=1 Cursor=2
    		value: 1
    
    Frame buffers:
    id	size	pitch
    
    ------
    DRM
         0 drwxr-xr-x    2 root     root             0 Dec 14 23:15 .
         0 drwxr-xr-x   47 root     root             0 Dec 14 23:15 ..
         0 lrwxrwxrwx    1 root     root             0 Dec 14 23:15 card0 -> ../../devices/platform/ocp/4830e000.lcdc/drm/card0
         0 lrwxrwxrwx    1 root     root             0 Dec 14 23:15 card0-LVDS-1 -> ../../devices/platform/ocp/4830e000.lcdc/drm/card0/card0-LVDS-1
         0 lrwxrwxrwx    1 root     root             0 Dec 14 23:15 controlD64 -> ../../devices/platform/ocp/4830e000.lcdc/drm/controlD64
         0 -r--r--r--    1 root     root          4096 Dec 14 23:15 version
    ------
    DRM drivers
         0 lrwxrwxrwx    1 root     root             0 Apr 20 11:14 /sys/class/drm/card0/device/driver -> ../../../../bus/platform/drivers/tilcdc
         0 lrwxrwxrwx    1 root     root             0 Apr 20 11:14 /sys/class/drm/controlD64/device/driver -> ../../../../bus/platform/drivers/tilcdc
    ------
    DRM version
    drm 1.1.0 20060810
    

    USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
    root         1  1.8  1.6   5216  4028 ?        Ss   11:35   0:07 /sbin/init
    root         2  0.0  0.0      0     0 ?        S    11:35   0:00 [kthreadd]
    root         3  0.1  0.0      0     0 ?        S    11:35   0:00 [ksoftirqd/0]
    root         4  0.1  0.0      0     0 ?        S    11:35   0:00 [kworker/0:0]
    root         5  0.0  0.0      0     0 ?        S<   11:35   0:00 [kworker/0:0H]
    root         6  0.6  0.0      0     0 ?        S    11:35   0:02 [kworker/u2:0]
    root         7  0.1  0.0      0     0 ?        S    11:35   0:00 [rcu_preempt]
    root         8  0.0  0.0      0     0 ?        S    11:35   0:00 [rcu_sched]
    root         9  0.0  0.0      0     0 ?        S    11:35   0:00 [rcu_bh]
    root        10  0.0  0.0      0     0 ?        S    11:35   0:00 [kdevtmpfs]
    root        11  0.0  0.0      0     0 ?        S<   11:35   0:00 [netns]
    root        12  0.0  0.0      0     0 ?        S<   11:35   0:00 [perf]
    root        14  0.0  0.0      0     0 ?        S<   11:35   0:00 [writeback]
    root        15  0.0  0.0      0     0 ?        S<   11:35   0:00 [crypto]
    root        16  0.0  0.0      0     0 ?        S<   11:35   0:00 [bioset]
    root        17  0.0  0.0      0     0 ?        S<   11:35   0:00 [kblockd]
    root        18  0.0  0.0      0     0 ?        S<   11:35   0:00 [edac-poller]
    root        19  0.0  0.0      0     0 ?        S<   11:35   0:00 [rpciod]
    root        20  0.0  0.0      0     0 ?        S    11:35   0:00 [kswapd0]
    root        21  0.0  0.0      0     0 ?        S    11:35   0:00 [fsnotify_mark]
    root        22  0.0  0.0      0     0 ?        S<   11:35   0:00 [nfsiod]
    root        31  0.0  0.0      0     0 ?        S<   11:35   0:00 [dma_wq]
    root        32  0.1  0.0      0     0 ?        S    11:35   0:00 [kworker/u2:1]
    root        33  0.0  0.0      0     0 ?        S<   11:35   0:00 [bioset]
    root        34  0.0  0.0      0     0 ?        S<   11:35   0:00 [bioset]
    root        35  0.0  0.0      0     0 ?        S<   11:35   0:00 [bioset]
    root        36  0.0  0.0      0     0 ?        S<   11:35   0:00 [bioset]
    root        37  0.0  0.0      0     0 ?        S<   11:35   0:00 [bioset]
    root        38  0.0  0.0      0     0 ?        S<   11:35   0:00 [bioset]
    root        39  0.0  0.0      0     0 ?        S<   11:35   0:00 [bioset]
    root        40  0.0  0.0      0     0 ?        S<   11:35   0:00 [bioset]
    root        42  0.0  0.0      0     0 ?        S<   11:35   0:00 [kpsmoused]
    root        44  0.0  0.0      0     0 ?        S    11:35   0:00 [irq/186-4803c00]
    root        45  0.0  0.0      0     0 ?        S    11:35   0:00 [irq/185-4803c00]
    root        46  0.0  0.0      0     0 ?        S<   11:35   0:00 [ipv6_addrconf]
    root        47  0.0  0.0      0     0 ?        S<   11:35   0:00 [deferwq]
    root        48  0.0  0.0      0     0 ?        S<   11:35   0:00 [bioset]
    root        49  0.0  0.0      0     0 ?        S<   11:35   0:00 [bioset]
    root        50  0.0  0.0      0     0 ?        S<   11:35   0:00 [bioset]
    root        51  0.0  0.0      0     0 ?        S<   11:35   0:00 [bioset]
    root        52  0.0  0.0      0     0 ?        S<   11:35   0:00 [bioset]
    root        53  0.0  0.0      0     0 ?        S<   11:35   0:00 [bioset]
    root        54  0.0  0.0      0     0 ?        S<   11:35   0:00 [bioset]
    root        55  0.0  0.0      0     0 ?        S<   11:35   0:00 [bioset]
    root        56  0.0  0.0      0     0 ?        S<   11:35   0:00 [bioset]
    root        57  0.0  0.0      0     0 ?        S<   11:35   0:00 [bioset]
    root        58  0.0  0.0      0     0 ?        S    11:35   0:00 [irq/163-44e0b00]
    root        59  0.0  0.0      0     0 ?        S    11:35   0:00 [irq/164-4819c00]
    root        61  0.0  0.0      0     0 ?        S    11:35   0:00 [kworker/0:3]
    root        62  0.7  0.0      0     0 ?        S<   11:35   0:03 [kworker/0:1H]
    root        85  0.0  0.0      0     0 ?        S<   11:35   0:00 [cryptodev_queue]
    root        90  0.2  0.0      0     0 ?        S    11:35   0:00 [kworker/0:4]
    root       103  0.3  0.8   3616  2216 ?        Ss   11:35   0:01 /lib/systemd/systemd-journald
    root       132  0.3  1.0  10532  2536 ?        Ss   11:35   0:01 /lib/systemd/systemd-udevd
    systemd+   284  0.0  0.6  12136  1620 ?        Ssl  11:35   0:00 /lib/systemd/systemd-timesyncd
    root       453  0.0  0.0      0     0 ?        S    11:35   0:00 [irq/181-TI-am33]
    root       470  0.4  2.4   8748  6208 ?        Ss   11:35   0:01 /usr/sbin/ofonod -n
    root       476  0.0  0.7   2728  1964 ?        Ss   11:35   0:00 /lib/systemd/systemd-logind
    root       478  0.0  0.6   1908  1508 ?        Ss   11:35   0:00 /usr/libexec/ipsec/starter --daemon charon --nofork
    root       480  0.0  0.4   1956  1200 ?        Ss   11:35   0:00 /sbin/klogd -n
    root       497  0.0  0.4   1972  1224 ?        Ss   11:35   0:00 /sbin/syslogd -n -C
    message+   505  0.0  1.0   4320  2532 ?        Ss   11:35   0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
    systemd+   519  0.0  0.8   2676  2020 ?        Ss   11:35   0:00 /lib/systemd/systemd-networkd
    avahi      520  0.1  0.9   4660  2460 ?        Ss   11:35   0:00 avahi-daemon: running [am335x-evm.local]
    avahi      530  0.0  0.7   4660  1772 ?        S    11:35   0:00 avahi-daemon: chroot helper
    root       539  0.0  1.7 142008  4480 ?        Ssl  11:35   0:00 /usr/libexec/ipsec/charon
    systemd+   612  0.0  0.7   2984  1836 ?        Ss   11:35   0:00 /lib/systemd/systemd-resolved
    root       619  0.0  0.4   1780  1200 tty1     Ss+  11:35   0:00 /sbin/agetty --noclear tty1 linux
    root       621  0.0  0.8   4864  2148 ttyS0    Ss   11:35   0:00 /bin/login --
    root       622  0.0  0.4   1780  1200 ttyS3    Ss+  11:35   0:00 /sbin/agetty -8 -L ttyS3 115200 xterm
    root       628  0.0  0.7   4492  1948 ?        Ss   11:35   0:00 /usr/sbin/lighttpd -D -f /etc/lighttpd.conf
    root       756  0.0  0.3   1956   916 ?        Ss   11:35   0:00 /usr/sbin/telnetd
    nobody     772  0.0  0.6   2448  1592 ?        Ss   11:35   0:00 /usr/sbin/thttpd -d /srv/www -p 8080
    root       780  0.1  0.3   2292   884 ?        Ss   11:35   0:00 /usr/sbin/rngd -r /dev/urandom
    root       801  0.0  0.0      0     0 ?        S    11:35   0:00 [kworker/0:5]
    root       812  0.2  1.6   5356  4132 ?        Ss   11:39   0:00 /lib/systemd/systemd --user
    root       820  0.0  0.8   7340  2220 ?        S    11:39   0:00 (sd-pam)
    root       823  0.0  0.8   2668  2012 ttyS0    S    11:39   0:00 -sh
    root       831  0.7  0.0      0     0 ?        S    11:40   0:00 [kworker/u2:2]
    root       872  0.0  0.5   2612  1344 ttyS0    R+   11:42   0:00 ps aux
    

    Date: 2017-04-20 UTC
    [11:14:17.850] weston 1.9.0
                   http://wayland.freedesktop.org
                   Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.9.0
                   Build: 1.8.93-2-gb05cdb8 configure.ac: bump to version 1.9.0 for the official release (2015-09-21 18:11:26 -0700)
    [11:14:17.851] OS: Linux, 4.4.32-gadde2ca9f8, #40 PREEMPT Tue Apr 18 11:55:54 IST 2017, armv7l
    [11:14:17.853] Using config file '/etc//weston.ini'
    [11:14:17.863] Loading module '/usr/lib/weston/drm-backend.so'
    [11:14:17.950] Output repaint window is 7 ms maximum.
    [11:14:17.950] initializing drm backend
    [11:14:17.968] using /dev/dri/card0
    [11:14:18.000] Loading module '/usr/lib/weston/gl-renderer.so'
    failed to load module: /usr/lib/gbm/gbm_dri.so: cannot open shared object file: No such file or directory
    failed to load module: /usr/lib/gbm/gbm_gallium_drm.so: cannot open shared object file: No such file or directory
    loaded module : gbm_pvr.so
    found valid GBM backend : gbm_pvr.so
    [11:14:18.297] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eglGetDisplay.
    [11:14:18.352] failed to initialize display
    [11:14:18.352] EGL error state: EGL_BAD_ALLOC (0x3003)
    [11:14:18.352] failed to initialize egl
    [11:14:18.359] fatal: failed to create compositor backend
    PVR:(Error): OpenServices: PVRDRMOpenRender failed [0, ]
    PVR:(Error): PVRSRVConnect: Unable to open connection. [0, ]
    PVR:(Error): Couldn't connect to services [0, ]
    

    But I have a question,

    1). We are using AM3352

    2). Matrix GUI is in qt and it is using qt5 graphics lib.

    3). Now graphics libraries need SGX and In AM3352 may not have SGX  support.

    4). Is it related that? that is why weston and matrix GUI is not working?

    Regards,

    -- Ronak

  • Yes, the main reason is that. You can disable the sgx status in board's device tree:

    &sgx {
    status = "disable";
    };

    Also remove these services:
    root@am335x-evm:~# update-rc.d -v -f rc.pvr remove
    root@am335x-evm:~# update-rc.d -v -f weston remove

    Edit the etc/init.d/matrix-gui-2.0 to use linuxfb

    ................
    PLATFORM="-platform linuxfb"
    ................
    start-stop-daemon --start --quiet --background -m --pidfile $PIDFILE --exec $matrixgui -- $PLATFORM $GUI_OPTS

    You will also need to add -platform linuxfb while running the qt demo examples, also keep in mind that the 3D OGLES examples won't work on AM3352, because of its absence of sgx.

  • Hello Kemal,

    Thank You for your support now matrix GUI is working without SGX.

    Display resolution is not fit in to the LDC size, but matrix GUI is working now.

    Regards,

    -- Ronak

  • Hello,

    Now LCD is working fine with out "weston", and with "-platform linuxfb".

    But I am facing problem in the touch screen, In the evtest I am getting X and Y coordinate when I touch.

    But Qt matrix application touch  is not working.

    Below is the log for referance.

    /--------------------------------------------- Log ----------------------------------------------/

    root@am335x-evm:~# evtest
    No device specified, trying to scan all of /dev/input/event*
    Available devices:
    /dev/input/event0:      goodix-ts
    /dev/input/event1:      volume_keys@0
    /dev/input/event2:      ti-tsc
    Select the device event number [0-2]: 0
    Input driver version is 1.0.1
    Input device ID: bus 0x18 vendor 0xdead product 0xbeef version 0x28bb
    Input device name: "goodix-ts"
    Supported events:
      Event type 0 (EV_SYN)
      Event type 1 (EV_KEY)
        Event code 330 (BTN_TOUCH)
      Event type 3 (EV_ABS)
        Event code 48 (ABS_MT_TOUCH_MAJOR)
          Value      0
          Min        0
          Max      255
        Event code 53 (ABS_MT_POSITION_X)
          Value      0
          Min        0
          Max      480
        Event code 54 (ABS_MT_POSITION_Y)
          Value      0
          Min        0
          Max      272
        Event code 57 (ABS_MT_TRACKING_ID)
          Value      0
          Min        0
          Max      255
        Event code 58 (ABS_MT_PRESSURE)
          Value      0
          Min        0
          Max      255
    Properties:
      Property type 1 (INPUT_PROP_DIRECT)
    Testing ... (interrupt to exit)
    Event: time 1494428001.078759, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
    Event: time 1494428001.078759, type 3 (EV_ABS), code 58 (ABS_MT_PRESSURE), value 15
    Event: time 1494428001.078759, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 15
    Event: time 1494428001.078759, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 0
    Event: time 1494428001.078759, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 282
    Event: time 1494428001.078759, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 151
    Event: time 1494428001.078759, ++++++++++++++ SYN_MT_REPORT ++++++++++++
    Event: time 1494428001.078759, -------------- SYN_REPORT ------------
    Event: time 1494428001.107006, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0
    Event: time 1494428001.107006, ++++++++++++++ SYN_MT_REPORT ++++++++++++
    Event: time 1494428001.107006, -------------- SYN_REPORT ------------

    /---------------------------------------------------------------------------------------------------------------------------------------/

    It's look like touch driver working properly but matrix GUI application not accepting the touch.

    Please do the needful.

    Regards,

    -- Ronak

  • Hello Ronak,

    I have the same issue, i'm using 10.4" LVDS display. In my case lcd is up we able to see penguin logo while booting & then comes to login prompt. But no matrix gui application, i'm using latest SDK 04.00.00.04 with 4.9.28 kernel.

    Even i tried to display some image on lcd but didn't came. Like i tried by downloading some image as 800x600 resolution jpeg image and tested like cat "image.jpeg" >> /dev/fb0

    Can you please tell me, how can i resolve this issue.

    Please find the kernel log & dts file.KernelLog_Config_Dts.tar.gz

    Thanks,
    Shekar