custmoization of bootlog screen.

Ray Strode halfline at gmail.com
Mon Jul 7 11:11:12 PDT 2014


Hey,

sorry for the delay

On Wed, Jul 2, 2014 at 4:43 PM, yash cp
>> On pressing ESC button or after the system completely comes up, a terminal
>> screen( with image and text parts) is to be shown.
>>
>> Additionally,
>>
>> 1. Terminal should exist till the system goes down.( ie  plymouth should
>> continue to run till system reboots or halts)
>> 2. Terminal should display boot logs and enables user to login.
>> 3. User should be able  Enter and Execute commands
>> 4. Terminal should display the command output.

If you want a fully functional terminal, that's tricky.  the kernel's
terminal (fbcon) doesn't draw to the same buffer as plymouth, so
getting them both on the screen at once is not really easy.  One idea
would be to use the fb renderer instead of the drm renderer.  It draws
to /dev/fb0 which is the same place the kernel draws the console too.
Then you'd have to prevent plymouth from putting the terminal into
KD_GRAPHICS mode (since KD_GRAPHICS mode makes the kernel stop drawing
the console), and finally use some terminal escape sequences to
constrain where the kernel outputs text to make sure the terminal and
plymouth don't stomp on each other on the screen.  The other option
would be to use something like kmscon or systemd-consoled and then
integrate them with plymouth in some way.  Regardless, it's a tall
order and not really a use case plymouth was ever designed for!

--Ray


More information about the plymouth mailing list