
worked like a charm...thx!medlor wrote:Hello
If have modified the "bootsplash-3.0.7-2.4.20-vanilla.diff"
file needed to patch the kernel and produced one which
can be used for the new vanilla 2.4.21 kernel.
The diff can be found at
http://bugs.gentoo.org/show_bug.cgi?id=23369 .
As a workaround until the package is updated in portage simple do:
instead of
$ ebuild /var/db/pkg/media-gfx/bootsplash-0.6/bootsplash-0.6.ebuild config
do
$ cd /usr/src/linuc
$ patch -p1 < path_and_filename_of_diff
All other steps are as mentioned....
I'm sure if you either linked here or copied it from here and linked as "english version" or something, and mentioned the authors name(s) there'd be no problems.linde002 wrote:And now for something completely different.
I would like to know if i am allowed to translate this to dutch and than place it on: forum.nedlinux.nl and wiki.nedlinux.nl and if so, who do i give credit to?
however there are some issues with licenses on wiki.nedlinux.nl so I have to ask you, are you ok with the editing of your howto? (you will be credited for your original work but after the first change a extra author (NedDocWiki) will be added).
btw: I have gotten Mplayer to work under FB, just use mplayer -vo fbdev [file] instead of svga, my screen shuts down if I use svga.
Hint: if you want something funny just download one of them stickmen movies and use -vo aa, this will give you some funny ascii stickfights.
-Robert


Code: Select all
*
* Patching the kernel in /usr/src/linux ...
*
patching file drivers/char/console.c
patching file drivers/char/keyboard.c
Hunk #1 succeeded at 251 (offset 12 lines).
patching file drivers/char/n_tty.c
patching file drivers/video/Config.in
Hunk #1 succeeded at 229 (offset 7 lines).
Hunk #2 FAILED at 347.
Hunk #3 FAILED at 366.
2 out of 3 hunks FAILED -- saving rejects to file drivers/video/Config.in.rej
patching file drivers/video/Makefile
Hunk #2 succeeded at 152 (offset 5 lines).
patching file drivers/video/fbcon-jpegdec.c
patching file drivers/video/fbcon-jpegdec.h
patching file drivers/video/fbcon-splash.c
patching file drivers/video/fbcon-splash.h
patching file drivers/video/fbcon-splash16.c
patching file drivers/video/fbcon.c
patching file include/video/fbcon.h
patching file kernel/panic.c
!!! ERROR: media-gfx/bootsplash-0.6-r1 failed.
!!! Function pkg_config, Line 108, Exitcode 1
!!! (no error message)
Code: Select all
pkg_config() {
ewarn
ewarn "Patching the kernel in /usr/src/linux ..."
ewarn
cd ${ROOT}/usr/src/linux
patch -p1 < ${ROOT}/usr/share/${PN}/bootsplash-3.0.7-2.4.20-vanilla.diff || die
ewarn
ewarn " ... complete."



Code: Select all
bootsplash-1024x768.cfg (default for all tty)
bootsplash-tty12-1024x768.cfg (for tty12 only)
Code: Select all
--- bootsplash 2003-08-18 10:26:02.000000000 +0200
+++ /etc/init.d/bootsplash 2003-09-01 05:44:10.000000000 +0200
@@ -29,9 +29,21 @@
RESOLUTION=$(/sbin/fbresolution)
# switch to a usable image on all consoles
- for TTY in `seq 0 5`
+ for TTY in `seq 0 11`
do
- /sbin/splash -s -u $TTY /etc/bootsplash/${BOOTSPLASH_THEME}/config/bootsplash-${RESOLUTION}.cfg
+ TTYF=$(($TTY+1));
+ if [ $TTYF -eq 7 ]
+ then
+ continue;
+ fi
+
+ if [ -f /etc/bootsplash/${BOOTSPLASH_THEME}/config/bootsplash-tty${TTYF}-${RESOLUTION}.cfg ]
+ then
+ /sbin/splash -s -u $TTY /etc/bootsplash/${BOOTSPLASH_THEME}/config/bootsplash-tty${TTYF}-${RESOLUTION}.cfg
+
+ else
+ /sbin/splash -s -u $TTY /etc/bootsplash/${BOOTSPLASH_THEME}/config/bootsplash-${RESOLUTION}.cfg
+ fi
done
eend $? "Failed to set frame buffer console images"
It took me a while but I also managed to get it working with my Sony Vaio PCG-Fx101.Krisserferson wrote:Indeed this is a nice treat and I managed to get it working with the i810fb. Happy Happy Joy Joy...![]()
Code: Select all
kernel (hd0,1)/boot/bzImage-2.4.20 root=/dev/hda4 video=i810fb:hsync1=31.5:hsync2=48.5:vsync1=50:vsync2=70:xres=1024:yres=768:mtrr:bpp=16If you are seeing a logo at top left of screen that means bootsplash is not working. Make sure you have an option called 'Use splash screen instead of boot logo' in kernel and enable it.darksides wrote:WORKS WORKS!!!!but i see the gentoo logo first at the top of the console, the it switch to framebuffer....WHY?
Code: Select all
/sbin/splash -s -f 'config-file' > /boot/initrd-1024x768