------------------------------------------------------------------------------------
Update: v. 2.1 - The gentoo-dev-sources-2.6.7-r9 ebuild now includes the latest bootsplash patch
v. 2.0 - Only one day after filing a bug for a new ebuild spock already released one! Many thanks for the great work. This makes this tutorial almost obsolete, so I will shorten it a bit...
v 1.0 - initial release of howto
------------------------------------------------------------------------------------

As of June 30th we have a working bootsplash patch for ppc!
It cleanly applies to the latest vanilla 2.6.7 kernel and runs fine in 32bpp mode.

1. Get your favourite flavour of the 2.6.7 kernel... Update: The latest bootsplash patch is already included in the gentoo-dev-sources-2.6.7-r9 kernel (and later). You can simply emerge gentoo-dev-sources and skip to Step 4.
It will work with the vanilla kernel for sure (sys-kernel/development-sources-2.6.7_rc3) but should work with most other patched kernels, too (so far I have only tested ck-sources and it worked fine).

2. Emerge bootsplash

Code:

# ACCEPT_KEYWORDS="~ppc" emerge bootsplash

3. Apply the bootsplash patch

Code:

# /sbin/bootsplash_patch

4. Configure and build the kernel
You will need to configure the following options:

Of course replace the path with the correct path to the theme you chose in the previous step and the resolution with the resolution you are using.

7. Edit your /etc/yaboot.conf
Currently, bootsplash only seems to work in 32bpp mode (not that I would particularly mind - the more colours, the better )
You will need to add the following to your config:

Again, please substitute "fbdriver" for the actual framebuffer you are using (most likely aty128fb or radeonfb) and the initrd path to where you put the initrd image in the previous step. You can also choose between silent mode (a background picture with a bar indicating loading time) and verbose mode (just what your boring bootup used to look like until now, but with an added background picture).

8. Add bootsplash to default runlevel:

Code:

# rc-update add bootsplash default

9. Reboot your new kernel at least a couple of times to fully enjoy your new bootsplash

More tips:

- If you just downloaded a new theme you can check it out immediately on your console by running:

(fbgrab still seems to have some endianness issues sometimes when taking screenshots...)
- If you have a lot of free time on your hands also go read the huge Framebuffer/Bootsplash/Grubsplash thread for more tips at https://forums.gentoo.org/viewtopic.php?t=49036

TODO:
- I will look into getting bootsplash to properly work with swsusp2 so that you can get a proper splash even when suspending.
- It would also be cool to make a gentoo theme with animations (running with fbmngplay) so that in silent mode, for each service that is starting you get a corresponding animation, similar to the boot screen of KDE.

Have fun,
DiskBreaker

edit by SeJo: set sticky and used your title as post title. Thanks for the howto

Last edited by DiskBreaker on Mon Oct 11, 2004 6:38 am; edited 6 times in total

1. Will this patch conflict with the gentoo-provided bootsplash patches (say if I wanted to patch against gentoo-dev-sources).

2. Will screwy laptop resolutions like 1280x854 work all right?

EDIT: Patching against the previously applied bootsplash patch isn't fun - I'm not comfortable enough with patch/diff to want to mess around with that. I need some of the bk6 changes anyway, so I'll patch against the bleeding edge snapshot, see how that works._________________Osmos.org
Now with 20% fewer rabid primates.

Last edited by Immortal Q on Fri Jul 02, 2004 5:41 am; edited 1 time in total

just confirming that this indeed works i'm enjoying a radeonfb console of 1024x768-32 with a nice bootsplash theme on my G4 with radeon 9000 now
oh, and you don't need to do that rc-update stuff... it will get loaded by the kernel anyway..._________________...we ain't shit...
Linux User #353893

1. Will this patch conflict with the gentoo-provided bootsplash patches (say if I wanted to patch against gentoo-dev-sources).

Trying to patch a new bootsplash patch over an old one will give you lots of failed hunks and even more headaches as you will have to patch them all by hand. What you can do instead is remove the old patch and apply the new one:

just confirming that this indeed works i'm enjoying a radeonfb console of 1024x768-32 with a nice bootsplash theme on my G4 with radeon 9000 now

Yeah, I had been waiting for this so long now myself...

CaribbeanKnight wrote:

oh, and you don't need to do that rc-update stuff... it will get loaded by the kernel anyway...

Yes, but it is useful if you want to have your bootsplash start on all your ttys. It also allows you to change the bootsplash font and to write your own text messages to be displayed on startup. Configuration is in /etc/conf.d/bootsplash.

sienarot wrote:

Awesome! You've just become my favorite person of the week! I'll give this a try tomorrow or sometime during the weekend if I have time.

Many thanks especially to our dev Spock, who did the hack that bootsplash becomes independent from vesa-framebuffer! Since today he released the new bootsplash-ebuild ~ppc masked, so you don't need all the patches written by DiskBreaker (nevertheless, good work). The last thing needed to be changed is the gentoo-dev-sources, so that they include the recent bootsplash-patch. That means, currently the bootsplash_path utility works only on development-sources (the vanilla 2.6 kernel)._________________hacking is not a crime

I think is possible to make a tool to do this, because bootsplash_resize Scale only and create images 1130x854 (i dont remeber exacty the X). So he scale only._________________Musica che ascolto: http://www.last.fm/user/silian87/

Here you can find the bootsplash config for 1280x854 gentoo-higthquality theme. You have to resize with gimp-2.0 from Tools-->Scale your 2 images in /etc/bootsplash/gentoo-hightquality/images/. The best is resize a 1280x1024 to 1280x854 and non a 1024x768 to a 1280x854 .

I have already patched, I have try to set CONFIG_BOOTSPLASH=y in .config file but it doesn't work.

I had this problem too, I looked at the Kconfig files in drivers/video/bootsplash... and the stuff required X86. I tried to remove the dependencies on this, and the options appeared, but the kernel compilation failed.

So I emerged 2.6.7 and applied the patch. The options are there, the kernel compiles, and bootsplash works.

Can't seem to get bootsplash to work. I am using kernel 2.6.7-r9. dmesg message says "bootsplash 3.1.4-2004/02/19-spock-0.1: looking for picture...... no good signature found". I feel I am not setting up the bootsplash theme right. Is it still required to download themes if I emerge bootsplash, because in the emerge message it seems that it is installed in /usr/share/bootsplash.