All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rodolfo Giometti <giometti@linux.it>
To: linux-fbdev-devel@lists.sourceforge.net
Subject: Framebuffer console & Tux
Date: Fri, 17 Dec 2004 15:40:30 +0100	[thread overview]
Message-ID: <20041217144029.GC16510@enneenne.com> (raw)

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/

             reply	other threads:[~2004-12-17 14:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-17 14:40 Rodolfo Giometti [this message]
2004-12-17 14:53 ` Framebuffer console & Tux Magnus Damm
2004-12-17 14:58   ` Rodolfo Giometti

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041217144029.GC16510@enneenne.com \
    --to=giometti@linux.it \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.