Port-macppc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: machfb still broken for first gen iMacs
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
On Oct 2, 2010, at 5:35 PM, John Klos wrote:
I just tried a netbsd-5 kernel from today's (2-October-2010)
sources on a first generation iMac and machfb still gives a mess.
Pictures are here.
Oops - I forgot the pictures:
The first two are for reference and show a genfb kernel. This is a
first generation iMac with a VGA connection to a regular monitor.
What about the built-in monitor?
http://www.ziaspace.com/~john/imac_machfb.jpg
http://www.ziaspace.com/~john/imac_machfb_closeup.jpg
Ok, so this is not a video mode setup problem as I initially thought.
No wonder I couldn't find anything.
With machfb:
...
machfb0 at pci0 dev 18 function 0: ATI Technologies 3D Rage Pro
(rev. 0x5c)
machfb0: 16 MB aperture at 0x81000000, 4 KB registers at 0x80882000
machfb0: 6144 KB SGRAM 98.924 MHz, maximum RAMDAC clock 230 MHz
mach64_get_mode: 640 664 1016 800 480 491 525 525
machfb0: initial resolution 640x480 at 8 bpp
...
Does the iMac lock up here or does it continue booting with an
unreadable console?
Since this seems to be drawing engine related I'm afraid it's a lockup
though, and since you see the 'initial resolution...' line we made it
past engine initialization and mode setup.
Please do this:
- - comment out the mach64_clearscreen() call in mach64_attach() so
output doesn't get lost
- - sprinkle printf()s to find out where exactly the messup happens,
normal console output should work right up to wsdisplay_cnattach()
- - set options_MACHFB_DEBUG in your kernel config for extra loudness
This should give us an idea where the messup happens. As I said
before, I have a beige G3 with onboard Rage II and a Sun PGX ( which
is another Rage II on a PCI card ) - both work fine.
Finally, you could try to if (0) the ri->ri_ops.putchar = ... line in
mach64_init_screen() so we fall back to software character drawing. If
that helps at least I know where to look.
have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
iQEVAwUBTKfNF8pnzkX8Yg2nAQKsXAgAkE2guI968LD7o9bA40v0N+08Gd/CSSDq
lHfy9B1kSNxJMHmTh6lb02zIPm108uz3fgGXjrClL5eLjFtSZwPrKZTpjEvaZy4B
UDVawrvKmTMjXubwexEQx58/nmaPqdjEtevQ8EG6pj6t/f/ZVpKdXN3zkZirLq0o
LkBeqf8oQNi5yJwMW02Csh7xLDLxvXe/RquXyCZyFuu/9lXmeie7hortJJlpPnsM
UrHkHeTuJR3ZmkqgRT2PkTJ2yj3OMcqWv0OcNAAmG7rEwUVSUj2AcdD7RAWzmwfV
wly6w34myg/koK75sXsqwtwS7GHqD65OcmqtuiMTliMTjPYsGt7yWQ==
=RndD
-----END PGP SIGNATURE-----
Home |
Main Index |
Thread Index |
Old Index