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.

AM3354: no /dev/input when using arago-tiny-image

Genius 13655 points
Part Number: AM3354


Hello Champs,

Hardware: AM3354 own board

Software:  PROCESSOR-SDK-LINUX-AM335X  06_03_00_106

When using arago-base-tisdk-image、tisdk-rootfs-image,it can find dev/input folder and there is tchscreen0 file in the folder

root@am335x-evm:~# cat /proc/bus/input/devices
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="ti-tsc"
P: Phys=
S: Sysfs=/devices/platform/ocp/44e0d000.tscadc/TI-am335x-tsc.0.auto/input/input0
U: Uniq=
H: Handlers=event0
B: PROP=0
B: EV=b
B: KEY=400 0 0 0 0 0 0 0 0 0 0
B: ABS=1000003

But when using arago-tiny-image, there is no /dev/input and there is no output after executing cat /proc/bus/input/devices command

root@am335x:~# cat /dev/input/touchscreen0

cat: can't open '/dev/input/touchscreen0': No such file or directory
root@am335x:~# cat /proc/bus/input/devices
root@am335x:~#

Thanks.
Rgds
Shine

  • Hello Shine,

    I will take a look at this next week. Please ping me if I have not replied by then.

    Regards,

    Nick

  • Hello nick
    If you have time now please take a look at this question

  • Hello nick
    waiting for your help.

  • Hello,

    I apologize for the delayed response. As per the Filesystem documentation and threads File system differences and Tiny filesystem support, the tiny filesystem is primarily intended for debugging, though it could be used as the base for a focused, headless usecase. It removes large parts of the regular filesystem, including the kernel modules for touchscreen.

    I do not have a bunch of experience with tiny filesystem, but in your SDK it looks like docs/licenses/arago-tiny-image-am335x-evm-BUILDNUMBER/package.manifest has some information about what is different between that and the other filesystems (e.g., docs/licenses/tisdk-rootfs-image-am335x-evm-BUILDNUMBER/package.manifest). I can see kernel-module-ti-am335x-tsc listed in the tisdk-rootfs-image manifest, but not in the arago-tiny-image manifest. And that matches the kernel modules in tisdk-rootfs under lib/modules/4.19.94.../kernel/drivers/input/touchscreen.

    Regards,

    Nick

  • But when I use the file system and Linux kernel provided by other companies, there is / dev / input. When I replace the kernel with Ti SDK, there is no / dev / input. Is this also related to the Linux settings

  • Hello,

    Have you tried tisdk-rootfs-image instead of the smaller filesystems? That is the complete filesystem image.

    Regards,

    Nick

  • I try tisdk-rootfs-image,but it doesn't show images 

    when I try  arago-base-tisdk-image,I can‘t port tslib to it

    My goal is to enable the system to use QT normally, and I'm still trying  to complete it

  • Hello,

    In the thread that you linked above, the last picture shows 2013.02 arago project. However, if you are using PSDK6.03, it should show 2020 arago project. Could you please share how you are creating the base image?

    Regards,
    Krunal

  • Because it was impossible to take photos at that time, we chose to use similar pictures on the Internet,and I chack it 。the filesysterm is the lastest 2019

  • Hello,

    I just wanted to confirm that you are using the default images that come from PSDK 6.03 (ti-sdk-rootfs-image-am335x-evm.tar.xz). If yes, please share more details about your display configuration. Is it a LCD or HDMI and have you made any changes to the SW configuration? Also, how many data lines are you using for the display connection?

    Regards,

    Krunal

  • Yes.it's come from PSDK 6.03.  16bit LCD display

    am335xsk.dts

    panel {

    compatible = "ti,tilcdc,panel";
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&lcd_pins_default>;
    pinctrl-1 = <&lcd_pins_sleep>;
    status = "okay";
    panel-info {
    ac-bias = <255>;
    ac-bias-intrpt = <0>;
    dma-burst-sz = <16>;
    bpp = <32>;
    fdd = <0x80>;
    sync-edge = <0>;
    sync-ctrl = <1>;
    raster-order = <0>;
    fifo-th = <0>;
    };
    display-timings {
    800x480 {
    hactive = <800>;
    vactive = <480>;
    hback-porch = <88>;
    hfront-porch = <40>;
    hsync-len = <128>;
    vback-porch = <32>;
    vfront-porch = <11>;
    vsync-len = <2>;
    clock-frequency = <33200000>;
    hsync-active = <0>;
    vsync-active = <0>;
    };
    };

    LCD pin:

    AM33XX_IOPAD(0x8a0, PIN_OUTPUT | MUX_MODE0)
    AM33XX_IOPAD(0x8a4, PIN_OUTPUT | MUX_MODE0)
    AM33XX_IOPAD(0x8a8, PIN_OUTPUT | MUX_MODE0)
    AM33XX_IOPAD(0x8ac, PIN_OUTPUT | MUX_MODE0)
    AM33XX_IOPAD(0x8b0, PIN_OUTPUT | MUX_MODE0)
    AM33XX_IOPAD(0x8b4, PIN_OUTPUT | MUX_MODE0)
    AM33XX_IOPAD(0x8b8, PIN_OUTPUT | MUX_MODE0)
    AM33XX_IOPAD(0x8bc, PIN_OUTPUT | MUX_MODE0)
    AM33XX_IOPAD(0x8c0, PIN_OUTPUT | MUX_MODE0)
    AM33XX_IOPAD(0x8c4, PIN_OUTPUT | MUX_MODE0)
    AM33XX_IOPAD(0x8c8, PIN_OUTPUT | MUX_MODE0)
    AM33XX_IOPAD(0x8cc, PIN_OUTPUT | MUX_MODE0)
    AM33XX_IOPAD(0x8d0, PIN_OUTPUT | MUX_MODE0)
    AM33XX_IOPAD(0x8d4, PIN_OUTPUT | MUX_MODE0)
    AM33XX_IOPAD(0x8d8, PIN_OUTPUT | MUX_MODE0)
    AM33XX_IOPAD(0x8dc, PIN_OUTPUT | MUX_MODE0)
    AM33XX_IOPAD(0x8e0, PIN_OUTPUT | MUX_MODE0)
    AM33XX_IOPAD(0x8e4, PIN_OUTPUT | MUX_MODE0)
    AM33XX_IOPAD(0x8e8, PIN_OUTPUT | MUX_MODE0)
    AM33XX_IOPAD(0x8ec, PIN_OUTPUT | MUX_MODE0)

    am335xsk.dts

    Add in lcdc: lcdc@4830e000:

     blue-and-red-wiring = "crossed";

  • There is no change in the hardware of LCD

  • Hello,

    Thank you for sharing the additional information. Since you are operating in 16bit mode, please review the following document: http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Foundational_Components/Graphics/AM3_Beagle_Bone_Black_Configuration.html.

    • /etc/powervr.ini: add DefaultPixelFormat=RGB565
    • /etc/weston.ini: add gbm-format=rgb565 at section [core]
    • /etc/profile.d/qt_env.sh: add export QT_QPA_EGLFS_INTEGRATION=none

    Also, since the blue-red wiring is swapped, please update the following section based on your HW connection. On the BBB, we have a 16bit interface and we set the blue/red wiring to straight. Ref Link: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/arch/arm/boot/dts/am335x-boneblack-common.dtsi?h=ti-linux-4.19.y#n73

    Regards,
    Krunal

  • There is no /etc/powervr.ini file. So I create the powervr.ini file. 

    about the  blue-red wiring ,I let the screen display pictures, my settings can display normal colors

    I made all the changes mentioned,But it still shows "please wait".

  • Hello,

    After rebooting the board, could you please share the output of modetest and kmstest.

    Regards,
    Krunal

  • A picture similar to the attached figure is displayed on the screen

    root@am335x-evm:~# kmstest
    Connector 0/@31: LVDS-1
    Crtc 0/@29: 800x480 33.200 800/40/128/88/- 480/11/2/32/- 60 (59.88) 0xa 0x48
    Plane 0/@28: 0,0-800x480
    Fb 36 800x480-XR24
    press enter to exit

    root@am335x-evm:~# modetest
    trying to open device 'i915'...failed
    trying to open device 'amdgpu'...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
    30 29 LVDS 0x00000001 0x00000000
    
    Connectors:
    id encoder status name size (mm) modes encoders
    31 30 connected LVDS-1 0x0 1 30
    modes:
    name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
    800x480 60 800 840 968 1056 480 491 493 525 33200 flags: nhsync, nvsync; 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
    5 link-status:
    flags: enum
    enums: Good=0 Bad=1
    value: 0
    6 non-desktop:
    flags: immutable range
    values: 0 1
    value: 0
    19 CRTC_ID:
    flags: object
    value: 29
    
    CRTCs:
    id fb pos size
    29 34 (0,0) (800x480)
    800x480 60 800 840 968 1056 480 491 493 525 33200 flags: nhsync, nvsync; type: preferred, driver
    props:
    20 ACTIVE:
    flags: range
    values: 0 1
    value: 1
    21 MODE_ID:
    flags: blob
    blobs:
    
    value:
    b081000020034803c80320040000e001
    eb01ed010d0200003c0000000a000000
    48000000383030783438300000000000
    00000000000000000000000000000000
    00000000
    18 OUT_FENCE_PTR:
    flags: range
    values: 0 18446744073709551615
    value: 0
    
    Planes:
    id crtc fb CRTC x,y x,y gamma size possible crtcs
    28 29 34 0,0 0,0 0 0x00000001
    formats: BG16 RG24 XR24
    props:
    
    7 type:
    flags: immutable enum
    enums: Overlay=0 Primary=1 Cursor=2
    value: 1
    16 FB_ID:
    flags: object
    value: 34
    17 IN_FENCE_FD:
    flags: signed range
    values: -1 2147483647
    value: -1
    19 CRTC_ID:
    flags: object
    value: 29
    12 CRTC_X:
    flags: signed range
    values: -2147483648 2147483647
    value: 0
    13 CRTC_Y:
    flags: signed range
    values: -2147483648 2147483647
    value: 0
    14 CRTC_W:
    flags: range
    values: 0 2147483647
    value: 800
    15 CRTC_H:
    flags: range
    values: 0 2147483647
    value: 480
    8 SRC_X:
    flags: range
    values: 0 4294967295
    value: 0
    9 SRC_Y:
    flags: range
    values: 0 4294967295
    value: 0
    10 SRC_W:
    flags: range
    values: 0 4294967295
    value: 52428800
    11 SRC_H:
    flags: range
    values: 0 4294967295
    value: 31457280
    
    Frame buffers:
    id size pitch

  • Hello,

    The display is getting recognized and is working as expected. Are you able to run kmscube?

    Regards,
    Krunal

  • Hi. it is:

    root@am335x-evm:~# kmscube ### Display [0]: CRTC = 29, Connector = 31, format = 0x34325258 Mode chosen [800x480] : Clock => 33200, Vertical refresh => 60, Type => 72 Horizontal => 800, 840, 968, 1056, 0 Vertical => 480, 491, 493, 525, 0 ### Primary display => ConnectorId = 31, Resolution = 800x480 PVR:(Error): OpenServices: PVRDRMOpenRender failed [0, ] PVR:(Error): PVRSRVConnect: Unable to open connection. [0, ] PVR:(Error): Couldn't connect to services [0, ] PVR:(Error): PVRDRIEGLGlobalDataInit: PVR Services initialisation failed [0, ] PVR:(Error): PVRDRICreateScreenImpl: Couldn't create EGL global data [0, ] MESA-LOADER: failed to open kms_swrast (search paths /usr/lib/dri) failed to load driver: kms_swrast MESA-LOADER: failed to open swrast (search paths /usr/lib/dri) failed to load swrast driver Segmentation fault (core dumped)

  • Hello,

    I am wondering if you could please share boot logs and share the output of modinfo /lib/modules/<kernel>/extra/pvrsrvkm.ko.

    Regards,
    Krunal

  • the output of modinfo /lib/modules/<kernel>/extra/pvrsrvkm.ko:

    license: Dual MIT/GPL
    author: Imagination Technologies Ltd. <gpl-support@imgtec.com>
    license: Dual MIT/GPL
    author: Imagination Technologies Ltd. <gpl-support@imgtec.com>
    srcversion: 533BB7E5866E52F63B9ACCB
    alias: of:N*T*Cti,am3352-sgx530C*
    alias: of:N*T*Cti,am3352-sgx530
    alias: of:N*T*Cti,am4376-sgx530C*
    alias: of:N*T*Cti,am4376-sgx530
    alias: of:N*T*Cti,dra7-sgx544C*
    alias: of:N*T*Cti,dra7-sgx544
    alias: of:N*T*Cti,am654-sgx544C*
    alias: of:N*T*Cti,am654-sgx544
    depends:
    name: pvrsrvkm
    vermagic: 4.19.94-gbe5389fd85 preempt mod_unload modversions ARMv7 p2v8
    parm: gPVRDebugLevel:Sets the level of debug output (default 0x7) (uint)
    
    

    and attachment is boot log

    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.19.94-gbe5389fd85 (nfk@ubuntu) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #1 PREEMPT Wed Dec 23 18:10:27 CST 2020
    [    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] OF: fdt: Machine model: TI AM335x EVM-SK
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] cma: Reserved 48 MiB at 0x9d000000
    [    0.000000] On node 0 totalpages: 131072
    [    0.000000]   Normal zone: 1152 pages used for memmap
    [    0.000000]   Normal zone: 0 pages reserved
    [    0.000000]   Normal zone: 131072 pages, LIFO batch:31
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (sgx neon)
    [    0.000000] random: get_random_bytes called from start_kernel+0xa4/0x434 with crng_init=0
    [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
    [    0.000000] pcpu-alloc: [0] 0 
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129920
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=b511c40f-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 455932K/524288K available (9216K kernel code, 307K rwdata, 2728K rodata, 1024K init, 252K bss, 19204K reserved, 49152K cma-reserved, 0K highmem)
    [    0.000000] Virtual kernel memory layout:
                       vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                       fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                       vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
                       lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
                       pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                       modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                         .text : 0x(ptrval) - 0x(ptrval)   (10208 kB)
                         .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
                         .data : 0x(ptrval) - 0x(ptrval)   ( 308 kB)
                          .bss : 0x(ptrval) - 0x(ptrval)   ( 253 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000]  Tasks RCU enabled.
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] IRQ: Found an INTC at 0x(ptrval) (revision 5.0) with 128 interrupts
    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [    0.000019] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000048] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000063] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000308] timer_probe: no matching timers found
    [    0.000542] Console: colour dummy device 80x30
    [    0.000576] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.000585] This ensures that you still see kernel messages. Please
    [    0.000594] update your kernel commandline.
    [    0.000658] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
    [    0.118767] pid_max: default: 32768 minimum: 301
    [    0.119037] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.119058] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.120089] CPU: Testing write buffer coherency: ok
    [    0.120169] CPU0: Spectre v2: using BPIALL workaround
    [    0.121286] Setting up static identity map for 0x80100000 - 0x80100060
    [    0.121488] rcu: Hierarchical SRCU implementation.
    [    0.121948] EFI services will not be available.
    [    0.123881] devtmpfs: initialized
    [    0.136020] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.136521] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.136552] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.141202] pinctrl core: initialized pinctrl subsystem
    [    0.142164] DMI not present or invalid.
    [    0.142713] NET: Registered protocol family 16
    [    0.145867] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.176107] l4_wkup_cm:clk:0010:0: failed to disable
    [    0.231250] cpuidle: using governor ladder
    [    0.231303] cpuidle: using governor menu
    [    0.238074] gpio gpiochip0: (gpio-0-31): added GPIO chardev (254:0)
    [    0.238207] gpiochip_setup_dev: registered GPIOs 0 to 31 on device: gpiochip0 (gpio-0-31)
    [    0.238262] OMAP GPIO hardware version 0.1
    [    0.239447] gpio gpiochip1: (gpio-32-63): added GPIO chardev (254:1)
    [    0.239568] gpiochip_setup_dev: registered GPIOs 32 to 63 on device: gpiochip1 (gpio-32-63)
    [    0.240553] gpio gpiochip2: (gpio-64-95): added GPIO chardev (254:2)
    [    0.240657] gpiochip_setup_dev: registered GPIOs 64 to 95 on device: gpiochip2 (gpio-64-95)
    [    0.241595] gpio gpiochip3: (gpio-96-127): added GPIO chardev (254:3)
    [    0.241699] gpiochip_setup_dev: registered GPIOs 96 to 127 on device: gpiochip3 (gpio-96-127)
    [    0.251149] No ATAGs?
    [    0.251165] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.271203] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.271988] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator@0[0]'
    [    0.275393] SCSI subsystem initialized
    [    0.275997] media: Linux media interface: v0.10
    [    0.276065] videodev: Linux video capture interface: v2.00
    [    0.276203] pps_core: LinuxPPS API ver. 1 registered
    [    0.276216] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.276248] PTP clock support registered
    [    0.276298] EDAC MC: Ver: 3.0.0
    [    0.277661] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.278426] Advanced Linux Sound Architecture Driver Initialized.
    [    0.280242] clocksource: Switched to clocksource timer1
    [    0.291994] NET: Registered protocol family 2
    [    0.293070] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
    [    0.293115] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.293180] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.293242] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.293372] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.293403] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.293610] NET: Registered protocol family 1
    [    0.294356] RPC: Registered named UNIX socket transport module.
    [    0.294373] RPC: Registered udp transport module.
    [    0.294383] RPC: Registered tcp transport module.
    [    0.294392] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.294411] PCI: CLS 0 bytes, default 64
    [    0.295558] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    0.297236] Initialise system trusted keyrings
    [    0.297629] workingset: timestamp_bits=14 max_order=17 bucket_order=3
    [    0.304563] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.305542] NFS: Registering the id_resolver key type
    [    0.305594] Key type id_resolver registered
    [    0.305606] Key type id_legacy registered
    [    0.305667] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.308771] Key type asymmetric registered
    [    0.308796] Asymmetric key parser 'x509' registered
    [    0.308887] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.308905] io scheduler noop registered
    [    0.308917] io scheduler deadline registered
    [    0.309247] io scheduler cfq registered (default)
    [    0.309264] io scheduler mq-deadline registered
    [    0.309276] io scheduler kyber registered
    [    0.311960] pinctrl-single 44e10800.pinmux: 142 pins, size 568
    [    0.316442] pwm-backlight backlight: GPIO lookup for consumer enable
    [    0.316459] pwm-backlight backlight: using device tree for GPIO lookup
    [    0.316494] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/backlight[0]'
    [    0.316515] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/backlight[0]'
    [    0.316529] pwm-backlight backlight: using lookup tables for GPIO lookup
    [    0.316540] pwm-backlight backlight: No GPIO consumer enable found
    [    0.316570] pwm-backlight backlight: backlight supply power not found, using dummy regulator
    [    0.316705] pwm-backlight backlight: Linked as a consumer to regulator.0
    [    0.386000] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.391458] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
    [    1.024500] console [ttyS0] enabled
    [    1.030683] omap_rng 48310000.rng: Random Number Generator ver. 20
    [    1.038767] tilcdc-panel panel: GPIO lookup for consumer enable
    [    1.038781] tilcdc-panel panel: using device tree for GPIO lookup
    [    1.038813] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/panel[0]'
    [    1.038834] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/panel[0]'
    [    1.038846] tilcdc-panel panel: using lookup tables for GPIO lookup
    [    1.038857] tilcdc-panel panel: No GPIO consumer enable found
    [    1.039200] OF: graph: no port node found in /ocp/lcdc@4830e000
    [    1.045374] random: fast init done
    [    1.049083] random: crng init done
    [    1.053517] OF: graph: no port node found in /ocp/lcdc@4830e000
    [    1.060065] OF: graph: no port node found in /ocp/lcdc@4830e000
    [    1.066096] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    1.072763] [drm] No driver support for vblank timestamp query.
    [    1.090956] Console: switching to colour frame buffer device 100x30
    [    1.104739] tilcdc 4830e000.lcdc: fb0: DRM emulated frame buffer device
    [    1.112135] [drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on minor 0
    [    1.135221] brd: module loaded
    [    1.147507] loop: module loaded
    [    1.154956] mdio_bus fixed-0: GPIO lookup for consumer reset
    [    1.154972] mdio_bus fixed-0: using lookup tables for GPIO lookup
    [    1.154983] mdio_bus fixed-0: No GPIO consumer reset found
    [    1.155015] libphy: Fixed MDIO Bus: probed
    [    1.176889] mdio_bus 4a101000.mdio: GPIO lookup for consumer reset
    [    1.176906] mdio_bus 4a101000.mdio: using device tree for GPIO lookup
    [    1.176940] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/ethernet@4a100000/mdio@4a101000[0]'
    [    1.176962] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/ethernet@4a100000/mdio@4a101000[0]'
    [    1.176975] mdio_bus 4a101000.mdio: using lookup tables for GPIO lookup
    [    1.176985] mdio_bus 4a101000.mdio: No GPIO consumer reset found
    [    1.230341] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    1.238053] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
    [    1.245624] libphy: 4a101000.mdio: probed
    [    1.249678] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Micrel KSZ9031 Gigabit PHY
    [    1.260819] cpsw 4a100000.ethernet: No slave[1] phy_id, phy-handle, or fixed-link property
    [    1.269142] cpsw 4a100000.ethernet: Detected MACID = 0c:b2:b7:a1:ed:65
    [    1.275986] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [    1.282460] cpsw 4a100000.ethernet: ALE Table size 1024
    [    1.287757] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [    1.296904] i2c /dev entries driver
    [    1.303569] sdhci: Secure Digital Host Controller Interface driver
    [    1.309795] sdhci: Copyright(c) Pierre Ossman
    [    1.315069] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
    [    1.315082] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [    1.315135] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (0)
    [    1.315231] gpio gpiochip0: Persistence not supported for GPIO 6
    [    1.315253] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
    [    1.324066] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    1.328715] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp
    [    1.328723] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [    1.328749] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]'
    [    1.328769] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]'
    [    1.328782] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
    [    1.328792] omap_hsmmc 48060000.mmc: No GPIO consumer wp found
    [    1.329813] sdhci-pltfm: SDHCI platform and OF driver helper
    [    1.336501] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.347991] NET: Registered protocol family 10
    [    1.354410] Segment Routing with IPv6
    [    1.358216] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    1.365258] NET: Registered protocol family 17
    [    1.370081] Key type dns_resolver registered
    [    1.374836] omap_voltage_late_init: Voltage driver support not added
    [    1.382466] Loading compiled-in X.509 certificates
    [    1.399841] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    1.405240] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    1.411462] gpiochip_find_base: found new base at 510
    [    1.411851] gpio gpiochip4: (omap-gpmc): added GPIO chardev (254:4)
    [    1.411973] gpiochip_setup_dev: registered GPIOs 510 to 511 on device: gpiochip4 (omap-gpmc)
    [    1.412541] ------------[ cut here ]------------
    [    1.417217] WARNING: CPU: 0 PID: 16 at arch/arm/mach-omap2/omap_hwmod.c:1916 _enable+0x27c/0x284
    [    1.426042] omap_hwmod: gpmc: enabled state can only be entered from initialized, idle, or disabled state
    [    1.435650] Modules linked in:
    [    1.438730] CPU: 0 PID: 16 Comm: kworker/0:1 Not tainted 4.19.94-gbe5389fd85 #1
    [    1.446070] Hardware name: Generic AM33XX (Flattened Device Tree)
    [    1.452212] Workqueue: events deferred_probe_work_func
    [    1.457375] Backtrace: 
    [    1.459846] [<c010cb64>] (dump_backtrace) from [<c010ced4>] (show_stack+0x18/0x1c)
    [    1.467455]  r7:00000009 r6:00000000 r5:c0bc24a4 r4:dc119a64
    [    1.473157] [<c010cebc>] (show_stack) from [<c091642c>] (dump_stack+0x24/0x28)
    [    1.480428] [<c0916408>] (dump_stack) from [<c012ad48>] (__warn+0xe0/0xf8)
    [    1.487342] [<c012ac68>] (__warn) from [<c012a988>] (warn_slowpath_fmt+0x50/0x6c)
    [    1.494866]  r9:00000001 r8:dc611c00 r7:00000001 r6:00000001 r5:c0bc267c r4:c0e03048
    [    1.502651] [<c012a93c>] (warn_slowpath_fmt) from [<c011c4cc>] (_enable+0x27c/0x284)
    [    1.510428]  r3:c0bc3f64 r2:c0bc267c
    [    1.514021]  r5:a0000013 r4:c0e0aaf8
    [    1.517619] [<c011c250>] (_enable) from [<c011db48>] (omap_hwmod_enable+0x40/0x88)
    [    1.525226]  r7:00000001 r6:00000001 r5:a0000013 r4:ffffe000
    [    1.530920] [<c011db08>] (omap_hwmod_enable) from [<c011e74c>] (omap_device_enable+0x48/0x9c)
    [    1.539483]  r5:dc66b6c0 r4:00000000
    [    1.543082] [<c011e704>] (omap_device_enable) from [<c011ed5c>] (_omap_device_notifier_call+0x3f0/0x428)
    [    1.552608]  r7:00000001 r6:00000001 r5:dc611c10 r4:c0e03048
    [    1.558307] [<c011e96c>] (_omap_device_notifier_call) from [<c014a84c>] (notifier_call_chain+0x50/0x8c)
    [    1.567749]  r10:00000000 r9:c0e830b0 r8:00000000 r7:00000001 r6:dc611c10 r5:c0e205c4
    [    1.575613]  r4:ffffffff
    [    1.578167] [<c014a7fc>] (notifier_call_chain) from [<c014b154>] (blocking_notifier_call_chain+0x58/0x70)
    [    1.587782]  r9:c0e830b0 r8:dc611c10 r7:dc145610 r6:dc611c10 r5:dc0381ec r4:00000001
    [    1.595568] [<c014b0fc>] (blocking_notifier_call_chain) from [<c05aeb9c>] (device_add+0x368/0x620)
    [    1.604570]  r6:00000000 r5:c0e03048 r4:dc611c18
    [    1.609225] [<c05ae834>] (device_add) from [<c07567f4>] (of_device_add+0x3c/0x44)
    [    1.616748]  r10:dc611640 r9:00000000 r8:00000000 r7:dc145610 r6:00000000 r5:dcb5c4ac
    [    1.624612]  r4:dc611c00
    [    1.627166] [<c07567b8>] (of_device_add) from [<c0756dac>] (of_platform_device_create_pdata+0xa4/0xe0)
    [    1.636523] [<c0756d08>] (of_platform_device_create_pdata) from [<c0756e00>] (of_platform_device_create+0x18/0x1c)
    [    1.646921]  r7:c0e8523c r6:dc145610 r5:c0e03048 r4:dcb5c4ac
    [    1.652624] [<c0756de8>] (of_platform_device_create) from [<c076e6e4>] (gpmc_probe_generic_child+0x30c/0x988)
    [    1.662592] [<c076e3d8>] (gpmc_probe_generic_child) from [<c076f18c>] (gpmc_probe+0x42c/0x590)
    [    1.671248]  r10:c0e42150 r9:00000000 r8:dc145610 r7:00000000 r6:dc145600 r5:c0c479ec
    [    1.679112]  r4:dcb5c4ac
    [    1.681669] [<c076ed60>] (gpmc_probe) from [<c05b5058>] (platform_drv_probe+0x50/0xa0)
    [    1.689627]  r10:00000001 r9:c0e4216c r8:00000000 r7:00000000 r6:c0e4216c r5:00000000
    [    1.697490]  r4:dc145610
    [    1.700042] [<c05b5008>] (platform_drv_probe) from [<c05b3050>] (really_probe+0x204/0x2c0)
    [    1.708347]  r7:00000000 r6:c0e830d8 r5:dc145610 r4:c0e830d4
    [    1.714039] [<c05b2e4c>] (really_probe) from [<c05b32b0>] (driver_probe_device+0x68/0x180)
    [    1.722346]  r10:c0e31a3c r9:00000000 r8:00000001 r7:c05b34c0 r6:dc145610 r5:c0e4216c
    [    1.730211]  r4:dc145610 r3:00000000
    [    1.733812] [<c05b3248>] (driver_probe_device) from [<c05b3564>] (__device_attach_driver+0xa4/0xc8)
    [    1.742905]  r9:00000000 r8:00000001 r7:c05b34c0 r6:dc145610 r5:dc119e74 r4:c0e4216c
    [    1.750691] [<c05b34c0>] (__device_attach_driver) from [<c05b106c>] (bus_for_each_drv+0x88/0xcc)
    [    1.759519]  r7:c05b34c0 r6:dc119e74 r5:c0e03048 r4:00000000
    [    1.765210] [<c05b0fe4>] (bus_for_each_drv) from [<c05b2dcc>] (__device_attach+0xd8/0x140)
    [    1.773515]  r7:c0e31a1c r6:dc145644 r5:c0e03048 r4:dc145610
    [    1.779206] [<c05b2cf4>] (__device_attach) from [<c05b35d4>] (device_initial_probe+0x14/0x18)
    [    1.787775]  r8:c0e0dfcc r7:c0e31a1c r6:c0e31c30 r5:dc145610 r4:dc145610
    [    1.794514] [<c05b35c0>] (device_initial_probe) from [<c05b2134>] (bus_probe_device+0x8c/0x94)
    [    1.803172] [<c05b20a8>] (bus_probe_device) from [<c05b25f4>] (deferred_probe_work_func+0x68/0x94)
    [    1.812176]  r7:c0e31a1c r6:c0e31a08 r5:c0e31a08 r4:dc145610
    [    1.817874] [<c05b258c>] (deferred_probe_work_func) from [<c0142b08>] (process_one_work+0x210/0x430)
    [    1.827051]  r7:00000000 r6:dcb3c100 r5:dc03d880 r4:c0e31a38
    [    1.832743] [<c01428f8>] (process_one_work) from [<c0143020>] (worker_thread+0x2f8/0x674)
    [    1.840965]  r10:c0e0dfcc r9:c0e0dfe0 r8:ffffe000 r7:c0e14a60 r6:dc03d894 r5:c0e0dfcc
    [    1.848829]  r4:dc03d880
    [    1.851380] [<c0142d28>] (worker_thread) from [<c0148e94>] (kthread+0x158/0x160)
    [    1.858816]  r10:dc06fe78 r9:c0142d28 r8:dc03d880 r7:dc118000 r6:00000000 r5:dc0fab80
    [    1.866680]  r4:dc0fabc0
    [    1.869231] [<c0148d3c>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
    [    1.876486] Exception stack(0xdc119fb0 to 0xdc119ff8)
    [    1.881565] 9fa0:                                     00000000 00000000 00000000 00000000
    [    1.889786] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [    1.898006] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000
    [    1.904656]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c0148d3c
    [    1.912520]  r4:dc0fab80
    [    1.915063] ---[ end trace 32038a40bda8c906 ]---
    [    1.920584] omap2-nand 8000000.nand: GPIO lookup for consumer rb
    [    1.920598] omap2-nand 8000000.nand: using device tree for GPIO lookup
    [    1.920631] of_get_named_gpiod_flags: can't parse 'rb-gpios' property of node '/ocp/gpmc@50000000/nand@0,0[0]'
    [    1.920655] of_get_named_gpiod_flags: can't parse 'rb-gpio' property of node '/ocp/gpmc@50000000/nand@0,0[0]'
    [    1.920669] omap2-nand 8000000.nand: using lookup tables for GPIO lookup
    [    1.920680] omap2-nand 8000000.nand: No GPIO consumer rb found
    [    1.920992] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xd3
    [    1.927385] nand: Micron MT29F8G08ABACAWP
    [    1.931474] nand: 1024 MiB, SLC, erase size: 256 KiB, page size: 4096, OOB size: 224
    [    1.939302] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
    [    1.944805] 10 fixed-partitions partitions found on MTD device omap2-nand.0
    [    1.951829] Creating 10 MTD partitions on "omap2-nand.0":
    [    1.957264] 0x000000000000-0x000000040000 : "NAND.SPL"
    [    1.963951] 0x000000040000-0x000000080000 : "NAND.SPL.backup1"
    [    1.971094] 0x000000080000-0x0000000c0000 : "NAND.SPL.backup2"
    [    1.978086] 0x0000000c0000-0x000000100000 : "NAND.SPL.backup3"
    [    1.985192] 0x000000100000-0x000000140000 : "NAND.u-boot-spl-os"
    [    1.992437] 0x000000140000-0x000000340000 : "NAND.u-boot"
    [    1.999529] 0x000000340000-0x000000380000 : "NAND.u-boot-env"
    [    2.006572] 0x000000380000-0x0000003c0000 : "NAND.u-boot-env.backup1"
    [    2.014277] 0x0000003c0000-0x000000bc0000 : "NAND.kernel"
    [    2.023226] 0x000000bc0000-0x000040000000 : "NAND.file-system"
    [    2.360542] tps65910 0-002d: No interrupt support, no core IRQ
    [    2.366676] tps65910-gpio tps65910-gpio: ti,en-gpio-sleep not specified
    [    2.366708] gpiochip_find_base: found new base at 504
    [    2.367031] gpio gpiochip5: (tps65910): added GPIO chardev (254:5)
    [    2.367157] gpiochip_setup_dev: registered GPIOs 504 to 509 on device: gpiochip5 (tps65910)
    [    2.368914] vrtc: supplied by vbat
    [    2.376290] vio: supplied by vbat
    [    2.381263] vdd1: supplied by vbat
    [    2.386635] vdd2: supplied by vbat
    [    2.393638] vdig1: supplied by vbat
    [    2.398640] vdig2: supplied by vbat
    [    2.403705] vpll: supplied by vbat
    [    2.408620] vdac: supplied by vbat
    [    2.413579] vaux1: supplied by vbat
    [    2.418578] vaux2: supplied by vbat
    [    2.423610] vaux33: supplied by vbat
    [    2.428690] vmmc: supplied by vbat
    [    2.433657] vbb: supplied by vbat
    [    2.438394] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    2.444491] cpu cpu0: Linked as a consumer to regulator.4
    [    2.450013] cpu cpu0: Dropping the link to regulator.4
    [    2.455551] cpu cpu0: Linked as a consumer to regulator.4
    [    2.462845] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
    [    2.462860] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [    2.462916] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (0)
    [    2.463010] gpio gpiochip0: Persistence not supported for GPIO 6
    [    2.463032] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
    [    2.471968] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    2.476649] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp
    [    2.476658] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [    2.476685] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]'
    [    2.476705] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]'
    [    2.476718] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
    [    2.476728] omap_hsmmc 48060000.mmc: No GPIO consumer wp found
    [    2.477309] omap_hsmmc 48060000.mmc: Linked as a consumer to regulator.14
    [    2.512042] hctosys: unable to open rtc device (rtc0)
    [    2.518430] ALSA device list:
    [    2.521734]   No soundcards found.
    [    2.526965] Waiting for root device PARTUUID=b511c40f-02...
    [    2.562351] mmc0: host does not support reading read-only switch, assuming write-enable
    [    2.572426] mmc0: new high speed SDXC card at address 0001
    [    2.579295] mmcblk0: mmc0:0001 SD16G 58.4 GiB 
    [    2.586029]  mmcblk0: p1 p2
    [    2.639340] EXT4-fs (mmcblk0p2): warning: mounting fs with errors, running e2fsck is recommended
    [    2.690052] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    2.698484] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    2.714308] devtmpfs: mounted
    [    2.719021] Freeing unused kernel memory: 1024K
    [    2.724244] Run /sbin/init as init process
    [    3.130162] systemd[1]: System time before build time, advancing clock.
    [    3.187273] systemd[1]: systemd 239 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
    [    3.209659] systemd[1]: Detected architecture arm.
    [    3.262911] systemd[1]: Set hostname to <am335x-evm>.
    [    3.642023] systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
    [    3.659374] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
    [    3.758801] systemd[1]: /lib/systemd/system/gadget-init.service:15: Unknown lvalue 'ExecStopPre' in section 'Service'
    [    4.208962] systemd[1]: Listening on Network Service Netlink Socket.
    [    4.251987] systemd[1]: Listening on Journal Socket.
    [    4.285447] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    4.331884] systemd[1]: Listening on udev Control Socket.
    [    4.534168] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [    4.638250] cryptodev: loading out-of-tree module taints kernel.
    [    4.673087] cryptodev: driver 1.9 loaded.
    [    4.718482] usbcore: registered new interface driver usbfs
    [    4.730669] usbcore: registered new interface driver hub
    [    4.744271] usbcore: registered new device driver usb
    [    4.785720] usbcore: registered new interface driver ftdi_sio
    [    4.794098] usbserial: USB Serial support registered for FTDI USB Serial Device
    [    6.203383] systemd-journald[78]: Received request to flush runtime journal from PID 1
    [    8.630905] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    8.771247] omap_rtc 44e3e000.rtc: char device (253:0)
    [    8.771280] omap_rtc 44e3e000.rtc: registered as rtc0
    [    9.998459] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [   10.027651] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [   10.180992] omap-aes 53500000.aes: will run requests pump with realtime priority
    [   12.043478] remoteproc remoteproc0: wkup_m3 is available
    [   12.063357] net eth0: initializing cpsw version 1.12 (0)
    [   12.205387] Micrel KSZ9031 Gigabit PHY 4a101000.mdio:00: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)
    [   12.438855] libphy: PHY  not found
    [   12.492512] net eth0: phy "" not found on slave 1, err -19
    [   12.695113] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   12.973124] remoteproc remoteproc0: powering up wkup_m3
    [   12.980129] PM: Cannot get wkup_m3_ipc handle
    [   13.123952] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 242888
    [   13.341487] remoteproc remoteproc0: remote processor wkup_m3 is now up
    [   13.341511] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    [   13.640418] gpio gpiochip3: Persistence not supported for GPIO 21
    [   14.042193] EXT4-fs error (device mmcblk0p2): ext4_mb_generate_buddy:747: group 432, block bitmap and bg descriptor inconsistent: 32254 vs 32255 free clusters
    [   19.618748] TI-am335x-tsc TI-am335x-tsc.0.auto: ti,charge-delay not specified
    [   19.684642] PM: bootloader does not support rtc-only!
    [   19.718817] input: ti-tsc as /devices/platform/ocp/44e0d000.tscadc/TI-am335x-tsc.0.auto/input/input0
    [   21.587188] am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer reset
    [   21.587209] am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lookup
    [   21.587252] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [   21.587271] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [   21.587284] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO lookup
    [   21.587294] am335x-phy-driver 47401300.usb-phy: No GPIO consumer reset found
    [   21.587304] am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer vbus-detect
    [   21.587310] am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lookup
    [   21.587325] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [   21.587340] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [   21.587347] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO lookup
    [   21.587354] am335x-phy-driver 47401300.usb-phy: No GPIO consumer vbus-detect found
    [   21.587495] am335x-phy-driver 47401300.usb-phy: 47401300.usb-phy supply vcc not found, using dummy regulator
    [   21.685695] am335x-phy-driver 47401300.usb-phy: Linked as a consumer to regulator.0
    [   21.775722] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    [   21.855756] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
    [   21.953463] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
    [   22.007875] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   22.083637] usb usb1: Product: MUSB HDRC host driver
    [   22.150556] usb usb1: Manufacturer: Linux 4.19.94-gbe5389fd85 musb-hcd
    [   22.157139] usb usb1: SerialNumber: musb-hdrc.0
    [   22.251611] hub 1-0:1.0: USB hub found
    [   22.279833] hub 1-0:1.0: 1 port detected
    [   30.893623] udc-core: couldn't find an available UDC - added [g_multi] to list of pending drivers
    [  128.658514] NET: Registered protocol family 15
    [  128.942213] Initializing XFRM netlink socket
    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/BOOTlog.7z

  • Hello,

    I am wondering if you could please share the full boot log because I do not see any messages about wayland, matrix-gui or gpu services. Also, please trying running the command "/etc/init.d/rc.pvr start".

    Regards,

    Krunal

  • root@am335x-evm:~# /etc/init.d/rc.pvr start
    
    PVR:(Error): OpenServices:PVRDRMOpenRender failed [0, ]
    
    PVR:(Error): PVRSRVInitSrvConnect: PVRSRVConnect failed [0, ]
    
    PVR:(Error): SrvInit: PVRSRVInitSrvConnect failed (4) [0, ]
    
    /usr/bin/pvrsrvctl: SrvInit failed (already initialized?)
    
    (err=PVRSRV_ERROR_INIT_FAILURE)

    Welcome to Arago 2019.11!
    [OK]Listening on Journal Socket.
    [OK]Listening on udev Kernel Socket.
    [OK]Listening on Journal Socket (/dev/log).
    [OK]Reached target Remote File Systems.
    [OK]Reached target Swap.
    [OK]Listening on Process Core Dump Socket.
    [OK]Listening on udev Control Socket.
    [OK]Created slice User and Session Slice.
    [OK]Reached target Slices.
    Starting Journal Service...
    [OK]Listening on Network Service Netlink Socket.
    Starting Remount Root and Kernel File Systems...
    [OK]Started Dispatch Password Requests to Console Directory Watch.
    [OK]Created slice system-serial\x2dgetty.slice.
    Mounting Temporary Directory (/tmp)...
    Mounting POSIX Message Queue File System...
    Starting Load Kernel Modules...
    [OK]Created slice system-getty.slice.
    [OK]Listening on initctl Compatibility Named Pipe.
    [OK]Started Hardware RNG Entropy Gatherer Daemon.
    [OK]Started Forward Password Requests to Wall Directory Watch.
    [OK]Reached target Paths.
    Starting udev Coldplug all Devices...
    Mounting Kernel Debug File System...
    [OK]Started Remount Root and Kernel File Systems.
    [OK]Started Journal Service.
    [OK]Mounted Temporary Directory (/tmp).
    [OK]Mounted POSIX Message Queue File System.
    [OK]Started Load Kernel Modules.
    [OK]Mounted Kernel Debug File System.
    Mounting Kernel Configuration File System...
    Starting Apply Kernel Variables...
    Starting Flush Journal to Persistent Storage...
    Starting Create Static Device Nodes in /dev...
    [OK]Mounted Kernel Configuration File System.
    [OK]Started Apply Kernel Variables.
    [OK]Started Create Static Device Nodes in /dev.
    Starting udev Kernel Device Manager...
    [OK]Reached target Local File Systems (Pre).
    Mounting /var/volatile...
    [OK]Reached target Containers.
    Mounting /media/ram...
    [OK]Started Flush Journal to Persistent Storage.
    [OK]Mounted /var/volatile.
    [OK]Mounted /media/ram.
    [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 Create Volatile Files and Directories.
    Starting Network Time Synchronization...
    Starting Network Service...
    Starting Update UTMP about System Boot/Shutdown...
    [OK]Started Update UTMP about System Boot/Shutdown.
    [OK]Started Network Service.
    Starting Network Name Resolution...
    Starting Wait for Network to be Configured...
    [OK]Started Network Time Synchronization.
    [OK]Reached target System Time Synchronized.
    [OK]Started Network Name Resolution.
    [OK]Reached target Host and Network Name Lookups.
    [OK]Reached target Network.
    [OK]Found device /dev/ttyS0.
    [OK]Started udev Coldplug all Devices.
    [OK]Created slice system-systemd\x2dbacklight.slice.
    Starting Load/Save Screen Backlight…ightness of backlight:backlight...
    [OK]Started Load/Save Screen Backlight Brightness of backlight:backlight.
    [OK]Reached target System Initialization.
    [OK]Listening on dropbear.socket.
    [OK]Listening on D-Bus System Message Bus Socket.
    [OK]Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [OK]Started Daily rotation of log files.
    [OK]Listening on RPCbind Server Activation Socket.
    [OK]Reached target Sockets.
    [OK]Reached target Basic System.
    [OK]Started Redis In-Memory Data Store.
    Starting Avahi mDNS/DNS-SD Stack...
    Starting Lightning Fast Webserver With Light System Requirements
    Starting RPC Bind Service...
    [OK]Started Job spooling tools.
    Starting rc.pvr.service...
    [OK]Started D-Bus System Message Bus.
    Starting Login Service...
    Starting Simple Network Management Protocol (SNMP) Daemon....
    Starting Enable and configure wl18xx bluetooth stack...
    Starting Reboot and dump vmcore via kexec...
    [OK]Started Daily Cleanup of Temporary Directories.
    [OK]Reached target Timers.
    Starting Print notice about GPLv3 packages...
    Starting Permit User Sessions...
    [OK]Started Periodic Command Scheduler.
    [OK]Started Lightning Fast Webserver With Light System Requirements.
    [OK]Started RPC Bind Service.
    [OK]Started rc.pvr.service.
    [OK]Started Reboot and dump vmcore via kexec.
    [OK]Started Permit User Sessions.
    [OK]Started Enable and configure wl18xx bluetooth stack.
    [OK]Started Simple Network Management Protocol (SNMP) Daemon..
    [OK]Found device /dev/ttyS3.
    [OK]Started Print notice about GPLv3 packages.
    [OK]Found device /dev/mmcblk0p1.
    Starting Start USB gadget...
    [OK]Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [OK]Created slice system-systemd\x2dfsck.slice.
    Starting File System Check on /dev/mmcblk0p1...
    [OK]Started Serial Getty on ttyS3.
    [OK]Started Serial Getty on ttyS0.
    [OK]Started Getty on tty1.
    Starting weston.service...
    [OK]Started NFS status monitor for NFSv2/3 locking..
    [OK]Started Avahi mDNS/DNS-SD Stack.
    [OK]Started Login Service.
    [OK]Started weston.service.
    Starting Matrix GUI...
    Starting telnetd.service...
    [FAILED] Failed to start Start USB gadget.
    See 'systemctl status gadget-init.service' for details.
    [OK]Started Matrix GUI.
    [OK]Started telnetd.service.
    Starting busybox-udhcpd.service...
    Starting thttpd.service...
    [OK]Started busybox-udhcpd.service.
    [OK]Started thttpd.service.
    [OK]Started File System Check on /dev/mmcblk0p1.
    Mounting /run/media/mmcblk0p1...
    [OK]Mounted /run/media/mmcblk0p1.
    [OK]Created slice system-systemd\x2dcoredump.slice.
    [OK]Started Process Core Dump (PID 871/UID 0).

  • Hello,

    I will check internally and get back to you. Also, besides the LCD, have you modified anything else in the drivers or filesystem?

    Regards,
    Krunal

  • Others have not been changed 

  • Hello,

    I am internally discussing the logs that you previously provided. In the meantime, I am wondering if you have access to a TI EVM and if possible, could you please try running the same targetfs on our board.

    Regards,
    Krunal

  • I don't have ti EVM here at present.

    I checked it again. Because my board doesn't have audio playback requirements, the audio part in the driver has been shielded

  • Hello,

    Could you please tar your rootfs and share it with me?

    Regards,

    Krunal

  • How to share it with you, it is 2.3GB

  • Hello,

    Are you not able to tar the file and share it on the forum?

    Regards,

    Krunal

  • I only upload successful small files,

    the large files is upload halfway,it will automatically end

  • how about sharing the power.ini etc/profile  and dts

  • Hello,

    Yes, please share the pwervr.ini and dts file. Also, please share weston logs under "/var/log/weston.log".

    Regards,
    Krunal

  • Hello,

    Thank you for sharing the dtb file. Based on my initial debug, I do not see any nodes related to SGX (our GPU). Here is a reference that you are missing in your file:

    1. https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/arch/arm/boot/dts/am335x-evmsk.dts?h=ti-linux-4.19.y#n762
    2. https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/arch/arm/boot/dts/am33xx.dtsi?h=ti-linux-4.19.y#n1144 

    Regards,
    Krunal

  • Hello 

    I add sgx to am335x.dts am33xx.dtsi,,IT was compiled but still “please wait”

    test2020.zip

  • Hello,

    Based on the new weston logs, I do not see any pvr errors. I am wondering if you could please try running the commands:
    /etc/init.d/rc.pvr stop and /etc/init.d/rc.pvr start. Also, try running kmscube and share the outputs. 

    Regards,
    Krunal


  • root@am335x-evm:~# /etc/init.d/rc.pvr stop
    rmmod: ERROR: Module pvrsrvkm is in use
    Couldn't unload modules
    root@am335x-evm:~# /etc/init.d/rc.pvr start
    [ 170.201673] PVR_K: UM DDK-(4948957) and KM DDK-(4948957) match. [ OK ]
    PVR:(Error): SrvInit: PVRSRVInitSrvConnect failed (129) [0, ]
    /usr/bin/pvrsrvctl: SrvInit failed (already initialized?) (err=PVRSRV_ERROR_SRV_CONNECT_FAILED)
    root@am335x-evm:~# /etc/init.d/rc.pvr stop
    rmmod: ERROR: Module pvrsrvkm is in use
    Couldn't unload modules
    root@am335x-evm:~# /etc/init.d/rc.pvr start
    [ 174.612298] PVR_K: UM DDK-(4948957) and KM DDK-(4948957) match. [ OK ]
    PVR:(Error): SrvInit: PVRSRVInitSrvConnect failed (129) [0, ]
    /usr/bin/pvrsrvctl: SrvInit failed (already initialized?) (err=PVRSRV_ERROR_SRV_CONNECT_FAILED)
    root@am335x-evm:~# kmscube
    ### Display [0]: CRTC = 29, Connector = 31, format = 0x34325258
    Mode chosen [800x480] : Clock => 33200, Vertical refresh => 60, Type => 72
    Horizontal => 800, 840, 968, 1056, 0
    Vertical => 480, 491, 493, 525, 0
    ### Primary display => ConnectorId = 31, Resolution = 800x480
    Using display 0x38730 with EGL version 1.5
    EGL Version "1.5"
    EGL Vendor "Mesa Project"
    EGL Extensions "EGL_EXT_buffer_age EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import EGL_IMG_cl_image EGL_KHR_config_attribs EGL_KHR_create_context EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_WL_bind_wayland_display "
    display 0 failed to set mode: Permission denied
    root@am335x-evm:~#

  • Hello,

    It seems like Weston is running but not displaying any images. Please try running the command "/etc/init.d/weston stop" and try the above commands again.

    Regards,
    Krunal

  • Before try "weston stop" ,I try the command kmscube again,and it work .

    root@am335x-evm:~# kmscube
    ### Display [0]: CRTC = 29, Connector = 31, format = 0x34325258
    Mode chosen [800x480] : Clock => 33200, Vertical refresh => 60, Type => 72
    Horizontal => 800, 840, 968, 1056, 0
    Vertical => 480, 491, 493, 525, 0
    ### Primary display => ConnectorId = 31, Resolution = 800x480
    Using display 0x38730 with EGL version 1.5
    EGL Version "1.5"
    EGL Vendor "Mesa Project"
    EGL Extensions "EGL_EXT_buffer_age EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import EGL_IMG_cl_image EGL_KHR_config_attribs EGL_KHR_create_context EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_WL_bind_wayland_display "

    ^CHandling signal number = 2
    Cleanup of GL, GBM and DRM completed

    It show a 3D cube. 

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

    Stopping Matrix GUI applicationstart-stop-daemon: warning: killing process 742: No such process.
    root@am335x-evm:~# /etc/init.d/weston stop
    Stopping Weston
    root@am335x-evm:~# /etc/init.d/weston start
    Starting Weston
    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.

    But it still display wait,Attached is the log of this time

    Date: 2020-04-19 UTC
    [02:11:03.369] weston 5.0.0
                   https://wayland.freedesktop.org
                   Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
                   Build: unknown (not built from git or tarball)
    [02:11:03.369] Command line: weston --idle-time=0
    [02:11:03.369] OS: Linux, 4.19.94-gbe5389fd85, #2 PREEMPT Wed Mar 24 09:42:59 CST 2021, armv7l
    [02:11:03.389] Using config file '/etc//weston.ini'
    [02:11:03.411] Output repaint window is 7 ms maximum.
    [02:11:03.424] Loading module '/usr/lib/libweston-5/drm-backend.so'
    [02:11:03.478] initializing drm backend
    [02:11:03.537] using /dev/dri/card0
    [02:11:03.537] DRM: supports universal planes
    [02:11:03.543] DRM: supports atomic modesetting
    [02:11:03.543] DRM: supports picture aspect ratio
    [02:11:03.552] Loading module '/usr/lib/libweston-5/gl-renderer.so'
    [02:11:04.031] EGL client extensions: EGL_EXT_client_extensions
                   EGL_EXT_device_base EGL_EXT_device_enumeration
                   EGL_EXT_device_query EGL_EXT_platform_base
                   EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug
                   EGL_EXT_platform_wayland EGL_MESA_platform_gbm
    [02:11:04.035] warning: neither EGL_EXT_swap_buffers_with_damage or EGL_KHR_swap_buffers_with_damage is supported. Performance could be affected.
    [02:11:04.035] warning: Disabling render GPU timeline due to missing EGL_ANDROID_native_fence_sync extension
    [02:11:04.035] EGL_KHR_surfaceless_context available
    [02:11:04.152] EGL version: 1.5
    [02:11:04.152] EGL vendor: Mesa Project
    [02:11:04.152] EGL client APIs: OpenGL_ES 
    [02:11:04.152] EGL extensions: EGL_EXT_buffer_age
                   EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import
                   EGL_IMG_cl_image EGL_KHR_config_attribs EGL_KHR_create_context
                   EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses
                   EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image
                   EGL_KHR_gl_texture_cubemap_image EGL_KHR_image
                   EGL_KHR_image_base EGL_KHR_image_pixmap
                   EGL_KHR_no_config_context EGL_KHR_reusable_sync
                   EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float
                   EGL_KHR_wait_sync EGL_MESA_configless_context
                   EGL_MESA_drm_image EGL_WL_bind_wayland_display
    [02:11:04.163] GL version: OpenGL ES 2.0 build 1.17@4948957
    [02:11:04.163] GLSL version: OpenGL ES GLSL ES 1.00 build 1.17@4948957
    [02:11:04.163] GL vendor: Imagination Technologies
    [02:11:04.163] GL renderer: PowerVR SGX 530
    [02:11:04.163] GL extensions: GL_OES_compressed_ETC1_RGB8_texture
                   GL_OES_depth24 GL_OES_depth_texture GL_OES_egl_sync
                   GL_OES_element_index_uint GL_OES_EGL_image
                   GL_OES_EGL_image_external GL_OES_fbo_render_mipmap
                   GL_OES_fragment_precision_high GL_OES_get_program_binary
                   GL_OES_mapbuffer GL_OES_packed_depth_stencil
                   GL_OES_required_internalformat GL_OES_rgb8_rgba8
                   GL_OES_standard_derivatives GL_OES_surfaceless_context
                   GL_OES_texture_float GL_OES_texture_half_float
                   GL_OES_vertex_array_object GL_OES_vertex_half_float
                   GL_EXT_blend_minmax GL_EXT_discard_framebuffer
                   GL_EXT_multi_draw_arrays GL_EXT_multisampled_render_to_texture
                   GL_EXT_shader_texture_lod GL_EXT_texture_format_BGRA8888
                   GL_EXT_texture_rg GL_IMG_multisampled_render_to_texture
                   GL_IMG_program_binary GL_IMG_read_format GL_IMG_shader_binary
                   GL_IMG_texture_compression_pvrtc GL_IMG_texture_format_BGRA8888
                   GL_IMG_texture_npot GL_IMG_uniform_buffer_object GL_KHR_debug
                   GL_EXT_texture_storage
    [02:11:04.163] GL ES 2 renderer features:
                   read-back format: RGBA
                   wl_shm sub-image to texture: no
                   EGL Wayland extension: yes
    [02:11:04.195] event0  - gpio_buttons@0: is tagged by udev as: Keyboard
    [02:11:04.195] event0  - gpio_buttons@0: device is a keyboard
    [02:11:04.209] event1  - matrix_keypad@0: is tagged by udev as: Keyboard
    [02:11:04.209] event1  - matrix_keypad@0: device is a keyboard
    [02:11:04.219] event2  - ti-tsc: is tagged by udev as: Touchscreen
    [02:11:04.219] event2  - ti-tsc: device is a touch device
    [02:11:04.588] Touchscreen - ti-tsc - /sys/devices/platform/ocp/44e0d000.tscadc/TI-am335x-tsc.0.auto/input/input2/event2
    [02:11:04.589] input device event2 has no enabled output associated (none named), skipping calibration for now.
    [02:11:04.603] DRM: head 'LVDS-1' found, connector 31 is connected, EDID make 'unknown', model 'unknown', serial 'unknown'
    [02:11:04.604] Registered plugin API 'weston_drm_output_api_v1' of size 12
    [02:11:04.604] format 0x36314752 not supported by output LVDS-1
    [02:11:04.604] Failed to init output gl state
    [02:11:04.605] Enabling output "LVDS-1" failed.
    [02:11:04.612] Error: cannot enable output 'LVDS-1' without heads.
    [02:11:04.614] event0  - gpio_buttons@0: device removed
    [02:11:04.653] event1  - matrix_keypad@0: device removed
    [02:11:04.673] event2  - ti-tsc: device removed
    Date: 2020-04-19 UTC
    [02:13:03.530] weston 5.0.0
                   https://wayland.freedesktop.org
                   Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
                   Build: unknown (not built from git or tarball)
    [02:13:03.530] Command line: weston --idle-time=0
    [02:13:03.530] OS: Linux, 4.19.94-gbe5389fd85, #2 PREEMPT Wed Mar 24 09:42:59 CST 2021, armv7l
    [02:13:03.531] Using config file '/etc//weston.ini'
    [02:13:03.532] Output repaint window is 7 ms maximum.
    [02:13:03.533] Loading module '/usr/lib/libweston-5/drm-backend.so'
    [02:13:03.538] initializing drm backend
    [02:13:03.547] using /dev/dri/card0
    [02:13:03.547] DRM: supports universal planes
    [02:13:03.547] DRM: supports atomic modesetting
    [02:13:03.548] DRM: supports picture aspect ratio
    [02:13:03.548] Loading module '/usr/lib/libweston-5/gl-renderer.so'
    [02:13:03.614] EGL client extensions: EGL_EXT_client_extensions
                   EGL_EXT_device_base EGL_EXT_device_enumeration
                   EGL_EXT_device_query EGL_EXT_platform_base
                   EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug
                   EGL_EXT_platform_wayland EGL_MESA_platform_gbm
    [02:13:03.617] warning: neither EGL_EXT_swap_buffers_with_damage or EGL_KHR_swap_buffers_with_damage is supported. Performance could be affected.
    [02:13:03.617] warning: Disabling render GPU timeline due to missing EGL_ANDROID_native_fence_sync extension
    [02:13:03.617] EGL_KHR_surfaceless_context available
    [02:13:03.633] EGL version: 1.5
    [02:13:03.633] EGL vendor: Mesa Project
    [02:13:03.633] EGL client APIs: OpenGL_ES 
    [02:13:03.633] EGL extensions: EGL_EXT_buffer_age
                   EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import
                   EGL_IMG_cl_image EGL_KHR_config_attribs EGL_KHR_create_context
                   EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses
                   EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image
                   EGL_KHR_gl_texture_cubemap_image EGL_KHR_image
                   EGL_KHR_image_base EGL_KHR_image_pixmap
                   EGL_KHR_no_config_context EGL_KHR_reusable_sync
                   EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float
                   EGL_KHR_wait_sync EGL_MESA_configless_context
                   EGL_MESA_drm_image EGL_WL_bind_wayland_display
    [02:13:03.634] GL version: OpenGL ES 2.0 build 1.17@4948957
    [02:13:03.634] GLSL version: OpenGL ES GLSL ES 1.00 build 1.17@4948957
    [02:13:03.634] GL vendor: Imagination Technologies
    [02:13:03.634] GL renderer: PowerVR SGX 530
    [02:13:03.634] GL extensions: GL_OES_compressed_ETC1_RGB8_texture
                   GL_OES_depth24 GL_OES_depth_texture GL_OES_egl_sync
                   GL_OES_element_index_uint GL_OES_EGL_image
                   GL_OES_EGL_image_external GL_OES_fbo_render_mipmap
                   GL_OES_fragment_precision_high GL_OES_get_program_binary
                   GL_OES_mapbuffer GL_OES_packed_depth_stencil
                   GL_OES_required_internalformat GL_OES_rgb8_rgba8
                   GL_OES_standard_derivatives GL_OES_surfaceless_context
                   GL_OES_texture_float GL_OES_texture_half_float
                   GL_OES_vertex_array_object GL_OES_vertex_half_float
                   GL_EXT_blend_minmax GL_EXT_discard_framebuffer
                   GL_EXT_multi_draw_arrays GL_EXT_multisampled_render_to_texture
                   GL_EXT_shader_texture_lod GL_EXT_texture_format_BGRA8888
                   GL_EXT_texture_rg GL_IMG_multisampled_render_to_texture
                   GL_IMG_program_binary GL_IMG_read_format GL_IMG_shader_binary
                   GL_IMG_texture_compression_pvrtc GL_IMG_texture_format_BGRA8888
                   GL_IMG_texture_npot GL_IMG_uniform_buffer_object GL_KHR_debug
                   GL_EXT_texture_storage
    [02:13:03.634] GL ES 2 renderer features:
                   read-back format: RGBA
                   wl_shm sub-image to texture: no
                   EGL Wayland extension: yes
    [02:13:03.645] event0  - gpio_buttons@0: is tagged by udev as: Keyboard
    [02:13:03.645] event0  - gpio_buttons@0: device is a keyboard
    [02:13:03.648] event1  - matrix_keypad@0: is tagged by udev as: Keyboard
    [02:13:03.648] event1  - matrix_keypad@0: device is a keyboard
    [02:13:03.652] event2  - ti-tsc: is tagged by udev as: Touchscreen
    [02:13:03.652] event2  - ti-tsc: device is a touch device
    [02:13:03.696] Touchscreen - ti-tsc - /sys/devices/platform/ocp/44e0d000.tscadc/TI-am335x-tsc.0.auto/input/input2/event2
    [02:13:03.696] input device event2 has no enabled output associated (none named), skipping calibration for now.
    [02:13:03.697] DRM: head 'LVDS-1' found, connector 31 is connected, EDID make 'unknown', model 'unknown', serial 'unknown'
    [02:13:03.698] Registered plugin API 'weston_drm_output_api_v1' of size 12
    [02:13:03.698] format 0x36314752 not supported by output LVDS-1
    [02:13:03.698] Failed to init output gl state
    [02:13:03.699] Enabling output "LVDS-1" failed.
    [02:13:03.699] Error: cannot enable output 'LVDS-1' without heads.
    [02:13:03.700] event0  - gpio_buttons@0: device removed
    [02:13:03.752] event1  - matrix_keypad@0: device removed
    [02:13:03.812] event2  - ti-tsc: device removed
    

    So I reset the Linux computer,and try to use the command Weston。

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

    root@am335x-evm:~# /etc/init.d/rc.pvr stop
    rmmod: ERROR: Module pvrsrvkm is not currently loaded
    Couldn't unload modules
    root@am335x-evm:~# /etc/init.d/rc.pvr start
    [ 813.691154] [drm] Initialized pvr 1.17.4948957 20110701 for 56000000.sgx on minor 1
    [ 813.737056] PVR_K: UM DDK-(4948957) and KM DDK-(4948957) match. [ OK ]

    It has not changed at all.Attached is the log of the try

    .

    Date: 2020-04-19 UTC
    [02:11:03.369] weston 5.0.0
                   https://wayland.freedesktop.org
                   Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
                   Build: unknown (not built from git or tarball)
    [02:11:03.369] Command line: weston --idle-time=0
    [02:11:03.369] OS: Linux, 4.19.94-gbe5389fd85, #2 PREEMPT Wed Mar 24 09:42:59 CST 2021, armv7l
    [02:11:03.381] Using config file '/etc//weston.ini'
    [02:11:03.405] Output repaint window is 7 ms maximum.
    [02:11:03.423] Loading module '/usr/lib/libweston-5/drm-backend.so'
    [02:11:03.461] initializing drm backend
    [02:11:03.504] using /dev/dri/card0
    [02:11:03.505] DRM: supports universal planes
    [02:11:03.505] DRM: supports atomic modesetting
    [02:11:03.505] DRM: supports picture aspect ratio
    [02:11:03.514] Loading module '/usr/lib/libweston-5/gl-renderer.so'
    [02:11:03.930] EGL client extensions: EGL_EXT_client_extensions
                   EGL_EXT_device_base EGL_EXT_device_enumeration
                   EGL_EXT_device_query EGL_EXT_platform_base
                   EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug
                   EGL_EXT_platform_wayland EGL_MESA_platform_gbm
    [02:11:03.938] warning: neither EGL_EXT_swap_buffers_with_damage or EGL_KHR_swap_buffers_with_damage is supported. Performance could be affected.
    [02:11:03.938] warning: Disabling render GPU timeline due to missing EGL_ANDROID_native_fence_sync extension
    [02:11:03.939] EGL_KHR_surfaceless_context available
    [02:11:04.048] EGL version: 1.5
    [02:11:04.048] EGL vendor: Mesa Project
    [02:11:04.048] EGL client APIs: OpenGL_ES 
    [02:11:04.048] EGL extensions: EGL_EXT_buffer_age
                   EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import
                   EGL_IMG_cl_image EGL_KHR_config_attribs EGL_KHR_create_context
                   EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses
                   EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image
                   EGL_KHR_gl_texture_cubemap_image EGL_KHR_image
                   EGL_KHR_image_base EGL_KHR_image_pixmap
                   EGL_KHR_no_config_context EGL_KHR_reusable_sync
                   EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float
                   EGL_KHR_wait_sync EGL_MESA_configless_context
                   EGL_MESA_drm_image EGL_WL_bind_wayland_display
    [02:11:04.048] GL version: OpenGL ES 2.0 build 1.17@4948957
    [02:11:04.049] GLSL version: OpenGL ES GLSL ES 1.00 build 1.17@4948957
    [02:11:04.049] GL vendor: Imagination Technologies
    [02:11:04.049] GL renderer: PowerVR SGX 530
    [02:11:04.049] GL extensions: GL_OES_compressed_ETC1_RGB8_texture
                   GL_OES_depth24 GL_OES_depth_texture GL_OES_egl_sync
                   GL_OES_element_index_uint GL_OES_EGL_image
                   GL_OES_EGL_image_external GL_OES_fbo_render_mipmap
                   GL_OES_fragment_precision_high GL_OES_get_program_binary
                   GL_OES_mapbuffer GL_OES_packed_depth_stencil
                   GL_OES_required_internalformat GL_OES_rgb8_rgba8
                   GL_OES_standard_derivatives GL_OES_surfaceless_context
                   GL_OES_texture_float GL_OES_texture_half_float
                   GL_OES_vertex_array_object GL_OES_vertex_half_float
                   GL_EXT_blend_minmax GL_EXT_discard_framebuffer
                   GL_EXT_multi_draw_arrays GL_EXT_multisampled_render_to_texture
                   GL_EXT_shader_texture_lod GL_EXT_texture_format_BGRA8888
                   GL_EXT_texture_rg GL_IMG_multisampled_render_to_texture
                   GL_IMG_program_binary GL_IMG_read_format GL_IMG_shader_binary
                   GL_IMG_texture_compression_pvrtc GL_IMG_texture_format_BGRA8888
                   GL_IMG_texture_npot GL_IMG_uniform_buffer_object GL_KHR_debug
                   GL_EXT_texture_storage
    [02:11:04.049] GL ES 2 renderer features:
                   read-back format: RGBA
                   wl_shm sub-image to texture: no
                   EGL Wayland extension: yes
    [02:11:04.123] event0  - gpio_buttons@0: is tagged by udev as: Keyboard
    [02:11:04.123] event0  - gpio_buttons@0: device is a keyboard
    [02:11:04.126] event1  - matrix_keypad@0: is tagged by udev as: Keyboard
    [02:11:04.127] event1  - matrix_keypad@0: device is a keyboard
    [02:11:04.165] event2  - ti-tsc: is tagged by udev as: Touchscreen
    [02:11:04.165] event2  - ti-tsc: device is a touch device
    [02:11:04.507] Touchscreen - ti-tsc - /sys/devices/platform/ocp/44e0d000.tscadc/TI-am335x-tsc.0.auto/input/input2/event2
    [02:11:04.507] input device event2 has no enabled output associated (none named), skipping calibration for now.
    [02:11:04.512] DRM: head 'LVDS-1' found, connector 31 is connected, EDID make 'unknown', model 'unknown', serial 'unknown'
    [02:11:04.512] Registered plugin API 'weston_drm_output_api_v1' of size 12
    [02:11:04.513] format 0x36314752 not supported by output LVDS-1
    [02:11:04.513] Failed to init output gl state
    [02:11:04.513] Enabling output "LVDS-1" failed.
    [02:11:04.513] Error: cannot enable output 'LVDS-1' without heads.
    [02:11:04.514] event0  - gpio_buttons@0: device removed
    [02:11:04.568] event1  - matrix_keypad@0: device removed
    [02:11:04.628] event2  - ti-tsc: device removed
    

  • Hello,

    Okay, the GPU and the display is now working as expected. With regards to Weston, it seems like a format mismatch based on the log "format 0x36314752 not supported by output LVDS-1". I apologize for sharing incorrect information earlier but it seems like your display only supports "BG16 RG24 XR24". Please remove the below items and try again 

    • /etc/powervr.ini: add DefaultPixelFormat=RGB565
    • /etc/weston.ini: add gbm-format=rgb565 at section [core]

    Regards,
    Krunal

  • Thanks.It work.but touchscreen isnt work.

    I check :

    root@am335x-evm:~# hexdump /dev/input/touchscreen0 
    0000000 b366 5e9b 9e17 0006 0003 0000 0242 0000
    0000010 b366 5e9b 9e17 0006 0003 0001 0c0d 0000
    0000020 b366 5e9b 9e17 0006 0003 0018 0101 0000
    0000030 b366 5e9b 9e17 0006 0001 014a 0001 0000
    0000040 b366 5e9b 9e17 0006 0000 0000 0000 0000

    The system receives the signal from the touch screen,then I try to recalibrate screen:

    root@am335x-evm:~# rm /etc/udev/rules.d/ws-calibrate.rules   
    root@am335x-evm:~# rm /run/media/mmcblk0p1/ws-calibrate.rules
    rm: can't remove '/run/media/mmcblk0p1/ws-calibrate.rules': No such file or directory
    root@am335x-evm:~# reboot

    After I click the red cross to calibrate,  click the icon still has no response

  • Hello,

    It seems like the martix GUI is not being responsive to touch and we are currently debugging it. As an experiment, if you disable the gui and launch /usr/share/qt5/examples/touch/fingurepaint, are you able to draw?

    Regards,
    Krunal


  • root@am335x-evm:~# systemctl disable matrix-gui-2.0.service
    
    Synchronizing state of matrix-gui-2.0.service with SysV service script with /lib/systemd/systemd-sysv-install.
    Executing: /lib/systemd/systemd-sysv-install disable matrix-gui-2.0
    update-rc.d: /etc/init.d/matrix-gui-2.0 exists during rc.d purge (continuing)
    Removing any system startup links for matrix-gui-2.0 ...
    Removed /etc/systemd/system/multi-user.target.wants/matrix-gui-2.0.service.
    root@am335x-evm:~# [ OK ] Stopped Serial Getty on ttyS3.
    [ OK ] Started Serial Getty on ttyS3.
    
    root@am335x-evm:~#
    
    root@am335x-evm:/usr/share/qt5/examples/touch/fingerpaint# ./fingerpaint
    Using Wayland-EGL
    Using the 'wl-shell' shell integration
    xkbcommon: ERROR: couldn't find a Compose file for locale "C"

    I can draw ,but I cant touch "x" "FIle" "Help" "Opition"

  • Hello,

    Are you planning on using Qt for your touch application or are you trying to verify the touch aspect of your LCD? Please provide more information about your end goal.  

    Regards,
    Krunal

  • use Qt for my touch application 

  • Hello,

    I am internally discussing the touchscreen issues on AM335x and I will get back to you. With regards to display issues, I am wondering if everything is now functional. I guess you were just missing the GPU node in the DT file.

    Regards,
    Krunal

  • Thank you ,the display issues is OK.

    I were just missing the GPU node in the DT file.