All of lore.kernel.org
 help / color / mirror / Atom feed
From: Georg Chini <georg.chini@triaton-webhosting.com>
To: sparclinux@vger.kernel.org
Subject: Re: Sparc32 - SS5 - TCX-Framebuffer and RTC
Date: Thu, 09 Dec 2004 21:15:31 +0000	[thread overview]
Message-ID: <41B8C073.7080008@triaton-webhosting.com> (raw)

Hello,

Bob Breuer wrote:
> Georg Chini wrote:
>  > 1) TCX-Framebuffer:
> ...
>  >    b) FB-Console does not work:
>  >       When I boot the system with FB-Console I get a blank
>  >       black screen. System boots fine, only nothing is
>  >       displayed.
> 
> I had a similar problem with the cg14 framebuffer, maybe this snippet from
> the cg14 fix will help you:

Yes, this helped a lot. I get FB-console working. But I still have a
problem with X. I cannot start X in 8-Bit mode and the console
is inaccessible after starting X in 32-Bit mode. Here is what
I changed:

--- linux-2.6.10-rc3/drivers/video/tcx.c        Fri Dec  3 22:52:07 2004
+++ l10rc3/drivers/video/tcx.c  Thu Dec  9 19:22:20 2004
@@ -366,6 +366,9 @@
         all->par.lowdepth = prom_getbool(sdev->prom_node, "tcx-8-bit");

         sbusfb_fill_var(&all->info.var, sdev->prom_node, 8);
+       all->info.var.red.length = 8;
+       all->info.var.green.length = 8;
+       all->info.var.blue.length = 8;

         linebytes = prom_getintdefault(sdev->prom_node, "linebytes",
                                        all->info.var.xres);
@@ -439,6 +442,7 @@
                 return;
         }

+       fb_set_cmap(&all->info.cmap, &all->info);
         tcx_init_fix(&all->info, linebytes);

         if (register_framebuffer(&all->info) < 0) {
@@ -466,7 +470,7 @@
                 return -ENODEV;

         for_all_sbusdev(sdev, sbus) {
-               if (!strcmp(sdev->prom_name, "tcx"))
+               if (!strcmp(sdev->prom_name, "SUNW,tcx"))
                         tcx_init_one(sdev);
         }


> 
>  >
>  > 2) RTC:
> 
> Broken by a recent change in include/asm-sparc/mostek.h, need to include
> <asm/io.h> from there now.
> 

Works fine with <asm/io.h> included.

Thanks for the fast help.

Regards
        Georg Chini


                 reply	other threads:[~2004-12-09 21:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=41B8C073.7080008@triaton-webhosting.com \
    --to=georg.chini@triaton-webhosting.com \
    --cc=sparclinux@vger.kernel.org \
    /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.