2002-07-24 15:14:12

by Geert Uytterhoeven

[permalink] [raw]
Subject: [PATCH] penguin logo code


### Comments for changeset
The penguin logo resides in normal RAM, not in frame buffer memory, so we must
not use fb_readb()

### Comments for drivers/video/fbcon.c
The penguin logo resides in normal RAM, not in frame buffer memory, so we must
not use fb_readb()

--- linux-2.4.19-rc3/drivers/video/fbcon.c Fri Feb 22 16:28:32 2002
+++ linux-m68k-2.4.19-rc3/drivers/video/fbcon.c Mon Jul 22 21:45:01 2002
@@ -2417,7 +2417,7 @@
else
dst = fb + y1*line + x/8;
for( x1 = 0; x1 < LOGO_LINE; ++x1 )
- fb_writeb(fb_readb(src++) ^ inverse, dst++);
+ fb_writeb(*src++ ^ inverse, dst++);
}
done = 1;
}

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds


2002-07-24 16:40:42

by jbradford

[permalink] [raw]
Subject: Re: [PATCH] penguin logo code

Just an idea, (and slightly off-topic), but would it be possible, (I.E. not a copyright infringement, and not liable to mess up any checksums anywhere), to replace the logo that typically occurs in X86 BIOSen and fades away at boot, with a penguin?

2002-07-24 16:48:05

by Thunder from the hill

[permalink] [raw]
Subject: Re: [PATCH] penguin logo code

Hi,

On Wed, 24 Jul 2002 [email protected] wrote:
> Just an idea, (and slightly off-topic), but would it be possible, (I.E.
> not a copyright infringement, and not liable to mess up any checksums
> anywhere), to replace the logo that typically occurs in X86 BIOSen and
> fades away at boot, with a penguin?

I think the LinuxBios project made very clear that it is. What's shown on
boot time is quite arbitrary, the main thing is what happens. But would
you really want to _fade_away_ a penguin?

Regards,
Thunder
--
(Use http://www.ebb.org/ungeek if you can't decode)
------BEGIN GEEK CODE BLOCK------
Version: 3.12
GCS/E/G/S/AT d- s++:-- a? C++$ ULAVHI++++$ P++$ L++++(+++++)$ E W-$
N--- o? K? w-- O- M V$ PS+ PE- Y- PGP+ t+ 5+ X+ R- !tv b++ DI? !D G
e++++ h* r--- y-
------END GEEK CODE BLOCK------

2002-07-24 16:51:20

by Dave Jones

[permalink] [raw]
Subject: Re: [PATCH] penguin logo code

On Wed, Jul 24, 2002 at 05:49:16PM +0100, [email protected] wrote:

> Just an idea, (and slightly off-topic), but would it be possible,
> (I.E. not a copyright infringement, and not liable to mess up any
> checksums anywhere), to replace the logo that typically occurs in X86
> BIOSen and fades away at boot, with a penguin?

Yes. However it is by no means trivial, and aparently rather
easy to screw up.

http://www.google.com/search?q=replacing+bios+logo
will give you a few hundred places to begin.

Dave

--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs

2002-07-24 17:31:07

by Andreas Dilger

[permalink] [raw]
Subject: Re: [PATCH] penguin logo code

On Jul 24, 2002 17:49 +0100, [email protected] wrote:
> Just an idea, (and slightly off-topic), but would it be possible,
> (I.E. not a copyright infringement, and not liable to mess up any
> checksums anywhere), to replace the logo that typically occurs in X86
> BIOSen and fades away at boot, with a penguin?

Yes, I tried this once, but I never did get anything to display properly
(I _did_ remove the "energy star" logo though). What I _was_ able to do
was put etherboot into my BIOS (which formerly only had Novel RPLboot
and not PXE).

Cheers, Andreas
--
Andreas Dilger
http://www-mddsp.enel.ucalgary.ca/People/adilger/
http://sourceforge.net/projects/ext2resize/