Action Item #689

Clean up boot splash

Added by Hammel over 1 year ago. Updated 10 months ago.

Status:ClosedStart date:24 Feb 2019
Priority:ImmediateDue date:
Assignee:-% Done:


Target version:1.1.0 - Upgrades
Severity:01 - Critical


The current method uses psplash and faking the X startup early. This is a bit klunky. It's time for a better method.

First, cleanup things outside of the init process by modifying config.txt.
Next, consider using fbi instead of psplash, possibly modifying it to make a simple animation. Or modify psplash for the same thing.
Consider modifying fbi/psplash to be synchronous by having it accept input from a FIFO to kill it off, and use a stamp file to notify the caller that it's done and start up the next interface, re:

For animation try bannerd.

Associated revisions

Revision e71c2261
Added by Hammel over 1 year ago

RM #689: Remove rainbox box, RPi cpu icons and undervolt lightning bolt on boot.

Revision ad48d8dd
Added by Hammel 10 months ago

RM #689: Move console output to tty3 and disable blinking cursor with kernel parameters.


#1 Updated by Hammel over 1 year ago

  • Target version set to 1.1.0 - Upgrades

#2 Updated by Hammel over 1 year ago

  • Description updated (diff)

#3 Updated by Hammel over 1 year ago

  • % Done changed from 0 to 10

As an alternative to psplash, we could load a raw image file (read bytes) and write to /dev/fb0, as described in this post.

This could be a binary that forks a background task to rotate images (simple animation) but the image would already have to be the same size as the display. The only way that would work is if we use ffmpeg to resize a JPEG and covert it to RAW. Conversion is like this:

ffmpeg -vcodec png -i image640.png -vcodec rawvideo -f rawvideo -pix_fmt rgb565 /home/pi/image640.raw

and scaling like this:

ffmpeg -i input.jpg -vf scale=320:240 output_320x240.png

That post also has some other ideas for cleaning up the boot display, like how to get rid of the RPi logo, the rainbow square and the low-voltage warning.

#4 Updated by Hammel over 1 year ago

  • Description updated (diff)

#5 Updated by Hammel over 1 year ago

  • % Done changed from 10 to 20
Removed the following three graphics from the default boot process.
  1. The rainbow block when firmware starts.
  2. The RPi logos per cpu.
  3. The undervoltage lightning bolt.

Now we just have the text on tty1 which could be moved but I think I'll leave it for now because it helps in debugging.

Changes pushed.

#6 Updated by Hammel 10 months ago

One more thing to add: vt.global_cursor_default=0

This will disable blinking cursor on console. Might be a problem on tty2, etc. but I'd rather turn it off so the boot up is clean.

#7 Updated by Hammel 10 months ago

  • Severity changed from 05 - Very Low to 01 - Critical

#8 Updated by Hammel 10 months ago

  • Status changed from New to Closed
  • % Done changed from 20 to 100

Disabled the cursor and moved console output to tty3. Tested, committed and pushed.

I decided I didn't want the animated banner or anything clever like that. I also don't need a kernel logo image. psplash covers it just fine.

Closing issue.

Also available in: Atom PDF