On Tue, 29 Aug 2006, ankur maheshwari wrote:
I have written a framebuffer driver of my own, which is base on virtual
framebuffer driver (vfb.c).
After linux boot up I can see my framebuffer in /proc/fb as device 0
0 myfbdriver
I am working on 2.6.11 uclinux.
What I want to know is ----
what are the option I need to enable in menuconfig in 2.6 kernel for
displaying logo on bootup.
Currently I tried
Device Driver -> Character device -> Virtual Terminal
Device Driver -> Character device -> Serial Driver -> Support for console on
serial device.
Graphic support -> Support of frame buffer devices
Graphic support ->Console display driver support -> Frame buffer console
support
Graphic support ->Logo configuration -> Standard 224-color Linux logo.
and My framebuffer driver.
After boot linux when I do cat /dev/fb0, I get a logo on my hyperterminal.
But console remains blank, I copied other files (.ppm) on /dev/fb0 and its
getting written on /dev/fb0 but console remains blank.
So the correct image is there.
Hence the memory it's writing to is not the actual frame buffer memory of your
graphics controller.
I observed that while boot up console gives print ....
Console: Dummy colour device 80x25 .....
Yep, that's the dummy console, which is used if there's no real console device
(yet).
later when fb driver get loaded, I get following prints
Console: switching to frame buffer device 80x30
I have given fix. params as 640x480 but even then it switchs to 80x30.
80x30 is the text console, so the units are character cells.
Since the default font is VGA 8x16, the actual resolution is 80x8 = 640 times
30x16 = 480 pixels, which is exactly what you asked for.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
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
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642