bootsplashversion 3,1,3 patchen wie ????

Welches Modul/Treiber für welche Hardware, Kernel compilieren...
Antworten
pc-systemhaus
Beiträge: 44
Registriert: 25.06.2005 10:32:58
Wohnort: 49163 Bohmte
Kontaktdaten:

bootsplashversion 3,1,3 patchen wie ????

Beitrag von pc-systemhaus » 27.08.2005 15:34:19

Hallo

Ich habe da ein kleines problem und zwar will ich wenn der Rechner Hochfärt ein Grafisches bild sehen und nicht die schriften die man so sieht ....
Habe auch schon gegoogle und was gefunden doch komme leider nicht weiter ....
Kan leider auch kein english hören ja doch lesen nö sorry....
hier das was ich gefunden habe ...


Kernel stuff

ATTENTION!
Please read the following information very carefully. This kernel patch is free software; you may redistribute it under the terms of the GNU General Public License. This kernel patch comes with absolutely no warranty.

Requirements

* To use the Linux bootsplash screen, you have to recompile your kernel. The bootsplash patch is available for 2.4.18-2.4.22 and 2.6.0-test9. The patches should also apply to newer versions of the Linux kernel.

If you are not familiar with this procedure, please ask one of your geek friends or get hold of a distribution that already comes with the bootsplash screen.

* You need to have a working framebuffer device with 16bit colordepth, preferably vesafb (i.e. vga=0x317 for 1024x768)

* You need a bootsplash theme. Get one here or make one yourself.

* You need the splash utility, see user space stuff.

If all requirements are met, lets get started:

Patching and Compiling the Kernel

First off, make sure, your kernel sources are installed in /usr/src/linux. Now download the version of the bootsplash patch that fits to your kernel.

* bootsplash version 3.1.3 (2003/11/14, Linux 2.6.0-test9)
ftp://ftp.openbios.org/pub/bootsplash/k ... test9.diff

* bootsplash version 3.0.7 (2003/03/10, Linux 2.4.22)
ftp://ftp.openbios.org/pub/bootsplash/k ... a.diff.bz2

Note: check ftp://ftp.openbios.org/pub/bootsplash/kernel/ for bootsplash patches not mentioned here. The patches might work well with other kernel versions. However, this is not tested.


yourbox:~ # cd /usr/src/linux
yourbox:/usr/src/linux # patch -p1 < /path/to/bootsplash-3.0.7-2.4.20-vanilla.diff
patching file drivers/char/console.c
patching file drivers/char/keyboard.c
patching file drivers/char/n_tty.c
patching file drivers/video/Config.in
patching file drivers/video/Makefile
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
yourbox:/usr/src/linux #

Now you have to change your kernel configuration, using make config, make menuconfig or make xconfig. Go to "Console drivers" -> "Frame-Buffer support" and select "VESA VGA graphics console" (or possibly another framebuffer driver, if one is available for your graphics hardware) and turn on "Use splash screen instead of boot logo". Also be sure to enable "Initial Ramdisk support" in "Block Devices" Save your new config and compile a new kernel. Copy the kernel to your /boot directory and make sure that you have a boot entry for it in your bootloader config.

Preparing the picture

As there are no filesystems accessible when the bootsplash is first shown, it can be attached to an initial ramdisk. If you dont have an initial ramdisk normally, just use an empty one.

Get the sources of the bootsplash utilities from:
ftp://ftp.openbios.org/pub/bootsplash/r ... .7.tar.bz2
# cd ~/splash
# tar xvjf splashutils.tar.bz2
splashutils/
splashutils/Makefile
splashutils/splash.c
[..]
splashutils/ChangeLog
splashutils/COPYING
# cd splashutils
# make splash
gcc -Os -Wall -c -o splash.o splash.c
gcc -Os -Wall -o splash splash.o
strip splash
# cp splash /sbin/
# cd ..

Next you need to attach the picture plus a header, defining text windows and such to the initrd (in the example, this is done for 1024x768. specify other resolutions, if available) :

/sbin/splash -s -f /etc/bootsplash/themes/yourtheme/config/bootsplash-1024x768.cfg >> /boot/initrd.splash

If you want to use more than one resolution for the bootsplash, call the above command several times, once for each resolution config file.

Finishing up

run lilo, if appropriate, and reboot your system. You should get the bootsplash screen.

During boot you will likely see the following in your messages:
vesafb: framebuffer at 0xf0000000, mapped to 0xdc816000, size 65472k
vesafb: mode is 1024x768x16, linelength=2048, pages=41
vesafb: protected mode interface info at c000:5137
vesafb: scrolling: redraw
vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
Looking for splash picture.... silenjpeg size 11165 bytes, found (1024x768, 4912 bytes, v3)
Got silent jpeg.

ich hoffe das mir jemand weiterhelfen kann

:(

grus Andy

Benutzeravatar
TCA
Beiträge: 1465
Registriert: 14.05.2004 23:42:30
Wohnort: Göttingen

Re: bootsplashversion 3,1,3 patchen wie ????

Beitrag von TCA » 27.08.2005 16:04:22

pc-systemhaus hat geschrieben: Habe auch schon gegoogle und was gefunden doch komme leider nicht weiter ....
Kan leider auch kein english hören ja doch lesen nö sorry....
hier das was ich gefunden habe ...
Dann versuche doch das Howto, ist auch Deutsch.

http://www.debianforum.de/wiki/?page=Bootsplash
Gruss
Marc

Wer glaubt, etwas zu sein,
hat aufgehört, etwas zu werden.

debianforum.de Verhaltensregeln

pc-systemhaus
Beiträge: 44
Registriert: 25.06.2005 10:32:58
Wohnort: 49163 Bohmte
Kontaktdaten:

Danke doch habe ich ein problem

Beitrag von pc-systemhaus » 27.08.2005 17:14:17

Hallo sorry ja hat mir viel geholfen doch ich komme mit dem

/boot/initrd.splash


nicht zu recht fehlet eingfach wies auch nicht warumm

gruss Andy

pc-systemhaus
Beiträge: 44
Registriert: 25.06.2005 10:32:58
Wohnort: 49163 Bohmte
Kontaktdaten:

Beitrag von pc-systemhaus » 27.08.2005 17:15:29

ach ja dann bekomme ich noch diese meldung


tuxandy:~# cd /usr/src/linux
tuxandy:/usr/src/linux# patch -p1 < /usr/src/linux/bootsplash-3.1.6-2.6.12.diff can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.6.12/drivers/char/keyboard.c linux-2.6.12-bootsplash/drivers/char/keyboard.c
|--- linux-2.6.12/drivers/char/keyboard.c 2005-06-17 21:48:29.000000000 +0200
|+++ linux-2.6.12-bootsplash/drivers/char/keyboard.c 2005-06-18 09:22:11.000000000 +0200
--------------------------
File to patch:

Benutzeravatar
TCA
Beiträge: 1465
Registriert: 14.05.2004 23:42:30
Wohnort: Göttingen

Beitrag von TCA » 27.08.2005 17:29:43

Welche Kernel Sourcen hast du genommen bzw woher?
Gruss
Marc

Wer glaubt, etwas zu sein,
hat aufgehört, etwas zu werden.

debianforum.de Verhaltensregeln

pc-systemhaus
Beiträge: 44
Registriert: 25.06.2005 10:32:58
Wohnort: 49163 Bohmte
Kontaktdaten:

Kernel source

Beitrag von pc-systemhaus » 27.08.2005 17:34:19

Hallo sorry ist der kernel

Kernel 2.6.12-686

Habe ihn mit Synaptic instaliert
hatte so noch nichts mit einen kernel zu tun

ist jetzt das erstemal und glaube auch das ich dor denn fehler habe

gruss andy

Benutzeravatar
TCA
Beiträge: 1465
Registriert: 14.05.2004 23:42:30
Wohnort: Göttingen

Beitrag von TCA » 27.08.2005 17:42:40

Ich muss gestehen das ich mich mit den Linux-images was das Patchen angeht nicht gut auskenne.

Nimm doch die sourcen von Kernel.org

Du entpackst dir die sourcen nach /usr/src verlinkst nach /usr/src/linux.
Die alten kannst du ja in einen anderen Ordner erstmal sichern.

Dann machst du

Code: Alles auswählen

 cp /boot/config-2.6.12-686  /usr/src/linux/.config
damit solltest du die alte Konfiguration übernommen haben.
Gruss
Marc

Wer glaubt, etwas zu sein,
hat aufgehört, etwas zu werden.

debianforum.de Verhaltensregeln

Benutzeravatar
TCA
Beiträge: 1465
Registriert: 14.05.2004 23:42:30
Wohnort: Göttingen

Beitrag von TCA » 27.08.2005 18:00:20

Hier ist noch ein Howto für den eigenen Kernel.

http://www.debianforum.de/wiki/?page=Ke ... ompilieren
Gruss
Marc

Wer glaubt, etwas zu sein,
hat aufgehört, etwas zu werden.

debianforum.de Verhaltensregeln

Antworten