Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 73033C19F2E for ; Thu, 27 Feb 2025 07:46:57 +0000 (UTC) Subject: Regarding plymouth splash screen boot animation image not showing To: yocto@lists.yoctoproject.org From: devireddy.t@mindteck.com X-Originating-Location: Bengaluru, Karnataka, IN (14.142.4.2) X-Originating-Platform: Linux Chrome 131 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Wed, 26 Feb 2025 23:46:52 -0800 Message-ID: Content-Type: multipart/alternative; boundary="80GDOMByXro0aIS2Dbd8" List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 27 Feb 2025 07:46:57 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/64883 --80GDOMByXro0aIS2Dbd8 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello, I am using raspberrypi3 board and my requirement is boot animation using pl= ymouth . i already have plymouth in openembeeded layer so i add the plymouth.bbappen= d file in my custom layer i added the .plymouth file and image under files directory plymouth_%.bbappend FILESEXTRAPATHS:prepend :=3D "${THISDIR}/files:" SRC_URI:append =3D " \ file://spinner.plymouth \ file://rasppi_fixed_converted.png \ " do_install:append() { install -d ${D}${datadir}/plymouth/themes/spinner install -m 0644 ${WORKDIR}/spinner.plymouth ${D}${datadir}/plymouth/themes/= spinner/ install -m 0644 ${WORKDIR}/rasppi_fixed_converted.png ${D}${datadir}/plymou= th/themes/spinner/ # Set default theme #echo "spinner" > ${D}${sysconfdir}/plymouth/plymouthd.conf install -d ${D}${sysconfdir}/plymouth echo =C2=A0"[Daemon]\nTheme=3Dspinner" > ${D}${sysconfdir}/plymouth/plymout= hd.conf } DEPENDS +=3D "libpng" EXTRA_OECONF +=3D "--enable-png" PLYMOUTH_THEMES =3D " spinner" # Set the default theme to "spinner" PACKAGES +=3D "plymouth-theme-spinner" #FILES:plymouth-theme-spinner +=3D "${datadir}/plymouth/themes/spinner/" FILES:plymouth-theme-spinner +=3D "${datadir}/plymouth/themes/spinner/ ${sy= sconfdir}/plymouth/plymouthd.conf" PACKAGES +=3D "plymouth-utils" FILES:${PN}-utils =3D "${bindir}/plymouth-set-default-theme ${bindir}/plymo= uth" spinner.plymouth [Plymouth Theme] Name=3DSpinner Description=3DAdoption of official Spinner Theme for TorizonCore. ModuleName=3Dtwo-step [two-step] Font=3DCantarell 12 TitleFont=3DCantarell Light 30 ImageDir=3D/usr/share/plymouth/themes/spinner #ImageDir=3D${datadir}/plymouth/themes/spinner DialogHorizontalAlignment=3D.5 DialogVerticalAlignment=3D.382 TitleHorizontalAlignment=3D.5 TitleVerticalAlignment=3D.382 HorizontalAlignment=3D.5 VerticalAlignment=3D.7 WatermarkHorizontalAlignment=3D.5 WatermarkVerticalAlignment=3D.45 Transition=3Dnone TransitionDuration=3D0.0 BackgroundStartColor=3D0x000000 BackgroundEndColor=3D0x000000 ProgressBarBackgroundColor=3D0x606060 ProgressBarForegroundColor=3D0xffffff MessageBelowAnimation=3Dtrue [updates] SuppressMessages=3Dtrue ProgressBarShowPercentComplete=3Dtrue UseProgressBar=3Dtrue _Title=3DInstalling Updates... _SubTitle=3DDo not turn off your computer [system-upgrade] SuppressMessages=3Dtrue ProgressBarShowPercentComplete=3Dtrue UseProgressBar=3Dtrue _Title=3DUpgrading System... _SubTitle=3DDo not turn off your computer [firmware-upgrade] SuppressMessages=3Dtrue ProgressBarShowPercentComplete=3Dtrue UseProgressBar=3Dtrue UseFirmwareBackground=3Dtrue _Title=3DUpgrading Firmware... _SubTitle=3DDo not turn off your computer ~ and in local.conf LICENSE_FLAGS_ACCEPTED:append =3D " commercial" IMAGE_INSTALL:append =3D " ffmpeg" IMAGE_FEATURES +=3D " splash" PACKAGECONFIG:append:pn-plymouth =3D " drm gtk initrd pango png" IMAGE_INSTALL:append =3D " plymouth plymouth-set-default-theme plymouth-the= me-spinner dracut libpng" #APPEND +=3D " quiet splash vt.global_cursor_default=3D0 plymouth.ignore-se= rial-consoles" PREFERRED_PROVIDER_virtual/boot-splash =3D "plymouth" APPEND +=3D " quiet splash plymouth.ignore-serial-consoles vt.global_cursor= _default=3D0 console=3Dtty1" #APPEND +=3D " quiet splash vt.global_cursor_default=3D0" DISTRO_FEATURES:append =3D " framebuffer" IMAGE_INSTALL:append =3D " weston weston-init" LICENSE_FLAGS_ACCEPTED:append =3D " synaptics-killswitch" DISTRO_FEATURES:append =3D " systemd usrmerge pam plymouth" VIRTUAL-RUNTIME_init_manager =3D "systemd" after the flash i run the command plymouthd&&plymouth --show-splash=C2=A0 i= t is showing the loading symbol and when i run the plymouth --quit it is co= mming out from the splash screen --80GDOMByXro0aIS2Dbd8 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
Hello,
I am using raspberrypi3 board and my requirement is boot animation usi= ng plymouth .
i already have plymouth in openembeeded layer so i add the plymouth.bb= append file in my custom layer
i added the .plymouth file and image under files directory
 
plymouth_%.bbappend
FILESEXTRAPATHS:prepend :=3D "${THISDIR}/files:"
SRC_URI:append =3D " \
    file://spinner.plymouth \    file://rasppi_fixed_converted.png \
"
do_install:append() {
    install -d ${D}${datadir}/ply= mouth/themes/spinner
    install -m 0644 ${WORKDIR}/spinner.= plymouth ${D}${datadir}/plymouth/themes/spinner/
    install= -m 0644 ${WORKDIR}/rasppi_fixed_converted.png ${D}${datadir}/plymouth/them= es/spinner/
      # Set default theme
   = ; #echo "spinner" > ${D}${sysconfdir}/plymouth/plymouthd.conf
 = ;   install -d ${D}${sysconfdir}/plymouth
    echo &nbs= p;"[Daemon]\nTheme=3Dspinner" > ${D}${sysconfdir}/plymouth/plymouthd.con= f
}
DEPENDS +=3D "libpng"
EXTRA_OECONF +=3D "--enable-png"
PLYMO= UTH_THEMES =3D " spinner"
# Set the default theme to "spinner"
PACKAGES +=3D "plymouth-them= e-spinner"
#FILES:plymouth-theme-spinner +=3D "${datadir}/plymouth/themes/spinner= /"
FILES:plymouth-theme-spinner +=3D "${datadir}/plymouth/themes/spinn= er/ ${sysconfdir}/plymouth/plymouthd.conf"
PACKAGES +=3D "plymouth-utils"
FILES:${PN}-utils =3D "${bindir}/p= lymouth-set-default-theme ${bindir}/plymouth"
 
 
spinner.plymouth
[Plymouth Theme]
Name=3DSpinner
Description=3DAdoption of of= ficial Spinner Theme for TorizonCore.
ModuleName=3Dtwo-step
[two-step]
Font=3DCantarell 12
TitleFont=3DCantarell Light 3= 0
ImageDir=3D/usr/share/plymouth/themes/spinner
#ImageDir=3D${dat= adir}/plymouth/themes/spinner
DialogHorizontalAlignment=3D.5
Dial= ogVerticalAlignment=3D.382
TitleHorizontalAlignment=3D.5
TitleVer= ticalAlignment=3D.382
HorizontalAlignment=3D.5
VerticalAlignment= =3D.7
WatermarkHorizontalAlignment=3D.5
WatermarkVerticalAlignmen= t=3D.45
Transition=3Dnone
TransitionDuration=3D0.0
Backgroun= dStartColor=3D0x000000
BackgroundEndColor=3D0x000000
ProgressBarB= ackgroundColor=3D0x606060
ProgressBarForegroundColor=3D0xffffff
M= essageBelowAnimation=3Dtrue
[updates]
SuppressMessages=3Dtrue
ProgressBarShowPercentComp= lete=3Dtrue
UseProgressBar=3Dtrue
_Title=3DInstalling Updates...<= br />_SubTitle=3DDo not turn off your computer
[system-upgrade]
SuppressMessages=3Dtrue
ProgressBarShowPerc= entComplete=3Dtrue
UseProgressBar=3Dtrue
_Title=3DUpgrading Syste= m...
_SubTitle=3DDo not turn off your computer
[firmware-upgrade]
SuppressMessages=3Dtrue
ProgressBarShowPe= rcentComplete=3Dtrue
UseProgressBar=3Dtrue
UseFirmwareBackground= =3Dtrue
_Title=3DUpgrading Firmware...
_SubTitle=3DDo not turn of= f your computer
~               &nb= sp;                     &= nbsp; 
 
and in local.conf
LICENSE_FLAGS_ACCEPTED:append =3D " commercial"
IMAGE_INSTALL:app= end =3D " ffmpeg"
IMAGE_FEATURES +=3D " splash"
PACKAGECONFIG:append:pn-plymouth =3D " drm gtk initrd pango png"
IMAGE_INSTALL:append =3D " plymouth plymouth-set-default-theme plymout= h-theme-spinner dracut libpng"
#APPEND +=3D " quiet splash vt.global_c= ursor_default=3D0 plymouth.ignore-serial-consoles"
PREFERRED_PROVIDER_= virtual/boot-splash =3D "plymouth"

APPEND +=3D " quiet splash plymouth.ignore-serial-consoles vt.gl= obal_cursor_default=3D0 console=3Dtty1"
#APPEND +=3D " quiet splash vt= .global_cursor_default=3D0"
DISTRO_FEATURES:append =3D " framebuffer"<= br />IMAGE_INSTALL:append =3D " weston weston-init"
LICENSE_FLAGS_ACCEPTED:append =3D " synaptics-killswitch"

DISTRO_FEATURES:append =3D " systemd usrmerge pam plymouth"
VIRTUAL-RUNTIME_init_manager =3D "systemd"
 
 
 
after the flash i run the command plymouthd&&plymouth --show-s= plash  it is showing the loading symbol and when i run the plymouth --= quit it is comming out from the splash screen 
--80GDOMByXro0aIS2Dbd8--