Suggestions req for new fb driver
Quoted 8 lines · ankur maheshwari
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_infoand work around with it.To my understanding taking 5
fb_infowill 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 -- [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
how to enable logo
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
Re: how to enable logo
Quoted 23 lines · ankur maheshwari
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/fbas device 00 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.
Quoted 3 lines
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/fb0and its getting written on/dev/fb0but 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.
Quoted 2 lines
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).
Quoted 4 lines
later when fb driver get loaded, I get following prints
Console: switching to frame buffer device 80x30I 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 -- [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
-------------------------------------------------------------------------
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
Re: how to enable logo
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" <[email protected]>
To: "Linux Frame Buffer Device Development" <[email protected]>
Sent: Tuesday, August 29, 2006 8:33 PM
Subject: Re: [Linux-fbdev-devel] how to enable logo
Quoted 13 lines · ankur maheshwari
Quoted 12 lines
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/fbas device 00 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.
Quoted 3 lines
Quoted 3 lines
Currently I tried
Device Driver -> Character device -> Virtual Terminal Device Driver -> Character device -> Serial Driver -> Support for
console on
Quoted 9 lines
Quoted 9 lines
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.
Quoted 1 line
Quoted 1 line
But console remains blank, I copied other files (.ppm) on
/dev/fb0and
its
Quoted 5 lines
Quoted 1 line
getting written on
/dev/fb0but 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
Quoted 6 lines
graphics controller.
Quoted 2 lines
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
Quoted 9 lines
(yet).
Quoted 4 lines
later when fb driver get loaded, I get following prints
Console: switching to frame buffer device 80x30I 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
Quoted 8 lines
30x16 = 480 pixels, which is exactly what you asked for.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 --
Quoted 2 lines
In personal conversations with technical people, I call myself a hacker.
But
Quoted 1 line
when I'm talking to journalists I just say "programmer" or something like
that.
Quoted 5 lines
-- 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
Quoted 6 lines
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 [email protected]
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
Re: how to enable logo
Quoted 1 line · ankur maheshwari
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 -- [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
-------------------------------------------------------------------------
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
Re: how to enable logo
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" <[email protected]>
To: "Linux Frame Buffer Device Development" <[email protected]>
Sent: Thursday, September 07, 2006 9:15 PM
Subject: Re: [Linux-fbdev-devel] how to enable logo
Quoted 2 lines · ankur maheshwari
Quoted 1 line
Also console is showing multiple logos, running horizontally and
vertically.
Quoted 2 lines
Wow, it should draw one logo for each CPU you have. How many CPUs do you
have?
Quoted 7 lines
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 --
Quoted 2 lines
In personal conversations with technical people, I call myself a hacker.
But
Quoted 1 line
when I'm talking to journalists I just say "programmer" or something like
that.
Quoted 5 lines
-- 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
Quoted 6 lines
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 [email protected]
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