This thread has been locked.

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

Linux/AM4379: Psplash questions

Part Number: AM4379

Tool/software: Linux

Hello all,

I am trying to customize psplash and running in to some issues.  In troubleshooting I have found I can't even get the TI psplash to run.

For clarity, I am running...

cd ~/tisdk

./oe-layertool-setup.sh -f configs/arago-krogoth-config.txt

cd build

. conf/setenv

MACHINE=am437x-evm bitbake tisdk-rootfs-image

... then I deploy it to the uSD card and boot it.

Q1.  If I build tisdk-rootfs-image with no modifications, should I expect it to have a splash screen?  Currently mine doesn't.

Q2.  Do I need to add IMAGE_INSTALL_append = " psplash" to local.conf to have it added to the image?

Q3.  Do I need to add IMAGE_FEATURES += "splash" to local.conf to have it added to the image?

Q4.  What's the difference between feature "splash" and application "psplash"?

Q5.  Are they both required for a splash screen to work?

Q6.  Are they redundant of each other? i.e. differing ways of doing the same thing to the image?

Thanks,

Nathan

  • The software team have been notified. They will respond here.
  • Hi,

    Q1 : Latest SDK does not start psplash.

    Q2, Q3: I think you need only the psplas app binary. If your fs uses systemd, you need to create a service that calls /etc/init.d/psplash.sh and runs the psplash binary.

    Q4, Q5 Q6: I've not studied the splash app. Need to check this.

    See this thread:
    e2e.ti.com/.../2145216

    Best Regards,
    Yordan
  • Hi Yordan,

    I have created /lib/systemd/system/psplash.service...

    [Unit]

    Description=Initializing psplash

    [Service]

    ExecStart=/etc/init.d/psplash.sh

    StandardOutput=journal+console

    [Install]

    WantedBy=multi-user.target

    ...but it made no change.  No where in the output of dmesg was the string "Initializing psplash".

    If I do...

    /etc/init.d/matrix-gui-2.0 stop

    /etc/init.d/weston stop

    /etc/init.d/psplash

    ... then I do see the TI splash screen on the display.

    Do you have any other thoughts as to why my psplash service is not running?  Do I need to call that script in a special way to advance the progress bar? (in the ExecStart line?)

    Thanks in advance,

    Nathan

  • I did find this thread...

    lists.yoctoproject.org/.../021125.html

    I created the psplash-quit.service and psplash-start.service files on my target and rebooted.

    No change :(. The struggle continues...
    Nathan
  • Hi Yordan,

    I have successfully launched and modified psplash using systemd. Systemd does not appear to be integrated with psplash however. It never publishes progress to psplash. Some internet searching says something called dietsplash is integrated with systemd. I haven't tried it yet but I have a follow up question...

    Q7 : The SD card provided with the 437x-evm uses sysvinit, when ever I build with arago I get systemd. How do I get arago to build using sysvinit? I figure if I ditch systemd, I can then successfully use psplash.

    Thanks,
    Nathan