Hi Laurent,
On Sat, Oct 10, 2015 at 9:27 AM, Laurent Vivier laurent@vivier.eu wrote:
On PowerMac G5 (and I think on all OpenFirmware platforms), nvbios_pcirTp() returns NULL. But in fact the OpenFirmware has given us the size we can store in image->size.
This size is stored in bios->size by of_init() as there is no way to retrieve it otherwise. And as we know the size, copy all data to bios->data.
Tested on PowerMac G5 with 64bit kernel and a NV43 card (GeForce 6600 LE).
Can you give this patch a shot instead?
http://cgit.freedesktop.org/~darktama/nouveau/commit/?id=794a63cc75eada9ad6b...
This resolved my issues on a PPC G5 + NV34. I think mine ran into a few additional problems that you didn't see -- no PCIR header and invalid checksum.
-ilia