From: ankur m. <ank...@pr...> - 2006-08-29 14:55:29
|
hi, 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. Can anyone share basic steps for logo display on linux 2.6 ??? I observed that while boot up console gives print .... Console: Dummy colour device 80x25 ..... 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. Can any one explain me what going wrong ???? I am not passing any command line params at present also I am not using _setup for command line parsing, is that must ?? One more observation I made when I enable support for logo16 or black&white logo, my driver gets loaded after fbcon and other fb modules, so doing cat /dev/fb0 does not show me anything. thanks Ankur |
From: Geert U. <ge...@li...> - 2006-08-29 15:03:42
|
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 -- ge...@li... 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 |
From: ankur m. <ank...@pr...> - 2006-09-07 15:26:20
|
Hi Geert, Thanks for the reply. Finally I found my logo on screen, but there are lots of issues in there.... After booting linux, logo takes 10 (ten) minutes to come up on the console (by that time it console remains blank). Also console is showing multiple logos, running horizontally and vertically. Any hint what is going wrong. thanks Ankur ----- Original Message ----- From: "Geert Uytterhoeven" <ge...@li...> To: "Linux Frame Buffer Device Development" <lin...@li...> Sent: Tuesday, August 29, 2006 8:33 PM Subject: Re: [Linux-fbdev-devel] how to enable logo > 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 -- ge...@li... > > 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 > _______________________________________________ > Linux-fbdev-devel mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel |
From: Geert U. <ge...@li...> - 2006-09-07 15:45:47
|
On Thu, 7 Sep 2006, ankur maheshwari wrote: > Also console is showing multiple logos, running horizontally and vertically. Wow, it should draw one logo for each CPU you have. How many CPUs do you have? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@li... 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 |
From: ankur m. <ank...@pr...> - 2006-09-11 05:39:52
|
Hi Geert, I have only one cpu on my board. Logo is coming some thing like following -------------------------------- logo logo logo logo | | | | -------------------------------- After few seconds -------------------------------- | | | logo logo logo logo | --------------------------------- Is there any issue with scrolling, I feel I need to go through the code where logo is shown .... fb_show_logo(); thanks Ankur ----- Original Message ----- From: "Geert Uytterhoeven" <ge...@li...> To: "Linux Frame Buffer Device Development" <lin...@li...> Sent: Thursday, September 07, 2006 9:15 PM Subject: Re: [Linux-fbdev-devel] how to enable logo > On Thu, 7 Sep 2006, ankur maheshwari wrote: > > Also console is showing multiple logos, running horizontally and vertically. > > Wow, it should draw one logo for each CPU you have. How many CPUs do you have? > > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@li... > > 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 > _______________________________________________ > Linux-fbdev-devel mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel |