* Framebuffer console & Tux
@ 2004-12-17 14:40 Rodolfo Giometti
2004-12-17 14:53 ` Magnus Damm
0 siblings, 1 reply; 3+ messages in thread
From: Rodolfo Giometti @ 2004-12-17 14:40 UTC (permalink / raw)
To: linux-fbdev-devel
Hello!
I'm just writing a new frame buffer driver (for a MPC8xx based system)
and I have a strange problem... I init the driver structs as follows:
strcpy(fb_info.gen.info.modename, "e13505fb");
/* strcpy(fb_info.gen.info.fontname, default_fontname); */
fb_info.gen.info.changevar = NULL;
fb_info.gen.info.node = -1;
fb_info.gen.info.fbops = &e13505fb_ops;
fb_info.gen.info.disp = &fb_info.disp;
fb_info.gen.info.switch_con = &fbgen_switch;
fb_info.gen.info.updatevar = &fbgen_update_var;
fb_info.gen.info.blank = &fbgen_blank;
fb_info.gen.parsize = sizeof(struct e13505fb_par);
fb_info.gen.info.flags = FBINFO_FLAG_DEFAULT;
fb_info.disp.var.activate = FB_ACTIVATE_NOW;
/* This should give a reasonable default video mode */
fbgen_get_var(&fb_info.disp.var, -1, &fb_info.gen.info);
fbgen_do_set_var(&fb_info.disp.var, 1, &fb_info.gen);
fbgen_set_disp(-1, &fb_info.gen);
fbgen_install_cmap(0, &fb_info.gen);
/* Register the new frame buffer */
ret = register_framebuffer(&fb_info.gen.info);
if (ret < 0)
goto fb_register;
and at boot I get:
Console: switching to frame buffer device
But I can't see Tux in my LCD nor the usual console messages! Can
anyone help me?
Thanks in advance,
Rodolfo
P.S. I use the linux kernel parameter «console=tty0».
--
GNU/Linux Solutions e-mail: giometti@linux.it
Linux Device Driver giometti@enneenne.com
Embedded Systems home page: giometti.enneenne.com
UNIX programming phone: +39 349 2432127
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Framebuffer console & Tux
2004-12-17 14:40 Framebuffer console & Tux Rodolfo Giometti
@ 2004-12-17 14:53 ` Magnus Damm
2004-12-17 14:58 ` Rodolfo Giometti
0 siblings, 1 reply; 3+ messages in thread
From: Magnus Damm @ 2004-12-17 14:53 UTC (permalink / raw)
To: linux-fbdev-devel
Hello,
On Fri, 17 Dec 2004 15:40:30 +0100, Rodolfo Giometti <giometti@linux.it> wrote:
> I'm just writing a new frame buffer driver (for a MPC8xx based system)
Just to make sure you are not doing duplicated work:
I have seen "heretic" running on 823/821 using the framebuffer (I
think) - but that was several years ago on a Linux Planet box from
Embedded Planet. This was with Linux-2.2 or 2.3 or something. Just
making sure you have searched the net for available code...
/ magnus
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Framebuffer console & Tux
2004-12-17 14:53 ` Magnus Damm
@ 2004-12-17 14:58 ` Rodolfo Giometti
0 siblings, 0 replies; 3+ messages in thread
From: Rodolfo Giometti @ 2004-12-17 14:58 UTC (permalink / raw)
To: linux-fbdev-devel
On Fri, Dec 17, 2004 at 03:53:10PM +0100, Magnus Damm wrote:
> Hello,
>
> On Fri, 17 Dec 2004 15:40:30 +0100, Rodolfo Giometti <giometti@linux.it> wrote:
> > I'm just writing a new frame buffer driver (for a MPC8xx based system)
>
> Just to make sure you are not doing duplicated work:
I see, but this system is based on MPC8xx and the LCD controller is an
Epson 13505.
Regards,
Rodolfo
--
GNU/Linux Solutions e-mail: giometti@linux.it
Linux Device Driver giometti@enneenne.com
Embedded Systems home page: giometti.enneenne.com
UNIX programming phone: +39 349 2432127
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-12-17 14:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-17 14:40 Framebuffer console & Tux Rodolfo Giometti
2004-12-17 14:53 ` Magnus Damm
2004-12-17 14:58 ` Rodolfo Giometti
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).