Port-powerpc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: X server support?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
On Sep 10, 2008, at 1:50 PM, KIYOHARA Takashi wrote:
From: Michael Lorenz <macallan%netbsd.org@localhost>
Date: Tue, 9 Sep 2008 23:52:30 -0400
I want support the X server for port bebox and prep.
What should I first do?
I copied some files of /usr/X11R6/lib/modules of macppc. And, mmap
tried
the map of 0xfc000000 and it failed though Driver was set to s3 in
XF86Config for bebox.
Sure it wasn't 0xf2000000? That would be the Xserver trying to mmap
the PCI IO space.
hmm...
I put XF86Config and XFree86.0.log's on bebox.
http://www.kk.iij4u.or.jp/~kiyohara/tmp/bebox/XF86Config
http://www.kk.iij4u.or.jp/~kiyohara/tmp/bebox/XFree86.0.log.s3
http://www.kk.iij4u.or.jp/~kiyohara/tmp/bebox/XFree86.0.log.vga
http://www.kk.iij4u.or.jp/~kiyohara/tmp/bebox/XFree86.0.log.wsfb
This is where mapping IO space fails:
(WW) xf86EnableIO 5
(II) xf86EnableIO: ffffffff
(WW) Can't map IO space!
Then X tries to mmap the card's framebuffer aperture, apparently
believing it's at 0xfc000000 but I see no such range reported in the
PCI scan. Could you please post the card's pcictl dump output?
I suspect that the card either doesn't have a BAR for its aperture or
the driver doesn't look at it and tries to get the aperture address
from the graphics chip's IO registers which returns bogus since we
failed to map IO space.
If the card doesn't use a BAR for its aperture we have a problem
since drivers like genfb will only let you mmap ranges that are
either known to belong to the graphics chip or PCI IO.
have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
iQEVAwUBSMiho8pnzkX8Yg2nAQIJMwgAjovKUgj00/m81E6clzndRZlFHGKWTL7i
o1huQm0s/IYYP7nHy6LtlWYc7o/cLd12LReUd4W3yJrpGLkNkxKMVRZj+Uj+bEzS
GINP9NLSeUQSbxM4j0ZSEcf+eT0WOyVP8r8jYGwQOcHFYZNkkZ5l33ifoLc8iJCE
bYm0AZlC1aWC1yVwliG9SVB5Q4Fc9TqRy22q+ZdzoMNkfFTeJd8UV2dhbZ/5hFFO
4DgSQAbPgl1sAMi/5X8bK9TmOVOHWcSwKV/bnXEqBYvL5UqSXDS30eRYUJE40HeW
O6XsiCQXzzoBZcEWxNyiFu7Watpo0ZN2swau0ASPVaSQiOT8teId2Q==
=YMVQ
-----END PGP SIGNATURE-----
Home |
Main Index |
Thread Index |
Old Index