Re: [RFC PATCH 0/6] Boot logo supplied by the device tree
Uwe Kleine-König <[email protected]> Sun, 2 Aug 2026 15:35:40 +0200
| Newsgroups | org.kernel.vger.linux-fbdev,org.freedesktop.lists.dri-devel,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <am9DGQFk6JfR6bXl@monoceros> |
--6rrxlhjbsv2gpeab Content-Type: text/plain; protected-headers=v1; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: [RFC PATCH 0/6] Boot logo supplied by the device tree MIME-Version: 1.0 Hello M=C3=A0xim, On Sun, Aug 02, 2026 at 12:01:58AM +0200, M=C3=A0xim Pedraza Padilla wrote: > Uwe Kleine-K=C3=B6nig wrote: > > My 0.02=E2=82=AC: Usually you want to use the display using drm and not= fb once > > the machine is fully booted. If you're using fb during boot to display a > > logo, it's hardly possible to switch to drm later in the boot process > > without flicker. > > > > So my recommendation for your usecase is to not use the kernel boot logo > > stuff, but something like https://github.com/pengutronix/platsch. >=20 > Thanks for the pointer, I did not know platsch and it looks like a good > fit for the problem it solves. It does not solve mine, though, and I > think the reason is worth spelling out, because it is not about how the > image gets drawn but about when. >=20 > These are industrial units, and the requirement is time to first pixel > after power is applied. If the panel stays dark for more than a moment > the unit reads as dead, and that is a support call. Anything running in > userspace is by construction later than the kernel: it needs the kernel > booted, the rootfs mounted and init far enough along to exec it. I can > measure the exact difference on our hardware if that is useful for the > discussion. No need to wait for init, the idea is to use init=3D/usr/sbin/platsch so it starts before init (and once the display is setup execve()s /sbin/init). Also you can put it in an initramfs which gets rid of the dependency on "rootfs mounted". And if your kernel is modular apart from what is needed for the display the time difference between kernel boot image and platsch might be negligible compared to the simplification of the software architecture. Having said that, I'm against putting boot splash info in the device tree as the pointed out alternative is IMHO good enough. But my opinion probably isn't the one that eventually counts. Best regards Uwe --6rrxlhjbsv2gpeab Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmpvR6YACgkQj4D7WH0S /k55+wf+LNETFlaOPhwExqKupPUo/OH39ybKdaQJ9uAkqBo70lHb+Xm37TY6D1sa P6+sFxOwFR6mGxWni4QEila6hAYHRNzqqp1o4Rl8mpnPTbG6vkJrRaT4vFCnOie+ 6Y+yocUerh6JqqjAim+X+SGrIjaJ/54KtfaQ6dGBUxGFHr0q/pThdXedHep4ZcB6 viwOGBykkKZpx1gNKR09GiA8PlxG00jkAvA9ay3cvlzMg7zwU0nRjjIDp1d+lo7K ef908NB2SG1R1TNMBEYy9T103E2VidGZ7bA9NsIqYLiCEGo3z1smJcAVdaXl1iTy hyLG+z6x2P06fk2+cllcwxaOEU/dXQ== =CFkM -----END PGP SIGNATURE----- --6rrxlhjbsv2gpeab--