Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Status
Not open for further replies.

Spacedust

macrumors 65816
Original poster
May 24, 2009
1,005
160
I needed a better performance on OpenCL so I've bought PowerColor HD7950 PCS+ to flash it. It seems to be a reference board but I cannot add EFI to it.

838559183_1815690503_o.jpg


It seems it has BIOS + UEFI on it. How to resolve this ?

./makerom.sh --efifile=7950mac.efi --romfile=efiromheader.rom --originalrom=cardname.rom --devid=679a
running on 7950mac.efi, efiromheader.rom with devid 679a
Patching files 7950mac.efi, efiromheader.rom for device-id 0x679a
Successfully patched efi file
Successfully patched efi rom file

Orig Size = 125440
Comp Size = 47591
47591+0 records in
47591+0 records out
47591 bytes transferred in 0.063111 secs (754086 bytes/sec)
EFI part is ready at 679a.efipart.rom
orig size - 65536
65536+0 records in
65536+0 records out
65536 bytes transferred in 0.085933 secs (762641 bytes/sec)
Before:
OpRom (size=65536, indicator_offset=0x22d, indicator=0x0, checksum=0x0)
OpRom (size=48128, indicator_offset=0x31, indicator=0x80, checksum=0x0)
RawData (size=17408)
Traceback (most recent call last):
File "fixrom.py", line 110, in <module>
op_rom.fix()
File "fixrom.py", line 90, in fix
self.data[-1] = chr(0x100 - sum)
ValueError: chr() arg not in range(256)
the rom is ready at cardname.rom.efi.rom
 
Last edited:
Successful flash requires precision.

You can start with a more precise title to this thread

You have not in fact even gotten close to flashing, your problem seems to be with fixrom.py

So you are still in rom creation area.

If it is TRULY a reference design you can try the original Mac 7950 rom first.

I would ONLY do that if it has a Dual position rom switch.

So, if it buggers it up you flip the switch, boot, then flip and reflash

But you really need to identify where the problem actually is.

Looks like file got created but the checksum didn't get fixed.

BTW, don't be frightened of looking at file in hex editor.

It is just like looking at a text document, each rom opens with "55aa" then a byte telling you how long it is.

Very last byte is checksum. In AMD you will see PC BIOS first, it will have a bunch of "FFFFFF" or "00000" then a final checksum.

Very next line will be EFI, it will also start with "55aa" usually at offset 65536.

If it is the Mac EFI you will see "lialcbeP" in the right column in first few lines.
 
<cut>
 

Attachments

  • PowerColor HD7950 3 GB PCS+ (Elpida).zip
    208 KB · Views: 274
  • cardname.rom.efi.zip
    88.2 KB · Views: 301
  • cardname.rom2.efi.rom.zip
    88.2 KB · Views: 270
Last edited:
I simply open your ROM in VBE7 and save it to a new file, then everything is fixed. I can't test the file since I don't have this card. But the terminal result looks very good to me.

Anyway, both your normal and OC EFI ROM image file are contained in the Zip file.

terminal.png

[ROM image file removed]
 
Last edited:
Thanks for help - it seems only this 47 (aka G) was added. It works fine !

Tested version nr 1 ;)
 
The funny thing is - I just plugged second card which looks like the same as the first one but it doesn't have that crazy UEFI bios- just normal BIOS ;)
 
Wow! Dual 7950, lovely ;)

Did you run that only with internal power?

It needs external power supply ;) It will be only for some heavy gaming days (GTA V is coming to PC). Normally I would use just GTX680.
 
The funny thing is - I just plugged second card which looks like the same as the first one but it doesn't have that crazy UEFI bios- just normal BIOS ;)

Do you have 2 identical GPU?

The first GPU is working with EFI BIOS correctly?

If it is. You need Flash the Second One with the same image what you used in the other one.

currently i'm using 2 7950 Boost (Reference Model) is working good with EFI BIOS BootScreen and 5.0 GT/S in OSX and Windows.
 
I needed a better performance on OpenCL so I've bought PowerColor HD7950 PCS+ to flash it. It seems to be a reference board but I cannot add EFI to it.

You're selling cards on eBay and you don't even know how to make a ROM, lux-park?
That's pathetic. And you're even using screenshot I posted on MR in your lousy auctions.
That's twice pathetic.
 
Status
Not open for further replies.
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.