All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] psplash and systemd
@ 2014-05-21  8:36 Tom Deblauwe
  2014-05-21 19:29 ` Eric Le Bihan
  0 siblings, 1 reply; 7+ messages in thread
From: Tom Deblauwe @ 2014-05-21  8:36 UTC (permalink / raw)
  To: buildroot

Hello,

I am using psplash in my initramfs and it shows up a graphical
bootscreen, but then the regular bootprocess starts and there I would
like to continue showing the splash screen. I am using the 6d3336a
commit of master buildroot. So I would like to use systemd. What is the
best solution for this?

Best regards,
Tom,




















Email Confidentiality: e-BO Enterprises<http://www.ebo-enterprises.com/> Company Registration Number BE 0470174242. This email message and any attachments are for the sole use of the intended recipient(s) and may contain information that is proprietary to e-BO Enterprises<http://www.ebo-enterprises.com/>. If you have received this message in error, please notify the sender by reply, and delete all copies of this message and any attachments. If you are the intended recipient you may use the information contained in this message and any files attached to this message only as authorized by e-BO Enterprises<http://www.ebo-enterprises.com/>. Any unauthorized use, dissemination or disclosure of this message or its attachments is strictly prohibited. The contents of this e-mail are not to be considered binding upon e-BO Enterprises<http://www.ebo-enterprises.com/>.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] psplash and systemd
  2014-05-21  8:36 [Buildroot] psplash and systemd Tom Deblauwe
@ 2014-05-21 19:29 ` Eric Le Bihan
  2014-05-22 12:01   ` Tom Deblauwe
  2014-06-09 12:27   ` Thomas Petazzoni
  0 siblings, 2 replies; 7+ messages in thread
From: Eric Le Bihan @ 2014-05-21 19:29 UTC (permalink / raw)
  To: buildroot

Hi!

On Wed, May 21, 2014 at 10:36:15AM +0200, Tom Deblauwe wrote:
> Hello,
>
> I am using psplash in my initramfs and it shows up a graphical
> bootscreen, but then the regular bootprocess starts and there I would
> like to continue showing the splash screen. I am using the 6d3336a
> commit of master buildroot. So I would like to use systemd. What is the
> best solution for this?

Please find attached a patch that installs two new services for using psplash
with systemd. These are inspired by the ones from Plymouth
(http://cgit.freedesktop.org/plymouth/tree/systemd-units/):

- psplash-start.service for starting psplash.
- psplash-quit.service for killing psplash when reaching multi-user.target.

I tested them on QEMU machines:

- on QEMU/x86, the boot is very quick, so the boot screen is not displayed for
  a long time.
- on QEMU/ARM, the boot takes longer, so the screen can be seen.

Besides, no progress messages are printed when booting (I have not found how
to do it yet).

Thought these configurations do not use an initramfs followed by a
switch-root, these service files should provide you a good start.

Best regards,
ELB
-------------- next part --------------

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] psplash and systemd
  2014-05-21 19:29 ` Eric Le Bihan
@ 2014-05-22 12:01   ` Tom Deblauwe
  2014-06-09 12:27   ` Thomas Petazzoni
  1 sibling, 0 replies; 7+ messages in thread
From: Tom Deblauwe @ 2014-05-22 12:01 UTC (permalink / raw)
  To: buildroot

On 21-05-14 21:29, Eric Le Bihan wrote:
> Please find attached a patch that installs two new services for using psplash
> with systemd. These are inspired by the ones from Plymouth
> (http://cgit.freedesktop.org/plymouth/tree/systemd-units/):

Hello Eric,

Thanks for this patch it helps me indeed and works. However I am looking
into starting it even earlier in the boot process so I'll let something
know if I find it.

Thanks,
Best regards,
Tom,
Email Confidentiality: e-BO Enterprises<http://www.ebo-enterprises.com/> Company Registration Number BE 0470174242. This email message and any attachments are for the sole use of the intended recipient(s) and may contain information that is proprietary to e-BO Enterprises<http://www.ebo-enterprises.com/>. If you have received this message in error, please notify the sender by reply, and delete all copies of this message and any attachments. If you are the intended recipient you may use the information contained in this message and any files attached to this message only as authorized by e-BO Enterprises<http://www.ebo-enterprises.com/>. Any unauthorized use, dissemination or disclosure of this message or its attachments is strictly prohibited. The contents of this e-mail are not to be considered binding upon e-BO Enterprises<http://www.ebo-enterprises.com/>.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] psplash and systemd
  2014-05-21 19:29 ` Eric Le Bihan
  2014-05-22 12:01   ` Tom Deblauwe
@ 2014-06-09 12:27   ` Thomas Petazzoni
       [not found]     ` <5395D4CA.9060606@gmail.com>
  2014-06-11 21:18     ` Eric Le Bihan
  1 sibling, 2 replies; 7+ messages in thread
From: Thomas Petazzoni @ 2014-06-09 12:27 UTC (permalink / raw)
  To: buildroot

Dear Eric Le Bihan,

On Wed, 21 May 2014 21:29:28 +0200, Eric Le Bihan wrote:
> Hi!
> 
> On Wed, May 21, 2014 at 10:36:15AM +0200, Tom Deblauwe wrote:
> > Hello,
> >
> > I am using psplash in my initramfs and it shows up a graphical
> > bootscreen, but then the regular bootprocess starts and there I would
> > like to continue showing the splash screen. I am using the 6d3336a
> > commit of master buildroot. So I would like to use systemd. What is the
> > best solution for this?
> 
> Please find attached a patch that installs two new services for using psplash
> with systemd. These are inspired by the ones from Plymouth
> (http://cgit.freedesktop.org/plymouth/tree/systemd-units/):

Can you submit this patch properly, i.e with git send-email, so that it
can be applied?

I'll mark it as "Changes requested" in patchwork in the mean time,
awaiting for your new posting.

Thanks a lot, having psplash integration looks really useful!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] psplash and systemd
       [not found]     ` <5395D4CA.9060606@gmail.com>
@ 2014-06-09 16:53       ` Thomas Petazzoni
  0 siblings, 0 replies; 7+ messages in thread
From: Thomas Petazzoni @ 2014-06-09 16:53 UTC (permalink / raw)
  To: buildroot

Dear Tom Deblauwe,

On Mon, 09 Jun 2014 17:37:46 +0200, Tom Deblauwe wrote:

> I also have added some basic support to choose the .png image you want 
> as a bootscreen. I had to install in ubuntu "libgdk-pixbuf2.0-dev" to 
> have the "gdk-pixbuf-csource" utility which the generate header script 
> uses. Probably there is a better buildroot-specific way but I provide 
> the patch as a start.

Thanks for your patch. To get the gdk-pixbuf-csource tool in Buildroot,
you simply need to make your package depend on host-gdk-pixbuf.

It would be good to take the systemd psplash patch and your patch,
create proper commit logs, and submit them using git send-email. See
http://buildroot.org/downloads/manual/manual.html#submitting-patches
for details. Your contribution would be much appreciated!

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] psplash and systemd
  2014-06-09 12:27   ` Thomas Petazzoni
       [not found]     ` <5395D4CA.9060606@gmail.com>
@ 2014-06-11 21:18     ` Eric Le Bihan
  2014-06-12  7:10       ` Thomas Petazzoni
  1 sibling, 1 reply; 7+ messages in thread
From: Eric Le Bihan @ 2014-06-11 21:18 UTC (permalink / raw)
  To: buildroot

Hi!
On Mon, Jun 09, 2014 at 02:27:34PM +0200, Thomas Petazzoni wrote:
> Dear Eric Le Bihan,
>
> On Wed, 21 May 2014 21:29:28 +0200, Eric Le Bihan wrote:
> > Hi!
> >
> > On Wed, May 21, 2014 at 10:36:15AM +0200, Tom Deblauwe wrote:
> > > Hello,
> > >
> > > I am using psplash in my initramfs and it shows up a graphical
> > > bootscreen, but then the regular bootprocess starts and there I would
> > > like to continue showing the splash screen. I am using the 6d3336a
> > > commit of master buildroot. So I would like to use systemd. What is the
> > > best solution for this?
> >
> > Please find attached a patch that installs two new services for using psplash
> > with systemd. These are inspired by the ones from Plymouth
> > (http://cgit.freedesktop.org/plymouth/tree/systemd-units/):
>
> Can you submit this patch properly, i.e with git send-email, so that it
> can be applied?
I posted a proper patch. As for adding progress report from systemd to
psplash, this would require a patch to src/core/manager.c in systemd to write
to psplash socket.

BTW, maybe we should provide a patch to set the default image with the famous
Buildroot hard hat, to replace the "POKY" theme...

Best regards,
ELB

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] psplash and systemd
  2014-06-11 21:18     ` Eric Le Bihan
@ 2014-06-12  7:10       ` Thomas Petazzoni
  0 siblings, 0 replies; 7+ messages in thread
From: Thomas Petazzoni @ 2014-06-12  7:10 UTC (permalink / raw)
  To: buildroot

Dear Eric Le Bihan,

On Wed, 11 Jun 2014 23:18:21 +0200, Eric Le Bihan wrote:

> > Can you submit this patch properly, i.e with git send-email, so that it
> > can be applied?
> I posted a proper patch.

Ok, found at http://patchwork.ozlabs.org/patch/358888/.

> As for adding progress report from systemd to
> psplash, this would require a patch to src/core/manager.c in systemd to write
> to psplash socket.

Ok.

> BTW, maybe we should provide a patch to set the default image with the famous
> Buildroot hard hat, to replace the "POKY" theme...

Indeed, that would be good to have.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-06-12  7:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-21  8:36 [Buildroot] psplash and systemd Tom Deblauwe
2014-05-21 19:29 ` Eric Le Bihan
2014-05-22 12:01   ` Tom Deblauwe
2014-06-09 12:27   ` Thomas Petazzoni
     [not found]     ` <5395D4CA.9060606@gmail.com>
2014-06-09 16:53       ` Thomas Petazzoni
2014-06-11 21:18     ` Eric Le Bihan
2014-06-12  7:10       ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.