Framebuffer console & Tux

3 messages, 2 authors, 2004-12-17 · open the first message on its own page

Framebuffer console & Tux

From: Rodolfo Giometti <hidden>
Date: 2004-12-17 14:40:49

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/

Re: Framebuffer console & Tux

From: Magnus Damm <magnus.damm@gmail.com>
Date: 2004-12-17 14:53:20

Hello,

On Fri, 17 Dec 2004 15:40:30 +0100, Rodolfo Giometti [off-list ref] 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/

Re: Framebuffer console & Tux

From: Rodolfo Giometti <hidden>
Date: 2004-12-17 14:58:40

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 [off-list ref] wrote:
quoted
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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help