binaural
Posts: 2
Joined: Mon Oct 01, 2012 11:43 am

Display image during booting (aka splash screen)

Mon Oct 01, 2012 11:47 am

Hi,

I've develop project which using composite video output and I would like to remove kernel booting messages and replace it by some nice picture. I know I can use splashy or whatever else but I would like to ask if there is possibility to display just simple bmp (or png) image? I was working with beagleboard and in u-boot was possible such a thing. Thanks.

User avatar
malakai
Posts: 1382
Joined: Sat Sep 15, 2012 10:35 am
Contact: Website

Re: Display image during booting (aka splash screen)

Mon Oct 01, 2012 12:10 pm

I believe you would have to compile your own kernel

http://oreilly.com/pub/h/3124
http://www.raspians.com - always looking for content feel free to ask to have it posted. Or sign up and message me to become a contributor to the site. Raspians is not affiliated with the Raspberry Pi Foundation. (RPi's + You = Raspians)

binaural
Posts: 2
Joined: Mon Oct 01, 2012 11:43 am

Re: Display image during booting (aka splash screen)

Mon Oct 01, 2012 12:18 pm

I was thinking about way that start.elf (or whatever else) can read some configuration and load image on screen.

forenbenutzer
Posts: 148
Joined: Thu Aug 02, 2012 7:08 pm

Re: Display image during booting (aka splash screen)

Thu Oct 25, 2012 9:13 pm

If this solution is satisfying, have a try: http://www.edv-huber.com/index.php/prob ... i-raspbian
Pitendo - Case And Emulator Project - http://edv-huber.com/index.php/problemloesungen/12-pitendo

User avatar
supermeerkat
Posts: 22
Joined: Mon Nov 26, 2012 10:59 pm

Re: Display image during booting (aka splash screen)

Sun Apr 07, 2013 9:23 pm

If this solution is satisfying, have a try: http://www.edv-huber.com/index.php/prob ... i-raspbian
Running the command apt-get install fbi produces the following error:
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libcurl3-gnutls armhf 7.26.0-1
404 Not Found
Failed to fetch http://mirrordirector.raspbian.org/rasp ... _armhf.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Can anyone help?

User avatar
FTrevorGowen
Forum Moderator
Forum Moderator
Posts: 5590
Joined: Mon Mar 04, 2013 6:12 pm
Location: Bristol, U.K.
Contact: Website

Re: Display image during booting (aka splash screen)

Sun Apr 07, 2013 9:33 pm

supermeerkat wrote: ...
Running the command apt-get install fbi produces the following error:

Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libcurl3-gnutls armhf 7.26.0-1
404 Not Found
Failed to fetch http://mirrordirector.raspbian.org/rasp ... _armhf.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
As the message says:
Run "sudo apt-get update" and probably also "sudo apt-get upgrade"
Apt's database is "out of synch" with that of the servers ie. needs updating! Hence it's trying to download a version of libcurl3-gnutls that's no longer there (it's been updated).
Trev.
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, 2xB2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B+, P3B, B+, and a A+) but Buster on the P4B's. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm

User avatar
supermeerkat
Posts: 22
Joined: Mon Nov 26, 2012 10:59 pm

Re: Display image during booting (aka splash screen)

Sun Apr 07, 2013 11:40 pm

I see! Thanks for your reply. I'm still new to Linux and there is so much to pick up, also it's late!

User avatar
supermeerkat
Posts: 22
Joined: Mon Nov 26, 2012 10:59 pm

Re: Display image during booting (aka splash screen)

Tue Apr 09, 2013 5:22 pm

Right, I've done all the above and I get nothing when I restart. However, I can successfully execute asplashscreen after I exit Xwindows, so the script does work.

How can I tell if it's being executed on start up?

forenbenutzer
Posts: 148
Joined: Thu Aug 02, 2012 7:08 pm

Re: Display image during booting (aka splash screen)

Tue Apr 09, 2013 5:41 pm

I created this little workaround for the old raspbian image, so I don't know if it still works. The insserv command did succesfully execute?
Pitendo - Case And Emulator Project - http://edv-huber.com/index.php/problemloesungen/12-pitendo

User avatar
supermeerkat
Posts: 22
Joined: Mon Nov 26, 2012 10:59 pm

Re: Display image during booting (aka splash screen)

Tue Apr 09, 2013 6:16 pm

forenbenutzer wrote:I created this little workaround for the old raspbian image, so I don't know if it still works. The insserv command did succesfully execute?
Yes it did. I followed your instructions to the letter.

I just had a brainstorm - when I found the website with the code on it, I copied and pasted the text into leaf pad - this time I typed all the code out by hand and restarted the pi, and it worked! The logo was displayed approximately 8 seconds after power on, for a duration of approximately 10 second and XWindows started successfully.

However, if I disable starting in XWindows using raspi-config, the graphic was displayed as above and then the screen goes blank and the pi never gets to the terminal.

forenbenutzer
Posts: 148
Joined: Thu Aug 02, 2012 7:08 pm

Re: Display image during booting (aka splash screen)

Tue Apr 09, 2013 8:37 pm

As already said, it's a dirty hack and no real splash screen. You still should get a terminal if you press ctrl+c and/or strg+alt+F1/2/3 etc...
The copy and paste from the website indeed could cause wrong line endings, so you should use some editor with unix line ending functionality (e.g. Notepad++ on windows) and copy the file via ssh/ftp/whatever.
Pitendo - Case And Emulator Project - http://edv-huber.com/index.php/problemloesungen/12-pitendo

User avatar
supermeerkat
Posts: 22
Joined: Mon Nov 26, 2012 10:59 pm

Re: Display image during booting (aka splash screen)

Tue Apr 09, 2013 8:53 pm

Thanks for your help! I've been learning so much in these forums and am really getting into linux!

Return to “Beginners”