Port-powerpc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Where arch/bebox/pci/pfb.c?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
On May 15, 2008, at 02:54, KIYOHARA Takashi wrote:
From: Tim Rightnour <root%garbled.net@localhost>
Date: Wed, 14 May 2008 00:05:40 -0700 (MST)
On 14-May-2008 KIYOHARA Takashi wrote:
However, I learnt pfb (PCI Frame buffer) had disappeared. Did you
delete arch/bebox/pc/pfb.c and arch/bebox/pci/pfbvar.h at the
time of
merging ppc-oearenovation? Or, did you move?
I deleted it. Mostly because it was a really old style
framebuffer, and it
just didn't look right to me at all. It should still be in the
attic, however,
I think the primary reason I got rid of it was that it was a pcvt
console, and
not a wscons console. I think most of the pcvt stuff is gone, and
it just
didn't make sense to keep around.
I think what the correct thing to do in your case, would be to
start with
genfb, and get that working. In theory, it should work with any
card, as long
as you know the current display mode of the card. Once you have a
working
console with genfb, then maybe look into writing a proper matroxfb
or s3virgefb.
hmm... I can't understand. X-<
Should I attach genfb? In that case, how should be done the
console? Do
not we have a console until genfb is attached?
If the bebox firmware doesn't provide text output routines and we
don't call them then - no, there wouldn't be any visible output until
genfb attaches.
Shall I define?
# generic PCI framebuffers
genfb* at pci?
# make sure the console display is always wsdisplay0
wsdisplay0 at wsemuldisplaydev? console 1
wsdisplay* at wsemuldisplaydev?
Exactly.
Please have a look at powerpc/oea/ofw_autoconf.c for an example of
how to pass parameters to genfb ( basically you catch it in
device_register() and attach device properties telling the driver how
to map video memory and what graphics mode you're using )
Sparc64 has similar code ( see sparc64/sparc64/autoconf.c )
have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
iQEVAwUBSCxerspnzkX8Yg2nAQKgEAf/Yb//QXPA27X27zb2S6ZOOEJsZEysuv1G
PhqjJLyzgYjdBZiYQ+FjS0nPqoRL46JbG0jW6xiLHGOLHU9xgIHHDqLayDH45zh0
iEZjWaXyosTtUpuQK1tVBXpzC39+S9AQdPRmf1XVfd1O5PO12vaNxYx36Ppa0MTL
UcimYoASCRuvQmWoLoWDUVcTmXUDrNRFYEpcWwcDQaH7EqfmHRKliZJkcQZJ9jQw
B9Vbx+teQ7Rd4AuNLDMlo6rtTuWGZBgXBjmkc6ONI4HUofV4BQXt2bFVPxPUtYBg
mad5NlLwFThfVupZh7xXEAMZeiHV4eymv1Wf+k770E2zgOvrzvelww==
=Nzrk
-----END PGP SIGNATURE-----
Home |
Main Index |
Thread Index |
Old Index