Posts by Konzept

    Hello,

    we're using a PicoCore MX8MP-V2-LIN HW-Rev. 1.0 which works with our software + hardware.

    We replaced it with Rev. 1.1 and use the same Hardware + Software. Now the LVDS-Display isn't working anymore.

    Old U-Boot output:


    U-Boot SPL 2020.04 (Jul 20 2021 - 08:40:33 +0000)

    DDRInfo: RAM initialization success.

    Using fixed config: 0x3b

    Normal Boot

    Trying to boot from BOOTROM

    image offset 0x0, pagesize 0x200, ivt offset 0x0

    NOTICE:  BL31: v2.2(release):rel_imx_5.4.70_2.3.2_rc1-0-g2a2678646-dirty

    NOTICE:  BL31: Built : 18:46:16, Jul 19 2021

    U-Boot 2020.04 (Jul 20 2021 - 08:40:33 +0000) for F&S

    CPU:   i.MX8MP[8] rev1.0 1800 MHz (running at 1200 MHz)

    CPU:   Commercial temperature grade (0C to 95C) at 39C

    Reset cause: POR

    Model: F&S PicoCoreMX8MP

    Board: PicoCoreMX8MP Rev 1.00 (2x LAN, eMMC, 1x DRAM)

    DRAM:  1 GiB

    tcpc_init: Can't find device id=0x52

    setup_typec: tcpc port init failed, err=-19

    MMC:   FSL_SDHC: 0, FSL_SDHC: 2

    Loading Environment from MMC... OK

    In:    serial

    Out:   serial

    Err:   serial

    BuildInfo:

    - ATF 2a26786

    - U-Boot 2020.04

    flash target is MMC:2

    Net: eth0: ethernet@30be0000 [PRIME], eth1: ethernet@30bf0000

    Fastboot: Normal

    Normal Boot



    New output on Rev 1.1 looks like this:




    The CPU-Name changed.

    Probably because of the updated U-Boot version?

    The error we get in the systemlog with Rev 1.1 are:

    Mar 21 17:02:43 fsimx8mp kernel: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).

    Mar 21 17:02:43 fsimx8mp kernel: [drm] No driver support for vblank timestamp query.

    Mar 21 17:02:43 fsimx8mp kernel: imx-drm display-subsystem: bound imx-lcdifv3-crtc.0 (ops lcdifv3_crtc_ops)

    Mar 21 17:02:43 fsimx8mp kernel: imx_sec_dsim_drv 32e60000.mipi_dsi: version number is 0x1060200

    Mar 21 17:02:43 fsimx8mp kernel: imx_sec_dsim_drv 32e60000.mipi_dsi: Failed to attach bridge: 32e60000.mipi_dsi

    Mar 21 17:02:43 fsimx8mp kernel: imx_sec_dsim_drv 32e60000.mipi_dsi: failed to bind sec dsim bridge: -19

    Mar 21 17:02:43 fsimx8mp kernel: imx-drm display-subsystem: bound 32e60000.mipi_dsi (ops imx_sec_dsim_ops)

    Mar 21 17:02:43 fsimx8mp kernel: [drm] Initialized imx-drm 1.0.0 20120507 for display-subsystem on minor 0

    ...

    Mar 21 17:02:44 fsimx8mp systemd[1]: Started Start Psplash Boot Screen.

    Mar 21 17:02:44 fsimx8mp psplash[288]: Error opening /dev/fb0

    Mar 21 17:02:44 fsimx8mp systemd[1]: Started Load/Save Random Seed.

    Mar 21 17:02:44 fsimx8mp systemd[1]: psplash-start.service: Main process exited, code=exited, status=255/EXCEPTION

    Mar 21 17:02:44 fsimx8mp systemd[1]: psplash-start.service: Failed with result 'exit-code'.

    ...

    Mar 21 17:02:44 fsimx8mp systemd[1]: Started Start Psplash Boot Screen.

    Mar 21 17:02:44 fsimx8mp psplash[323]: Error opening /dev/fb0

    Mar 21 17:02:44 fsimx8mp systemd[1]: psplash-start.service: Main process exited, code=exited, status=255/EXCEPTION

    Mar 21 17:02:44 fsimx8mp systemd[1]: psplash-start.service: Failed with result 'exit-code'.

    ...

    Mar 21 17:02:45 fsimx8mp kernel[329]: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).

    Mar 21 17:02:45 fsimx8mp kernel[329]: [drm] No driver support for vblank timestamp query.

    Mar 21 17:02:45 fsimx8mp kernel[329]: imx-drm display-subsystem: bound imx-lcdifv3-crtc.0 (ops lcdifv3_crtc_ops)

    Mar 21 17:02:45 fsimx8mp kernel[329]: imx_sec_dsim_drv 32e60000.mipi_dsi: version number is 0x1060200

    Mar 21 17:02:45 fsimx8mp kernel[329]: imx_sec_dsim_drv 32e60000.mipi_dsi: Failed to attach bridge: 32e60000.mipi_dsi

    Mar 21 17:02:45 fsimx8mp kernel[329]: imx_sec_dsim_drv 32e60000.mipi_dsi: failed to bind sec dsim bridge: -19

    Mar 21 17:02:45 fsimx8mp kernel[329]: imx-drm display-subsystem: bound 32e60000.mipi_dsi (ops imx_sec_dsim_ops)

    Mar 21 17:02:45 fsimx8mp kernel[329]: [drm] Initialized imx-drm 1.0.0 20120507 for display-subsystem on minor 0

    ...

    Mar 21 17:02:47 fsimx8mp startApplication.sh[418]: Failed to create wl_display (No such file or directory)

    Mar 21 17:02:47 fsimx8mp startApplication.sh[418]: qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.

    Mar 21 17:02:47 fsimx8mp startApplication.sh[418]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

    Mar 21 17:02:47 fsimx8mp startApplication.sh[418]: Available platform plugins are: eglfs, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland.

    Mar 21 17:02:47 fsimx8mp audit[422]: ANOM_ABEND auid=4294967295 uid=0 gid=0 ses=4294967295 pid=422 comm="APP" exe="/opt/APP" sig=6 res=1

    Mar 21 17:02:47 fsimx8mp startApplication.sh[418]: /opt/startApplication.sh: line 15: 422 Aborted /opt/APP

    Mar 21 17:02:47 fsimx8mp systemd[1]: app.service: Main process exited, code=exited, status=134/n/a

    Mar 21 17:02:47 fsimx8mp systemd[1]: app.service: Failed with result 'exit-code'.

    Mar 21 17:02:47 fsimx8mp kernel: audit: type=1701 audit(1679414567.020:5): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=422 comm="APP" exe=/opt/APP" sig=6 res=1

    Mar 21 17:02:47 fsimx8mp kernel[329]: audit: type=1701 audit(1679414567.020:5): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=422 comm="APP" exe="/opt/APP" sig=6 res=1


    For the old Version we get this additional log and have a working frame buffer:
    Nov 20 11:21:20 fsimx8mp kernel: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).

    Nov 20 11:21:20 fsimx8mp kernel: [drm] No driver support for vblank timestamp query.

    Nov 20 11:21:20 fsimx8mp kernel: imx-drm display-subsystem: bound imx-lcdifv3-crtc.0 (ops lcdifv3_crtc_ops)

    Nov 20 11:21:20 fsimx8mp kernel: imx-drm display-subsystem: bound imx-lcdifv3-crtc.1 (ops lcdifv3_crtc_ops)

    Nov 20 11:21:20 fsimx8mp kernel: imx_sec_dsim_drv 32e60000.mipi_dsi: version number is 0x1060200

    Nov 20 11:21:20 fsimx8mp kernel: imx_sec_dsim_drv 32e60000.mipi_dsi: Failed to attach bridge: 32e60000.mipi_dsi

    Nov 20 11:21:20 fsimx8mp kernel: imx_sec_dsim_drv 32e60000.mipi_dsi: failed to bind sec dsim bridge: -19

    Nov 20 11:21:20 fsimx8mp kernel: imx-drm display-subsystem: bound 32e60000.mipi_dsi (ops imx_sec_dsim_ops)

    Nov 20 11:21:20 fsimx8mp kernel: imx-drm display-subsystem: bound 32c00000.bus:ldb@32ec005c (ops imx8mp_ldb_ops)

    Nov 20 11:21:20 fsimx8mp kernel: [drm] Initialized imx-drm 1.0.0 20120507 for display-subsystem on minor 1

    Nov 20 11:21:20 fsimx8mp kernel: Console: switching to colour frame buffer device 160x50

    Hello,

    thank you for updating the manual.

    The commands that are mentioned on page 7
    "...<build-directory>]$ source ./..sources/poky/oe-init-build-env
    ...<build-directory>]$ bitbake meta-toolchain"

    didn't work for me.
    QT wasn't compiled with that.

    With the configured Yocto i used the command
    "bitbake meta-toolchain-qt5"


    Best regards

    Benni

    Hello,

    i'm looking for the Crosscompile QT-Version(qmake) path in the Yocto Build.


    The "F&S Introduction to QT5 Debugging an Application Version 1.4" document describes everything for Buildroot. But the "F&S i.MX8M-Plus Linux First Steps Version 1.0" document states that "Buildroot Release is not yet available."

    So the Yocto-Build is a "fus-image-qt5"(fus-imx-wayland).

    Thank you.

    With best regards
    Benni

    Hello,

    thank you for your answer.

    It's a PicocoreMX8MP-V2.


    The activation of channel 0 was tried before and it didn't work.

    The problem was probably, that LVDS Channel1 was not fully deactivated and there was a conflict.



    Now it works.



    Best regards,
    Benni

    Guten Tag,

    bei der Inbetriebnahme eines LVDS-Displays am PicoCoreMX8MP wird leider kein Bild angezeigt. Das Regeln der Hintergrundbeleuchtung funktioniert.
    Das Display ist an die LVDS0 Schnittstelle angeschlossen (BL_ON, BL_PWM, VLCD_ON, LVDS0_CLK_P, LVDS0_CLKN, LVDS0_D[0-4]_[P/N]).


    Der Devicetree basiert auf picocoremx8mp-lcdif-j070wvtc0211.dts und sieht folgendermaßen aus:

    Beim Erstellen treten folgende Warnungen auf:


    DMESG gekürzt:



    Es taucht ein Framebuffer auf mit den korrekten Parametern:

    Code
    1. root@fsimx8mp:~# fbset
    2. mode "1280x800"
    3. geometry 1280 800 1280 800 32
    4. timings 0 0 0 0 0 0 0
    5. accel true
    6. rgba 8/16,8/8,8/0,0/0
    7. endmode


    Bild wird aber keines ausgegeben.
    Weder mit cat /dev/urandom > /dev/fb0 noch wenn ein QT Beispiel wie z.B. /usr/share/examples/gui/analogclock gestartet wird.


    qtdiag liefert folgendes:



    Ist das ein Problem mit dem Devicetree oder müssen spezielle Treiber aktiviert werden?




    Vielen Dank,

    Benni.