linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Suggestions req for new fb driver
       [not found] <0ab101c69042$ed73d330$f301a8c0@procsys>
@ 2006-06-15  8:38 ` Geert Uytterhoeven
  2006-08-29 14:59   ` how to enable logo ankur maheshwari
  0 siblings, 1 reply; 6+ messages in thread
From: Geert Uytterhoeven @ 2006-06-15  8:38 UTC (permalink / raw)
  To: Linux Frame Buffer Device Development

On Thu, 15 Jun 2006, ankur maheshwari wrote:
> I am a newbie for framebuffer and trying to write framebuffer driver for lancelot vga controller, currently it is used only with Altera Nios (No MMU, softcore) kind of architecture.
> 
> Lancelot ip core provides multi display layers (five layers) functionality, i.e. layer0 we can use for background, layer1 we can use for video, layer2 we can use for text ........
> 
> I need some suggestions in design of frame buffer driver, as we have five display layer functionality in lancelot controller do I need to write five separate framebuffer driver for each layer, or I can take 5 different fb_info and work around with it.
> 
> To my understanding taking 5 fb_info will create fb0 fb1 fb2 fb3 fb4 nodes and graphic library (not decided yet, which one to use) will drive each frame buffer separately. 
> Can some one suggest that my understanding is correct with respect to driving multi display layer, Is there any other way I can handle multi display layer, is there any already existing driver example for same functionality ???

Having 5 fb_info's is indeed the simplest solution.

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* how to enable logo
  2006-06-15  8:38 ` Suggestions req for new fb driver Geert Uytterhoeven
@ 2006-08-29 14:59   ` ankur maheshwari
  2006-08-29 15:03     ` Geert Uytterhoeven
  0 siblings, 1 reply; 6+ messages in thread
From: ankur maheshwari @ 2006-08-29 14:59 UTC (permalink / raw)
  To: linux-fbdev-devel

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




-------------------------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: how to enable logo
  2006-08-29 14:59   ` how to enable logo ankur maheshwari
@ 2006-08-29 15:03     ` Geert Uytterhoeven
  2006-09-07 15:30       ` ankur maheshwari
  0 siblings, 1 reply; 6+ messages in thread
From: Geert Uytterhoeven @ 2006-08-29 15:03 UTC (permalink / raw)
  To: Linux Frame Buffer Device Development

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: how to enable logo
  2006-08-29 15:03     ` Geert Uytterhoeven
@ 2006-09-07 15:30       ` ankur maheshwari
  2006-09-07 15:45         ` Geert Uytterhoeven
  0 siblings, 1 reply; 6+ messages in thread
From: ankur maheshwari @ 2006-09-07 15:30 UTC (permalink / raw)
  To: linux-fbdev-devel

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" <geert@linux-m68k.org>
To: "Linux Frame Buffer Device Development"
<linux-fbdev-devel@lists.sourceforge.net>
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 --
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
> _______________________________________________
> Linux-fbdev-devel mailing list
> Linux-fbdev-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel


-------------------------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: how to enable logo
  2006-09-07 15:30       ` ankur maheshwari
@ 2006-09-07 15:45         ` Geert Uytterhoeven
  2006-09-11  5:44           ` ankur maheshwari
  0 siblings, 1 reply; 6+ messages in thread
From: Geert Uytterhoeven @ 2006-09-07 15:45 UTC (permalink / raw)
  To: Linux Frame Buffer Device Development

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 -- 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: how to enable logo
  2006-09-07 15:45         ` Geert Uytterhoeven
@ 2006-09-11  5:44           ` ankur maheshwari
  0 siblings, 0 replies; 6+ messages in thread
From: ankur maheshwari @ 2006-09-11  5:44 UTC (permalink / raw)
  To: linux-fbdev-devel

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" <geert@linux-m68k.org>
To: "Linux Frame Buffer Device Development"
<linux-fbdev-devel@lists.sourceforge.net>
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 --
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
> _______________________________________________
> Linux-fbdev-devel mailing list
> Linux-fbdev-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel


-------------------------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-09-11  5:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <0ab101c69042$ed73d330$f301a8c0@procsys>
2006-06-15  8:38 ` Suggestions req for new fb driver Geert Uytterhoeven
2006-08-29 14:59   ` how to enable logo ankur maheshwari
2006-08-29 15:03     ` Geert Uytterhoeven
2006-09-07 15:30       ` ankur maheshwari
2006-09-07 15:45         ` Geert Uytterhoeven
2006-09-11  5:44           ` ankur maheshwari

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).