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.

PROCESSOR-SDK-AM62X: psplash-start.service and ti-apps-launche.service failed

Part Number: PROCESSOR-SDK-AM62X


HI,
I use SDK  for ti-processor-sdk-linux-am62xx-evm-09.00.00.03 on AM6254 。 ddr4:512M .

1、now the linux system works . but in the startup . the psplash-star.service is failed , the ti-apps-launche.service is failed.

I use the systemctl command . below is information :

root@am62xx-evm:~# systemctl status ti-apps-launcher.service
脳 ti-apps-launcher.service - ti-apps-launcher service
Loaded: loaded (/etc/systemd/system/ti-apps-launcher.service; enabled; vendor preset: enabled)
Active: failed (Result: signal) since Thu 2024-01-04 11:50:38 UTC; 1min 23s ago
Process: 322 ExecStart=/bin/sh -c . /opt/edgeai-gst-apps/init_script.sh ; /usr/bin/ti-apps-launcher (code=killed, signal=KILL)
Main PID: 322 (code=killed, signal=KILL)

Jan 04 11:50:12 am62xx-evm systemd[1]: Started ti-apps-launcher service.
Jan 04 11:50:22 am62xx-evm sh[322]: QStandardPaths: runtime directory '/run/user/1000' is not owned by UID 0, but a directory permissions 0700 owned by UID 1000 GID 1000
Jan 04 11:50:23 am62xx-evm sh[322]: Running Platform Setup of AM62x!
Jan 04 11:50:26 am62xx-evm sh[322]: libEGL warning: egl: failed to create dri2 screen
Jan 04 11:50:35 am62xx-evm sh[322]: libpng warning: iCCP: known incorrect sRGB profile
Jan 04 11:50:35 am62xx-evm sh[322]: libpng warning: iCCP: cHRM chunk does not match sRGB
Jan 04 11:50:35 am62xx-evm sh[322]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Jan 04 11:50:38 am62xx-evm systemd[1]: ti-apps-launcher.service: Main process exited, code=killed, status=9/KILL
Jan 04 11:50:38 am62xx-evm systemd[1]: ti-apps-launcher.service: Failed with result 'signal'.
root@am62xx-evm:~#
root@am62xx-evm:~#
root@am62xx-evm:~#
root@am62xx-evm:~# systemctl status psplash-start.service
脳 psplash-start.service - Start psplash boot splash screen
Loaded: loaded (/lib/systemd/system/psplash-start.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2022-04-28 17:42:28 UTC; 1 year 8 months ago
Process: 155 ExecStart=/usr/bin/psplash (code=exited, status=255/EXCEPTION)
Main PID: 155 (code=exited, status=255/EXCEPTION)

Apr 28 17:42:28 am62xx-evm psplash[155]: Error opening /dev/fb0
Apr 28 17:42:28 am62xx-evm systemd[1]: psplash-start.service: Main process exited, code=exited, status=255/EXCEPTION
Apr 28 17:42:28 am62xx-evm systemd[1]: psplash-start.service: Failed with result 'exit-code'.
Apr 28 17:42:28 am62xx-evm systemd[1]: Failed to start Start psplash boot splash screen.
Notice: journal has been rotated since unit was started, output may be incomplete.
root@am62xx-evm:~#

2、I use  lsmod

the pvrsrvkm.ko  didn't  auto loaded .

module list:
root@am62xx-evm:~# lsmod
Module Size Used by
xt_conntrack 16384 1
xt_MASQUERADE 16384 1
xt_addrtype 16384 2
iptable_filter 16384 1
iptable_nat 16384 1
nf_nat 49152 2 iptable_nat,xt_MASQUERADE
nf_conntrack 131072 3 xt_conntrack,nf_nat,xt_MASQUERADE
nf_defrag_ipv6 20480 1 nf_conntrack
nf_defrag_ipv4 16384 1 nf_conntrack
libcrc32c 16384 2 nf_conntrack,nf_nat
ip_tables 32768 2 iptable_filter,iptable_nat
x_tables 45056 6 xt_conntrack,iptable_filter,xt_addrtype,ip_tables,iptable_nat,xt_MASQUERADE
br_netfilter 32768 0
bridge 253952 1 br_netfilter
stp 16384 1 bridge
llc 16384 2 bridge,stp
overlay 122880 0
xhci_plat_hcd 16384 0
rpmsg_ctrl 16384 0
dwc3 98304 0
rpmsg_char 16384 1 rpmsg_ctrl
pru_rproc 24576 0
irq_pruss_intc 16384 0
crct10dif_ce 16384 1
ti_k3_r5_remoteproc 28672 0
tidss 53248 1
virtio_rpmsg_bus 20480 0
dwc3_am62 16384 0
panel_simple 86016 0
drm_dma_helper 20480 1 tidss
rpmsg_ns 16384 1 virtio_rpmsg_bus
drm_kms_helper 196608 4 drm_dma_helper,tidss
cfbfillrect 16384 1 drm_kms_helper
ti_k3_m4_remoteproc 16384 0
syscopyarea 16384 1 drm_kms_helper
ti_k3_common 16384 1 ti_k3_m4_remoteproc
cfbimgblt 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
fb_sys_fops 16384 1 drm_kms_helper
cfbcopyarea 16384 1 drm_kms_helper
pruss 16384 0
mcrc 16384 0
sa2ul 36864 0
rtc_ds1307 28672 0
drm 581632 6 drm_kms_helper,panel_simple,drm_dma_helper,tidss
fuse 135168 1
drm_panel_orientation_quirks 28672 1 drm
ipv6 479232 50 bridge,br_netfilter
root@am62xx-evm:~

so how to solve it ?
could you give me some advices ?  Thanks very much!

  • Hello,

    Have you compiled the GPU module? In general, how are you are you generating rootfs and compiling Kernel? Are you using the sources directly from the SDK?

    Regards,
    Krunal

  • Hi, I compiled the Kernel and extra-drivers. 
    I used rootfs directly from SDK .  I  decompression  tisdk-default-image-am62xx-evm.tar.xz to SD card parition two of ext4 pattern.
    then I install kernel modules to sd rootfs  with command(sudo make ARCH=arm64 INSTALL_MOD_PATH=/media/hj/rootfs modules_install).
    and I copy extra-drivers  (cryptodev.ko and  pvrsrvkm.ko) to rootfs .the path is /lib/modules/6.1.33-g40c32565ca/extra.

    so do need to compile the rootfs ?

  • No, you don't need to compile rootfs. You mentioned that you manually copied pvrsrvkm.ko and what happens if you manually insmod it?

    Regards,
    Krunal

  • Hi ,I can  insmod pvrsrvkm.ko manually. then I run qt application ,like hellogles3, I  found the cpu mem has used 90%.

    1、I have do some other test . I found if  I use default rootfs of ti-sdk-9.0.03's filesystem . Ijust change the k3-am625-sk.dtb. the linux system could run .all the modules loaded ok . but the tidss driver has probole . the information is: tidss 30200000.dss: tidss_encoder_atomic_check: No bus_formats in connected display。  I use  rgb888. the  dts configure is below:

    panel_rgb: panel-rgb {
    compatible = "panel-dpi";
    //backlight = <&backlight_rgb>;
    //power-supply = <&vdd_rgb>;
    status = "okay";

    panel-width-mm = <68>;
    panel-height-mm = <121>;


    panel-timing {
    clock-frequency = <85500000>;
    hactive = <1366>;
    vactive = <768>;
    hback-porch = <223>;
    hfront-porch = <60>;
    vback-porch = <24>;
    vfront-porch = <3>;
    hsync-len = <143>;
    vsync-len = <3>;
    hsync-active = <1>;
    vsync-active = <1>;
    de-active = <1>;
    pixelclk-active = <1>;
    };

    ports {
    #address-cells = <1>;
    #size-cells = <0>;
    port@0 {
    rgb_in1: endpoint {
    remote-endpoint = <&dpi1_out>;
    };
    };

    };

    };

    &dss {
    pinctrl-names = "default";
    pinctrl-0 = <&main_dss0_pins_default>;
    status= "okay";
    };

    &dss_ports {
    #address-cells = <1>;
    #size-cells = <0>;

    /*VP2:DPI OUTPUT*/
    port@1{
    reg = <1>;
    dpi1_out:endpoint{
    data-lines = <24>;
    remote-endpoint = <&rgb_in1>;
    };
    };
    };

    so the bus_formats how to configure in the dts ?

    2、 I  compiled  kernel  in the ti-linux-kernel  with the  default  config (make ARCH=arm64 CROSS_COMPILE=aarch64-none-linux-gnu- defconfig ti_arm64_prune.config). then i install the kernal module to rootfs(sudo make ARCH=arm64 INSTALL_MOD_PATH=/media/hj/rootfs modules_install).the linux system run ,but the module pvrsrvkm.ko didn't load .and the hw time sync and  ti-apps-launcher.service failed.
    why coule  the compiled the kernel and module run ?

    3、if  I just update  the compiled  kernel , this kernel couldn't load the default module of rootfs .this is very strange . do I forget configure something ?
     I  referenced :https://software-dl.ti.com/processor-sdk-linux/esd/AM62X/09_00_00_03/exports/docs/linux/Foundational_Components_Kernel_Users_Guide.html#getting-the-kernel-source-code

    what's the problem ?could you give me some useful advices ?

  • Hi Helen,

    Krunal is out of office this week as he is on travel. While he returns, have you tried to use the default Image that comes with our SDK release? The latest SDK release is 9.1.

    https://dr-download.ti.com/software-development/software-development-kit-sdk/MD-PvdSyIiioq/09.01.00.08/tisdk-default-image-am62xx-evm.wic.xz

    Let me know if you still see issues with apps launcher/psplash?

    Best Regards,

    Suren

  • Hi Suren,
    in the  sdk09.00.00.03.I use command(make all ). I found the toolchain is  aarch64-oe-linux-gcc, this is for oe operation system . I comipled the ti-linux-kernel use the toolchain aarch64-none-linux-gcc.so The issues is caused by the  different toolchain ?

  • Hi ,I have fond the problem of the issue. pvrsrvkm.ko need to copy to the module of rootfs . then to update the map file . now the system run ok . Thanks very much!