netkas.org forum

General Category => Rom things => Topic started by: jeanlain on January 02, 2011, 01:13:02 PM



Title: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: jeanlain on January 02, 2011, 01:13:02 PM
EDIT: updated 5770 EFI - should work now.
EDIT2: updated for the 6870/6850

Preamble: this is for Mac Pros only. There's not point to flash a card on a hack.
Too many people here flash their PC cards with BIOS that were originally designed for other models. This can cause wonky fan behavior or worse.
It's better to make your own ROM, that is, your card's original BIOS + Apple's EFI (ideally, EBC for compatibility with old Mac Pros).
This post shows how to do it.

Notice: the 6870/6850 ROMs are designed for 64-bit EFI Mac Pros (e.g. 2008+). Work in progress (by Netkas), so be warned.

Before you start, It's always safer to enable file and screen sharing on you Mac Pro (system prefs/sharing). Make sure OS X is up to date.

1. Back up the card's BIOS:
1a. Create a DOS volume with disk utility (it can be added to an existing partition), put the latest version of ATIflash (techpowerup.com) in the volume.
1b. Burn a FreeDOS boot CD. Download the iso (fdbasecd.iso (http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.0/fdbasecd.iso)) and burn the image with disk utility.
1c.  Save the BIOS. Shut down and insert your PC card, remove all other radeon cards (for safety). Boot the Mac on the CD (hold C key).
No need to install DOS (enter 1 at the first prompt, then 2 at the 2nd prompt). Just navigate to your ATIFlash folder (no time to explain DOS commands here).
To save your BIOS on the DOS volume, type
Code:
atiflash -s 0 myrom.rom 20000
The dir command should indicate that this rom is 128KB (131 072 B).

2. Boot on OS X (need a working card or another Mac). Place a copy of your saved rom and the files attached in this post at the root of your home directory. Keep the original myrom saved somewhere.
2a. First stage is to add the EFI section to the BIOS.
Open the terminal (utilities).
If you want to flash a 5870, paste the following
Code:
blocknum=`printf %d "'\`dd if=myrom.rom bs=1 skip=2 count=1 2>/dev/null\`"`
size=$(($blocknum * 512))
dd if=5870_uakari_netkas.efi of=myrom.rom bs=$size seek=1 conv=notrunc

If you want to flash a 5770, paste this
Code:
blocknum=`printf %d "'\`dd if=myrom.rom bs=1 skip=2 count=1 2>/dev/null\`"`
size=$(($blocknum * 512))
dd if=5770_vervet_netkas.efi of=myrom.rom bs=$size seek=1 conv=notrunc

If you want to flash a 6870, paste this
Code:
blocknum=`printf %d "'\`dd if=myrom.rom bs=1 skip=2 count=1 2>/dev/null\`"`
size=$(($blocknum * 512))
dd if=6870.efi.rom of=myrom.rom bs=$size seek=1 conv=notrunc

For a 6850, paste this
Code:
blocknum=`printf %d "'\`dd if=myrom.rom bs=1 skip=2 count=1 2>/dev/null\`"`
size=$(($blocknum * 512))
dd if=6850.efi.rom of=myrom.rom bs=$size seek=1 conv=notrunc

Then hit return.

If you have a 6870/6850, jump to step 4.

2b. Then check if the ROM could hold the EFI. Open myrom it in text edit and search "mcuc". If 2 instances are found, go to step 4.

If only one is found, you need to...
3a. Move the mcuc section (last part of the BIOS) to make room for the EFI.
At this stage you can trash the modified myrom.rom that only has one "MCuC". Open the original myrom in 0xed (http://www.suavetech.com/0xed/0xed.html). Scroll down to the end, it should show a long string of "F". Select a large part of it. Cut.
Look for "mcuc" (text search field) and locate the 2nd instance, near the end of ROM. Note its offset, as indicated at the bottom of the window. It should be 1A000 (hex). You can switch between decimal and hexadecimal by double clicking on the "dec" or "hex" text on the bottom left.
Upward "mcuc" is a long string of "F" where the EFI should be inserted. Put the cursor anywhere in that string. Switch to insert mode ("edit" menu) and paste. Note the new offset of "mcuc". If the offset hasn't changed, or if you have lost the 2nd instance of mcuc, close the ROM without saving and do these steps again.
Save a copy of myrom.rom (with this name) in your home directory.

Then redo steps 2a and 2b. If only one instance of mcuc found, you're screwed. You cannot make a custom ROM with your original BIOS.
If 2 instances are found...
3b. Correct the new offset of mcuc in myrom. Say it has changed from 1A000 to 1A200 (if you have pasted a 512-Byte string of Fs). In 3 Bytes, this new offset is written 01 A2 00. In BIOS code, bytes are written backwards: 00 A2 01. To find where to indicate this offset, locate the first instance of mcuc. 8 Bytes upward (16 chars) you should see the original offset 00 A0 01. Go to overwrite mode and replace this with the new offset. Save myrom.rom in your home directory.

4. Fix last oprom indicator (specifies that the BIOS is no longer the only element in the ROM) and checksum. To do it, paste the following in the terminal and hit return
Code:
python fixrom.py myrom.rom myrom.rom

5. Flash your card with the new myrom.rom

Credits go to pipomolo42 for the script and terminal commands, netkas for tweaking Apple's EFI, and mostly Rominator for the tests.


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: Bolle on January 02, 2011, 01:38:42 PM
nice work writing it all up jeanlain...

maybe this could be made sticky.


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: fouel on January 02, 2011, 04:35:22 PM
That is a very good  procedure.
Did someone success ever?


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: GULLYMAN on January 03, 2011, 07:00:51 AM
Wow! I flashed with a ROM made using this method and now Mac OSX kernel panics (confirmed by putting an Apple 7300 in together) and my FreeDOS CD gets stuck at a blinking cursor in the top left of the screen with the message "No bootable drive" after awhile.

Help! Is my card bricked? Is it possible to fix this? :-(


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: GULLYMAN on January 03, 2011, 08:52:11 AM
OK, I was able to fix the ROM on my 5770 back to Rominator's one by putting my old 7300 in bay 0 and reflashing blind, as in, with no video (yikes!)

Other people might have better luck with this but I wouldn't recommend it for now unless I f#######ked something up.


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: jeanlain on January 03, 2011, 11:11:13 AM
I see that you didn't have to move the mcuc. Everything seems fine with your ROM.
Plus, I don't think a bad flash could cause kernel panics. More likely, your card won't work at all. Maybe OS X doesn't like this model of card.


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: GULLYMAN on January 03, 2011, 12:33:08 PM
I see that you didn't have to move the mcuc. Everything seems fine with your ROM.
Plus, I don't think a bad flash could cause kernel panics. More likely, your card won't work at all. Maybe OS X doesn't like this model of card.

After restoring to M57703.rom it works fine. Damn! :-(

Here is my experience with this rom:

7300GT: Boot normally, works in safe mode (my 7300 is broken, so will not work with a proper 10.6.5 boot or Wind0ze)

5770 slot 2 + 7300 slot 1: Mac OSX Kernel panic, boot to FreeDOS works but with no graphics (I had to reflash blind, atiflash 0 m57703.rom -f -reboot worked.)

5770 slot 1: Mac OSX no response (probably blind kernel panic, can't confirm as obvious no EFI boot but seems the case, see above.)
boot to CD or Wind0ze results in infinite blinking cursor, meaning it is not possible to reflash with just the 5770.

However, I woud still like to thank you for taking the time to make this. I had wished someone would, and I hope my case is the exception, not the rule. If you would like to flash with this guide, just make sure you have another Mac graphics card at hand just in case it goes horribly wrong!


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: miamizorz on January 03, 2011, 03:38:46 PM
Same experience with my card. Perhaps there is a slight problem with the efi-sewing method?

mac pro 1,1 - sapphire vapor-x 5770, 11163-05-20R. Flashed the new rom per jeanlain's instructions, now results in kernel panic booting to OSX (when display is connected to my 7300) and blinking cursor when booted to windows - when only the 5770 is connected no display shows when booting to either OS.

I don't think my card is the problem – my card was working just fine with rominator's m57704 rom, although my benchmarks were a little shy of what they probably should have been, and I agree that it seems better to use the rom that the card shipped with. I checked the m57704 rom and the factory rom out, and the factory is a newer revision...

in any case, I'm attaching my original rom and the "myrom" efi'd rom. Perhaps that will help? Otherwise, the directions are super-simple and easy to follow, so here's hoping it's just a little typo!

Thanks so much for taking the time to write things out. Good luck -
p


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: fouel on January 03, 2011, 04:26:29 PM
mac 5870 video card is selling on apple store.
does anyone have the official card and directly put mac's 5870 rom to the reference pc 5870 video card ?
after doing that ,does the flashed video card  work well on mac pro?


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: Psychic2k on January 03, 2011, 05:06:38 PM
Hi there,
just received my Sapphire Vapor-X OC Edition. I followed this guide and everything is OK so far (i've not tested everything yet, i should update when this is done). No EFI boot screen however, hope this get fixed someday. I have the original and modified ROMs if someone needs them.
Thanks Netkas, Jeanlain, Rominator, Cindori, and every contributor for making this things possible !


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: miamizorz on January 03, 2011, 05:15:54 PM
Yeah, could you post your original/modified roms? Curious to see how ours differ, since we seem to have the same card and yours worked and mine didn't. Thanks!


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: jeanlain on January 03, 2011, 05:42:51 PM
Ok, I'm looking into the issues but I don't have cards to test. It's the method I used to fix ROMs for other people and it has always worked so far. I'm not sure I tried it for a 5770 though.  :-\

EDIT: I suspect I didn't attach the right EFI for the 5770. It's possible that I attached the original Apple's EBC whose security checks weren't disabled by netkas.


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: miamizorz on January 03, 2011, 06:01:20 PM
ok, i can help test if you post something to try. thanks again!


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: jeanlain on January 03, 2011, 06:15:39 PM
Ok, I indeed posted the wrong EFI for the 5770, which used frame buffer hoolock instead of vervet. I have attached the right files, simplified the terminal commands and took the opportunity to put credit where it was due (netkas, mostly).

Sorry for the trouble.


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: maznac on January 03, 2011, 09:07:37 PM
Hi jeanlain, thank ou very much for posting this guide! It worked on my XFX 5770! Now I have a perfect matching EFI-Rom, but somehow, my second DVI and the HDMI ports are not working. I can't connect a second display - just the lower DVI-port works.

Does anybody have an idea how to fix this? I already tried SMC-Resets and different ROMS. Thanks!


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: jeanlain on January 03, 2011, 09:17:02 PM
Maznac,
Have you tried on Windows? If the ports work OK, then it's more likely the OS X drivers that don't work well with this model.


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: Toumak on January 03, 2011, 10:20:00 PM
Hello jeanlain !
First a big thank for your work.
I used your method 3 weeks ago to create my own rom for my 5870 vapor-x as the fan of my card was too loud with the the 587XZF18_uakari.rom.
I don't know who posted it, but it perfectly worked !
So, no complaining here, just wanted to give a feedback and thank you !

PS : and just to notice, I modified the original bios to overclock the card, then made it os x compatible, and everything works great !


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: maznac on January 03, 2011, 11:36:42 PM
Jeanlain, yes, tried on Windows7 64bit via Bootcamp and it doesn't work. I just flashed it back to factory default and all ports work fine. I don't actually know anything about EFI-architecture, but isn't the EFI part responsible to adress the ports (DVI, HDMI, Mini DisplayPort)? My card: 2 DVI, DisplayPort, HDMI / original Apple 5770: One DVI, two Mini DisplayPorts?


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: jeanlain on January 04, 2011, 01:39:43 AM
The EFI is ignored on Windows. Can you post the original ROM and the one with the EFI?


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: maznac on January 04, 2011, 01:50:33 AM
Sure! Thank you very much for your help!

As you can see, the myrom.rom is the customized one. old.rom is my original bios.


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: jeanlain on January 04, 2011, 11:10:50 AM
The BIOS and MCUC sections are the same, so I can't think of a reason why the card should behave differently with the modified ROM in Windows.  ???
Are you sure you flashed it with the correct myrom file?


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: GULLYMAN on January 04, 2011, 12:11:55 PM
Success! Thanks to all involved!  ;D ;D ;D


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: Psychic2k on January 04, 2011, 12:29:35 PM
Miamizorz, here are the files for my Sapphire Vapor-X OC, PN 288-1E140-100SA in a 2006 Macpro 2x2,6Ghz.
Hope it helps.
I've only 1 DVI port used so far, will test other when i can.

Edit : myrom.rom is the one with efi, VX5870PC being the original PC bios


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: maznac on January 04, 2011, 12:42:23 PM
The BIOS and MCUC sections are the same, so I can't think of a reason why the card should behave differently with the modified ROM in Windows.  ???
Are you sure you flashed it with the correct myrom file?

The card does not behave differently in Windows. When I install the original ROM, everything works fine in Win - but because of the missing EFI-Part, not in OSX. I flashed the card with the ROM I posted...

When I connect a second display via HDMI the system recognizes this by giving me options in the display menu. But again - no screen.



Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: jeanlain on January 04, 2011, 01:33:00 PM
Just to be clear, the card flashed with myrom.rom works normally on Windows?
If it does, the problems with OS X are likely compatibility issues between the drivers (originally made for Apple's card) and the PC card you have.


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: maznac on January 04, 2011, 01:41:59 PM
No, the card ports only work, if flashed with OLD.rom (the original ROM) in Windows. If flashed with 02.rom or myrom.rom, the ports don't work in Windows nor OSX.

Update: I just tried a DVI to VGA adapter to my second screen and it works. But in a horrible resolution. Hm, seems to me, that there is a problem adressing digital outputs. Isn't this also a part of a BIOS/EFI?


Title: s
Post by: miamizorz on January 04, 2011, 04:22:06 PM
This method with the updated files worked perfectly! No boot screen of course, but otherwise the custom rom works fine. Thanks again.

My xbench/cinebench scores didn't change, and still seem kinda low... out of curiosity, can someone else with a 5770 post theirs?


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: Rominator on January 05, 2011, 05:55:06 AM
Thank you, Jeanlain.

I have found that many people get good results with m57702.rom so I have been rather lazy about writing newer ROMs.

Your guide is fairly solid, but I think you have missed the TRUE use of fixrom.py.

It does not just fix checksum. It also changes last rom indicator. Without it, a sewn EFI ROM is invisible.

The other big help it offers is to let you know if your finished product meets spec.

If it only sees ONE "oprom" (option rom) in finished product you have buggered it up and need to redo. (If it only sees one ROM you can bet next week's paycheck that your Mac will only see one too, and it NEEDS two ROMs to work)

I have some other thoughts I will add later.

If it sees 2 @ "oproms" there is a good likelihood that things are OK.


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: jeanlain on January 05, 2011, 01:48:06 PM
It does not just fix checksum. It also changes last rom indicator. Without it, a sewn EFI ROM is invisible.
Yes I had not specified the last oprom indicator byte in my first post. I have updated it before your posted your comment.


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: fraeone on January 10, 2011, 10:28:46 AM
Thanks for putting this guide together. Successfully flashed my card, hoping this resolves my weird fanspeed issues.


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: boli on January 11, 2011, 08:17:34 PM
Cheers for the guide. I tried it, but even after moving the 2nd MCUC all the way to the end I couldn't fit the EFI part. After trying unsuccessfully I remembered that's what Netkas told me as well. :)

I just checked, you bios cant fit efi rom, even after relocation of MCuC its still too big, and XFX rom i posted for Rominator is too big too

Anyway, I no longer use that card, as I just got an Apple 5870 (here's why (http://forum.netkas.org/index.php/topic,323.msg3947.html#msg3947)).


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: S.M.T. on January 22, 2011, 03:37:40 AM
If only one is found, you need to...
3a. Move the mcuc section (last part of the BIOS) to make room for the EFI.
Open the original myrom in 0xed (http://www.suavetech.com/0xed/0xed.html). Scroll down to the end, it should show a long string of "F". Select a large part of it. Cut.
Look for "mcuc" (text search field) and locate the 2nd instance, near the end of ROM. Note its offset, as indicated at the bottom of the window. It should be 1A000 (hex). You can switch between decimal and hexadecimal by double clicking on the "dec" or "hex" text on the bottom left.
Upward "mcuc" is a long string of "F" where the EFI should be inserted. Put the cursor anywhere in that string. Switch to insert mode ("edit" menu) and paste. Note the new offset of "mcuc". If the offset hasn't changed, or if you have lost the 2nd instance of mcuc, close the ROM without saving and do these steps again.
Save a copy of myrom.rom (with this name) in your home directory.

Then redo steps 2a and 2b. If only one instance of mcuc found, you're screwed. You cannot make a custom ROM with your original BIOS.
If 2 instances are found...

I am lost...  I past the code, open in textedit and only find one return of mcuc...
so I move to step 3 and do fine till I see the offest on mine doesn't match. (mine shows E5D2).  what am I pasting over the "f's"?

Can this rom be made into an EFI version?


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: jeanlain on January 22, 2011, 11:49:05 AM
I made clearer that, if you find only one MCuC, you need to go back to the original ROM that you should have saved. You can trash any ROM file with only one MCuC.
The offset you indicate is that of the first MCuC. You need to locate the 2nd instance.


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: S.M.T. on January 22, 2011, 05:26:18 PM
I made clearer that, if you find only one MCuC, you need to go back to the original ROM that you should have saved. You can trash any ROM file with only one MCuC.
The offset you indicate is that of the first MCuC. You need to locate the 2nd instance.
I think I checked with both, but I will try again... :)


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: S.M.T. on January 22, 2011, 06:31:05 PM
ok, just tried again on the original rom that i backed up off the card.  and the search does find two entries for mcuc, second has offset of 1A000.

So the question I have now, is what do I do with the rom that is created by pasting the code in terminal?

Sorry I'm so confused...


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: S.M.T. on January 22, 2011, 06:34:24 PM
ok, just tried again on the original rom that i backed up off the card.  and the search does find two entries for mcuc, second has offset of 1A000.

So the question I have now, is what do I do with the rom that is created by pasting the code in terminal?

Sorry I'm so confused...

edit:
Missed this part:
Quote
At this stage you can trash the modified myrom.rom that only has one "MCuC". Open the original myrom in 0xed. Scroll down to the end, it should show a long string of "F". Select a large part of it. Cut.


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: S.M.T. on January 22, 2011, 06:49:35 PM
So I do the textedit search the second time and it only finds one instance of MCuC.  So I guess I am still out of luck...


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: jeanlain on January 22, 2011, 06:51:37 PM
What card is this?


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: S.M.T. on January 22, 2011, 11:48:45 PM
It's a XFX HD-587A-ZND9.


Title: Additional details for people with MCUC trouble
Post by: Rominator on January 23, 2011, 03:26:52 AM
I know that my value is basically as a card tester but I would like to try to clarify some things. ;)

The MCUC table is needed to initialize the GDDR5 RAM used on 4870/5770/5870 cards. In the PC BIOS that starts the ROM is an address to "look up" the GDDR5 table. To use a "BASIC" analogy, this is a "GOTO" statement with an actual address to load those GDDR5 inits. The table itself starts with "MCUC" so that is your 2 instances, the first in the PC BIOS saying "Hey, to init the GDDR5 RAM, check out the specs at address 'WXYZ' ". The second instance is at address "WXYZ".

Between the PC BIOS and the MCUC table is a bunch of empty space filled with "FFFF"s. It is into this space that we place the Netkasized EFI. In the case of the 5870 I believe this EFI is 43008 long. You can not just wedge it in between where the "FFFF"s start and the beginning of the MCUC however. The PC BIOS has a length specified in blocks of 512 bytes. To find this number look at the very beginning of ROM. It will have a opening that starts with "55AA" the very next 2 characters are the length of the PC ROM. For argument's sake lets say this is "7A".

Download a nifty program called "Magic Number Machine" and hit the "Radix" button. Now you can easily convert from various bases to decimal. Choose "Hexadecimal" and enter "7A" now hit "Decimal" and you will see "122". Next hit the "X" to multiply 122 X 512 and you will get "62464". This tells you that the PC BIOS actually ends RIGHT before this number if you look at addresses in decimal. This also means that the EFI ROM needs to START at 62464. So if you want to see if it fits in there, just select everything from 62464 until beginning of MCUC. If you are in "decimal" view, you will see what is selected. If it is Equal to or more than 43008 (or whatever length the EFI you are working with is) you are good to insert it. If in fact it is LESS than 43008, you have more work to do. While using Hex addresses, note the address of the beginning of the 2nd MCUC.

I would suggest methodically selecting 512 bytes of "FFFF" from BELOW the MCUC at end of ROM and cutting it from there and inserting AHEAD of MCUC. If you are 512 bytes or less short of fitting to begin with, then 512 will do. If you are more than 512 short, than it will obviously take more. It is possible to take less than than 512 at a time, but I like to use that when possible since ROMs work in chunks of that size. When there is enough space, insert the EFI then make sure that the length has always stayed at 131072.  If this ever varies, you have screwed up. It absolutely MUST start at 62464 (or whatever is specified after "55AA" in your ROM)

Once you have made space and inserted the EFI you will need to fix the MCUC lookup address. To do this you will need to use the HEX addresses by unchecking "USE Decimal Addresses" under Options. You find the spot before first MCUC where the Hex address is listed and change it to reflect the new location. Now run the "fixrom.py" script. It is CRUCIAL that it lists 2 at "OpROMs" and notes some "RAW DATA" afterwards. If it sees just one OpROM, I can guarantee that your new ROM won't work. It must also see the "RAW DATA" of the MCUC table. If all 3 of these elements show up in terminal output, you are in a good spot.

The scripts that Jeanlain has in opening post automate the instructions I have listed here, so my explanation is really for people whose ROM using his instructions isn't coming out right. It is very difficult to try to verbalize these things so if you have tried this several times and THOUGHT about it and still this isn't making sense speak up. I will help out as long as I don't feel the questions are from "I don't want to think, please spoon feed me" types.


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: jeanlain on January 23, 2011, 11:53:50 AM
If I knew how to program like pipomolo42, I would have done all the procedure in a script, including the tricky part of moving the "mcuc" and correcting the offset. It's far too complicated for me though.

Note, the OS X calculator in programmer mode can do conversions form hex to dec and vice versa.


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: S.M.T. on January 23, 2011, 04:57:24 PM
wow... now that's heavy reading. :)

Think I will just stick with the XFX5870_1.rom  Seams to be working good enough.  Although I looks the small factory overclock...


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: bratwurst on February 04, 2011, 11:22:33 PM
Hi there!

Following the first post i flashed my PowerColor 5770. The card seems to be working, but i noticed a very unpleasant flickering (most of the screen flashes/drizzles every 2-3 seconds). Did anyone notice somthing like that before?

Edit:
I forgot to mention: the display is a benq g2200w, connected using a standard dvi cable.


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: jeanlain on February 05, 2011, 10:38:28 AM
Try another cable, or under Windows.
If it still flickers, it might be a hardware malfunction.


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: bratwurst on February 05, 2011, 12:53:14 PM
Try another cable, or under Windows.
If it still flickers, it might be a hardware malfunction.
Display and cable work fine with two other cards (mac + pc). I'll try the flashed card in my pc later this day. Lets see if it works there.


Edit: tried two other dvi cables - still flickers. I also tried a dvi2vga adapter and used a standard vga cable. Interestingly the adapter + vga cable works (same resolution, no flickering at all). Any ideas what might cause this?


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: jeanlain on February 05, 2011, 07:33:36 PM
It could be a problem with the DVI out of the card.


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: bratwurst on February 05, 2011, 11:29:52 PM
It could be a problem with the DVI out of the card.

Well.... yeah... kinda... at least it sounds like that.
The question remains: has anyone ever seen something like that? Or even better: has anyone found a solution for that? :)


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: jeanlain on February 06, 2011, 10:49:16 AM
Replace the card?  :-\


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: bratwurst on February 07, 2011, 08:46:55 PM
Replace the card?  :-\
Well.... actually the card works fine in my pc, so i guess there's something related to the efi flash part and not so much hardware related.
Anyway - since noone else seems to have this kind of problem, i'll probably flash the original rom back and wait for the next card to appear on my doorstep ;)


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: AnimeFunTV on February 08, 2011, 08:12:09 AM
Just incase anyone wants it, I have a XFX5770 HD-577A-ZNFR I have uploaded my EFI modded rom. Works great. Not much of a difference with whats out there.


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: bratwurst on February 08, 2011, 06:16:20 PM
Thanks for the rom, but the PowerColor 5770 seems to be a little different, since it has a non-standard cooler and only one dvi port. So even if this would fix the flickering, it might change the fan rpm which could be bad. I might try that anyway.... if i do so, i will post results ;)


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: shpxnvz on April 19, 2011, 08:04:37 PM
Thanks a bunch for this info, worked great with my XFX HD5770!

The card works in both Windows and OSX, with the sole exception of audio over the HDMI port in OSX.  Just curious if anyone has had luck with getting OSX to do audio over HMDI?


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: ente on April 20, 2011, 12:09:19 PM
thanks, instructions worked fine for flashing a Sapphire 5770 for use in a Mac Pro 1,1

though the mention of needing a DOS boot CD is kinda misleading, instructions work fine using just a bootcamp/win32 partition, reading and replacing the rom with ATI Winflash.


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: cargo on April 22, 2011, 11:29:59 PM
after flashed sapphire 5770(Build by ATI), I can use the two DVI,but HDMI  can't work.
When use HDMI port,the screen show nothing.
Anyone flashed 5770 can work via HDMI ?
My rom is made my own from the guide.


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: andystubbs on April 24, 2011, 04:16:48 PM
Erm, Hello  ???


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: jeanlain on April 24, 2011, 04:58:08 PM
Don't reply to spams and report them to master netkas instead.  ;)


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: Rominator on April 26, 2011, 08:03:26 PM
Lord Master Netkas has a nice ring.


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: cargo on April 27, 2011, 04:24:26 AM
I flashed my ATI 5770 1G BBA with Jeanlain guide.It worked well via two DVI ports,but HDMI not worked.
It' signal flashes/drizzles every 2-3 seconds but no screen via HDMI(card-->Display  HDMI to DVI)
Is any problem with my rom?
My machine:
Mac pro 4,1
OS:10.6.7
display:AOC 2343


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: bloke on April 27, 2011, 04:47:14 AM

If you want to flash a 5770, paste this
Code:
blocknum=`printf %d "'\`dd if=myrom.rom bs=1 skip=2 count=1 2>/dev/null\`"`
size=$(($blocknum * 512))
dd if=5770_vervet_netkas.efi of=myrom.rom bs=$size seek=1 conv=notrunc

Then hit return.

I am trying to sew the 5770_vervet_netkas.efi into the ROM of my new HIS HD5770 (product code H577FK1GD) card using the above procedure however I receive an error "Illegal variable name" when I run the script. This occurs as soon as I paste the code into the terminal window (ie before I hit return). It also occurs if I type that script in by hand.

I'm obviously too inexperienced in the shell.

Would someone be kind enough to elaborate on the procedure - is it as simple as Apple-C in Safari then Apple-V in Terminal and hit Return ?

If I retype by hand do the line breaks in the block code quoted represent carriage returns or are they spaces ?

Thanks

*** EDIT 19 July 2011 ***

Unable to get the script above to run, which after some research I discovered was originally developed by pipomolo42 and posted on macrumors (where it is well documented) I just reverse engineered it and made my own ROM by hand in Hexedit, pasting the the netkas EFI at an appropriately block boundary in the empty (FF) region of the HIS ROM. I then ran the Python script (which did work) to tidy up and fix the last ROM indicator and checksum. I did this on a Windows 7 PC.

The card works well with the fans operating at the correct speed. I also upgraded from 2GHz to 3GHz Xeon's so I have quite a nice Mac Pro 1.1 one which will keep me going for a while.

However I was perplexed as to why I seemed to be the only person who could not get this script to work and went back to further research the problem even though I had my card working. I did find one other person who experienced errors running this script and they posted on macrumors to no avail and gave up and used a generic ROM.

The cause of the errors in running the Pipomolo42 script to flash PC graphics cards with the netkas EFI to work in a Mac is that the script only runs in the bash shell. It will produce errors in the tsch shell and these errors cascade so every line of the script fails. That the script must be run in the bash shell is not mentioned by pipomolo42 and I assume isn't a problem since that is the default shell on recent Macs. My Powerbook G4 however, was still running the tcsh shell.

Hopefully this information saves someone about 60 hours of frustration.

All the best,

Bloke
Melbourne, Australia


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: icanic on May 04, 2011, 09:45:42 PM
can someone help me?
Im always getting "dd: bs must be between 1 and 9223372036854775807" error when I try "dd if=5870_uakari_netkas.efi of=myrom.rom bs=$size seek=1 conv=notrunc" command.

Thank you!


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: jeanlain on May 05, 2011, 08:51:47 PM
Make sure the files are named as in the tutorial, and placed in the right folder.


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: icanic on May 05, 2011, 11:46:53 PM
I've done it, but I have only one MCuC :-(
The card is XFX 5870. Seems like there is no space for EFI :-(
Thank you for your help.


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: Rominator on May 06, 2011, 03:07:05 AM
Try the generaic "SAPUKARI" 5870 rom.

Works on most XFX 5870s


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: jeanlain on May 06, 2011, 08:17:41 AM
Have you done step 3 in the tutorial?

Note: Sapuakari is made from a Sapphire ROM.


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: Rominator on May 06, 2011, 10:33:11 AM
Have you done step 3 in the tutorial?

Note: Sapuakari is made from a Sapphire ROM.

trust me, it works on most XFX cards


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: icanic on May 06, 2011, 12:05:25 PM
I did try step 3 of the tutorial also, but second  MCuC just desapear :-(
I flashed card With another uakari bios before, but the problem is that my fans are a little bit loud with non original bios. Thats why I tryed to mod original bios of the card.
I can later post my original bios here, so someone can try to mod it.
The card is HD-587A-ZN HD-587A-ZNF9 (thats what it writrs on the sticker on the card).

I have attached bios file so you can download it.


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: alienallan on May 06, 2011, 02:55:57 PM


trust me, it works on most XFX cards
[/quote]

xfx 2 of the 5870s i flashed. Both with Sapuakari and theyre still work-horsing "perfectly".


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: alienallan on May 06, 2011, 02:57:57 PM
jesus i suck & fail so hard at posting its ridiculous.

& yes that was to say ive done just that.


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: pjdgilmour on May 17, 2011, 12:47:29 PM
Hi, this method works for me! In my ATI 5870. Thanks.
Here's my custom rom.


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: dwburman on May 18, 2011, 04:57:46 AM
Success!!! (Well, I haven't tried the HDMI or DisplayPorts, and I haven't tried to see if the startup screen show up without using a VGA cable)

Well, using this guide to roll my own ROM lets me successfully use my new card (details below) in my MacPro 1,1. Windows XP stopped recognizing it as an ATI card after I flashed it with the new ROM, but after I pulled the old, broken, never-worked-in-Windows x1900xt out, Windows sees it just fine.

I first tried using Rominator's M57704 and M57702 ROM but they did not work at all. I think it was 04 that made flash it back to the original blind.

I already appreciate all the work you guys have put into this.

THANK YOU!!!

Sapphire 5770 Vapor-X 100283VX-2L
PN: 299-1E148-202SA
SKU:11163-05-20r
http://www.newegg.com/Product/Product.aspx?Item=N82E16814102898

5770VAPO.ROM = the original rom from the card
5770vxdb.rom = the rom I made using Jeanlain's guide



Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: digitopian on May 20, 2011, 07:12:40 PM
Hello all, I was wondering if anyone could point out which of rominators 5 roms worked for anyone with a xfx 5770 znfr. I've spent alot of time on this lately and I am getting a bit discouraged at this point. Any guidance would be appreciated! Thanks in advance!


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: buzo on May 20, 2011, 10:41:25 PM
So I just got my card but I didn't realize that I am going to need a 6 pint to 6 pin pci power cable.  Does anyone have a link as to where I can get one of these?


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: Rominator on May 21, 2011, 01:27:54 AM
Hello all, I was wondering if anyone could point out which of rominators 5 roms worked for anyone with a xfx 5770 znfr. I've spent alot of time on this lately and I am getting a bit discouraged at this point. Any guidance would be appreciated! Thanks in advance!

If none of the pre-made roms work, it is time to make your own.


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: digitopian on May 21, 2011, 01:41:08 AM
If none of the pre-made roms work, it is time to make your own.

Yeah thats been tonights project. I found the two mcuc's. The only thing i did differently from the instructions was use a name other than myrom.rom. Everything went smooth , yet i still have no output from either dvi. Not sure what to do next. I followed the instructions very carefully.......help?!

EDIT: I realized that instead of the root of the user dir, i put the files in my folder in the user dir.......... could this be why I had no success? I just moved the files to the right spot. I guess i should repeat the procedure. COuld someone verify that this could make a difference please :) !!?!

Also in system profiler under pci, i get the statement saying that it had trouble gathering info... all the rominator roms were seen in both pci and graphics card sections.. confusing..



Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: Rominator on May 21, 2011, 09:13:09 PM
ok, why don't you post your original ROM and what you ended up with as attachments.

I will have a look at them.

I will TRY to avoid my natural impulse (ie...making example of you for rest of class to laugh at)


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: digitopian on May 21, 2011, 10:46:19 PM
ok, why don't you post your original ROM and what you ended up with as attachments.

I will have a look at them.

I will TRY to avoid my natural impulse (ie...making example of you for rest of class to laugh at)

Thanks Rominator, i'll attach the original (named juniper) and the modified file. I've had many rom files floating around between my SL drive/bootcamp/ and dos drive, not to mention my flash drive, so if by some strange reason I upload two files that are identical, then I need to double check but i'm 99% sure these are my original and modified files.

EDIT: I know it seems backwards but i believe bakup.bin is the modified file. Let me know of course, if i sent the wrong file.

Thankyou very much for checking this and if...need be....you can make an example of me in front of the class!  ;)

regards,
            Ethan

double edit: I am going to attach one more file just in case the juniper rom is not the original. It is called myrom.


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: Rominator on May 22, 2011, 12:33:16 AM
If you open 2 different ROMs in Hexedit and hit "apple K" you can compare them.

I do believe you just posted three identical ROMs with different names.

I really want to see at least 1 that you have done some work on, these all look like original.

I am curious exactly how and what you buggered up. it will help others in future since I no longer create these ROMs.


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: digitopian on May 22, 2011, 12:37:25 AM
If you open 2 different ROMs in Hexedit and hit "apple K" you can compare them.

I do believe you just posted three identical ROMs with different names.

I really want to see at least 1 that you have done some work on, these all look like original.

I am curious exactly how and what you buggered up. it will help others in future since I no longer create these ROMs.

I will find the altered rom and post it. It may still be on the card as it was very late last night when i finished up and not entirely sure that i reverted back. I'll take a look w/ hexedit.

Thanks again for your time and PATIENCE ;D !

regards,
Ethan


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: digitopian on May 22, 2011, 12:59:34 AM
Alright, i found one in hex editor that didnt match, hopefully this is the altered version! It is definitely different than bakup.bin at least according to hexedit.

Hopefully this will shed some light on things!


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: Rominator on May 22, 2011, 01:14:50 AM
That rom is EXACTLY like the one I did from your original.

So, something else is the problem.

Do you understand what "no boot screens" means?

Can you test the card in Windows to be sure it works OK there?

¿Are you certain that your OS supports the card?

How are you powering it?


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: digitopian on May 22, 2011, 01:26:18 AM
That rom is EXACTLY like the one I did from your original.

So, something else is the problem.

Do you understand what "no boot screens" means?

Can you test the card in Windows to be sure it works OK there?

¿Are you certain that your OS supports the card?

How are you powering it?

I absolutely understand "no boot screen", I am working in windows as we speak off of the card so thats all good. win 7 on the bootcamp side. I am powering it via the correct 6pin to 6 pin mini adapter deal.. made to power pcie cards from the logic board of intel macs.

I wonder if not having the files exactly under user directory is what messed things up. The only other thing i did was swap the 3 newer ati kexts, but then swapped them back to normal 10.6.7sl.

when i tried your roms (m57702-5) i would get an initial boot screen through dvi to vga adapter but then it would freeze on the white screen with apple and froze up grey rotating circle(boot screen). It would stay that way even after the other screen showed windows desktop. On the OSX side I believe it was similar although don't quote me on that.

What do you think... it's a bit maddening


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: Rominator on May 22, 2011, 01:33:56 AM
If you use the VGA method, you can only use VGA...ie, can't have DVI at same time during boot.

reinstall latest 10.6.7 combo

rom is fine, you have either found the first unflashable 5770 or have buggered up your driver files or are just not connecting right


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: digitopian on May 22, 2011, 01:40:55 AM
If you use the VGA method, you can only use VGA...ie, can't have DVI at same time during boot.

reinstall latest 10.6.7 combo

rom is fine, you have either found the first unflashable 5770 or have buggered up your driver files or are just not connecting right

I will do the combo update now. So which screen should i have plugged into which port(if it matters)? I have a viewsonic connected; dvi to dvi top port and a dvi to vga bottom port to a dell lcd screen.

That would take care of connections and the driver files.

And just so i completely understand, it was the jupalt.rom that was the identical to the rom that you created off of my cards original rom?

thanks!



Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: digitopian on May 22, 2011, 02:54:15 AM
I installed the combo update. It returned an error at the end saying that the ati controller kext installed improperly and will be removed. It said to "try reinstalling" which i did, same result, It did also say "or contact product vendor for update". I went into pacifist to look for the kext but it was odd they were labeled ati16000controller ...not sure what the 1 is about. It was like that for a few files.  I havent done anything else with kexts yet. I'm going to triple check that i have the right bios flashed onto the card.

I do not know mac super well so any guidance would be great!!!!! ???

UPDATE!!!!!!!! The card is up and running, well sortof......... its working at full res only through dvi---->vga. I cant connect directly to dvi with either monitor.

This is progress enough for the night, maybe some help in the A.M?

regards


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: kbear on June 14, 2011, 10:47:07 AM
Just wanted to report that this patching method successfully worked on a Mac Pro 2008 (3,1) with a Sapphire 5770 Vapor-X (model 11163-05-20R).  :)

I had to replace a damaged (but not quite dead) Apple-issue nVidia 8800.

The ROM file m5770.ROM (http://forum.netkas.org/index.php?action=dlattach;topic=374.0;attach=359) by Rominator could have worked, but he used a different firmware version than my card, so I decided to create a new ROM using the instructions of this post.

Here's the procedure I used:

1. I set the Startup Disk control panel in Mac OS X to boot from my Bootcamp (Windows 7) partition. Then I restarted the Mac.
2. Downloaded the latest version of ATi WinFlash (http://www.techpowerup.com/downloads/1967/ATI%20Winflash%202.0.1.14.html) and installed it.
3. Shut down the Mac and replaced the Apple-issue nVidia 8800 with the Sapphire 5770.
4. Booted again to Windows 7, ran ATi WinFlash and saved the original ROM to the disk. Then I set the computer to boot from Mac OS X.
5. Shut down the computer, removed the Sapphire 5770 and put the old nVidia 8800 back in the Mac (This is necessary to be able to boot back into Mac OS X. If you have a second Mac, you can use it instead and skip this step.)
6. Booted to Mac OS X, followed jeanlain's instructions to make a new patched ROM file.
7. Set the boot disk to Windows 7 and shut the Mac down. Replaced nVidia 8800 with Sapphire 5770 for the last time.
8. Booted into Windows, used ATi WinFlash to install the new patched ROM.
9. Done!

I am attaching the original ROM and the patched version for anyone who might want them.



Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: mymlan on June 16, 2011, 08:30:56 PM
Hello again, Netkas and friends. Today I attempted my second 5770 flash, this time with a non-reference "Alienware" (I think MSI?) model. To avoid complications I figured I'd modify my own ROM. Loaded it, ran the script, found two instances of "mcuc", ran the Python script and flashed the card without error.

Unfortunately, the card is unable to boot. With the 6-pin power the computer locks during POST, without it the computer boots fine (on my 5570) but is unable to detect the 5770. This is my second 5770 I've bricked this week and now I'm out of a gaming rig. Clearly I'm doing something wrong, but I'm now unable to detect the card in ATiFlash, which worries me.

Has anyone any advice? Thanks for all the support guys, it looks like others can do it! :]


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: andystubbs on June 18, 2011, 01:26:56 PM
mymlan - try the version of atiflash and parameters specified in this post http://forum.netkas.org/index.php/topic,914.msg5625.html#msg5625 to recover your card.

Since your dead card wont post anymore you may have to use another graphics card as your primary adapter just to boot.
If that works then use a dos boot disk and check which adapter number your knackered card is using by running atiflash -i.
If you make it this far then you should be able to flash your card by running atiflash -p [index] [romname] -f Replace [index] with the number of your graphics card from the -i command and [romname] with the name of the rom file i.e. 5770.rom. If you used another ati card as the primary card to boot up then make double sure that you get the right value for [index] otherwise you will flash the wrong card and possibly end up with 2 screwed cards instead of just the one!


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: mymlan on June 18, 2011, 10:17:01 PM
I've tried several versions of ATiFlash, including the one specified. Neither card will display during the -i flag, returning "Adapter Not Found" when I'm working off my GT240 and returning only the Cedar core of my HD 5450 when I use that instead. Both cards will spin up, and I've tried several other methods as well. The BIOS reports the PCI-E lane as empty, which I assume prevents the flashing app from even recognizing it.

My ace-in-the-hole is the classic resoldering of an empty ROM chip. I have a few around the house with similar clock speeds and capacities, although the brands are different. Anyone had any problems with swapping makes of ROM chips? Their stats are identical, I just fear varied pin-outs on the chips.


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: andystubbs on June 19, 2011, 10:29:10 AM
Do you have a pc knocking around that you can try flashing the card on?

Also give this version of ATIFlash a try http://www.mediafire.com/?fyks02nu0kzx7ou - I read a few reports that the newer version of ATIFlash doesnt work on the 5770 but this version does so it may be worth a try.


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: mymlan on June 20, 2011, 07:52:29 AM
I've been performing the flashes on an x38 PC. Tried the attached AtiFlash: no luck. As usual, the program detects only the Cedar core of the HD 5450. Once again, the BIOS reports the 5770-filled PCI-E lanes as inactive/empty. No computer I've tried these on (Three now), have had any luck. I hope a ROM chip replacement will save them. I've become pretty soured on flashing these temperamental things.


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: Rominator on June 20, 2011, 03:47:30 PM
I've been performing the flashes on an x38 PC. Tried the attached AtiFlash: no luck. As usual, the program detects only the Cedar core of the HD 5450. Once again, the BIOS reports the 5770-filled PCI-E lanes as inactive/empty. No computer I've tried these on (Three now), have had any luck. I hope a ROM chip replacement will save them. I've become pretty soured on flashing these temperamental things.

If you are in LA, bring them by. A six of Stella per card.


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: mymlan on June 20, 2011, 08:14:15 PM
Hmm... I'll be in LA in the next week, actually. What's your plan? I've replacement ROMs on the way, I'm just trying any possible alternatives before delving. I've more than once soldered a pair of pins together on those damn tiny things.


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: rthpjm on June 20, 2011, 09:07:34 PM

EDIT:
Forum member Fl0r!an has been working to modify the EFI part for some of the ATI cards to enable boot screens. I've been working to test these ROMs for my XFX. The good news is that Fl0r!an's modified EFI part works well for this make/model. Not all combinations of connector/adaptor work, but I simply use both DVI ports in a dual screen setup and this works great for me. I've posted a new full ROM file here (http://forum.netkas.org/index.php/topic,10827.msg30879.html#msg30879)

The thread started by Fl0r!an is here... (http://forum.netkas.org/index.php/topic,10827.msg30394.html#msg30394)


I'd like to say thanks to everyone on this forum, especially Netkas and Rominator (and a host of others who help out).

My Nvdia 8800GT recently fried itself (actually I didn't clean the fins of the heat-sink after having cavity wall insulation installed - lots of small fibres in the air!) it lasted a while then overheated. I will try and clean it to see if it will work again or if it really is toasted.

So I was looking around for a new gfx card, all roads seemed to lead to this forum. I decided to do as others before me and buy a PC-variant ATI 5770 card. I knew I was going to try and flash it so I didn't want to drop too much cash on this my first adventure with MacOSX and flashing graphics cards.

I selected the XFX Radeon HD 5770 HD-577X-ZMF3 Version A.4 (http://www.techradar.com/reviews/pc-mac/pc-components/graphics-cards/xfx-hd-5770-717229/review), it is a single slot, dual DVI + MiniDP for just over 80 UK Pounds. The only thing that still worries me is that this model inexplicably exhausts against the normal air flow. I think it may cause an issue where the hot air recirculates by being pulled back in through the cooler fan. Time will tell...

Success!. I thought I'd post my experience and the method I followed in case it helps others. I haven't see this model listed elsewhere so I have attached my modified ROM.

I'm using a MacPro 1,1 with Snow Leopard 10.6.7, lots of RAM. My Boot Camp partition is Windows Vista 64-bit. I mention this because others should know that you can't really use Vista64 for many of the tools listed on these forums, the Atiflash.exe just wouldn't run (and yes I now know it's better to build a DOS-based CD and boot from that  ;D).

After a day of frustration, trying to build a bootable flash memory stick (don't do it unless you are building a hackintosh, it won't boot a Mac or at least I couldn't find a way to do so), building and using DOS/Linux hybrid boot CDs, I ended up building a second Boot Camp partition running WinXP. Here's what worked for me...

Steps I followed
I used GPUz (http://www.techpowerup.com/downloads/1978/TechPowerUp%20GPU-Z%20v0.5.3.html) from TechPowerUp to read and dump the original ROM. This didn't work initially, the ROM version field 'looked wrong' and the tool kept telling me 'saving was not available on this card/model'. Tip: Install the latest ATI drivers for the 5770 card. After this, GPUz worked for me.

I tried some of Rominator's ROMs with boot CD, with varying degrees of success, then I found the forum thread make your own radeon HD 5770/5870 Mac ROM (http://forum.netkas.org/index.php/topic,692.0.html), so I followed those instructions and built my own ROM from the card original. I reverted back to the original ROM using the CD.

I then used Win ATI Flash (the windows-based flashing tool) from within XP. I could do this because I was using the original ROM with the 'added efi bits', therefore the IDs matched (IDs in the card ROM, and the IDs in the modded ROM). No need for the dos-based atiflash.exe -p new.rom -f to force the new.rom onto the device when the IDs don't match.

Results
I have tested with both DVI ports connected and a MiniDP-to-VGA adaptor. All three displays are running well at native resolutions.
As with everyone else, I do not see the EFI boot screens, but as soon as MacOSX boots all the displays come to life.
(I'm going to try a DVI-to-vga adaptor tonight because someone posted they had success seeing the EFI boot screens with this).

Thanks again to the pioneers :o
RTHPJM


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: andystubbs on June 22, 2011, 08:41:38 PM
Hmm... I'll be in LA in the next week, actually. What's your plan? I've replacement ROMs on the way, I'm just trying any possible alternatives before delving. I've more than once soldered a pair of pins together on those damn tiny things.

I know how you feel, I've modified a few acer netbooks to install internal 3g cards which involves soldering in a mini pci-e port and sim card reader and every single time I say 'never again'  ;)

The soldering part is easy - it's the desoldering that's a real pig - desolder braid is handy for cleaning up though.


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: Vancityex on July 25, 2011, 12:55:12 AM
i did fing the mcuc twice but it give me this error can't open file 'fixrom.py': [Errno 2] No such file or directory
MaCs-Mac-Pro:~ MaC$ hope it will work
here is my original rom if you can edit it it is a sapphire hd5770 flex card


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: jeanlain on July 26, 2011, 08:38:26 AM
Make sure you put the script in the right directory and that it's named "fixrom.py".


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: bravefire on July 27, 2011, 06:14:36 AM
I wanted to say thank you for this great guide!

I bought a XFX 5770 http://www.walmart.com/ip/XFX-HD-577X-ZMF3-ATI-Radeon-HD-5770-1GB-PCI-Express-2.1-Graphics-Card/15567510?srccode=cii_5784816&cpncode=00-42253245-2&adid=1500000000000029469730 (http://www.walmart.com/ip/XFX-HD-577X-ZMF3-ATI-Radeon-HD-5770-1GB-PCI-Express-2.1-Graphics-Card/15567510?srccode=cii_5784816&cpncode=00-42253245-2&adid=1500000000000029469730)

I had 10.6.8 when I installed the card and it worked right out of the box.  I decided to flash the card using this guide anyway so that I might be able to boot from a Leopard install disc in the future.  I don't have an EFI screen like everyone else using DVI...I haven't tried using a DVI to VGA adapter yet but I assume it will work  :D

In the end it's been a nice upgrade to my previous 8800GT (flashed).  Thanks alot guys!

UPDATE:
Using DVI to VGA adapter allows me to see the EFI boot screen though the image is "softer" in my opinion.


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: surame on July 28, 2011, 07:28:01 PM
Hi,
On my macpro 4,1 : Sapphire HD 5770 1Go Vapor X working nice on both DVI port.
Boot screen is OK with VGA adapter.
Thanks a lot !

PS : any ideas how to enable QE/CI ? Seems not enable (screen attachement)


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: admiralsaltybob on July 30, 2011, 03:52:09 AM
@jeanlain and kbear

Followed your instructions and created a new ROM/EFI based on my Sapphire 5770's original ROM. It is a Sapphire 299-1E148-102SA - sorry, not on Newegg... - http://www.waz.com.br/_produtos/?p=99600.  As far as I can tell, it's a reference design ATi 5770 with a different cooler.  I have attached my original ROM and the new EFI/ROM.  It works perfectly in my 2006 Mac Pro 1,1 under both OS X Lion and Windows 7 64-bit.
I have a single monitor setup (BenQ E2200HD) using a DVI to VGA adaptor, so I get the EFI bootscreens.  Have not tried any other ports or monitor configs. 

@netkas and Rominator

Thanks for all your hard work on this project!! 

 ;D


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: wannax on August 01, 2011, 06:32:21 PM
Success!!! (Well, I haven't tried the HDMI or DisplayPorts, and I haven't tried to see if the startup screen show up without using a VGA cable)

Well, using this guide to roll my own ROM lets me successfully use my new card (details below) in my MacPro 1,1. Windows XP stopped recognizing it as an ATI card after I flashed it with the new ROM, but after I pulled the old, broken, never-worked-in-Windows x1900xt out, Windows sees it just fine.

I first tried using Rominator's M57704 and M57702 ROM but they did not work at all. I think it was 04 that made flash it back to the original blind.

I already appreciate all the work you guys have put into this.

THANK YOU!!!

Sapphire 5770 Vapor-X 100283VX-2L
PN: 299-1E148-202SA
SKU:11163-05-20r
http://www.newegg.com/Product/Product.aspx?Item=N82E16814102898

5770VAPO.ROM = the original rom from the card
5770vxdb.rom = the rom I made using Jeanlain's guide




Hello, I have a lot of confusion. I have your same video card. I could use the bios that you generated with the guide? thanks
Walter


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: mymlan on August 05, 2011, 04:18:45 AM
Hello again, guys. Several resolderings later I'm still in the same position. I gave up flashing on my X38 PC and figured I'd go for the gold on my 3,1 2008 Mac Pro. I struggled for a while getting DOS to recognize ATIFlash, so I eventually gave up and moved on to ATiWinFlash. Everything seemed okay, and the flash was reported as successful. I rebooted to find no display output from my Apple HD 2600XT. I figured the system was reading the 5770 as the main display, but neither card would output. I then realized that although the computer would pass blindly through rEFIt without problems, as soon as it attempted to boot either Win7 or Snow Leopard (10.6.8), it would run into some unknown error as evidenced by all drives halting and all fans spinning down to their lowest setting. I would then tap the power button and the machine would immediately shut down.

This is the same exact problem I was getting on my X38 dual-boot machine. I've tried a plethora of ROMs, and every time I flash them on any machine, suddenly they halt up any computer they're placed into. I keep lurking about, hoping to find others with similar problems but mostly all I find are success stories (or at least people able to flash back). I know this is a skilled and knowledgeable community, but I'm not sure anyone has experienced the same issues. My attempts have been repeated with both an XFX and an Alienware (MSI) card. I've resoldered the ROMs thrice on each card, and the traces are about to give up on me.

If anyone has any suggestions, I'd be happy to hear them!


Title: Re: make your own radeon HD 5770/5870 Mac ROM
Post by: Vollstein on August 08, 2011, 02:44:16 PM
help me please with my 5870 Gigabyte card
http://www.gigabyte.ru/products/page/vga/gv-r587ud-1gd/

I tried this firmware
http://forum.netkas.org/index.php/topic,692.msg3892.html#msg3892
Quote
Re: make your own radeon HD 5770/5870 Mac ROM
« Reply #22 on: January 04, 2011, 12:29:35 PM »
Quote
Miamizorz, here are the files for my Sapphire Vapor-X OC, PN 288-1E140-100SA in a 2006 Macpro 2x2,6Ghz.
Hope it helps.
I've only 1 DVI port used so far, will test other when i can.
Edit : myrom.rom is the one with efi, VX5870PC being the original PC bios
 myrom.zip (88.43 KB - downloaded 22 times.)
 VX5870PC.zip (46.02 KB - downloaded 9 times.)
« Last Edit: January 04, 2011, 12:50:51 PM by Psychic2k »   Report to moderator     Logged
Macpro 1,1 @2x2,66, Sapphire Vapor-X 5870 OC, OS X.6.5
Works only in safe boot mode

this is that card in slot-2 screens
http://imageshack.us/photo/my-images/850/62922065.png/
http://imageshack.us/photo/my-images/43/87239591.png/

this is that card in slot-1 (only this card) screens
http://imageshack.us/photo/my-images/594/img0510gk.jpg/
http://imageshack.us/photo/my-images/3/img0511x.jpg/


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: jeanlain on August 19, 2011, 02:05:29 PM
Vollstein,
I suggest you flash the card with its original BIOS, if you have it, and see how it goes under 10.6.8 or Lion. Remove all ATY_init, if you have installed it.

If it works, make a custom ROM following the instruction on the OP, and flash again.

PSA: the guide is updated for 6870/6850 cards.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Vollstein on August 19, 2011, 04:27:31 PM
Yes Jeanlain, it works in Snow Leo & Lion with original PC bios, but only if card insert as second.. OK, thanks, i'll try it...


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: R0M on August 20, 2011, 10:22:17 AM
I followed the original post guide but,
step 2 doesn't seem to modify myrom.rom according to Finder's inspector
and I'm getting a ValueError message at step 4.

I attached my original BIOS and a terminal screenshot if it could help.

Any ideas, what am I doing wrong ?

PS: my card is a Sapphire 1GB 6870 (http://www.pixmania.com/fr/fr/8224042/art/sapphire-technology/radeon-hd-6870-1-go-gddr5.html)


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Vollstein on August 20, 2011, 08:14:06 PM
ATI Radeon HD 5870 1Gb GV-R587UD-1GD
My EFI'd rom file

Jeanlain thanks!


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Rominator on August 21, 2011, 02:23:16 AM
I followed the original post guide but,
step 2 doesn't seem to modify myrom.rom according to Finder's inspector
and I'm getting a ValueError message at step 4.

I attached my original BIOS and a terminal screenshot if it could help.

Any ideas, what am I doing wrong ?

PS: my card is a Sapphire 1GB 6870 (http://www.pixmania.com/fr/fr/8224042/art/sapphire-technology/radeon-hd-6870-1-go-gddr5.html)

I have had this same issue with an EFI Nvidia ROM.

Not sure why or how this happens. I think it is a bug in fixrom.py.

If I ran it on just the PC BIOS part it worked. You may need to manually replace "80" indicator with "00" and then run through RBE to fix checksum.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: R0M on August 21, 2011, 09:19:56 AM
I followed the original post guide but,
step 2 doesn't seem to modify myrom.rom according to Finder's inspector
and I'm getting a ValueError message at step 4.

I attached my original BIOS and a terminal screenshot if it could help.

Any ideas, what am I doing wrong ?

PS: my card is a Sapphire 1GB 6870 (http://www.pixmania.com/fr/fr/8224042/art/sapphire-technology/radeon-hd-6870-1-go-gddr5.html)

I have had this same issue with an EFI Nvidia ROM.

Not sure why or how this happens. I think it is a bug in fixrom.py.

If I ran it on just the PC BIOS part it worked. You may need to manually replace "80" indicator with "00" and then run through RBE to fix checksum.

Netkas solved my problem in the other thread:
http://forum.netkas.org/index.php/topic,1085.msg6533.html#msg6533

Thanks for your help.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: jfk on August 22, 2011, 08:14:35 PM
Hi guys,

As I want to have my Mac Pro as silent as possible, I bought a Gigabyte 5770 Silent Cell (http://www.amazon.com/Gigabyte-Radeon-PCI-Express-Video-GV-R577SL-1GD/dp/B004DUMTP2/ref=sr_1_1?ie=UTF8&qid=1314039950&sr=8-1). When I flash the rom created with the method described here, I am not able to use more than one monitor (no matter on what output).

Does anybody know why? Most people say they have multi monitor working for their 5770 :(

Thanks, JFK


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Cindori on August 23, 2011, 01:09:51 AM
6850/6870 firmware can now be made automatically here

http://forum.netkas.org/index.php/topic,1085.msg6582.html#msg6582


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: electonic on August 23, 2011, 05:51:42 PM
I'm just posting to tell thank everyone for their great work for us.
I've busted this method successfully three times now.

This time I'd like to ad my Bios files.

The Card is:

PowerColor 5870 PCS+ (This is the slightly over clocked model with 875 Mhz CPU and faster RAM)
File PCS5870O.ROM is original ROM, PCS5870N.ROM is new, patched ROM with EFI.

It works flawlessly. Though I can only test the two DVI and they work. I don't know about the DP and HDMI.
No boot screen, of course. Hope this helps someone.


Greetings

P.S.: There's a CPU on the screenshot that Apple never sold. Guess why: made the Firmware mod and upgraded to a 6 core with your help, too. Thanks, guys!


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: electonic on August 23, 2011, 05:57:46 PM
Hi guys,

As I want to have my Mac Pro as silent as possible, I bought a Gigabyte 5770 Silent Cell (http://www.amazon.com/Gigabyte-Radeon-PCI-Express-Video-GV-R577SL-1GD/dp/B004DUMTP2/ref=sr_1_1?ie=UTF8&qid=1314039950&sr=8-1). When I flash the rom created with the method described here, I am not able to use more than one monitor (no matter on what output).

Does anybody know why? Most people say they have multi monitor working for their 5770 :(

Thanks, JFK

I can't help you with that, but I can tell you one thing for sure:

Get a 5870, or 6870 and change the stock cooler to Arctic Cooling Twin Turbo Pro. My card is dead silent now. The only thing I can hear now are my hard drives.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: jfk on August 24, 2011, 08:09:24 PM
I can't help you with that, but I can tell you one thing for sure:

Get a 5870, or 6870 and change the stock cooler to Arctic Cooling Twin Turbo Pro. My card is dead silent now. The only thing I can hear now are my hard drives.

Well actually I really would like to use my 5770. The question is, why my sewed firmware is unable to use more than one display where others are using 5770 with multi monitor perfectly fine...


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Rominator on August 24, 2011, 09:04:47 PM
It is possible that if you are using REAL MDP output, that there is a separate DVI feed from different display channel, or vice versa.

In other words, if you have 3D acceleration and power cable is connected, the only other reason for port issue would be monitor definitions not matching well with groundwork laid by EFI and drivers.

It may be adviseable to try a different framebuffer.

But first make sure 3D is working, as the other causes I mentioned could show up as single display along with no 3D.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: jfk on August 25, 2011, 07:21:31 PM
3D acceleration is working perfectly fine and also the Vervet Framebuffer loads, so Geekbench and Steam works.

I tried to switch the Framebuffer by altering the EFI part of the rom and running fixrom afterwards to fix checksum. Unfortunately Lion still loads Vervet. Any other idea how to switch the Framebuffer?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: optikshell on August 25, 2011, 07:36:09 PM
3D acceleration is working perfectly fine and also the Vervet Framebuffer loads, so Geekbench and Steam works.

I tried to switch the Framebuffer by altering the EFI part of the rom and running fixrom afterwards to fix checksum. Unfortunately Lion still loads Vervet. Any other idea how to switch the Framebuffer?

I'm not familiar with how one checks which framebuffer is being used. I'm using a 6770 with dual monitors, no issues with DVD App / Steam... if you can tell how to verify which framebuffer I'm using, maybe I can help.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: jfk on August 25, 2011, 07:43:10 PM
Code:
ioreg | grep ATY


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: optikshell on August 25, 2011, 08:04:03 PM
Code:
ioreg | grep ATY

Code:
mac-pro:~ user$ ioreg | grep ATY
    | |   |   | +-o ATY,Vervet@0  <class AtiFbStub, id 0x1000003aa, registered,$
    | |   |   | | +-o ATY_Vervet  <class ATIFramebuffer, id 0x1000003ae, regist$
    | |   |   | +-o ATY,Vervet@1  <class AtiFbStub, id 0x1000003ab, registered,$
    | |   |   | | +-o ATY_Vervet  <class ATIFramebuffer, id 0x10000041e, regist$
    | |   |   | +-o ATY,Vervet@2  <class AtiFbStub, id 0x1000003ac, registered,$
    | |   |   | | +-o ATY_Vervet  <class ATIFramebuffer, id 0x100000424, regist$
mac-pro:~ user$

At one point I modified my Info.plist file in /S/L/E/ATI5000Controller.kext/Contents/ and added this:
<key>CFG_FORCE_ICLK</key>
<true/>

         
Code:
<key>aty_config</key>
<dict>
<key>CFG_FORCE_ICLK</key>
<true/>
<key>CFG_NO_PP</key>
<false/>
<key>CFG_USE_SRRB</key>
<true/>
<key>CFG_USE_USCN</key>
<true/>
</dict>

Also... if it would be helpful, I can attach my entire Info.plist file.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Vollstein on September 15, 2011, 03:02:14 AM
Hi! I'm too always getting the "dd: bs must be between 1 and 9223372036854775807" code with XFX 6870. Help some one please.. maybe Jeanlain? :)


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: jeffleeismyhero on September 15, 2011, 05:58:46 PM
Hi! I'm too always getting the "dd: bs must be between 1 and 9223372036854775807" code with XFX 6870. Help some one please.. maybe Jeanlain? :)


I had the same issue. blocknum was being set to -128.
After following the steps here: http://forum.netkas.org/index.php/topic,1085.msg6532.html#msg6532

The value I received was 128. This may have been a coincidence, but you could just take the absolute value of the first line and use that:

Code:
blocknum=`printf %d "'\`dd if=ORG5770.ROM bs=1 skip=2 count=1 2>/dev/null\`"` && blocknum=${blocknum#-}

While I still haven't been able to get my card working, I don't think the rom is the problem.


Title: USEFUL TIP IF YOU WANT TO RUN AN APPLE LED FROM A FLASHED 5870
Post by: Rominator on September 16, 2011, 01:32:04 AM
I have tried a variety of flashed 5870 cards and almost NONE of them will run an Apple LED Cinema Display.

And for once, the issue has nothing to do with Apple. There was some misunderstanding between ATI and someone over the Displayport spec. It is supposed to be pin for pin compatible with Mini-Displayport. (in other words, same wires and connections, just different plug on the end)

Reality is that many early DisplayPort 5870 cards used some minor tweak to this that does not allow the use of a MiniDisplayport adapter to run a Cinema Display. This also applies to most 5770 cards. If the card actually has a MiniDisplayport, it will likely work just fine with an Apple Display. It is only the ones that Have the larger DIsplayport output on them that have the issue.

In my experience, ALL Manufacturers who used the Reference design have this issue. I discovered that XFX instituted a fix in their 2nd series of 5870s. The later boards that had the fan in center, instead of at end are the ones that got fix.

The DRAG is that the first versions of those cards still had bug...in my experience I have seen V 1.3 cards that had bug. IIRC it is the V 1.5 cards that started working well and could run the Apple LEDs just fine. I am certain that a V 1.8 can run an Apple Display with no issues at all.

I do not know the version numbers for the 5770 cards. It is of course much easier to just use a 6870 and have 2 @ MDPs, but for anyone wanting that extra EDGE that 5870 has, there is the info.

If anyone else has a follow-up with more info, please post.

And BTW, I can also verify that the issue had nothing to do with software, i.e. whichever ROM on the early cards means LOCKUP when MDP plugged in while whichever ROM on later cards had no issue. SO something in the hardware got revised.

On another note...this exact same info applies to Hackintosh crowd. I have seen reports of Hack folks buying APple 5770/5870 so they could run an Apple Display. (anyone else catch the irony?)


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Vollstein on September 16, 2011, 12:14:52 PM
jeffleeismyhero, i'm tried flashin the 6870 xfx card

i'm tried this
Quote
blocknum=`printf %d "'\`dd if=myrom.rom bs=1 skip=2 count=1 2>/dev/null\`"` && blocknum=${blocknum#-}
size=$(($blocknum * 128))
dd if=6870.efi.rom of=myrom.rom bs=$size seek=1 conv=notrunc
then
Quote
python fixrom.py myrom.rom myrom.rom
screenshots attached
..how i may fix this and completely flashed my 6870 card? please help some one...


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: mac-bitch on September 24, 2011, 10:11:27 PM
Hi! I'm too always getting the "dd: bs must be between 1 and 9223372036854775807" code with XFX 6870. Help some one please.. maybe Jeanlain? :)


Same Prob here. Seems like they switched the revision of that card. Mine has v.5 on the background.

Edit: When I repeat Vollsteins suggestions I could flash the myrom.rom which is being made to the card in DOS/Atiflash even without to force flash with -fs -fp. But then the card went into constant reboot/crashes, so I flashed the original Bios again. BTW the card now has Elpida Ram instead of Samsung/Hynix (earlier revisions).

I attached the original Bios of the HD-687A-ZDFC and the Rom which the script produced. Maybe that helps.



Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: mac-bitch on September 25, 2011, 08:43:44 AM
Hey Vollstein, maybe I noticed our mistake.

The line must be

blocknum=128
size=$(($blocknum * 512))
dd if=6870.efi.rom of=myrom.rom bs=$size seek=1 conv=notrunc
python fixrom.py myrom.rom myrom.rom

I made a file which I could successfully flash without force (atiflash -p 0 myrom.rom) to the card.

I attached the rom.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Vollstein on September 25, 2011, 11:35:27 AM
yes .. there is a difference


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: mac-bitch on September 25, 2011, 11:44:44 AM
yes .. there is a difference
Please try the EFI in Post #126 and report back :-).


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Vollstein on September 25, 2011, 11:59:01 AM
is not necessary :D ;)
big thanks!!!
my efid rom file is attached


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: mac-bitch on September 25, 2011, 12:08:28 PM
is not necessary :D ;)
big thanks!!!
my efid rom file is attached

Glad to hear that I could contribute to the community :).


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Vollstein on September 25, 2011, 12:28:06 PM
glad to know that there are people who can help  ;D
many thanks :)


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: macattack on September 28, 2011, 08:39:22 PM
Could any one of the guru's out there, please help. I have tried several attempts to my make my own XFX 5770 mac rom using this method on this post,  but had no success. I have attached my PC rom, for anyone kind enough to make it for me.

The video card is a XFX HD-577A-ZNFC VE.5 which I believe from this forum has been made to work. I used this method it flashes successfully, but does not display anything when mac boots.

blocknum=`printf %d "'\`dd if=myrom.rom bs=1 skip=2 count=1 2>/dev/null\`"`
size=$(($blocknum * 512))
dd if=5770_vervet_netkas.efi of=myrom.rom bs=$size seek=1 conv=notrunc



Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: macattack on October 03, 2011, 11:40:00 AM
could someone please please help,

I have tried making a custom rom. by sewing the efi to my pc bios as per this guide. the bios I make has two mcuc, but when installed in my mac pro I GET NO DISPLAY AT ALL!

Could someone please try making the rom for me! I am willing to pay someone if you get it to work.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: mac-bitch on October 03, 2011, 12:49:55 PM
could someone please please help,

I have tried making a custom rom. by sewing the efi to my pc bios as per this guide. the bios I make has two mcuc, but when installed in my mac pro I GET NO DISPLAY AT ALL!

Could someone please try making the rom for me! I am willing to pay someone if you get it to work.
[/quot

How do you try to attach your monitor to the card (DVI, VGA, etc.)?
could someone please please help,

I have tried making a custom rom. by sewing the efi to my pc bios as per this guide. the bios I make has two mcuc, but when installed in my mac pro I GET NO DISPLAY AT ALL!

Could someone please try making the rom for me! I am willing to pay someone if you get it to work.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: macattack on October 03, 2011, 09:09:15 PM
I connect via dual dvi, I know I have done it right, because I have flashed one before but a different brand & it worked fine. this XFX NFC ve5 it driving me crazy.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: mac-bitch on October 04, 2011, 06:47:55 AM
Please do not pay anyone for this. The specialists who can look into your ROM (could you please post the original BIOS PC-ROM, too? maybe I can try to make the EFI Rom - no promises!) have not been around here lately, but I am sure they will come back soon.
 ;)


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: macattack on October 04, 2011, 10:47:42 AM
ok many thanks here it is ::)


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: mac-bitch on October 04, 2011, 06:37:02 PM
ok many thanks here it is ::)

No Problem, please try the ROM I attached to this post.

Do it with an USB Stick (or Boot CD) and ATIFLASH:

atiflash -p 0 EFI5770.ROM

If that does not work force flash with

atiflash -p -fs -fp 0 EFI5770.ROM

Please report back.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: macattack on October 04, 2011, 10:37:13 PM
thanks for giving it ago, but still the same results, The mac chimes on start up, like everything is ok, but no display & desktop never shows, it's like the efi part of the rom is not being seen. Maybe this one needs a special tweek by the pro's like you suggested.


Title: Success with XFX HD 5770 XMF3 Rev. A.5
Post by: pipkato on October 05, 2011, 11:36:19 AM
I just wanted to add my thanks to 'Jeanlain' for his invaluable tutorial at the top of this thread.  I also received generous help in personal messages from 'rthpjm' and 'calvintml'.

I followed 'Jeanlain's' tutorial with my XFX HD 5770 XMF3 Rev. A.5 and ended up with a successfully flashed card in my Mac Pro 3,1.

The card was working natively, after a fashion, in Lion 10.7.1 but, as with many others, in the process I lost my DVD player functionality.  I believe that other applications like Steam and Geekbench are unusable too.  Of course I did not have any boot screen until the 'Login' screen appeared.

After a couple of abortive efforts trying to modify my Mac Pro using 'ATY_Init.kext'  I gave up and decided to go the 'Jeanlain' route.

I  had a spare Dell PC and  decided to use that to save my 5770 ROM and reflash it.  I downloaded ATIWinflash to do the flashing.  First problem was powering my 5770 in my Dell Vostro 200.  The 5770 came with a power connector cable which terminated in two Molex connectors.  Unfortunately the Vostro is all SATA so I had to buy two SATA to Molex adapters before I could even power up the card.  Under Vista Home Premium the Vostro automatically downloaded the relevant ATI drivers, I ran ATIWinflash and backed up my ROM.

I copied this ROM across to the Mac Pro and followed the instructions from 'Jeanlain' in the first post.  Fortunately I did find two instances of 'mcuc' so didn't have to go through the more complicated route.  Next little problem was that I put the unzipped 'Flash' folder in my Root folder and the process failed.  Then I realised that 'Jeanlain' probably meant that all of the files in 'Flash' folder should be placed in that root folder, and when I did that everything went smoothly.  Copied the newly modified ROM back to the PC.

I used ATIWinflash to 'Program' my original ROM with the newly EFI'd ROM.  Put the 5770 card in the Mac Pro and it booted fine (still no Apple logo, and blank screens until the Login screen).  I'm only using the 5770 with the two DVI outputs, so can't comment on the MDP, but the DVI ports work fine.  In 'About this Mac' the card is shown as an ATI 5770, and my DVD player is working fine.

Thanks again to all who helped, and to Netkas and the many generous contributions on this forum.  I'm attaching my new EFI_ROM.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: wenlez on October 23, 2011, 10:07:32 PM
I can't seem to find a 5850 EFI rom. any idea? I tried using the 6770EFI rom to flash my XFX HD5850 ROM, but the final ROM image is flashable by WinATIflash.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Vollstein on October 24, 2011, 02:50:07 AM
can recognize the Tiger OS X Gigabyte 5870 or XFX 6870 card?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: wenlez on October 24, 2011, 02:02:14 PM
can recognize the Tiger OS X Gigabyte 5870 or XFX 6870 card?

I don't think so. Not natively at least. Unless you install the driver prior installing the card.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: grammataki on October 24, 2011, 04:35:25 PM
Wanted to thank everyone first of all.  I have successfully made my own efi rom using methids described here.  Reporting my experience, hope it helps someone:

ATI Sapphire 5770 Vapor-x OC PN:288-1E147-101SA
Mac Pro 1,1

The 5770 was working fine on its own with two DVI ports working but thats all.  QECI was okay but card was read as generic 5000 instaed of 5770.  Things seemed to startup slow from login to full desktop, so I decided to proceed with making y own rom and flashing.  I followed steps listed in the above posts but also had to modify some things. Here goes:

1 Installed Bootcamp with GPUZ and Radeon Bios Editor (RBE), and ATI Winflash
2 Dumped the rom files from both GPUZ and RBE and backed up onto two different locations.
3 Placed flash.zip files in root of OSX directory Started up in OSX and opened up terminal typing the following commands as in instructions:

  192:~ Mac$ blocknum=`printf %d "'\`dd if=myrom.rom bs=1 skip=2 count=1 2>/dev/null\`"`
  192:~ Mac$ dd if=5770_vervet_netkas.efi of=myrom.rom bs=$size seek=1 conv=notrunc
  192:~ Mac$ python fixrom.py myrom.rom myrom.rom

  but received the following error

          dd: bs must be between 1 and -1

   then followed instructions here:

   http://forum.netkas.org/index.php/topic,1085.msg6532.html#msg6532 (thanks Netkas)

4 Opened up Hex Editor
   saw the following at the beginning 55 AA 7C E9
   Took the 3rd set of bytes
   7C -> put into Decimal form -> 124
   multiplied by 512 bytes -> 124x512=63488 (the EFI is inserted here)
  

5 Back in TERMINAL Adjusted the input to

     192:~ Mac$ blocknum=124
     192:~ Mac$ dd if=5770_vervet_netkas.efi of=myrom.rom bs=$size seek=1 conv=notrunc
     192:~ Mac$ python fixrom.py myrom.rom myrom.rom

No more errors

6 saved the new rom to two different locations

7 Booted up Windows 7 again

8 opened RBE, clicked load BIOS

9 clicked force acquire and ticked force flash

10 Flashed card (received warning about some potential issue), proceeded, rebooted, card working ok

Everything much faster and card identified as 5770 not generic 5000. Bootscreen with DVI to VGA adapter only.  I have attached my rom if it helps others. Thanks Netkas, Rominator and everyone else.





Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: popdim on November 07, 2011, 03:38:37 PM
Hello everybody!

This is my story. 2600 XT on my Mac pro 3.1 went dead. I found out your place and decided to went your way.
Because there are no videocard on my Mac Pro I used MacBook for rom creation and PC to flash card.

The first I tried to flash ASUS EAX5770 CUCore /2D/1GD5 from my PC with self made flash. W7 worked with the flashed card. Then I put it to Mac and used DVI->Dsub. Pure DVI didn't work at all. Startup screen on Mac pro was messy and an apple logo was hardly visible then it went black probably at the time to show desktop. I have no luck. Source and efi-enabled roms are in attached file in the ASUS5770 folder.

Then I carefully read all threads and found out lucky guys with Gigabyte 6870OC and their roms. I downloaded roms and bought the same Gigabyte 6870OC. But I have no luck either.
The results are (GVR6870OC folder):
1. Gigabyte6870oc.efi.rom - rom from forum. ATI Winflash and atiflash both ended up with error messages and nothing happened  with the card.
2. handmade_GVR687OC.rom - self made rom with script from the forum. It was successfully flashed by ATI Winflash, PC with W7 worked when monitor was connected via DVI-Dsub, but Mac Pro can't show nothing even a messy screen. No video at all.
3. romcreator_GVR687OC.rom - rom I made with RomCreator. Behavior is the same as with Gigabyte6870oc.efi.rom. It should be, because I later compared them with WinHex - the same byte to byte.
4. zeus_GVR687OC.rom - rom I made with Zeus 2.8. It doesn't work either.
5. original_GVR687OCbios.rom - source rom. It was flashed back and the card is working fine in PC (only!)

I've tried to dig into roms and found out that there are two places with different bytes in handmade_GVR687OC.rom, which is possible to flash and Gigabyte6870oc.efi.rom which made at least two of you guys lucky:
at F9FF:     DB   5B
at 1A9FF: BF   FF
Beside that handmade_GVR687OC.rom filled with 'FF' up to the end of the file while Gigabyte6870oc.efi.rom filled with FF and then with 00. I will continue to fight but it looks like I'm fighting blind-eyed.

I'll much appreciate your help to find out what is wrong with all the staff.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: popdim on November 07, 2011, 03:43:51 PM
Gigabyte6870 ROMs part1


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: popdim on November 07, 2011, 03:44:34 PM
Gigabyte6870 ROMs part 2


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: vanden on November 07, 2011, 05:59:44 PM
Hello everyone !

I plan to buy a card XFX HD 6850 1GB AMD GDRR5 XXX.
I do not know if this will be a ZDDC or ZNDC ...

Has anyone tried on these cards ?
If yes : successfully ?
If no : do you think that is possible ?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: lowrider on November 07, 2011, 06:36:00 PM
popdim I have sent you PMs as requested.  In my last one I told you that I don't understand you issues and that the Gigabyte 6870 works OOB so you don't need another Mac, another graphics card, or windoze to flash it.  I had no luck flashing it with Zeus 2.8, but Zeus 2.3 worked fine.  I provided you with the correct ROM, so you should be good to go.

Lou


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: popdim on November 07, 2011, 07:07:06 PM
Lou,

I've got my card work now with the same rom as you have. Thank you for your help. If our setups are absolutely the same then it should be my fault somewhere in the flashing.
And it really was, for sure.
I flashed with:

atiflash -unlockrom 0
atiflash -p -f 0 Gigabyte6870oc.efi.rom

And with monitor attached to lower DVI I saw an apple and 6870 was in System Info exactly in your Mac!
 


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: lowrider on November 07, 2011, 08:00:01 PM
^^^^Good, Glad things worked out for you :D

Lou


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: jhoncybpr on November 08, 2011, 12:47:04 AM
Hi, can i know where found the ROM of video card AMD HD6850 1Gb Ram ?
Where i can download the HD6850 rom.
I don't have found the link to download it anywhere.
Anyone can help me?
Please can you attach the link to original ROM and ROM+EFI.
Thank you.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: BastyJuice on November 08, 2011, 10:36:32 AM
Ist it possible to Relase 6850 and 6870 Roms for 1,1 and 2,1


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Rominator on November 08, 2011, 10:29:02 PM
Ist it possible to Relase 6850 and 6870 Roms for 1,1 and 2,1

As soon as I get my time machine back from the shop.....


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: BastyJuice on November 09, 2011, 11:56:02 PM
As soon as I get my time machine back from the shop.....

Best Answer ever


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: efi on November 19, 2011, 04:27:55 PM
Hi Guys,

New here...

Original Mac Pro 1,1 (MP11.005C.B08)
Original Apple GeForce7300GT

I just got one of these:

Sapphire HD5770
PN 299-7E144-205SA
BIOS: JUNIPER XT 64MX32 BIOS UCODEV:126
GPU 850 MHz Core Clock 40 nm Chip 800 x Stream Processors
Memory 1024 MB Size 128 -bit GDDR5 4800 MHz Effective

Output:
1 x Dual-Link DVI
1 x HDMI
1 x DisplayPort

PLEASE NOTE: This video card has only 1 DVI port. (other Sapphire 5770 cards have 2 DVI ports)

I'm into the following situation...

The card works with OS X 10.7.2 with it's original PC BIOS and is being recognized as:

ATI Radeon HD 5000:

  Chipset Model:   ATI Radeon HD 5000
  Type:   GPU
  Bus:   PCIe
  Slot:   Slot-1
  PCIe Lane Width:   x16
  VRAM (Total):   1024 MB
  Vendor:   ATI (0x1002)
  Device ID:   0x68b8
  Revision ID:   0x0000

...

Other than that I have tried following the guide from the very first post without success.

When I modified the rom I got the video card recognized but no QE/CI.
In fact Lion recognized two devices in the same slot, one with a driver installed and another without. Which ends up generating a virtual 800x600 screen tied to the VGA output ? the card has no VGA output.. I found myself in the "second" monitor > Screen sharing saved me :)

I have also tried every similar BIOS posted.. no success.

Can you please help me?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: akspa420 on November 20, 2011, 04:33:05 AM
I've been following this guide, trying to get a resulting bios that still has two MCuC segments, but it seems as if there's a bunch of buffer space (FF) in the rom between the two MCuC blocks, but not enough for the EFI part to fit in. Is there any way to shift the second MCuC up or down, and correct the pointer for the rom to still be able to read the second MCuC block?

At this point, I just want my card working fully within OSX without any shortcomings.

I'm attaching my ROM to this post, in hopes that someone can help me get the 5770 EFI added to it. This is a fresh rip of the ROM I made through atiflash in DOS.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Rominator on November 24, 2011, 09:34:57 AM
I've been following this guide, trying to get a resulting bios that still has two MCuC segments, but it seems as if there's a bunch of buffer space (FF) in the rom between the two MCuC blocks, but not enough for the EFI part to fit in. Is there any way to shift the second MCuC up or down, and correct the pointer for the rom to still be able to read the second MCuC block?



Good news, this exact procedure is laid out by jeanlain in very 1st post of this thread.


At this point, I just want my card working fully within OSX without any shortcomings.


Yes, this is what most people want. In fact, IIRC nobody has ever asked for a "partially working card", or one with "some shortcomings."  ;)


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: efi on November 24, 2011, 02:00:28 PM
Hi Guys,

New here...

Original Mac Pro 1,1 (MP11.005C.B08)
Original Apple GeForce7300GT

I just got one of these:

Sapphire HD5770
PN 299-7E144-205SA
BIOS: JUNIPER XT 64MX32 BIOS UCODEV:126
GPU 850 MHz Core Clock 40 nm Chip 800 x Stream Processors
Memory 1024 MB Size 128 -bit GDDR5 4800 MHz Effective

Output:
1 x Dual-Link DVI
1 x HDMI
1 x DisplayPort

PLEASE NOTE: This video card has only 1 DVI port. (other Sapphire 5770 cards have 2 DVI ports)

I'm into the following situation...

The card works with OS X 10.7.2 with it's original PC BIOS and is being recognized as:

ATI Radeon HD 5000:

  Chipset Model:   ATI Radeon HD 5000
  Type:   GPU
  Bus:   PCIe
  Slot:   Slot-1
  PCIe Lane Width:   x16
  VRAM (Total):   1024 MB
  Vendor:   ATI (0x1002)
  Device ID:   0x68b8
  Revision ID:   0x0000

...

Other than that I have tried following the guide from the very first post without success.

When I modified the rom I got the video card recognized but no QE/CI.
In fact Lion recognized two devices in the same slot, one with a driver installed and another without. Which ends up generating a virtual 800x600 screen tied to the VGA output ? the card has no VGA output.. I found myself in the "second" monitor > Screen sharing saved me :)

I have also tried every similar BIOS posted.. no success.

Can you please help me?


Anyone?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: BastyJuice on December 05, 2011, 12:55:23 PM
Is a 5870 with 2Gb Possible to use ? I have an Eyfinety card here with 6 Displayports


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Vollstein on December 06, 2011, 08:55:44 PM
Why not?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: geonjay on December 20, 2011, 05:07:06 PM
I'd REALLY like to upgrade from my x1900 on my 1.1 2006 model.

This card was on Woot! today
http://www.bensoutlet.com/products/ati-5870

I know this has already been asked MANY times..but...would this be a good candidate for flashing and using on a 2006 model with 10.7?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: salzi on December 24, 2011, 05:09:57 PM
Hello everybody,

I just flashed my Sapphire Radeon HD 5770 according to the instructions above and it works beautifully:

System-Profiler output:

  Chipset Model:   ATI Radeon HD 5770
  Type:   GPU
  Bus:   PCIe
  Slot:   Slot-1
  PCIe Lane Width:   x16
  VRAM (Total):   1024 MB
  Vendor:   ATI (0x1002)
  Device ID:   0x68b8
  Revision ID:   0x0000
  ROM Revision:   113-C0160C-155
  EFI Driver Version:   01.00.436

Thank you very much jeanlain and merry christmas everybody!


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: 1001 on December 26, 2011, 02:20:56 PM
Hello,

after reading a lot of threads related to the topic I came to the conclusion flashing a Radeon card to be used on Mac systems should be way easier these days than in the time when I was into flashing the 9800 series. So I took my Sapphire Radeon HD 6850, created a bootable usb-stick (after fiddling around with broken disk-drives and bootdisks) and dumped the original bios file. In the next step, when it's about fixing the file I'm stuck in the middle of the process:

Mac-Pro:~ sysop$ blocknum=`printf %d "'\`dd if=myrom.rom bs=1 skip=2 count=1 2>/dev/null\`"`
Mac-Pro:~ sysop$ size=$(($blocknum * 512))
Mac-Pro:~ sysop$ dd if=6850.efi.rom of=myrom.rom bs=$size seek=1 conv=notrunc
dd: bs must be between 1 and -1

Entering the commands manually (line by line) gave me the same error. From what I understand the definition of the variable bs cant be recalled and asks for a static defined value reaching from 1 to -1.

I then tried the python script since I thought it may work anyways - well: this is what I get next

Mac-Pro:~ sysop$ python fixrom.py myrom.rom myrom.rom
Before:
OpRom (size=65536, indicator_offset=0x209, indicator=0x80, checksum=0x0)
RawData (size=65536)
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-file wasn't touched since the modification-date remains the same. Do I need to change the operators of the commands? Does the script need to be fixed? Any help is very appreciated.

Greets,
1001

-----

EDIT: Nevermind :) I solved the problem by opening the rom-file in a hexeditor, taking the 3rd byte's value (in my case: 80), converted to decimal and manually entered it in this form:

blocknum=128
size=$(($blocknum * 512))
dd if=6850.efi.rom of=myrom.rom bs=$size seek=1 conv=notrunc

After that the python-script worked flawlessly... now I'll try to flash the card - let's see...

Greets,
1001


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: 1001 on December 26, 2011, 09:53:31 PM
After giving the flash-process several tries I ended up reflashing the card back to the original bios that I previously saved. A little story of time to follow...

When I created the custom-romfile using

blocknum=128
size=$(($blocknum * 512))
dd if=6850.efi.rom of=myrom.rom bs=$size seek=1 conv=notrunc

I flashed the card with the new rom. My MacPro booted with no bootscreen (no Apple logo) and no display after the system has booted up into Snow Leopard 10.6.8. This made me think and I installed Lion to another partition - almost same effect: no bootscreen but the system showed up normally.

So in the next step I created another romfile, flashed the card (note: Zeus didn't work at all, had to flash it on a PC with atiflash) and installed into the Mac Pro: card showed up as HD 6870 (huh? I surely used the 6850.efi.rom, the later version from Netkas), no screen-display in Snow Leopard, screen-display in Lion - no bootscreen on both systems.

I retried another time with Rom Creator - nothing changed, same effect as described. In the end I reflashed the card with the original bios since I need to work inside Snow Leopard mostly and can't switch to Lion yet.

So, what's the problem? Why does the card show up in System-Profiler as a HD6870 instead of HD6850, why do I not get the Finder to show up in Snow Leopard but in Lion - driver problem?

Thanks for any input...
1001


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: sonymac on January 08, 2012, 03:52:51 AM
I have a stock ATI 5870 and after inserting in the uakari efi code, it clobbers the 2nd MCuC. I went ahead and moved some free FFs to before the 2nd MCuC, but it still clobbers it. My question is that there are still some extra FFs after adding in the efi code.

It looks like 43008 bytes are inserted in to the BIOS if I'm not mistaken. After adding in the FF's to my ROM, there are 43234 bytes of FFs available. The EFI code still manages to overwrite the 2nd MCuC though. Can I just remove some of the FFs at the end of the EFI code so it doesn't write over the 2nd MCuC?

EDIT:
Actually, I solved the problem indirectly by downloading a newer official ATI 5870 rom that accepted the EFI code without fuss. Scratch the question and thanks for the awesome work and support on this board.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: rockprince on January 08, 2012, 08:26:58 AM
hi all!

maybe here is not the right place to ask this,but i really need help!

does any one know how can i make my AMD Radeon HD 6770M work with Lion 10.7.2?

my system specs are as following:
model: HP Pavilion dv6-6050se

CPU:Intel Core i5 2410M (2.3Ghz Dual Core Sandy Bridge with Intel HD Graphics 3000)
RAM:4GB DDR3 1333Mhz
VGA:AMD Radeon HD 6770M (1GB GDDR5)

I installed Lion 10.7 (11A511) using unibeast and Multibeast 3.10.1 as a bootloader then I updated to 10.7.2 using combo update (i know Multibeast 3.10.1 is for snow leopard,i use it cuase Lion gets stock on grey screen with apple logo when i use Multibeast 4.2.1).

any help would be really really appreciated


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Rominator on January 11, 2012, 08:29:51 PM
hi all!

maybe here is not the right place to ask this,but i really need help!

does any one know how can i make my AMD Radeon HD 6770M work with Lion 10.7.2?


any help would be really really appreciated

You are absolutely right, this is NOT the right place to ask


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Autonomia on January 14, 2012, 03:34:34 PM
jeanlain,
I follow your guide but at the last step I get this error:


Mac-Pro:~ Daniele$ blocknum=`printf %d "'\`dd if=myrom.rom bs=1 skip=2 count=1 2>/dev/null\`"`size=$(($blocknum * 512))dd if=6870.efi.rom of=myrom.rom bs=$size seek=1 conv=notrunc

Mac-Pro:~ Daniele$ python fixrom.py myrom.rom myrom.rom
Before:
OpRom (size=65536, indicator_offset=0x225, indicator=0x80, checksum=0x0)
RawData (size=65536)
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)

file myrom.rom doesn't modified after first and second terminal command.
Can I help me?

Thanks 1000

MacPro3,1 - XFX ATI RADEON HD6870 2GB 


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Autonomia on January 14, 2012, 09:19:40 PM
jeanlain,
I follow your guide but at the last step I get this error:


Mac-Pro:~ Daniele$ blocknum=`printf %d "'\`dd if=myrom.rom bs=1 skip=2 count=1 2>/dev/null\`"`size=$(($blocknum * 512))dd if=6870.efi.rom of=myrom.rom bs=$size seek=1 conv=notrunc

Mac-Pro:~ Daniele$ python fixrom.py myrom.rom myrom.rom
Before:
OpRom (size=65536, indicator_offset=0x225, indicator=0x80, checksum=0x0)
RawData (size=65536)
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)

file myrom.rom doesn't modified after first and second terminal command.
Can I help me?

Thanks 1000

MacPro3,1 - XFX ATI RADEON HD6870 2GB 

I resolved problem. I write command direct spep by step without "cut & paste".

Sorry  :P 


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: akaryatrh on January 24, 2012, 02:34:58 PM
Hey all,

Just flashed successfully a Sapphire HD5870 Vapor-x (11161-99-90R). Had to do it with Atiflash 3.89, ver 3.79 told me that "rom was not erased". Before flashing with ver 3.89, i did a atiflash -unlockrom 0 just in case.
IMO, tutorial is not enough detailed about making a MS-DOS partition. Partition must be set to MBR sheme (while on regular OSX system it's GUID / GPT), otherwise Freedos won't boot.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: circusweb on January 24, 2012, 09:52:52 PM
Hey Guys, just want to start with a huge THANK YOU for all your support with this rom stuff. unbelievable what you all have been able to complete, allowing noobs like me to mirror.

running into some rather strange issues and was looking for help

I have a mac Pro 1,1 running OSX LION 10.7.2 with a 7300GT on slot 1 (so the darn thing will boot) and my 5770 on slot 2. Expansion utility required I set both slots to 8x.

i have a Sapphire 100283VX-2L Radeon HD 5770. Successfully copied bios with GPU-Z and AtiWinFlash. (used gpu-z because i heard win flash sucks)
terminal was not running first script well so I had to edit the first line to:

blocknum=128 (double checked this value in 3rd byte of rom in 0xed)

this obliterated mcuc, so i used steps 3A and 3B and everything went smoothly, both mcuc' were found.
adjusted new offset in 0xed and fixrom worked just fine.

I flashed my card with new myrom using AtiWinFlash (GPU-Z did not appear to have a flashing option only saving)

SUCCESS! Max OSX boots (on slot 1 with the 7300 using DVI-1) and recognizes my 5770 on slot 2.

here's where things get kind of screwy. attempting to boot computer with Display plugged in DVI-1 ON THE 5770 i have no EFI boot screen. and it sometimes fails to load OS. 50/50 it boots but display doesn't activate until user login screen OR boots but no display works. even switching to the 7300, so i have to manual shutdown (why doesn't it consistently boot without EFI screen to user login?)

this same issue happens with Windows 7. booting with display connected to DVI-1 of 7300 works just fine. can switch to 5770 after user login and everything functions. however booting with DVI-1 of 5770 sometimes has no display while sometimes display will appear at user logon.

lastly, removing the 7300 and trying to boot with JUST the newly flashed 5770 does not work at all. if 5770 is in slot 1 of PCI, or slot 2, without the 7300 the computer does not boot to either operating system. and I have no display. computer restarts after attempting to boot on either OS (i believe this is called kernel panic?)

my question is how do I trouble shoot this going forward? Ideally, I'd like to run JUST the 5770 in slot 1 at x16 (right now only functions at x8 while in slot 2 because it is sharing PCI with 7300 in slot 1) even if there is no EFI boot screen.

P.S.
at worst I can keep both cards in comp and successfully run my new 5770 at just x8 but I want to get the full x16 out of it. and having to always boot from 7300 and switch to 5770 after login is annoying.

attached is myrom.rom = new bios   .....BIOS = original 100283VX-2L Radeon HD 5770 ROM

any help is appreciated sorry for the length of reply but I wanted to thoroughly explain myself





Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Rominator on January 26, 2012, 09:00:28 AM
How is the 5770 referred to in System Profiler?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: circusweb on January 26, 2012, 07:56:26 PM
The following day after that post the Mac Pro 1,1 stopped booting all together. constant kernal panic on both OS. had to flash card back to factory bios.

original bios system profiler says RADEOn 5000 series.
after myrom flash profiler says RADEON 5770 series.

i will reflash back to new efi bios and do more testing. ill screenshot system profiler and post it asap.
im going to redo my flashing to see if something went wrong somewhere.

any suggestions appreciated.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: circusweb on January 30, 2012, 05:05:38 AM
Attached are screenshots of the SYSTEM PROFILER info on card AFTER successful flashing. (or at least what appears successful)
(is there a more detailed view within system profiler?)

again more issues. after flashing card again, i received kernel panic on first boot. i tried booting to windows after kernel panic and windows 7 64bit ALSO failed.
after w7 failed mac OSX decided to boot! success, i took a few ss of the ERROR REPORT MAC OSX LION created so you can view it (doubt it will help but I'm betting you understand the error report better than I)

now this is where things get odd, i did more testing after it booted successfully. when I shut OSX down after successful boot, it no longer boots. it kernel panics EVERY time. however when I attempt to boot OSX lion AFTER attempting to boot onto windows 7, LION boots just fine. can you explain why OSX will only boot after attempting to boot windows first (even if windows fails). haha this is actually turning out to be quite fun....

any help is again VERY appreciated!

EDIT*** Windows 7 successfully booted when I selected it through startup disk on the Lion side.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: ratfink on February 03, 2012, 08:40:20 AM
I thought I'd toss in my experience having just updated a 6870 to work with Lion and maybe address a few minor issues I had along the way.  Hopefully I can clarify a few points where some info was left out of jeanlain's post.

My card:   XFX Double D HD-687A-ZDFC Radeon HD 6870 1GB (http://www.newegg.com/Product/Product.aspx?Item=N82E16814150521) ($150 after rebates)

My system: Mac Pro 3,1 (early 2008).  Replacing an old Radeon HD 2600 XT from 2005, ugh.

I decided to use DOS and atiflash, figuring it was the safest and most reliable method after reading other people's experiences.  I don't have Windows installed onto a BootCamp partition, so I didn't have the option of using Windows tools anyways.

Step 1) Installed new 6870 in Mac Pro using two cables purchased from Amazon (http://www.amazon.com/gp/product/B002UR1654).  Removed old 2600.  Since I'm running Lion it should boot fine, just no boot screen or DVD Player/Steam.  Attached monitor to lower DVI port.

Step 2) Created a DOS boot CD using the ISO linked by jeanlain (fdbasecd.iso (http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.0/fdbasecd.iso)).  This was just a matter of opening the file in Disk Utility and burning it to a CD.

Step 3) Created a DOS partition on my primary drive.  Opened Disk Utility, choosing my primary partition and splitting it into 2.  New filesytem was FAT32, 1 gig (smallest allowed), and named DOSPART.  Disk Utility handles everything else.  Copied atiflash.exe over to the new DOSPART partition.

Step 4) Rebooted and held down 'c' to boot from the CD.  Initial FreeDOS boot screen asks where to boot from, I chose '1' to boot from the CD.  Secondary boot screen asks to install to my disk (god no) or to boot safe mode.  First I tried to use the arrow keys to choose safe mode, which worked.. until the machine froze for unknown reasons.  Second attempt at boot I used the number keys instead and everything went fine.

Step 5) At the A:> prompt I typed "C:" to move to my hard drive DOS partition.  From there ran

Code:
 C:\> atiflash.exe -s 0 myrom.rom 20000

Step 6) Rebooted back into OS X by holding down the power button.  Once logged in I opened a terminal.  My default shell was csh, which caused some problems with the command lines jeanlain posted.  I had to run 'bash'. You may or may not have csh configured as your default shell.  In any case, it won't hurt to run 'bash' a second time.  I then unzipped the flash.zip file into a temp directory. flash.zip had previously been saved to my Downloads folder.

Code:
 [ts-Mac-Pro:~] bash
  bash-3.2$ mkdir t;cd t
  bash-3.2$ cp ~/Downloads/flash.zip .  
  bash-3.2$ unzip flash.zip

  Began using the listed command lines to produce a new rom file:

Code:
 bash-3.2$ blocknum=`printf %d "'\`dd if=myrom.rom bs=1 skip=2 count=1 2>/dev/null\`"`

  Because I had read of so many problems with the output from the first command, I double-checked the output.  After running "blocknum=etc" I ran "echo $blocknum".  The returned value was -128.  Clearly negative values wouldn't work in dd so I adjusted it to positive 128 and then ran the rest of the commands without issue.

Code:
 bash-3.2$ blocknum=128
  bash-3.2$ size=$(($blocknum * 512))
  bash-3.2$ dd if=6870.efi.rom of=myrom.rom bs=$size seek=1 conv=notrunc

Ran the python app to clean up the rom.

Code:
 bash-3.2$ python fixrom.py myrom.rom myrom.rom

Step 7) Copied the myrom.rom file onto my dos partition (DOSPART) via finder.  Rebooted back into DOS via CD.  Restart, hold down 'c'.  Type '1', Type '2'.  Type "C:".

Code:
 C:\> atiflash.exe -p 0 myrom.rom

Step 8) Reboot via power switch and enjoy a nice new boot screen.  DVD Player and Steam working great.

I've attached my rom files just to make things easy.  (Be sure to make your own rom backups)



Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: alienallan on February 07, 2012, 01:08:01 PM
okay,
my sister is 28, she read this forum for 3 hours.
She´s a Savey Photoshop girl and app user ...no advanced computer knowledge.
She went to the store, bought an XFX 6870 2 Gig.
She only has Lion.
She made her Rom with RomCreator and then flashed it with Zeus.

This was 6 days ago.

Shes still running stable and woundering what the whole fuss, about people still not able to make theyre cards work, is all about.

Just passin on the info.

p.s. ofcourse i believe her, cuz theres no other way she could flash a card, other than using those 2 apps.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: mac-bitch on February 16, 2012, 08:45:22 PM
Hey there,

I recently tried to flash a 5870. It is a reference 5870 version from PowerColor (http://PowerColor) (exact model in link). I saved the bios like always, check. I lost the second "MCUC" when trying to stitch the EFI, no worries. I moved all available "FF"s (apart from a few) from the end into the space between bios and RAM (although I noticed that this time I only could move a few lines and not 20 or more like normal) and corrected the second "MCUC" offset. But I lost the MCUC when I tried again.

Now I took a deeper look into the bios. I counted the bits from the "5870_uakari_netkas.efi" file (43008). I counted the "FF" bits available in my (edited) bios file (43222). So, theoretically there is enough space. But still I lost the second MCUC. Now I tried to manually copy alle the efi bits into the bios and finally run the script. I already saw that something must have gone wrong, because it only corrected one offset and not two like usual. And of course the second MCUC was gone...

I ended up by simply flashing the evergreen xfx-uakiri file supplied here. But I am still curious why the hell I couldn't put the efi into the bios file. I attached the untouched bios ("BIOS5870.ROM") and the one where I already moved the "FF"s ("MOD5870.ROM").

Thx for your help :).


Bullshit, sorry to waste your time. Here`s my mistake the third byte  in bios is "7E", which means that I have to put the complete efi part starting at 64512. Now, when I move EVERY single "FF" at the end and look how many bits are left from 65512 until the very last "FF" directly before the second "MCUC" I get 42956 :(. This bios will never hold the efi...

Good thing about it: I learned today :).


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: GlossyMexican on February 18, 2012, 06:47:51 PM
I have a Mac Pro 1,1 and I am using an XFX Radeon HD 577A ZNFR VE.4

When I got the card it had already been flashed and I cannot find the ZNFR VE4 bios but I continued on anyways. Followed all the posts with creating 'myrom.rom' and I tried it with several different VBIOS.

Each time it 'worked' It took around 5 minutes to boot, even after resetting PRAM, and I would get a white screen for a long time and then things really got weird. Moving the mouse cursor had about a 30 second delay. Everything was wrong. The last time I tried it I had my 7300GT connected to my display. It booted slowly but worked. The fan runs at full speed like this. The 5770 showed up correctly with the custom EFI ROM but when I leave it by itself I get the white screen and unusable OS X.

Has anybody else came across an issue similar to this? My original firmware allows me to boot and everything is fine but it shows as an ATI Radeon HD 5000 series so steam does not work. I was hoping to get it to properly be recognized so I could so some steam gaming in OS X.

Thanks,

Z


(http://db.tt/iR5Bgf5Q)


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Ludacrisvp on February 19, 2012, 04:05:28 PM
I used this topic to flash my XFX-5770-1GB (used sapphire rom image i believe) back when 10.6.8 was the latest version of OSX out to the public.
I wanted to let people know that I installed 10.8 Dev Preview 1 and no work was needed to have the card seen by OSX.

In Lion (10.7.x) there are several locations where OSX will reference my 8800GT card and other places will reference the HD5770 card.
The Mountain Lion (10.8) "About This Mac" now shows under the display tab all 4 monitors and the card they are connected to, in Lion it used to only show the HD5770 card under that tab and under the Overview tab it would show the 8800GT as the graphics card. So perhaps we are in for better dual graphics card support in Mountain Lion.
For record My MP3,1 is equipped with the factory CTO Nvidia 8800GT in slot-1, and the XFX Flashed 5770 ZNFC in slot-2.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: mac-bitch on February 19, 2012, 05:31:37 PM
I used this topic to flash my XFX-5770-1GB (used sapphire rom image i believe) back when 10.6.8 was the latest version of OSX out to the public.
I wanted to let people know that I installed 10.8 Dev Preview 1 and no work was needed to have the card seen by OSX.

In Lion (10.7.x) there are several locations where OSX will reference my 8800GT card and other places will reference the HD5770 card.
The Mountain Lion (10.8) "About This Mac" now shows under the display tab all 4 monitors and the card they are connected to, in Lion it used to only show the HD5770 card under that tab and under the Overview tab it would show the 8800GT as the graphics card. So perhaps we are in for better dual graphics card support in Mountain Lion.
For record My MP3,1 is equipped with the factory CTO Nvidia 8800GT in slot-1, and the XFX Flashed 5770 ZNFC in slot-2.

Thx for letting us know. Do you have any possibilities to test DisplayPort (native, passive and active adapters)? That would be very important I think.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: thefrancisf on March 01, 2012, 12:58:59 AM
Just to thank you !

Replaced the expensive ati 4870 with a club3D 6870 coolstream edition for extra leverage in aperture and fcpx. And the benefit is worthwhile.
In Xcode the OpenCL_Oceanwave gets +-300fps! more than double the fps of the 4870. The OpenCl_Raytraced_Quaternion_Julia set wouldn't even start on the 4870, but the 6870 gets 130-600fps.

The card works just plug and play but no boot screen, dvdplayer, ... so ...

I used gpu-z via bootcamp (windows 7) to dump / save the card bios.
Then I used the Netkas RomCreator.app in Lion to merge my bios, with the 687.efi.rom from this thread.
Then I used the terminal commands from the first post (step 4) of this thread.
After that I used Zeus 2.3 (6000series.app) to flash the card (selecting Snow Leopard as the OS).

All works fine and after a reboot, the card is fully recognized.

Thank you again !

Displayports work with two cinema displays on DP and DVI. Couldn't yet test hdmi.

Edit :
Added the EFI injected rom file (club3d6870.mod.rom) and the original BIOS only rom (6800.orig.rom) for http://www.club-3d.com/index.php/products/reader.en/product/radeon-hd-6870.642.html.
Working in 10.7.4 and 10.8 on Mac Pro 3.1.

Edit : re-did with step 4 from the first post.

Edit : donated 10$ to netkas and 10$ to groths through the apps.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: alienallan on March 13, 2012, 03:58:36 AM
2) used gpu-z in bootcamp to dump / save the card bios. used the Netkas RomCreator in Lion to add the bios manually, then add the 687.efi.rom from this thread to create a new rom. used Zeus 2.3 (6000series) to flash the card (selecting Snow Leopard as the OS). all works fine and after a reboot, the card is fully recognized.
Working in 10.7.3 on Mac Pro 3.1.

Awesome that worked for you also.
Ya know, that exact way of flashing, just seems to be working for alot of 6870 people.
Hell, i know of eight cards flashed exaclty like that here in denmark, that still run great and loads of reports here & other sites, of exactly those steps working.
.
Makes me think that; if Netkas, Rominator & Cindori (and who ever else involved) piled those 2 apps together into 1,  it´d be the ultimate 6870 Do it All for osx app.

....i mean...not, that you dont have ...a trillion other awesome things, todo with your time  :P


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Rominator on March 13, 2012, 04:39:58 AM
Denmark, huh?

I used to be the Art Director for the US parts of KiMs Chips TV spots.

Best one was "5%"

Was alot of fun, we were all laughing our butts off when we were in recording studio.

I also enjoyed the one where we had a VW Bus in the desert and he met some hippies selling veggies out in middle of nowhere.

Before Lady GaGa made the house famous, we shot a KiMs spot at the "Poker Face" house in Malibu.

As far as why the apps aren't rolled into one, neither Cindori nor Netkas has bothered, and my computer skills end at putting ROMs together. I took one computer class, when I was 14. I seem to recall compiling FORTRAN or some such nonsense. Nothing stuck. My schooling was all TV Production and yet I figured out some hex editing on my own. This is why I feel that more people could do this stuff, like your sig, if I could figure it out alot more could. They just need to put their brain in "Drive". Netkas would be the first to agree that I am nearly computer illiterate, and yet I have figured out a great many things with my clumsy ways.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: alienallan on March 13, 2012, 05:01:11 AM
ohmyfgod man  " L O L " !

(soz i had to get out of bed for This one!)

dude ...Kims Chips commercials are Cult over here    /bows-to-the-master-icon

SunFlowerPower!  http://www.youtube.com/watch?v=fCm11D7KsgM

edit: soz just couldnt friggin resist, ill find something gpu related to say tommorrow.



Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: asmir6980 on March 13, 2012, 11:33:57 PM
Hi to all forum members.

I am new to this card flashing thing.I own a mac pro 3.1 and i would like to use my XFX 5770 with my mac. I have been trying to flash it for the last month but no luck.
Can any one with much higher knowledge please please change the rom for my card because i am going crazy with this. Whatever i do i fail.
i atache my bios and a pic with it to tell you what card i have.

Thank you thank you very much in advance.

Am geting white hair from this lol.

Thanks again


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: asmir6980 on March 13, 2012, 11:34:32 PM
pic


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Vinc26 on March 29, 2012, 08:58:31 AM
Hi,

I've passed a long time to search in this forum if someone has flashed the Vapor-X 5870 2Go. But I've found nothing.

For now, without flash, this card is working well on Lion 10.7.3. But no Boot Screen, and DVD player is broken. What do I miss more if I stay without flash this card ?

Thanks,

:)


Title: Re:Ati radeon HD 5770 works without Mac ROM?
Post by: WessWest on March 29, 2012, 08:14:59 PM
Hows it going guys this is my first post here at netkas...I upgraded my MP 1,1... 4 core to 8 core intel X5365 and found alot of info here really use full...Either way I just upgraded to a ATI 5770 xfx, I am currently running 10.6.8 no desire to go to Lion any time soon, but I bought a used windows version of this card ($70 with shipping) and It was plug and play for me. Is this normal or should I still flash it/will I run into problems if I dont? It is recognized by osx and all ports work it goes to sleep the only thing thats not working is that it wont show up while booting up which was normal/usual from what I've read here.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Rominator on March 30, 2012, 09:55:12 AM
Thanks for joining up

Please do a search and read aprop threads


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Vinc26 on March 30, 2012, 09:59:04 AM
thanks for your response, but as I've said, I've made a lot of research in this forum about '5870 2Go' ou '5870 vapor'... And I've found nothing about flash. I've only found some things about the eyfinity version of this card. But it's not my version. I have the 5870 Vapor-x 2Go ; with 2xDVI + 1xHDMI + 1xDisplayPort.

:)


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: gazzlefraz on April 01, 2012, 09:23:03 PM
Thought I'd leave a success story post.  I have a 2009 Mac Pro (4,1) with the firmware update to (5,1).  I'm planning on throwing a hex core in here soon which is why I did the firmware upgrade, but I digress.  Running Lion 10.7.3 and Windows 7 in Bootcamp.

I purchased two Sapphire 6850's with the intent of running them in crossfire in Windows 7.  Obviously in OS X, I don't get crossfire but that's fine since I do very little gaming outside windows.  These cards are replacing my GTX 285 which has served me well but is no longer making me happy while gaming with newer titles.  I'd love to go with the GTX 680 or the 7970, but I have yet to see a success story for those cards so I went with the 6850's in crossfire which is the best performance I can get with the two 6-pin power adapters in the Mac Pro.  Didn't want to deal with having an external power supply to fuel something with more connectors than that.

Long story short, I was able to flash both cards successfully.  OS X works great (and gaming performance is at least on par with the GTX 285 if not a little better - Dragon Age 2 was the game I tested - runs very smooth).  DVD player works.  Steam works.  I have a boot screen.  On the windows side, I have crossfire up and running.  Playing SWTOR at between 60 and 100 FPS with the occasional dip here and there on the highest settings possible.  That's pretty much double what my GTX 285 was giving me, so I'm a very happy camper.  I have each GPU slightly over clocked using AMD's software.  No issues so far but more testing needed.  The bottom card is definitely running hot as its doesn't have much breathing room with the second card right on top of it.  Not sure what I can do about that.  We'll see how it goes with extended gaming.  I have no other PCI cards in there and the Mac Pro case seems to have good airflow, so I think I'll be OK. 

The Sapphire cards are practically silent when not gaming but can get a little loud when the fans are at 100%.  My GTX 285 was not quiet though, so it's acceptable to me.

I had a bit of trouble getting all this to work, mainly because I had no experience flashing cards before.  But also because the directions in all these threads are sort of all over the place.  What I can say though is that the information is here buried in these threads and it does work.  So I am very thankful to those that figured all this out.  So here's exactly what I did - each step in order.  Hopefully this is helpful to the next person that does this.  It was definitely trial and error arriving at this exact sequence.

1.  I installed the first card and logged into Windows.  I then installed the latest drivers from AMD.  Windows did not give me any grief, which is sort of surprising because Windows sucks.
2.  I ran GPU-Z and saved a copy of the ROM file. 
3.  I then switched to OS X.  As expected, no boot screen, but the desktop did come up.  Under system profiler, it showed my card as Radeon HD 6xxx. 
4.  I used RomCreater to make my new rom.  I manually selected the ROM file I created using GPU-Z and the EFI file that I found in one of these threads for the 6850 (6850.efi.rom) and created a new ROM file which I named myrom.  This file was saved in the same folder as fixrom.py (which I found in one of these threads).
5.  Logged into Terminal, navigated to the above folder and ran this in the terminal window:  python fixrom.py myrom.rom myrom.rom
6.  Ran Zeus 2.3 (6000series), selected Snow Leopard, myrom.rom and flashed my card.  Zues told me the card had flashed successfully.  I originally tried Zeus 2.8, but like most in these threads, it did not work for me.
7.  Switched to the bottom DVI connector and restarted OS X.  Boot screen came up and everything was working.  System profiler now showed the card as Radeon HD 6850.  Steam works.  DVD player works.  Dragon Age 2 looks awesome.  Sweetness.
8.  Removed the first card and installed the second card.  Repeated the EXACT same procedure above.  Zeus failed to flash the second card for some reason, but I just repeated the steps and it worked the second time (I must have messed something up the first time).   I probably could have skipped the GPU-Z step since both cards were the same make and model, but I wasn't taking any chances.  I literally did the whole process over again for the second card.
9.  Ran the same tests with the second card.  Boot screen, system profiler, etc.  All looking good.
10. Installed the other card in slot two, along with the crossfire bridge.  Logged into OS X - no issues.  Rebooted into Windows and setup crossfire.  Ran some tests and then started messing with over clocking.  So far so good.

I attached the efi rom I used (6850.efi.rom), fixrom.py which I ran after I created my new rom file, and RomCreator which combined the original rom with the efi rom to make myrom.rom.  I couldn't attach GPU-Z or Zeus 2.3 (6000series) as both were too big to attach, but GPU-Z can be downloaded off the internet easily and Zeus 2.3 is attached in this thread already, so search for it and you'll find it. 

Thanks again to everyone that made this happen.  I just donated $10 to the site.  Best $10 I ever spent.  It saved me almost $200 since my only mac approved option was the 5870 that is grossly overpriced and old.  [/rant begin]  I love Apple and all, but this brutal gouging on a graphics card that is two generations old WITH NO OTHER OPTIONS is completely and utterly bogus.  I have no problem paying premium for Mac.  I really don't.  These computers are high quality, and I'll pay good money for quality.  I would not buy a PC if my life depended on it.  But paying $500 for a 2009 gen graphics card in 2012 is more than I can stomach.  In this case I'm not paying a premium for quality, I'm just paying premium.  If apple makes a GTX 680 mac compatible card, I'll be the first to buy their overpriced card, as long as I am getting today's generation card.  That's all I ask for.  I have a calendar.  I know it's not 2009 anymore.  Dear Apple, WTF?  Signed, loyal Mac user who doesn't want to have to flash PC cards and will pay a premium not to have to do it as long as I get semi current tech. [/rant over]


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Rominator on April 01, 2012, 09:39:54 PM
Thanks for the update, glad to see more evidence that when someone applies their brain (ALL of it) to this, they get to the expected outcome.

Very happy it worked out for you and glad you made a donation. Hopefully everyone who flashes a 6870 or 6850 will do the same.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: murreb on April 23, 2012, 08:38:02 PM
I have flashed my card just as gazzlefraz, works perfectly. I've got one question still. Before flash OS X booted fine (with black screen) although dual monitors worked (HDMI+lower DVI).

I just dont seem to get that working after the flash? Is it impossible?

Oh, by the way. My card shows up as a 6870? :s


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: avkdm on May 01, 2012, 09:38:10 PM
Hi,
I used 2 different methods to create new rom - jeanlains method, as well as RomCreator on my Asus 5770 CU Core vid card.
Had initial problem with rom showing 80 at 3rd byte.
Using Netkas rom=128 method and running script
appears to fix script error problem I was having - maybe I stuffed up here somewhere but scripts run OK to mod rom after this tweak.
Anyhow  the problem is I always end up with is only 1 mcuc in modded rom.
Moving mcuc section always results in 1 mcuc after re-running script.
Does this mean Im stuffed and can not get EFI boot and more functionality with this card?
Should I just try another generic rom, say Rominators m57702.rom?
I have one DVI, one VGA(D-sub) and one full size HDMI port on this card.



Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: mac-bitch on May 02, 2012, 08:51:03 AM
Please attach your unmodified (BIOS only) 128k ROM here. I will give it a try.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: avkdm on May 02, 2012, 10:42:25 AM
Thanks.....
Im at wits end trying to fix this
much appreciated



Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: mac-bitch on May 02, 2012, 02:06:54 PM
Thanks.....
Im at wits end trying to fix this
much appreciated



Attached you will find a combined EFI/BIOS. The end of the ASUS Bios looked one-of-a-kind to me (have not seen anything like that), but I simply ignored it. I pasted 1E200 of bytes from the end right before the second MCuC. Now there was enough space for the EFI. So I typed

Code:
blocknum=128
size=$(($blocknum * 512))
dd if=5770_vervet_netkas.efi of=myrom.rom bs=$size seek=1 conv=notrunc

After that I corrected the offset of the second MCuC. I was 1A000, now it is 1BE00 (so I replaced 00A001 with 00BE01) and finally typed

Code:
python fixrom.py myrom.rom myrom.rom

to run the script.

Please give it a try and give feedback :).


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: avkdm on May 02, 2012, 10:20:14 PM
Thanks - why does netkas EFI insert start at 65535 in modded rom - Rominator suggests it should start at 65536 as mine is 128x512 as in 3rd page of this post suggested by Rominators definition? Maybe Rominator can answer this?
I tried to make my own rom as well and got the same result as you!
The mistake I was making was to start with
blocknum=`printf %d "'\`dd if=myrom.rom bs=1 skip=2 count=1 2>/dev/null\`"`
command instead of just
blocknum=128
Thanks I will give it a try
edit: I think its OK - I just looked at Rominators own rom m57702.rom and insert starts at the same position for 7C - 63487 which is 1 earlier than I thought it should be - Thanks!


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: mac-bitch on May 03, 2012, 08:42:18 AM
Thanks - why does netkas EFI insert start at 65535 in modded rom - Rominator suggests it should start at 65536 as mine is 128x512 as in 3rd page of this post suggested by Rominators definition? Maybe Rominator can answer this?
...
edit: I think its OK - I just looked at Rominators own rom m57702.rom and insert starts at the same position for 7C - 63487 which is 1 earlier than I thought it should be - Thanks!

Thats one thing I did not understand yet either. I thought that the third byte defines the length of the BIOS part, too, and not the beginning of "whatever you would like to add after it" (but then again I am not a professional coder, not even a novice :D).


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: avkdm on May 04, 2012, 11:11:00 AM
Thanks - why does netkas EFI insert start at 65535 in modded rom - Rominator suggests it should start at 65536 as mine is 128x512 as in 3rd page of this post suggested by Rominators definition? Maybe Rominator can answer this?
...
edit: I think its OK - I just looked at Rominators own rom m57702.rom and insert starts at the same position for 7C - 63487 which is 1 earlier than I thought it should be - Thanks!

Thats one thing I did not understand yet either. I thought that the third byte defines the length of the BIOS part, too, and not the beginning of "whatever you would like to add after it" (but then again I am not a professional coder, not even a novice :D).

Me either - it's any ones guess - as long as it works is all that matters!
I am away and wont be back till next Tuesday - thats when I will flash the ROM you made for me.
Much appreciated..... :D
BTW - the mac at work I was trying to make the efi rom with still gives me errors, however the one I have at home
makes the EFI rom fine. I am still in the process of tring to figure that one out! Lucky i have 2 macs!


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Rominator on May 04, 2012, 04:49:25 PM
Thanks - why does netkas EFI insert start at 65535 in modded rom - Rominator suggests it should start at 65536 as mine is 128x512 as in 3rd page of this post suggested by Rominators definition? Maybe Rominator can answer this?
...
edit: I think its OK - I just looked at Rominators own rom m57702.rom and insert starts at the same position for 7C - 63487 which is 1 earlier than I thought it should be - Thanks!

Thats one thing I did not understand yet either. I thought that the third byte defines the length of the BIOS part, too, and not the beginning of "whatever you would like to add after it" (but then again I am not a professional coder, not even a novice :D).

think about it


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: mac-bitch on May 04, 2012, 07:10:10 PM
 ??? If you know the answer, why not simply share it?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: avkdm on May 04, 2012, 10:36:56 PM
Thanks - why does netkas EFI insert start at 65535 in modded rom - Rominator suggests it should start at 65536 as mine is 128x512 as in 3rd page of this post suggested by Rominators definition? Maybe Rominator can answer this?
...
edit: I think its OK - I just looked at Rominators own rom m57702.rom and insert starts at the same position for 7C - 63487 which is 1 earlier than I thought it should be - Thanks!

Thats one thing I did not understand yet either. I thought that the third byte defines the length of the BIOS part, too, and not the beginning of "whatever you would like to add after it" (but then again I am not a professional coder, not even a novice :D).

think about it



mac-bitch and Rominator - Does the decimal number located at 65535 (in my case 61) indicate the end of the PC BIOS ROM?
If you look at Netkas vervet efi it starts with the decimal number 55 at the beginning of rom, in ASUSEFI.ROM mac-bitch created Netkas efi is in the correct position 65536 (128x512) as indicated at third byte (80) in ROM
Just a wild guess (but educated - hopefully)


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: avkdm on May 05, 2012, 09:25:51 PM
Well I tried a modded 5770 ASUS rom,
All I get is a garbled screen on boot with
DVI out
D-Sub out
DVi-Dsub adapter
Had to reflash the card back to original.
Card with original rom shows up as ATI Radeon HD 5000 series
Device ID 0x686b
Error message in PCI Cards
DVD Player crashes, and some steam games crashes.
Is there a fix besides a flash for this.
Below link to the card...
http://www.asus.com/Graphics_Cards/AMD_Series/EAH5770_CUCore2DI1GD5/
mac-bitch  - I built my own ROM so I could not blame anyone for a failure. Thanks a heap.
Not sure why it does not work - maybe my Mac Pro 3,1 does not like the card -bummer




Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: mac-bitch on May 06, 2012, 12:44:51 PM
Well I tried a modded 5770 ASUS rom,
All I get is a garbled screen on boot with
DVI out
D-Sub out
DVi-Dsub adapter
Had to reflash the card back to original.
Card with original rom shows up as ATI Radeon HD 5000 series
Device ID 0x686b
Error message in PCI Cards
DVD Player crashes, and some steam games crashes.
Is there a fix besides a flash for this.
Below link to the card...
http://www.asus.com/Graphics_Cards/AMD_Series/EAH5770_CUCore2DI1GD5/
mac-bitch  - I built my own ROM so I could not blame anyone for a failure. Thanks a heap.
Not sure why it does not work - maybe my Mac Pro 3,1 does not like the card -bummer
Please find attached modded rom for AsusCU Core 5770. It was created using the original rom.



So you tried the ROM I made for you and it did not work?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: avkdm on May 06, 2012, 09:16:47 PM


So you tried the ROM I made for you and it did not work?


Success!
I tried to flash with ASUSEFI.rom on a PC this time with success.
Last time I used a mac with a dos boot partition with 2 different roms and got the same result....
I must have stuffed up somehow with my selection.
I looked at both roms (mine and one from  mac-bitch- thanks!) and they had one difference just before the EFIrom.
I will be ditching mine for sure.
This morning my freedos cd would not boot properly on the mac which made me suspect a problem, so I resorted to my PC.
Anyhow thanks to mac-bitch for the rom.
DVI works - just no boot screen
DVI-VGA adapter works with boot screen - yippee!!!
Even D-Sub (VGA) works with boot screen, but OSX has problems getting screen to fit properly with native resolution.
Have not tested HDMI port.
I am amazed as this is definitely not a stock 5770 with the 3 port setup on it.
Steam games and DVD player now work.
Reports correctly in Graphics/Display system report.
Under PCI Card now reports as ATY,Vervet but only 2.5GT/s Link Speed.
Thanks to all for their help, its much appreciated.
Please find working rom attached

edit:
HDMI with DVI adapter not displaying - (I do not have and HDMI input on my monitor).
I also have 2 screens showing in Display Preferences when only one is attached with either DVI or DVI-VGA Adapter.
So Dell monitor and VGA Display in Display Preferences shows up.
Switching resolution on one monitor changes both!
D-Sub only connection gives me only one monitor showing up in Display Preferences - but the OSX does not fill the screen
and also does not look clear. It does not "see" my Dell monitor only the VGA Display.



Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: mac-bitch on May 08, 2012, 09:35:51 AM


So you tried the ROM I made for you and it did not work?


Success!
I tried to flash with ASUSEFI.rom on a PC this time with success.
Last time I used a mac with a dos boot partition with 2 different roms and got the same result....
I must have stuffed up somehow with my selection.
I looked at both roms (mine and one from  mac-bitch- thanks!) and they had one difference just before the EFIrom.
I will be ditching mine for sure.
This morning my freedos cd would not boot properly on the mac which made me suspect a problem, so I resorted to my PC.
Anyhow thanks to mac-bitch for the rom.
DVI works - just no boot screen
DVI-VGA adapter works with boot screen - yippee!!!
Even D-Sub (VGA) works with boot screen, but OSX has problems getting screen to fit properly with native resolution.
Have not tested HDMI port.
I am amazed as this is definitely not a stock 5770 with the 3 port setup on it.
Steam games and DVD player now work.
Reports correctly in Graphics/Display system report.
Under PCI Card now reports as ATY,Vervet but only 2.5GT/s Link Speed.
Thanks to all for their help, its much appreciated.
Please find working rom attached

Hey, glad it finally worked and you found the error. Indeed I was surprised that the rom I made did not work at first. Thank you for your message, I appreciated that :).
A forum needs active communication ;).


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: andychan on May 09, 2012, 09:45:55 AM
Hi everyone,

firstly, I'd like to say a big thank you to netkas, jeanlain & Rominator for all your hard work !!!

I made my own ROM & flashed my Sapphire 5770 Vapor-X OC Editon with resounding success !!!


here's my initial post http://forum.netkas.org/index.php/topic,371.msg11362.html#msg11362 (http://forum.netkas.org/index.php/topic,371.msg11362.html#msg11362)

here are the 2 displays that are currently connected:
i. bottom DVI - Viewsonic 21" monitor (using a DVI->VGA adaptor; this is the DVI port next to the HDMI port)
ii. top DVI - Dell 19" LCD connected via DVI (this is the DVI port next to the cooling vents)

the following is working:
1. after the "chime", EFI boot screen is shown on the Viewsonic monitor; no display on the Dell LCD
2. once OSX 10.6.8 loads, the Dell LCD becomes the "primary display" and the Viewsonic becomes the "secondary display" - I can drag windows from primary to secondary display and vice versa

* unable to test the HDMI and the display port connection at the moment as I do not have any display port equipment nor do I have a HDMI cable

during the ROM-making process, I initially tried the "Hoolock" EFI part, but it turned out that the 2 displays were mirrored,
so I tried again with the "Vervet" EFI part http://forum.netkas.org/index.php/topic,374.msg2672.html#msg2672 (http://forum.netkas.org/index.php/topic,374.msg2672.html#msg2672)

and now my Sapphire 5770 Vapor-X OC Edition 1GB card is working perfectly !

pls find attached my original & EFI ROMs:


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: andychan on May 09, 2012, 09:50:12 AM
here's more info on my Mac Pro:

Hardware Overview:

  Model Name:   Mac Pro
  Model Identifier:   MacPro1,1
  Processor Name:   Dual-Core Intel Xeon
  Processor Speed:   2.66 GHz
  Number Of Processors:   2
  Total Number Of Cores:   4
  L2 Cache (per processor):   4 MB
  Memory:   16 GB
  Bus Speed:   1.33 GHz
  Boot ROM Version:   MP11.005C.B04
  SMC Version (system):   1.7f10


and my Sapphire 5770 Vapor-X OC Edition 1GB card (the former nVidia 7300GT has been removed, and I'm now running solely on my Sapphire 5770):

ATI Radeon HD 5770:

  Chipset Model:   ATI Radeon HD 5770
  Type:   GPU
  Bus:   PCIe
  Slot:   Slot-1
  PCIe Lane Width:   x16
  VRAM (Total):   1024 MB
  Vendor:   ATI (0x1002)
  Device ID:   0x68b8
  Revision ID:   0x0000
  ROM Revision:   113-C0160C-155
  EFI Driver Version:   01.00.436
  Displays:
DELL SE198WFP:
  Resolution:   1440 x 900 @ 60 Hz
  Pixel Depth:   32-Bit Color (ARGB8888)
  Display Serial Number:   UN4847B20D6L
  Main Display:   Yes
  Mirror:   Off
  Online:   Yes
  Rotation:   Supported
VGA Display:
  Resolution:   1400 x 1050 @ 60 Hz
  Pixel Depth:   32-Bit Color (ARGB8888)
  Mirror:   Off
  Online:   Yes
  Rotation:   Supported
Display Connector:
  Status:   No Display Connected


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: salzi on May 11, 2012, 10:07:22 AM
Hey Vollstein, maybe I noticed our mistake.

The line must be

blocknum=128
size=$(($blocknum * 512))
dd if=6870.efi.rom of=myrom.rom bs=$size seek=1 conv=notrunc
python fixrom.py myrom.rom myrom.rom

I made a file which I could successfully flash without force (atiflash -p 0 myrom.rom) to the card.

I attached the rom.

Hey mac-bitch,

I just successfully flashed my brand-new XFS 6870 with the above commands.

Thanks a lot, also to Vollstein!  ;D


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: fanou92 on May 12, 2012, 11:02:30 AM
Thanks.....
Im at wits end trying to fix this
much appreciated



Attached you will find a combined EFI/BIOS. The end of the ASUS Bios looked one-of-a-kind to me (have not seen anything like that), but I simply ignored it. I pasted 1E200 of bytes from the end right before the second MCuC. Now there was enough space for the EFI. So I typed

Code:
blocknum=128
size=$(($blocknum * 512))
dd if=5770_vervet_netkas.efi of=myrom.rom bs=$size seek=1 conv=notrunc

After that I corrected the offset of the second MCuC. I was 1A000, now it is 1BE00 (so I replaced 00A001 with 00BE01) and finally typed

Code:
python fixrom.py myrom.rom myrom.rom

to run the script.

Please give it a try and give feedback :).

Hello,
my friend gave me his ASUS radeon 5770.
I tried to make my bios, but its size was 166 kb.
So I tried to flash your ASUSEFI.ROM...
The flash was fine, but after the reboot the mac keeps beeping on startup  :'(
I put back the gt120 and it's ok.
So for me the card is dead and I've lost a friend...

The original rom is in the post, if you have any idea.

Thanks for your help !

 
 


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: alienallan on May 12, 2012, 11:08:41 AM
im not much help on 5770s , but did u save the original rom ? Flash that back...atleast you wont loose the friend part  ;)


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: fanou92 on May 12, 2012, 11:13:32 AM
Yes I saved the original bios, it's in the post !
I can't boot with the 5770, so I was unable to re-flash the card.
Maybe I can boot with the gt120 and the 5770, I'll try later...


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: alienallan on May 12, 2012, 11:20:20 AM
ive used a 120 to turn on screen share, then pulled it out, put the card to flash in and done it through screen share.

you know, thinking about it,  ive never tried flashing a card, with another card (120 in this case) in the machine. I have no clue how that would work out, but my brain tells me to remove all the other cards and use only the one needed tobe flashed.  Maybe someone else has tried this.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: mac-bitch on May 12, 2012, 01:41:14 PM
Thanks.....
Im at wits end trying to fix this
much appreciated



Attached you will find a combined EFI/BIOS. The end of the ASUS Bios looked one-of-a-kind to me (have not seen anything like that), but I simply ignored it. I pasted 1E200 of bytes from the end right before the second MCuC. Now there was enough space for the EFI. So I typed

Code:
blocknum=128
size=$(($blocknum * 512))
dd if=5770_vervet_netkas.efi of=myrom.rom bs=$size seek=1 conv=notrunc

After that I corrected the offset of the second MCuC. I was 1A000, now it is 1BE00 (so I replaced 00A001 with 00BE01) and finally typed

Code:
python fixrom.py myrom.rom myrom.rom

to run the script.

Please give it a try and give feedback :).

Hello,
my friend gave me his ASUS radeon 5770.
I tried to make my bios, but its size was 166 kb.
So I tried to flash your ASUSEFI.ROM...
The flash was fine, but after the reboot the mac keeps beeping on startup  :'(
I put back the gt120 and it's ok.
So for me the card is dead and I've lost a friend...

The original rom is in the post, if you have any idea.

Thanks for your help !

 
 

The first lesson I learned: ALWAYS combine the EFI with the ORIGINAL BIOS. If you fail to produce a working ROM, try again. Re-read the instructions, fail again, start from beginning. Never give up, try to seek help but NEVER flash a "default" ROM (even if it works in some very rare cases) to your card.

I will attach a rom for you in a sec.

BTW: I always keep a second gfx card handy in my PC (I only flash with the help of a DOS bootable Stick and atiflash; for me it is the most reliable method).

EDIT: Here you go. Everything I had to do you will find in the start post. Do yourself a favor and try to reproduce what I did with the ROM.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: fanou92 on May 12, 2012, 06:23:09 PM
thanks a lot !  :-*
Be sure that I'll try again and again, I never give up.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: avkdm on May 13, 2012, 12:25:09 PM
ive used a 120 to turn on screen share, then pulled it out, put the card to flash in and done it through screen share.

you know, thinking about it,  ive never tried flashing a card, with another card (120 in this case) in the machine. I have no clue how that would work out, but my brain tells me to remove all the other cards and use only the one needed tobe flashed.  Maybe someone else has tried this.
I took the brave- some would say foolish - step myself. I had to do this coz I borked my initial flash
and the card was no longer working properly.

atiflash-i

is the command that lists the ATI cards in your setup.
In my case 2 different radeons 2600xt and 5770.
It listed card 1 as my 5770(juniper) so

atiflash -p 1 myrom.rom

did the trick for me.
hth


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: tactoad on May 24, 2012, 10:49:00 PM
Hey guys!

Just wanted to chip in on my results. I successfully flashed a Sapphire 6870 Dual-fan OC version http://www.sapphiretech.com/presentation/product/?cid=1&gid=3&sgid=1037&pid=1312&psn=&lid=1&leg=0 (http://www.sapphiretech.com/presentation/product/?cid=1&gid=3&sgid=1037&pid=1312&psn=&lid=1&leg=0)

MP 4.1 (FW upgraded to 5.1)
OSX 10.7.3
Working ports: 2xMDP,1xDL DVI
Not working:Upper SL DVI
Not tested: HDMI
ROM extracted with GPU-Z Win7 x64 bootcamp.
Flashed with Zeus 2.3

Works like a charm! Boot screens on MDP and lower DVI Dual-link. I initially ran my iMac 27" in target display mode through MDP without problems, then bought a 27" monitor using dual-link DVI and it took a PRAM reset for the boot screen to activate on the DVI port.

Properties in Luxmark showed that I didn't lose the factory OC (920MHz) by flashing the card. The card has 1GB RAM but Luxmark only displays 512MB. Maybe this is normal? Card shows up in system profile as AMD Radeon HD 6870
Dual fans are whisper quiet and no problem with PCIE fans spinning up.

I highly recommend this card for flashing. Thanks to all the guys involved making this possible!

Edit: Attached original and modified rom. Also Unigine benchmark results.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: alienallan on May 25, 2012, 10:12:05 AM
HA!  Wooot someone reporting more good news!  GRATZ with your new card.

I just bought that exact card, for a friend and Man! ... i gotta give your comment on it being a great 6870, a +1 from my behalf.

Truly is a great and silent card.  i think ill have to stop advising the xfx dual fan now ;)


p.s.  since your here, throw a bench of it in the unigine thread.  would be nice to see how it stands (specially since ure in a 4.1/5.1 ect ect..) THNX!


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: olmissen on May 25, 2012, 11:46:25 PM
Hello everybody

Just want to thank everybody who made it possible for me to flash a Gigabyte 6870-OC 1gb rev 1.2

Works perfectly with boot screen on lower DVI.

Weird thing happened right after flash. My sound was gone completely. 10.7.4 couldnt even see the onboard soundcard. Took a PRAM reset to fix that. Now everything is smoth.

I compared my own ROM with another 6870-OC 1GB rom i found here somewhere. They where not identical. Small variations, so i think people should be very carefull with using other peoples ROM's - even for same cards. I dont know what rev. the other rom was for though. Maybe its just revision diff...

Anyways
Big thanks to everybody who made this possible!

EDIT:
Attached my original rom and the efi-enhanced one. Unfortunately i'm a bit of a dork, so im only 98% sure its the correct original rom. The other is the correct one with EFI that im using now.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: mac-bitch on May 26, 2012, 09:03:58 AM
Hello everybody

Just want to thank everybody who made it possible for me to flash a Gigabyte 6870-OC 1gb rev 1.2

Works perfectly with boot screen on lower DVI.

Weird thing happened right after flash. My sound was gone completely. 10.7.4 couldnt even see the onboard soundcard. Took a PRAM reset to fix that. Now everything is smoth.

I compared my own ROM with another 6870-OC 1GB rom i found here somewhere. They where not identical. Small variations, so i think people should be very carefull with using other peoples ROM's - even for same cards. I dont know what rev. the other rom was for though. Maybe its just revision diff...

Anyways
Big thanks to everybody who made this possible!



Even if we try to teach people to ALWAYS use the original ROM on their cards: Please post your original and your modified ROM here (you can edit your post and add several attachments).

Regarding the sound problem: Some people reported this to me, too. But as you already mentioned, one or several PRAM resets do the job :).


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: xenova on May 30, 2012, 02:03:13 PM
I noticed something interesting with this that throws up the same error as if you did not name your files correctly while working on my own project over here: http://forum.netkas.org/index.php/topic,2320.0.html

Using a PC ROM with connection ID table with 4 entries, yeilds the "dd: bs must be between 1 and 9223372036854775807" error in Term.

I tried many different PC 5770 ROMs with a connection table of 4 entries and non of them will work with this method. However, give it a PC rom with the standard 6, and it's happy as can be.

So because I am open to experimentation, I have a question. Using my original Apple HD5770 ROM, can I extract my original Apple EFI (I am currently using a Netkas variant) and dump it into the PC ROM manually? If so, can someone throw me a run down of the procedure so I can try and do it myself?

Thanks guys!


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: trizmac on May 31, 2012, 10:53:33 PM
Can someone shoot Zeus 2.3 my way? 2.8 is flaking out.
Thanks


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: alienallan on May 31, 2012, 11:19:28 PM
Can someone shoot Zeus 2.3 my way? 2.8 is flaking out.
Thanks

sure, pm me your email.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: I3jorn on June 03, 2012, 07:47:56 PM
Sapphire HD6870 1Gb dirt 3 special edition ( overclocked edition)
Succesfully flashed!!!

I was having this error:
 dd: bs must be between 1 and 9223372036854775807

So I used thoses command instead of the original ones
Hey Vollstein, maybe I noticed our mistake.

The line must be

blocknum=128
size=$(($blocknum * 512))
dd if=6870.efi.rom of=myrom.rom bs=$size seek=1 conv=notrunc
python fixrom.py myrom.rom myrom.rom



And it worked!

Thank you SO MUCH!




Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: mac-bitch on June 03, 2012, 08:08:44 PM
Sapphire HD6870 1Gb dirt 3 special edition ( overclocked edition)
Succesfully flashed!!!

I was having this error:
 dd: bs must be between 1 and 9223372036854775807

So I used thoses command instead of the original ones
Hey Vollstein, maybe I noticed our mistake.

The line must be

blocknum=128
size=$(($blocknum * 512))
dd if=6870.efi.rom of=myrom.rom bs=$size seek=1 conv=notrunc
python fixrom.py myrom.rom myrom.rom



And it worked!

Thank you SO MUCH!




I hope you looked at the 3rd byte of your ROM, because if you enter the "blocknum" manually it has to be the correct decimal conversion of it.

If not then apparently you were lucky and the third byte was "80" (hex; in decimal numbers 128). Nevertheless do other users a favor and post your EFI/ROM please.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: rjvanderpoel on June 14, 2012, 05:21:46 PM
I used this method to flash my Sapphire Radeon HD 5770 Vapor-X card, using a Mac Pro 3,1. However I used the windows flash method, as the CD gave errors. I have my Apple Cinema Display connected via DVI and my TV using a DVI-VGA converter. Is it normal that there only is a boot screen on the TV (VGA)? For the Apple bootmanager I now have to walk to my TV, is there a way to have the bootmenu on the main display?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: tactoad on June 14, 2012, 06:56:51 PM
Updated my original post with the roms and unigine results. Anyone else run this benchmark? It would be interesting to compare results between different setups.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: RunesOfMagic on June 17, 2012, 12:05:31 PM
Hi,

anyone with MacPro 1,1 & 6870 card here? Did you see the card within SystemInformation, under PCI-Cards?
Full discription here: http://forum.netkas.org/index.php/topic,867.msg12909.html#msg12909.

Thank you, Runes


Title: PCIE Fan spins up
Post by: Giskard on June 22, 2012, 03:00:16 AM
Success!  I used the info in this thread and tools at this website, and now have a fully functional Radeon 6870 - will donate to site.  

Except, I have one problem that I can't seem to find any mention of on these forums:  the PCIE fan spins up to high speed with the 6870.  I also discovered that loading the OpenGL.framework (by running OpenMark) fixes the problem.  Here's a summary of PCIE fan speeds:

Boot with flashed 6870:
fan speed:  1800 rpm

Launch and quit OpenMark
fan speed:  800 rpm

Restart
fan speed:  800 rpm

Shut down, then boot
fan speed:  1800 rpm

If it is indeed a software issue, as the openGL framework solution seems to suggest, I don't understand why the fix holds for a restart, but not a shut down and boot sequence.  Anyone experience this issue or have any ideas as to what's happening?

System:  2009 Mac Pro upgraded to macpro5,1 firmware and a Xeon W3680 CPU, running Lion.  XFX Radeon HD 6870 HD-687A-ZNFC flashed using hybrid ROM created from EFI ROM and original XFX 6870 ROM using RomCreator, then flashed using Zeus 2.3.


Update:  WTF?  I reinstalled Lion on both the SSD and a spinner HD.  Booted on the SSD, PCIE fan stuck at 1800.  Booted on the spinner, and the PCIE fan spun up to over 2000, then dropped to 800.  Both are identical fresh installs of Lion. 

Is Apple just effing with me because I didn't buy an Apple OEM SSD? 


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: andystubbs on June 22, 2012, 07:08:48 AM
What happens if you delete (rename or backup first) the AppleGraphicsPowerManagement.kext?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Giskard on June 23, 2012, 06:00:23 PM
Andy, I deleted AppleGraphicsPowerManagement.kext, and upon startup, the PCIE fan spinned up to 2100 rpm and then fell to 800 rpm.  I tested this a few times and it was the same behavior every time.  

A few other observations:

I was wrong about the HDD vs. SSD, the difference is actually due to heat generation.  My SSD is up in the optical bay, so the PCIE fan doesn't spin up enough to hit the 2100 rpm threshold.  Starting up using my HDD RAID 0 volume, on a cold boot, the PCIE fan doesn't spin up enough either, usually 2082 rpms, lol.  If the system is warm, booting on the RAID volume kicks the fan over 2100 rpm, and all is well.  The graph below shows fan speeds after a bootup that didn't pass the 2100 rpm threshold.  I briefly ran OpenMark to spike the fan speed, then closed it, and the fan speeds dropped to a normal baseline:

(http://farm9.staticflickr.com/8155/7426522426_b522d99d43.jpg) (http://www.flickr.com/photos/rgiskard/7426522426/)

The PSU fan also revs up in synch with the PCIE fan, and returns to normal once the PCIE fan hits 2100 rpm, as seen in the above graph from Hardware Monitor.

I flashed another Radeon 6870, an XFX HD-687A-ZHFC, and it's the same issue as with the XFX HD-687A-ZNFC.  

Perhaps this is an issue with all 6870s, and problem is only noticed on Mac Pros that for whatever reason do not generate enough heat in the PCIE zone to rev the fan over 2100 rpm?  According to this thread http://forums.macrumors.com/showthread.php?t=1306409 (http://forums.macrumors.com/showthread.php?t=1306409) at macrumors, even officially supported Apple cards like the 5770 have this problem.

As for the AppleGraphicsPowerManagement.kext, I suppose it could be edited?  What are the consequences of leaving it uninstalled?  As far as I could tell, when I stressed the video card with OpenGL benchmarks, the fans ramped up and slowed down fine without the kext, but it must be there for some reason, no?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Giskard on June 26, 2012, 03:20:24 AM
I found the "brand success" thread and based on the reports there, it seems that this is an issue with all macpro4,1 models.  The 58xx cards work, but the 5770, Quadro, and other Nvidia/AMD cards all cause the PCIE fan issue.  It's not the firmware, since I've updated mine to macpro5,1.

So I guess I'm SOL on this.  I upgraded to a 6870 with the idea of selling this Mac Pro, but now I don't know.  This is a ridiculous bug for a $3000 computer.  



Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Kant on June 26, 2012, 07:28:41 AM
Hello,

I've flashed successfully my HD 5770 Sapphire Vapor X with the instructions of the first post.

The problem is that my Mac Pro 1.1 won't boot (I hear the boot sound in a loop and that never stops) when my display (Cinema Display 23') is connected to the HD 5770.

When display connected to my 7300GT, everything is loading fine, I can get under Lion 10.7.4, the HD 5770 is recognized as a HD 5770 BUT if I connect my display to the HD 5770, I have a blue screen and the Mac Pro freezes.

What's the problem? Do I need to patch some kext? Do I need to reflash my card?

Thank you


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Giskard on June 27, 2012, 07:16:25 PM
Kant, I'm just a noob but are you certain the EFI you used was for a 32 bit system? 

This thread seems to be mostly dead.  Maybe we need to ask questions in new threads?  Or maybe I'm such a noob that my questions are boring, lol.



Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: neozeed on July 21, 2012, 01:11:36 PM
Phew I flashed a Radeon 6870  (SAPPHIRE Radeon HD 6870 1GB 256-bit GDDR5 PCI Express 2.1 x16 HDCP) on my Mac 1,1 flashed up to thinking its a 2,1 ..

So yeah the 6870 EFI only works in 64bit mode, sooo I figured I could setup the 64boot loader and boot into OS X and.. work? Well 10.6.3 booted up and works in a linear framebuffer, but updating to 10.6.8 seems to be working well.

I haven't updated the OS any further yet..

Anyways here is my original rom and patched rom.. thanks again!

-- and I just noticed that steam + dvd player don't work ... oh well so close!


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Giskard on July 25, 2012, 04:38:29 PM
Success.

Gigabyte Radeon 6870 OC edition with the three fans.  This card freakin' rocks, it's dead quiet, no PCIe fan issues, and after flashing it still supports analog VGA output.  Unlike some other 6870s, when driving multiple displays, I still get the EFI boot screen on the display connected to the DVI output.

At full load the three fans barely spin up at all. 


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: lowrider on July 25, 2012, 06:31:50 PM
^^^^A number of us have this card flashed with the EFI.  It's not the fastest kid on the block, but it's plenty fast enough.  ML has new drivers and for me, the performance increase was dramatic when switching from Lion to ML.  I've been using this thing for months now with absolutely no issues.  Boot screen only on the DVI port, but other than that works GREAT

Lou


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: ocao on July 28, 2012, 02:35:17 AM
does Macpro 1.1 compatible with SAPPHIRE RADEON HD 6850 on Lion 10.7.4 please ?


Title: Re: Additional details for people with MCUC trouble
Post by: rotten_apple on August 03, 2012, 01:46:47 AM
I know that my value is basically as a card tester but I would like to try to clarify some things. ;)

The MCUC table is needed to initialize the GDDR5 RAM used on 4870/5770/5870 cards. In the PC BIOS that starts the ROM is an address to "look up" the GDDR5 table. To use a "BASIC" analogy, this is a "GOTO" statement with an actual address to load those GDDR5 inits. The table itself starts with "MCUC" so that is your 2 instances, the first in the PC BIOS saying "Hey, to init the GDDR5 RAM, check out the specs at address 'WXYZ' ". The second instance is at address "WXYZ".

Between the PC BIOS and the MCUC table is a bunch of empty space filled with "FFFF"s. It is into this space that we place the Netkasized EFI. In the case of the 5870 I believe this EFI is 43008 long. You can not just wedge it in between where the "FFFF"s start and the beginning of the MCUC however. The PC BIOS has a length specified in blocks of 512 bytes. To find this number look at the very beginning of ROM. It will have a opening that starts with "55AA" the very next 2 characters are the length of the PC ROM. For argument's sake lets say this is "7A".

Download a nifty program called "Magic Number Machine" and hit the "Radix" button. Now you can easily convert from various bases to decimal. Choose "Hexadecimal" and enter "7A" now hit "Decimal" and you will see "122". Next hit the "X" to multiply 122 X 512 and you will get "62464". This tells you that the PC BIOS actually ends RIGHT before this number if you look at addresses in decimal. This also means that the EFI ROM needs to START at 62464. So if you want to see if it fits in there, just select everything from 62464 until beginning of MCUC. If you are in "decimal" view, you will see what is selected. If it is Equal to or more than 43008 (or whatever length the EFI you are working with is) you are good to insert it. If in fact it is LESS than 43008, you have more work to do. While using Hex addresses, note the address of the beginning of the 2nd MCUC.

I would suggest methodically selecting 512 bytes of "FFFF" from BELOW the MCUC at end of ROM and cutting it from there and inserting AHEAD of MCUC. If you are 512 bytes or less short of fitting to begin with, then 512 will do. If you are more than 512 short, than it will obviously take more. It is possible to take less than than 512 at a time, but I like to use that when possible since ROMs work in chunks of that size. When there is enough space, insert the EFI then make sure that the length has always stayed at 131072.  If this ever varies, you have screwed up. It absolutely MUST start at 62464 (or whatever is specified after "55AA" in your ROM)

Once you have made space and inserted the EFI you will need to fix the MCUC lookup address. To do this you will need to use the HEX addresses by unchecking "USE Decimal Addresses" under Options. You find the spot before first MCUC where the Hex address is listed and change it to reflect the new location. Now run the "fixrom.py" script. It is CRUCIAL that it lists 2 at "OpROMs" and notes some "RAW DATA" afterwards. If it sees just one OpROM, I can guarantee that your new ROM won't work. It must also see the "RAW DATA" of the MCUC table. If all 3 of these elements show up in terminal output, you are in a good spot.

The scripts that Jeanlain has in opening post automate the instructions I have listed here, so my explanation is really for people whose ROM using his instructions isn't coming out right. It is very difficult to try to verbalize these things so if you have tried this several times and THOUGHT about it and still this isn't making sense speak up. I will help out as long as I don't feel the questions are from "I don't want to think, please spoon feed me" types.

Awesome explanation! I was able to make a rom for my Dell/OEM 5770. Great hex-editing!!! But what baffles me is how did you figure all of this out aside from comparing it to an OEM apple rom? :o


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Rominator on August 03, 2012, 09:16:01 AM
a few years of staring at hex


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: alienallan on August 03, 2012, 12:25:25 PM
a few years of staring at hex

and you forgot the eight more years of beggers harrassing you to share it all.

edit :  to include self in "beggers" ;)   


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: LolrusPL on August 21, 2012, 12:34:28 PM
I hate to make a post for selfish reasons, but I'm really needing a bit of help with this.

I've just flashed my Gigabyte 6850 1Gb (Inside my Mac Pro 2008) using the directions in this thread (Although dumping my rom using ATIWinFlash instead), as well as the tools provided by Netkas, however one issue remains. I am only able to get video output on the bottom row DVI connector (Either VGA with an adapter or straight DVI). Any other connections intermittently work without anything plugged into the bottom DVI connector. However, if I restart with both monitors plugged in, the boot screen appears on the top-row DVI connector, before display disappearing when OSX has finished loading. OSX shows my card as a 6870, and with only one display.

I have tried the following:
- Manual rom from original dump flashed with ATIWinFlash
- Manual rom from original dump flashed with Zeus 2.3
- RomCreator flashed with Zeus 2.3

All of these flashes have given me the issue

I've attached both my original and modified roms. Any help would be very much appreciated!

(Methinks a donation is in order for saving me the Apple Tax...)


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: mark allread on August 24, 2012, 09:05:07 PM
My first post here after quite a bit of lurking and learning...

Successful flash....oh wait, maybe not

Card is Saphire 5770 with one DVI, one VGA and one HDMI. Card worked on both SL and Lion before flash, but with no boot screen (but did give two displays on each OS)

Mac is MacPro 1.1

I wanted the boot screen..

So thanks to the great and helpful instruction on this thread I had what I thought was a successful flash on my Sapphire 5770 using a my original ROM modded as per first post in thread..

Booting Lion, both displays work fine, including the boot screen.

Booting Snow Leopard 10.6.8 I had a nice boot screen on the VGA port then the display swapped over to the DVI monitor and the VGA went blank.

No amount of of playing with extensions gave me two monitors on Snow Leopard. It always booted on the VGA, then swapped over to DVI.

I've tried multiple versions of the ATI kexts and ATY_init including the graphics patch found here:http://macprovideocards.com/new-version-of-10-6-8-patch/

I've even created a 10.6.6 boot drive (as apparently this was the last SL that could handle the 5770 without changes) no difference.

I''ve spent two days on it now and about to pull it unless I can get two displays on SL (I don't run Lion).

Any tips from anyone please? My rom is attached.

Thanks for any and all help.

System info only shows one display connected

ATI Radeon HD 5770:

  Chipset Model:   ATI Radeon HD 5770
  Type:   GPU
  Bus:   PCIe
  Slot:   Slot-1
  PCIe Lane Width:   x16
  VRAM (Total):   1024 MB
  Vendor:   ATI (0x1002)
  Device ID:   0x68b8
  Revision ID:   0x0000
  ROM Revision:   113-C0160C-155
  EFI Driver Version:   01.00.436
  Displays:
SyncMaster:
  Resolution:   1680 x 1050 @ 60 Hz
  Pixel Depth:   32-Bit Color (ARGB8888)
  Display Serial Number:   HVCP600472 
  Main Display:   Yes
  Mirror:   Off
  Online:   Yes
  Rotation:   Supported
Display Connector:
  Status:   No Display Connected
Display Connector:
  Status:   No Display Connected


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: pieca on September 14, 2012, 11:31:54 AM
Hi,

I've grabbed an XFX 5770 from ebay.
Works as soon I've put it in my macro 3.1 os X.7.4, but crashes with DVD player and listed as ATI HD 5000

Flashed with the instructions on page 1 and 5770_vervet_netkas.efi…
 SUCCESS!!!!  :D

Reported as ATI 5770 by the system
DVD player works as expected
Dual screen via DVI is ok (doesn't know for the HDMI or the other port)
No boot screed via DVI, but who care?

Thanks!!!!

Edit :
Received an active display port to DVI adapter
Works great with 3 screens :
2 DVI and 1 HDMI with X.7.5
Still no boot screen, but I'm really happy!!!  ;D


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Robandstuff on September 25, 2012, 02:32:30 PM
I've been losing my sound output devices regularly after doing this. A PRAM fixes it, but it re-occurs with regularity and is a bit annoying. I haven't been able to narrow it down to a particular thing that triggers it. At first I thought it might be sleeping, but now I'm wondering if it's booting into Windows and back to OSX? Any ideas?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: andreaziccardi on September 28, 2012, 09:38:26 AM
when it says "Flash your card with the new ROM" I should use the "atiflash -p" command?
thank u


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: andreaziccardi on September 30, 2012, 01:45:57 PM
Someone's still alive?  :P


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: andreaziccardi on September 30, 2012, 02:16:21 PM
I understood by myself that it's pretty easy. Sorry for the low level questions and thank you for the guide, I will report in case of problems.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Rominator on September 30, 2012, 09:28:45 PM
"atiflash -p x -f"

where x is the number of the slot that ATI card is in.

This will be zero (0) if it is only ATI card in machine

If there is more than 1, use "atiflash -i" to figure out what "x" is


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: andreaziccardi on October 01, 2012, 12:07:15 AM
"atiflash -p x -f"

where x is the number of the slot that ATI card is in.

This will be zero (0) if it is only ATI card in machine

If there is more than 1, use "atiflash -i" to figure out what "x" is
Yes, I was just scared to make a mistake and make my card unuseful... Thank you so much for the help, it's very appreciated..


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: robinhind on October 11, 2012, 12:15:41 PM
I have been struggling to use FCPX on my early 2009 mac pro with 20GB ram and a highpoint mini sas external raid with an NVIDIA gt120 (which is on the list of supported hardware) after reading tonnes of posts online it became apparent that i needed an ATI card so i decided to avoid the price of a Mac supported card and flash a regular ATI card.

I ordered an ATI Radeon XFX 5870 black Edition and did some more research which suggested that in OSX 10.8.2 the drivers for ATI cards are already installed, no flash necessary! I didn't believe that this would be the case but when i plugged it in it worked! right out of the box! the only thing that is missing is the boot screen i had a good thirty seconds staring at a blank screen before my dual monitors appeared.

I hope this helps someone else as the £300+ for an equivalent Mac supported card really casts a shadow over the £130 i paid on Ebay! and now i have two gt120s to sell!

My biggest moans here are the price difference first and foremost, but also that the mac website lists the gt120 as suitable for use with FCPX, it isn't, it's unusable! so anyone who is struggling with FCPX and an nvidia card switch to ATI now, the difference really is as good as everyone says.

Thanks for all the help on this forum.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: wind06 on October 14, 2012, 12:03:23 PM
Hi,

I have a flashed  ATI Radeon HD 5770 1024 MB on my MacPro 1,1 2006. working ok.
I'm wondering if some specific ATI drivers are requiered for games or others ...
Because with some games like  Deus or Tom Clancy's Splinter Cell, it's quite slow and difficult to play.
even with 2 new CPUs 3Ghz QuadCore  :)

Any advice would be very much appreciated.

Thanks,


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: wind06 on October 14, 2012, 06:07:21 PM
I think that I found why  ;)

Under 10.7 there is a tool Expansion Slot Utility, located in /System/Library/Core Services.
and notice that my configuration was not optimum. I change it and now my graphic card
is working at maximum Speed  8) much better ....



Title: Mine is working
Post by: michaeltoye on October 16, 2012, 07:16:01 PM
Sapphire Vapor-X HD 5870
Mac Pro 5,1 2010

Fired up and recognized as a 5000

carried out the instructions on a Win 7 Machine for bios dump. mac pro for command lines. win 7 machine for the flash using Win ATI Flash.

Now recognized as HD 5870

Cinebench score same as 5770 though  ???



Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: michaeltoye on October 16, 2012, 07:16:56 PM
If anyone wants my ROM, please ask

michaeltoye

@

me.com


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: zeosrule on October 17, 2012, 02:49:55 PM
I have flashed my HD6850. I had to check the 3rd hex for my block number. Now, the top DVI does not work. How can I get two displays working? ???


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Rominator on October 20, 2012, 02:11:12 AM
some reading


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: zeosrule on October 20, 2012, 02:14:09 AM
I have found info for the HD6870 and it says you need an active MDP to DVI adapter. I was wondering if for the HD6850 you would need an active DP to DVI adapter before I go out and buy one.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: toeonly on October 24, 2012, 02:02:21 PM
I recently purchased two xfx Double D 6870s from newegg  http://www.newegg.com/Product/Product.aspx?Item=N82E16814150521 (http://www.newegg.com/Product/Product.aspx?Item=N82E16814150521) I use my mac pro for a lot of gaming in windows so I wanted to use crossfire. My wife uses OS X I use rEFIt to select the boot drive. So I needed the boot screen to work. I used GPUz in windows to pull my rom then I repeated ratfink's s  process to sew in the EFI to my rom. then I rebooted into windows and flashed with winatiflash. At this point I had on screen on the lower dvi and one connected via MDP-->dvi adapter. I did not get a boot screen. I removed the MDP connection and Presto boot screen. I then pluged my second monitor into the top DVI port and had two functioning screens in windows. this had me happy but not my wife. so I connected a vga cable to my second monitor and plugged it in via MDP-->VGA adapter to the second card. I now have crossfire working in windows with two screens, and both screens working in OSX.


Edit:I ran a benchmark in windows and my box shut down I think due to power I extended a 4 to 6 pin cable plugged it into my primary card ran the benchmark again and it worked great.


Title: Re: Additional details for people with MCUC trouble
Post by: circusweb on October 25, 2012, 11:16:31 PM
I know that my value is basically as a card tester but I would like to try to clarify some things. ;)

The MCUC table is needed to initialize the GDDR5 RAM used on 4870/5770/5870 cards. In the PC BIOS that starts the ROM is an address to "look up" the GDDR5 table. To use a "BASIC" analogy, this is a "GOTO" statement with an actual address to load those GDDR5 inits. The table itself starts with "MCUC" so that is your 2 instances, the first in the PC BIOS saying "Hey, to init the GDDR5 RAM, check out the specs at address 'WXYZ' ". The second instance is at address "WXYZ".

Between the PC BIOS and the MCUC table is a bunch of empty space filled with "FFFF"s. It is into this space that we place the Netkasized EFI. In the case of the 5870 I believe this EFI is 43008 long. You can not just wedge it in between where the "FFFF"s start and the beginning of the MCUC however. The PC BIOS has a length specified in blocks of 512 bytes. To find this number look at the very beginning of ROM. It will have a opening that starts with "55AA" the very next 2 characters are the length of the PC ROM. For argument's sake lets say this is "7A".

Download a nifty program called "Magic Number Machine" and hit the "Radix" button. Now you can easily convert from various bases to decimal. Choose "Hexadecimal" and enter "7A" now hit "Decimal" and you will see "122". Next hit the "X" to multiply 122 X 512 and you will get "62464". This tells you that the PC BIOS actually ends RIGHT before this number if you look at addresses in decimal. This also means that the EFI ROM needs to START at 62464. So if you want to see if it fits in there, just select everything from 62464 until beginning of MCUC. If you are in "decimal" view, you will see what is selected. If it is Equal to or more than 43008 (or whatever length the EFI you are working with is) you are good to insert it. If in fact it is LESS than 43008, you have more work to do. While using Hex addresses, note the address of the beginning of the 2nd MCUC.

I would suggest methodically selecting 512 bytes of "FFFF" from BELOW the MCUC at end of ROM and cutting it from there and inserting AHEAD of MCUC. If you are 512 bytes or less short of fitting to begin with, then 512 will do. If you are more than 512 short, than it will obviously take more. It is possible to take less than than 512 at a time, but I like to use that when possible since ROMs work in chunks of that size. When there is enough space, insert the EFI then make sure that the length has always stayed at 131072.  If this ever varies, you have screwed up. It absolutely MUST start at 62464 (or whatever is specified after "55AA" in your ROM)

Once you have made space and inserted the EFI you will need to fix the MCUC lookup address. To do this you will need to use the HEX addresses by unchecking "USE Decimal Addresses" under Options. You find the spot before first MCUC where the Hex address is listed and change it to reflect the new location. Now run the "fixrom.py" script. It is CRUCIAL that it lists 2 at "OpROMs" and notes some "RAW DATA" afterwards. If it sees just one OpROM, I can guarantee that your new ROM won't work. It must also see the "RAW DATA" of the MCUC table. If all 3 of these elements show up in terminal output, you are in a good spot.

The scripts that Jeanlain has in opening post automate the instructions I have listed here, so my explanation is really for people whose ROM using his instructions isn't coming out right. It is very difficult to try to verbalize these things so if you have tried this several times and THOUGHT about it and still this isn't making sense speak up. I will help out as long as I don't feel the questions are from "I don't want to think, please spoon feed me" types.

Awesome explanation! I was able to make a rom for my Dell/OEM 5770. Great hex-editing!!! But what baffles me is how did you figure all of this out aside from comparing it to an OEM apple rom? :o

updated my atiflash from last post
tried fixing the ROM again using the above details combined with jeanlain guide

Beyond an awesome explanation. I had posted months ago, reporting on errors left and right with my flashed rom. THIS explanation was more detailed and after a successful NEW flash, everything is working 100%!!!!!!!!!
My Sapphire Radeon 5770 vapor-x is officially working 100%!!!!!! Using TWO DVI ports. Bootable by itself no helper card needed (7300gt), also HAS boot screen on my DVI to VGA adapter!!!!! Boot screen + 5770 working  = major success. I will be donating next pay period. CANNOT thank you all ENOUGH! especially rominator for this very detailed explanation.

have not tested hdmi or display port

ill include a couple ss and my rom

Sapphire 100283VX-2L Radeon HD 5770
hope i can help others clear up their issues, if i can do it, so can you


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Rominator on October 26, 2012, 01:44:28 AM
Thanks so much for posting this.

Took awhile to write all that out and I'm glad it helped somebody.

Enjoy your new cards !!!


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: tvchris on November 05, 2012, 08:13:40 PM
Hey everyone!

Followed this tutorial and flashed my card with the new bios, but card got bricked.

I'm on a Mac Pro 5,1 with a Sapphire 5870.

Would you mind taking a look at my roms and see what I did wrong? Thanks!


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: deeloco on November 15, 2012, 09:08:07 AM
Flashed my Sapphire HD 5870 Vapor-x ! Everything runs fine !!!! Thx for your tutorial !


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: deeloco on November 15, 2012, 09:09:51 AM
Hey everyone!

Followed this tutorial and flashed my card with the new bios, but card got bricked.

I'm on a Mac Pro 5,1 with a Sapphire 5870.

Would you mind taking a look at my roms and see what I did wrong? Thanks!

Do you want my Rom ? Is yours an Vapor-x card ?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Tanariel on November 22, 2012, 03:56:02 PM
Hello,

i just followed this tutorial and flashed my 5870 VAPOR X.

Nearly all is working fine in my 2009 Mac Pro beside 1 little problem.

I'm using 3 monitors (2 DVI - 1 DisplayPort To DVI adapter) but i have only two screens correctly working, the third one is a mirror of the main monitor.

Is it possible my flash went wrong somehow ? Is it a known limitation of OSX or mountain lion ?

Thanks in advance if any of you have an answer.

Quote
ATI Radeon HD 5870:

  Chipset Model:   ATI Radeon HD 5870
  Type:   GPU
  Bus:   PCIe
  Slot:   Slot-1
  PCIe Lane Width:   x16
  VRAM (Total):   1024 MB
  Vendor:   ATI (0x1002)
  Device ID:   0x6898
  Revision ID:   0x0000
  ROM Revision:   113-C0780C-194
  EFI Driver Version:   01.00.436
  Displays:
SMBX2431:
  Resolution:   1920 x 1080 @ 60 Hz
  Pixel Depth:   32-Bit Color (ARGB8888)
  Mirror:   Off
  Online:   Yes
  Rotation:   Supported
  Television:   Yes
HP 2510:
  Resolution:   1920 x 1080 @ 60 Hz
  Pixel Depth:   32-Bit Color (ARGB8888)
  Display Serial Number:   3CQ004238V 
  Main Display:   Yes
  Mirror:   Off
  Online:   Yes
  Rotation:   Supported


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Rominator on November 25, 2012, 08:43:16 AM
Did you make a ROM from the original on card or just use one you found?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Tanariel on December 03, 2012, 09:48:06 AM
I did a rom using the original one i saved from the card.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: germanbuddy on December 05, 2012, 08:50:18 AM
Flashed a
Sapphire X-Vapor HD5870 1Gig RAM and it worked right of the box its a Mac Pro 4.1 with 24GB RAM, originaly there was a GeForce GT 120
but the machine had very poor performance on batched jobs converting high res scan (TIFF) with photoshop.

The gfx card looks exactly like this
(http://www.radeon3d.org/img/artikel/grafikkarten/sapphire_radeon_hd_5870_vapor-x/teaser.jpg)
what i noticed is that the FAN is even "loudish" while doing nothing really hard working with the mac pro. just using safari for surfing.

Is ther a way to controll the fan speed?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: blacksheep on December 05, 2012, 01:27:10 PM
You can alter fan speeds in RBE (Radeon Bios Editor) in Win then reflash card with modified ROM.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Maartenvs on January 09, 2013, 10:15:34 PM
Today I went ahead and tried to flash my Ati 5870. I've tried it once before but I only got 1 mcuc and let it go. After reading I decided to try it again. To bad I only get 1 mcuc. After reading the post of Rominator on page 3 I found out that my rom has more than 43008 decimals free, but the EFI still won't hold. After checking where the bios would end (begin of rom = 55 AA 7E => 7E => 126*512=64512) i noticed that this location countains already 279 decimals of FF. If I count from the position 64512 to MCUC this is less than 43008  >:(  (42956 to be exaced and every FF at the end is cut and pasted, 52 short) Is there any way to make this work? Because changing 7E to 7D is not possible.

ps. this is the card
(http://us.sapphiretech.com/mc/images/prods/287/21161-00_HD5870_1GBGDDR5_C01_634532563109027346_600_600.jpg)


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: topaz on February 06, 2013, 10:26:05 AM
HI Guys

I have successfully flashed my Dell ATI 5770 using m57702.ROM
in the end I installed XP under bootcamp 3 on a mac pro 1.1 and used atiwinflash to upload.

is there anything more that can be done, ie boot logo on main monitor ? or is m57702.ROM as far as it can go,

any help would be great.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: blacksheep on February 12, 2013, 10:23:42 PM
Today I went ahead and tried to flash my Ati 5870. I've tried it once before but I only got 1 mcuc and let it go. After reading I decided to try it again. To bad I only get 1 mcuc. After reading the post of Rominator on page 3 I found out that my rom has more than 43008 decimals free, but the EFI still won't hold. After checking where the bios would end (begin of rom = 55 AA 7E => 7E => 126*512=64512) i noticed that this location countains already 279 decimals of FF. If I count from the position 64512 to MCUC this is less than 43008  >:(  (42956 to be exaced and every FF at the end is cut and pasted, 52 short) Is there any way to make this work? Because changing 7E to 7D is not possible.

ps. this is the card
(http://us.sapphiretech.com/mc/images/prods/287/21161-00_HD5870_1GBGDDR5_C01_634532563109027346_600_600.jpg)

Post original PC BIOS.

Edit: nevermind, I've found 7E bios on techpowerup and tried few things on it. No luck. First part of BIOS is too long and I don't know what could be chopped off of it (if something at all).


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: technome on March 08, 2013, 01:32:19 AM
So, is it likely that, once 10.8.3 is out and the Sapphire 7950 Mac Edition has been released, some clever soul will be able put together a method for flashing the AMD 7950 reference boards?

And would it be worth sourcing such a card in anticipation?  :)


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Rominator on March 08, 2013, 02:27:01 AM
A frequently forgooten fact is that EVERY SINGLE 5770, 5870, and 6870 that has been flashed has used an EFI done by Netkas.

It's funy seeing people list themselves as the author when none of them would have worked if Netkas had not removed Apple's "lock"

So...it is likely that there will be another lock on the ROM to keep rampant flashing from undermining sales. So....be nice to Netkas...... ;)


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: armdn on April 26, 2013, 07:10:12 PM
I have an error in Terminal: "dd: bs must be between 1 and 9223372036854775807" right after "dd if=6870.efi.rom of=myrom.rom bs=$size seek=1 conv=notrunc" - what to do? RomCreator just not work (crush), Zeus shows an AppleScript Error.

P.S.: Now it working, it's just not worked on a ZFS.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: spectheintro on April 26, 2013, 10:11:51 PM
Hey all:

I have a strange error here. I have an XFX 5870 (ZND9) that I flashed with an EFI-enabled BIOS, per this excellent tutorial. I did this last night with absolutely no issues, and played SC2 for around six hours. Had a blast.

This afternoon, I turned on the computer and it refused to POST. I found this very odd, and went on to do a bunch of troubleshooting, and confirmed that it was my flashed card causing the issues. I re-flashed to stock BIOS and it POSTed without issue.

My board is an Asrock Z77 Extreme4, and it would throw an AF 62 boot code when it failed to post: essentially, the card was preventing the board from initializing the southbridge properly. No idea how or why.

Anyhow, I've attached both BIOSes here: the original (titled original.rom) and EFI'd version (myrom.rom). Would someone mind taking a look to make sure I didn't mess something up? Like I said, initial flashing was successful, and now that I've reflashed I'm typing on the computer running the card with no issues (yet?). Any ideas/suggestions would be appreciated; a friend of mine is waiting on the flashed card but I want to make sure I haven't messed anything up before I send it out to him, since he won't be able to troubleshoot it.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: armdn on April 27, 2013, 11:09:30 AM
Tell me please, for WHAT reason you flashed your card to EFI if that needed ONLY for Mac Pro users?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: spectheintro on April 30, 2013, 04:27:09 PM
Tell me please, for WHAT reason you flashed your card to EFI if that needed ONLY for Mac Pro users?

I said so here:

Quote
a friend of mine is waiting on the flashed card but I want to make sure I haven't messed anything up before I send it out to him, since he won't be able to troubleshoot it.

He has a Mac Pro. He lives in CT. I live in VA. I do not want to send him a bum card. He will not be able to fix it (he is technically incompetent).


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: fayed12311 on May 02, 2013, 08:16:19 PM
Thank you very much for this extremely useful guide,
I followed your guide and flashed my created mac rom for my ATI HD 5770,
It worked!! currently working via vga port I will test other connectors and verify if working or not.
Thanks again.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: TroublewithTea on May 07, 2013, 06:20:37 AM
I started at the beginning of this thread hoping to flash a 6870, but after making a FreeDOS CD, my macpro 3,1 won't boot from it. Any ideas?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: GP-SE on May 10, 2013, 11:41:07 PM
you can use RomCreater to convert the original PC Bios to EFI, then used Zeus 2.3 to flash in OSX
I did it that way instead of using Windows\DOS.
*Note* Zeus 2.8 wouldn't flashy my Sapphire Card, only 2.3


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: xelanaiznac on July 04, 2013, 07:31:11 PM
hi guys. you are fantastic!
i read, read, and again read your guides and even tried a lot of your modified rome, but i have still this problem (cosmetic one, let's say).
i couldn't see the apple logo (obviously using the bottom dvi port without anything else linked to my xdx 6870 1gb dual fan).
i have both of them, very similar. one is zdfc 5.0 and one is zdfc X.0
i flashed succesfully both of them but i can't see the apple logo boot screen.
what's the matter?
here my files, the original firmwares and the modified by me using this guide: http://forum.netkas.org/index.php/topic,692.0.html

please, help me


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: xelanaiznac on July 10, 2013, 10:54:58 AM
i guys. i'm looking for netkas app romcreator.zip
it's not possible to download from here http://rghost.ru/19375601 cause file was deleted. could someone please upload it?
thanks


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: zimmergeil on July 13, 2013, 01:06:30 PM
Hey,

I did this modification and it kinda works, it now shows the correct model and such but I still don't get any boot-screen, have anyone pinpointed what could be the cause of that?

My card is a Sapphire HD5870 (PN 288-1E140-030SA) I don't think it's a reference card.

I tried both DVI ports and also the card in both slot 1 and 2 but no boot-screen.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: pharaon on July 16, 2013, 07:50:25 AM
Is this manual actual for 6850 OC (Gigabyte) on PC for UEFI sleep issue fixing with Clover?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: yorb on September 07, 2013, 01:48:56 PM
Just did this on my eBay'd XFX 6870 1G in a Mac Pro 3,1 (early 2008). As others have reported, it works (system report now shows model number, EFI version, etc.) but still no boot screen. :( Oh well. So, no real advantage under 10.8.4, since the card worked fine before EFI as well. Regardless, thanks for the instructions. :)

For those asking about the DOS cd not booting: I had the same issue, my DOS cd wasn't bootable for some reason. What I ended up doing was burning FreeDOS 1.1 instead of 1.0, which worked but has a different menu system so I had to find my way to the prompt. I think, however, that the issue wasn't the FreeDOS version but rather that I burned from Disk Utility instead of Finder. So, open the .dmg in Disk Utility and try burning from there.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Spacedust on September 27, 2013, 04:39:26 PM
Tested three cards: XFX, PowerColor and Gigabyte and all flashed successfully, no boot screens is not a problem, but why all stick at 2.5 GT/s ?


Title: ASUS 1GB 5870 ??
Post by: themacmeister on November 04, 2013, 08:21:30 AM
I'm looking at getting an ASUS 1GB 5870. Do you think there will be a problem in flashing this? I have only got a GTX650 in my Mac Pro 4,1 at the moment, and due to an non-efi graphics card, I cannot update the firmware to 5,1.

I will be using a single monitor, either DVI-Dual Link, or HDMI.

Thanks for any advice you can give

UPDATE: I am buying this 1GB reference design BEHEMOTH tomorrow... any word on ASUS?

http://www.geeks3d.com/public/jegx/200909/asus-eah-radeon-hd-5870.jpg


Title: Flash command?
Post by: themacmeister on November 06, 2013, 11:32:12 PM
Sorry if I'm being a total n00b here, but what is the command to flash the card?

ATIFLASH.EXE has a LOT of switches...

I was just going to use ATIFLASH -n 1 myrom.rom (after doing ATIFLASH -i to find the number 1)

Do I need to use any of the FORCE switches? I have only ever flashed NVIDIA cards before, with -2 -3 -4 etc.

but I would like some more experienced advice if possible?!


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: mooncresta on November 08, 2013, 03:32:21 PM
Hi all, just wanted to say thanks to all the people that have contributed to this thread.

I just flashed a PC 5770 XFX  XXX card, its working 100%, both DVI ports and It will allow me to use 1 DVI port and the HDMI, not the 2 DVI ports and the HDMI, which is a shame. But cant complain !  ;D

I have Mac Pro 1.1 & Mac Pro 4.1, only tried in the 1.1, will try the 4.1 later on...

Laterz......




Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Omorote Hideoshi on November 11, 2013, 02:22:37 AM
I know it's stupid question, but I didn't manage to google out an answer.

I'm developer and I have project for iPhone. I purchased Mac Pro 1.1 to develop. Now I found out that my iPad is updated to version 7.0 and I need Xcode 5.
To have Xcode 5 I need OS 1.8 or 1.9. But they are compatible with my HW.

So I found an article describing how to update. And I found out that I need to update video card.

I purchased PC Radeon 5770. I plugged it into my computer (and after resolving the problem with additional power) it works under my 1.7 OS.

Do I need to still update the BIOS of my video card to install the 1.9?

Thank you for you answer!

My Mac is:
version: 1,1
CPU: 2x2GHz Xeon
RAM: 6GB
Card: PC Radeon 5770 (Mac shows it as ATI Radeon HD 5000 1024 MB)


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: blacksheep on November 11, 2013, 11:19:23 AM
You could, but you don't have to.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: ooofoo on November 19, 2013, 05:59:59 AM
Hello everyone!

I'm somewhat new to video card flashing, although I have flashed a couple of cards successfully in the past (all Radeon 5770's).  The dilemma that I'm in now is that I have an XFX Radeon 5770 that I have flashed using this guide.  Everything seems to function fine, I get the boot screen, etc., except that I can not get QE/CI functioning.  I have flashed this card and a couple of other XFX Radeon 5770's before and it seems to be hit or miss as to whether QECI is going to be functional after the flash.  The first card that I flashed had no issues and QECI was fully functional.  DVD Player worked fine, etc..  This card, however, just will not boot with QECI enabled.  DVD Player crashes with "A valid video device could not be found for playback. [-70017]". 

I am pretty tech savvy, although I am not 100% familiar with Macs / Unix, editing kexts, etc..  I'm sure that with a little guidance I can solve this problem and I am anxious to learn from this.  I will say that I have checked the Ati5000controller.kext, and Ati6000controller.kext, and the device ID of this card is present in the "String" field of both files.  My device ID is 100268B8.  A lot of other threads reference "AMDRadeonController.kext", but I am on Lion 10.7.5 and there is no such file (I think this file is only for ML and newer OS's). 

If someone could steer me in the right direction to get QECI functioning I would really appreciate it. 

Thanks!


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Spawn4ever on December 09, 2013, 06:44:45 AM
THANK YOU!

This is what i have been looking for. I've been at this for 7 days now. i $h!t you not. My ATI X1900XT bailed on me so i bought a Geforce GTX660 for my Mac Pro 2.1 - OS X 10.7 which didn't work on this system ( i think because my system doesn't run PCIe 3.0. wasted many hours of sleep trying to figure it out with no luck. So i bought online a used XFX HD 5870 1GB. That sparked up my display but was identifying my graphics card as a Radoen HD 5000 series which didn't let me use DVD player and ever worst would give me an error while loading up Adobe AE CC.

I fallowed these instructions to the T found on page one and low and behold it worked. Luckily i had a pc to use the atiwinflash application in order to flash the card. (btw, when you see in the instructions to drop your saved rom and the files attached into home root directory, it means your user folder) AND if you need the fixrom.py application, you can find it here . http://forums.macrumors.com/attachment.php?attachmentid=162925&d=1237363348 (http://forums.macrumors.com/attachment.php?attachmentid=162925&d=1237363348)

So everything is honky dory but for ONE thing. The fan is running full tilt on the GPU as soon as the screen starts to display the OS. Know i know there's been some recorded issues after loading up a new rom but what is the solution to have it running normally?

jeanlain or any one else's input would be greatly appreciated.

Thank you again.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Rominator on December 09, 2013, 07:01:15 AM
GTX660 didn't work as I don't think there are drivers in 10.7

Good news is you can now load 10.8 or 10.9 with ease.

Anyhow, are you 100% certain that you made rom with original PC rom?

Fan being 100% should be CRAZY loud. This usually only happens if the rom isn't the right one.

Does it behave same in Windows?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Spawn4ever on December 09, 2013, 07:13:37 PM
GTX660 didn't work as I don't think there are drivers in 10.7

Good news is you can now load 10.8 or 10.9 with ease.

Anyhow, are you 100% certain that you made rom with original PC rom?

Fan being 100% should be CRAZY loud. This usually only happens if the rom isn't the right one.

Does it behave same in Windows?

It is quite loud yes and constant. Like the initial test spin at bootup but constant.

The windows comparison is a good point, i will try that.

The rom flash is another good point you bring up. I used the following rom... if i recall correctly cause i've been flashing cards all week, its all a big blur now. But it was this one 587XZF18_uakari.rom. Which i read was for the XFX Radeon  HD 5870 card.

So you are saying that this could be the problem?

Let's say this the rom isn't the real issue, is there a way to manually input the fan speed into the rom myself?

As far as the GTX660 goes, i JUST found this link so i think i am going to try it one last time before i return it. Never mind, this driver only supports 10.8 (Mountain Lion) and higher.
http://www.nvidia.com/object/macosx-270.00.00f06-driver.html (http://www.nvidia.com/object/macosx-270.00.00f06-driver.html)


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: blacksheep on December 09, 2013, 09:03:49 PM
Let's say this the rom isn't the real issue, is there a way to manually input the fan speed into the rom myself?

Radon Bios Editor is your friend, but it's always best to build an EFI ROM from original BIOS of the card.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Spawn4ever on December 09, 2013, 10:45:42 PM
Let's say this the rom isn't the real issue, is there a way to manually input the fan speed into the rom myself?

Radon Bios Editor is your friend, but it's always best to build an EFI ROM from original BIOS of the card.


So technically i can backup the existing rom i found with the latest modifications i brought to the card incase my home made rom doesn't work like it should. Correct?
Meaning i can try to make my own rom from the original and if i'm experiencing the same issues i had originally (Radeon HD 5000 series driver) i can simply reload the "speedy" fan rom and mod it using and app?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: blacksheep on December 09, 2013, 10:59:56 PM
Yep


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Spawn4ever on December 10, 2013, 02:15:17 AM
Yep

Fan is still loud after i flashed and modified my original rom file. What makes me suspect that it isn't the rom but something else, is that the fan is quiet throughout the entire bootup phase and the fan latterly spins faster as soon as it lights up the screen.

Could it be the OSX driver? If i toy around with the rom. can i edit and instruct the fan when it can spin faster? Could it be the EFI file creating this issue?
 


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: NeilP on December 13, 2013, 11:51:00 AM
OK, OK, so I know the 4870 is old..but it is all I have and can afford....it was free.  but it has to be an upgrade on the ATI 2600.

SO here is where i am at

Mac 3,1 2008 ..running10.6.8...various reasons not going to 10.8 x..might yet try 10.9 but it is 10.6.8 for now

4870..original ROM saved
card is Sapphire ATI 4870   4870 288-20e85-130sa

Found a 4870 ROM here (http://forums.macrumors.com/showthread.php?t=661681&page=19) that works..but fan never seems to come on ..  
But that ROM was for
PN# 288-20e85-130sa/SKU# 11133-04-20r   but mine was
PN# 288-20e85-130sa/SKU# 11133-04     .so slightly different

I did try RBE to change the fan settings  Look Up table ..30deg C and fan at 100%    then re flashing the card using Zeus 2.8  but still no fan

I have been looking at the ROMS using HexEdit and using Rominator's explanation as below...so have been navigating around hte ROMS in Hex Edit..and all my roms seem to conform to the info as given...131072 length...FFFFFF's where they should be.  49152 of space between BIOS and MCuC...the EFi portion on working roms between the BIOS and MCuC section  sandwiched between 'leading and trailing FFFFFF's " to keep 512 blocks of data.


My current plan of attack to get the fan working for my 4870 is this:
Extract ROM's of my working ATI HD 2600 Xt's...is there an app to pull a ROM from the Mac from within OS X? or am I going to have to ???
in RBE..adjusting the fan settings
reflash the 2600 with my modified fan settings  flashing with Zeus ...or am I better using ATI Winflash? ...
See if my edited ROM's still work and fan edit has changed behaviour
Comparing both original and edited 'test' 2600  roms...to see where the fan settings are located.
Try and mod the 4870 ROM to get fans working.


Is this reasonable...or are fan settings going to be located in different places between different cards..
Am I OK using Zeus for flashing ?  
Prefer Zeus as I can flash from within OS X rather than swapping cards over to Win machine or setting up a dual boot system..or a dos boot disk ..but will do one of the others if someone advices it is better/ necessary


Don't want to be spoon fed..but seem to be going in circles here..eyes glazing over ..so many tabs open..so many links...needle and haystack finding the answer


The MCUC table is needed to initialize the GDDR5 RAM used on 4870/5770/5870 cards. In the PC BIOS that starts the ROM is an address to "look up" the GDDR5 table. To use a "BASIC" analogy, this is a "GOTO" statement with an actual address to load those GDDR5 inits. The table itself starts with "MCUC" so that is your 2 instances, the first in the PC BIOS saying "Hey, to init the GDDR5 RAM, check out the specs at address 'WXYZ' ". The second instance is at address "WXYZ".

Between the PC BIOS and the MCUC table is a bunch of empty space filled with "FFFF"s. It is into this space that we place the Netkasized EFI. In the case of the 5870 I believe this EFI is 43008 long. You can not just wedge it in between where the "FFFF"s start and the beginning of the MCUC however. The PC BIOS has a length specified in blocks of 512 bytes. To find this number look at the very beginning of ROM. It will have a opening that starts with "55AA" the very next 2 characters are the length of the PC ROM. For argument's sake lets say this is "7A".

Download a nifty program called "Magic Number Machine" and hit the "Radix" button. Now you can easily convert from various bases to decimal. Choose "Hexadecimal" and enter "7A" now hit "Decimal" and you will see "122". Next hit the "X" to multiply 122 X 512 and you will get "62464". This tells you that the PC BIOS actually ends RIGHT before this number if you look at addresses in decimal. This also means that the EFI ROM needs to START at 62464. So if you want to see if it fits in there, just select everything from 62464 until beginning of MCUC. If you are in "decimal" view, you will see what is selected. If it is Equal to or more than 43008 (or whatever length the EFI you are working with is) you are good to insert it. If in fact it is LESS than 43008, you have more work to do. While using Hex addresses, note the address of the beginning of the 2nd MCUC.

I would suggest methodically selecting 512 bytes of "FFFF" from BELOW the MCUC at end of ROM and cutting it from there and inserting AHEAD of MCUC. If you are 512 bytes or less short of fitting to begin with, then 512 will do. If you are more than 512 short, than it will obviously take more. It is possible to take less than than 512 at a time, but I like to use that when possible since ROMs work in chunks of that size. When there is enough space, insert the EFI then make sure that the length has always stayed at 131072.  If this ever varies, you have screwed up. It absolutely MUST start at 62464 (or whatever is specified after "55AA" in your ROM)

Once you have made space and inserted the EFI you will need to fix the MCUC lookup address. To do this you will need to use the HEX addresses by unchecking "USE Decimal Addresses" under Options. You find the spot before first MCUC where the Hex address is listed and change it to reflect the new location. Now run the "fixrom.py" script. It is CRUCIAL that it lists 2 at "OpROMs" and notes some "RAW DATA" afterwards. If it sees just one OpROM, I can guarantee that your new ROM won't work. It must also see the "RAW DATA" of the MCUC table. If all 3 of these elements show up in terminal output, you are in a good spot.

.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: blacksheep on December 13, 2013, 12:53:55 PM
Have you ruled out dead fan? Does it spin with original PC BIOS?
Make a custom ROM if so, and flash the card using DOS atiflash (works best) or ATIWinflash.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: NeilP on December 13, 2013, 05:28:28 PM
Ooops..not even considered dead fan option...  

Edit..tested...works fine..on old Dell windows machine.    Am just installing Win XP on boot camp partition..

So will try again in the Mac  and see if it was just quieter than expected...or if it works in the Mac Pro hardware



Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: NeilP on December 15, 2013, 12:30:24 PM
Fan good.  used RBE in bootcamp XP adjusted speed up / down..works in windows and seems to stick when booting to OS-X.  not yet loaded up card in OS-X yet to see if fan does speed up .

Can't find any GPU stress tests that actually work in 10.6.8...d/loaded many yesterday Valley, Heaven, all sorts of different ones, but none that run in 10.6.8

cant even find any monitor software to for the GPU fans..plenty of apps / monitors/ widgets for system fans..but nothing for GPU in OS-X..search goes on


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: wcstriker on December 16, 2013, 08:31:07 PM
Hello,
Very interesting thread here with a lot of useful information.  I have a question.  I have a Powercolor Radeon 5750, which uses the same chip as the 5770.  I attempted to flash it using this guide and from another post here regarding the 5750 specifically.  I was able to get the card to be usable in OSX, it shows as an ATI 5000 series, or ATI 5770 (after editing the bios to show as a 5770) however, in either case, graphics were very slow.  Even use of the launchpad, which should be all 2D, was slow to draw on the screen.  Does anyone have experience running this on that type of card?  Going through other posts, I found someone suggest that the commands had to be run in a bash shell which I did not do, I simply used the default shell in terminal.  Would that make a difference?
Thanks,
Frank in PHX

Edit:  I got it working.  Looking at the posts for customacs, I found I had to add the device ID to the info.plist file in AMDX3000.kext.  Works great now. 


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Spacedust on December 19, 2013, 01:12:14 PM
Does anyone made a proper ROM for this card ?

(http://eu2.sapphiretech.com/mc/images/prods/355/11163-13_HD5770_flex_Edition_1GBGDDR5_DP_HDMI_DVI_PCIE_C01_634413071407089028_600_600.jpg)

http://www.sapphiretech.com/presentation/product/product_index.aspx?psn=0001&pid=355&lid=1

It's working fine, however second DVI doesn't work and it shows a monitor connected via D-Sub while it's not there.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Iwishmymacwouldbemuchfast on January 24, 2014, 06:26:38 PM
I bought an ATI 5770 Sapphire and it dropped right into a Mac Pro 1,1 running Lion 10.7.5. No issues, easy, with a 6 pin connector from Ebay. It's powering a 24" HP 2480zx and an old 19" LaCie LCD both on DVI.

I upgraded the firmware to 2,1 after I put the card in. No problems there with the script from this site, problem free.
 
My question is: what benefit would I have to go through the entire flashing of the card with a custom BIOS?

Even after flashing the card the splash screens won't come up, according to what I read here, other than using a VGA out which I don't want.

While Photoshop recognizes the card as a 5700 system info says 5000. Adobe Premiere doesn't recognize  the card for a Mercury processor GPU thus still uses software rendering. I think FCP is still the same as the original Nvidia card speed wise. 


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: wojtek on January 28, 2014, 09:58:08 PM
My question is: what benefit would I have to go through the entire flashing of the card with a custom BIOS?
(...)
Adobe Premiere doesn't recognize  the card for a Mercury processor GPU thus still uses software rendering. I think FCP is still the same as the original Nvidia card speed wise. 
You actually answered your question with the statement above.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Spacedust on January 29, 2014, 09:45:15 PM
I'm trying to flash ASUS HD5770 CU Core. It has two mCuC sections, but the resulting file is 16 MB ;)

Attaching original BIOS for analysis.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Tiberio G on January 30, 2014, 09:38:34 PM
Hello!
I have an Asus EAH5770 (0x68b8) in my mac pro 1.1 with Mavericks using patched efi.boot

I have used the card with the original ROM (recognized as ATI Radeon HD 5000)
and also with the rom patched with EFI following the guide on this thread (recognized correctly as 5770)

But in the two cases I have graphics hangs.

I collected some info about the issue:
1) the GPU hang occurs after a wake from sleep
2) the system tries to restart the GPU


Code:
kernel[0]: GPU Hang State = 0x00000000
 kernel[0]: GPU hang:
 kernel[0]: Trying restart GPU ...
 kernel[0]: AMDJuniperGraphicsAccelerator: bad busy count (255,1)
3) the problem is related to these kext:

 
Code:
kernel[0]: com.apple.iokit.IOAcceleratorFamily(98.7.1)[024BF8EC-2925-3C4B-ADBB-CFE36F7D41C5]@0xffffff7f8e8cf000->0xffffff7f8e927fff

 kernel[0]: dependency: com.apple.iokit.IOPCIFamily(2.8)[447B4896-16FF-3616-95A2-1C516B2A1498]@0xffffff7f8d2ba000

 kernel[0]: dependency: com.apple.iokit.IOGraphicsFamily(2.3.6)[38E388A5-92D6-3388-B799-F2498E582287]@0xffffff7f8dc54000
4) only once or twice there was kernel panic

Code:
panic(cpu 2 caller 0xffffff800f6dc19e): Kernel trap at 0xffffff7f9127cba6, type 0=divide error, registers:
CR0: 0x000000008001003b, CR2: 0x00000001178f4000, CR3: 0x00000000120b4000, CR4: 0x0000000000000660
RAX: 0x00000000002a8500, RBX: 0xffffff8138d4bbf0, RCX: 0x0000000000000000, RDX: 0x0000000000000000
RSP: 0xffffff8138d4bbd0, RBP: 0xffffff8138d4bbe0, RSI: 0x0000000000000000, RDI: 0x0000000000000000
R8:  0xffffff7f912981f0, R9:  0x0000000000000027, R10: 0x0000000000000004, R11: 0xffffff7f91298218
R12: 0xffffff803b2417d0, R13: 0xffffff7f91298280, R14: 0xffffff8138d4bc90, R15: 0xffffff8138d4bbf0
RFL: 0x0000000000010246, RIP: 0xffffff7f9127cba6, CS:  0x0000000000000008, SS:  0x0000000000000010
Fault CR2: 0x00000001178f4000, Error code: 0x0000000000000000, Fault CPU: 0x2

With these kext in backtrace:

Code:
com.apple.iokit.IOGraphicsFamily(2.3.6)
com.apple.kext.AMDSupport(1.1.4)
com.apple.kext.AMD5000Controller(1.1.4)
com.apple.kext.AMDFramebuffer(1.1.4)

In my opinion the issue it could be related to the 32bit architecture of MP 1.1 EFI but I don't know...

It's strange because the card works well, it crashes only after sleep!
With my old nVidia 8500gt with 8400gs I haven't had any problem.
Thanks for advice, I hope to find a guru of graphics card in order to solve the issue.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Spacedust on January 30, 2014, 11:12:14 PM
I will try flashing mine with this BIOS. However it's still different than mine.

Your is: 68B8.12.12.0.3.AS01                                                    

Mine is: 68B8.12.20.0.47.AS01.U126

I've tested: 68B8.12.20.0.4.AS02.U126 BIOS and it worked but it makes then fan to run at 100%.

Tested your BIOS and it works well, but sleep mode doesn't work too. I'm using Mac Pro 4,1@5,1.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Iwishmymacwouldbemuchfast on February 11, 2014, 06:00:29 PM
Actually the Mercury CUDA open CL cards do not include the ATI 5770 anyways.

I did have a hard time flashing the ROM with a custom setting. Not because the first page was not working but because I really wanted to just save out the ROM from cmd line in windows. I could not in tall Bootcamp with an OEM W7 disc, it failed every time.

ATI Flash 4.17 didn't work for me either so I used 3.9x.

There were 2 instances of mcuc luckily for me as that would have been hard for me to offset.

The card is up and running fine with two monitors on DVI. No boot screen but it is not that much of a problem. The card comes up in the system profiler as it should, ATI 5770. After Effects is no running again as it crashed with the non flashed card. Thanks to Jean, and Rominator of course, with out you both I could have never had done this.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: freedom37 on March 25, 2014, 06:16:19 PM
Hi jeanlain, thank you very much for posting this guide!!
It worked on my AFOX5770(AF5770-1024G5S1) !
Now I have a almost perfect matching EFI-Rom.I can watch DVD videos and I can see Apple Mark when my MacPro'06 boot up.
But I can see Apple mark when it connect on D-sub15.And my MacPro recognize connection on D-sub15 when nothing connect on D-sub15.
Does anybody have an idea how to fix this?
I want MacPro not to recognize connecting on D-sub15.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: lerush on March 30, 2014, 02:00:58 PM
I used the scripts from netkas, but I was not sure if I used both - Can I use them multiple times to keep sure, or do I fuck something up when I use the sripts multiple times?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: vanden on May 09, 2014, 11:07:14 AM
Hello,

I have a Mac Pro 2008 and HIS HD 6850 IceQ X Turbo graphic card (PC/no EFI), with no other graphics card EFI I can not boot on OSX.
Here the bios extracted with GPU-Z.0.7.8 : HIS_HD_6850_IceQ_X_Turbo_Original_Bios (http://vandenk.free.fr/HD6850(Original).rom)
If someone can add EFI and post the modified rom, that would be great !
I could install OSX !

I have another question for solve the problem PCIE@1.1.
I saw here (http://forums.macrumors.com/showthread.php?t=1547340) the procedure but is it the same for the HD6870 and HD6850 ?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: vandenk02fr on May 09, 2014, 03:16:04 PM
Hello,

I have a Mac Pro 2008 and HIS HD 6850 IceQ X Turbo graphic card (PC/no EFI), with no other graphics card EFI I can not boot on OSX.
Here the bios extracted with GPU-Z.0.7.8 : HIS_HD_6850_IceQ_X_Turbo_Original_Bios (http://vandenk.free.fr/HD6850(Original).rom)
If someone can add EFI and post the modified rom, that would be great !
I could install OSX !

I have solved the PCIE@1.1 problem (I saw here (http://forums.macrumors.com/showthread.php?t=1547340) the procedure) :
I have no resistor in R3, on my HD6850, I recovered a resistor (10K) on a dead card, but impossible to weld !
The resistor is really too small !
But I tried with a pen with conductive ink : it is ok :)
(http://vandenk.free.fr/gpuz2.0.gif)
I miss it more than EFI Bios ...

EDIT :
Thank you to have unlocked my account.
I finally succeeded, here (http://forums.macrumors.com/showthread.php?t=1733018) are the details.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: trucquivamarcherunjour02f on May 09, 2014, 03:26:26 PM
Hello,

I have a Mac Pro 2008 and HIS HD 6850 IceQ X Turbo graphic card (PC/no EFI), with no other graphics card EFI I can not boot on OSX.
Here the bios extracted with GPU-Z.0.7.8 : HIS_HD_6850_IceQ_X_Turbo_Original_Bios (http://vandenk.free.fr/HD6850(Original).rom)
If someone can add EFI and post the modified rom, that would be great !
I could install OSX !

I have solved the PCIE@1.1 problem (I saw here (http://forums.macrumors.com/showthread.php?t=1547340) the procedure) :
I have no resistor in R3, on my HD6850, I recovered a resistor (10K) on a dead card, but impossible to weld !
The resistor is really too small !
But I tried with a pen with conductive ink : it is ok :)
(http://vandenk.free.fr/gpuz2.0.gif)
I miss it more than EFI Bios ...


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: yamahasx50 on June 07, 2014, 01:18:39 PM
Hi guys & Girls,

This is my first ever post to a forum, so I apologise if I look & sounds like a total Newb!

Here's my issue:

I have a Radeon 5770 (Saphire edition) - Images attached, I bought it second hand & I think it's already been flashed... The issue is, the flash doesn't work with Mavericks (I'm running a Mac Pro 1,1) I have done everything I can think of - changed the kexts, flashed the card.

The reason why I think it's already been Flashed, is when I get the original file (Rom), go through the whole process at the end it says that the new file is the same as the old... Am I right thinking that?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: chrisrand on June 13, 2014, 03:54:04 AM
I would recommend flashing it to the stock PC rom that you can find on the internet, then proceed with the steps in the first page of this forum post.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Spacedust on June 13, 2014, 11:48:32 AM
Anyone using such card ?

It's another version of ASUS HD5870:

(http://www.pcper.com/images/reviews/1009/v201.jpg)

Attaching BIOS for it.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Gallow24 on June 16, 2014, 01:40:34 PM
Has the card the same specification as the ASUS 5870 with reference design?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Spacedust on July 01, 2014, 11:05:31 AM
Has the card the same specification as the ASUS 5870 with reference design?

No, it's completely different. Only one DVI port ;)


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: jordisala on July 01, 2014, 10:12:15 PM
Hello,
I have a Powercolor HD6870 and I'm using it on a Mac Pro 3,1 with Mavericks.

I extracted the BIOS with GPU-Z using a standar PC.

I've tried to modify the bios following this thread instructions and the other instructions found on the topic "6870 efi rom test" http://forum.netkas.org/index.php/topic,1085.msg6487.html#msg6487

Zeus 2.8 didn't patch my bios. It stated that the "number should be between 0 and.." so I had to use 0xED to read on the bios beggining "55AA80" that it is 80 hex = 128 dec. So I did this operations.

Quote
jordi$size=$(($128 * 512))

jordi$ dd if=6870.efi.rom of=hd6870gpuz.rom bs=$size seek=1 conv=notrunc
3+1 records in
3+1 records out
45056 bytes transferred in 0.000049 secs (921846639 bytes/sec)

jordi$ python fixrom.py hd6870gpuz.rom hd6870gpuz.rom
Before:
OpRom (size=65536, indicator_offset=0x1f1, indicator=0x80, checksum=0x0)
RawData (size=65536)

After:
OpRom (size=65536, indicator_offset=0x1f1, indicator=0x80, checksum=0x7f)
RawData (size=65536)


Both with this operations were done using zeus app internal resource 6870.efi file and the file 6870.efi.rom contained by initial post on the thread. I did that because this two files differ:
Quote
jordi$ diff 6870.efi 6870.efi.rom
Binary files 6870.efi and 6870.efi.rom differ

After that I flashed the bios two times, with zeus 2.3 and with atiflash and a FreeDOS USB pendrive.

Neither any of this operations lead to a functional ATI HD6870. Every time I had to reflash with the original bios. The one that I am attaching now is the original BIOS.
I also attach the photos of the log of atiflash when I flashed the EFI bios. And the information about the Original bios provided by atiflash.

As i've read on this forums at the moment, the only thing that I can do is to generate the EFI BIOS with the "netkas rom creator" http://netkas.org/?p=943 but there is no place on the internet where I can find that application.

There is anybody of you that could tell me where to find that application. Or could explain me what I'm doing wrong?

Thanks a lot.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: loisl on July 17, 2014, 10:55:22 PM
Have the flash following graphics card problems
Gigabyte HD 6850 (GV-R685OC-1GV Rev. 1.2)
I have already read almost all articles here
Everything is running smoothly without any error message

Code:
c:/>atiflash -s 0 myrom.rom 20000

blocknum=`printf %d "'\`dd if=myrom.rom bs=1 skip=2 count=1 2>/dev/null\`"`
size=$(($blocknum * 512))
dd if=6850.efi.rom of=myrom.rom bs=$size seek=1 conv=notrunc

python fixrom.py myrom.rom myrom.rom

c:/>atiflash -p -f 0 myrom.rom

In Mac I still get ONLY "AMD Radeon HD 6xxx 1024 MB" is displayed and no boot logo
Did I miss or forget something

(Methinks a donation is in order for saving me the Apple Tax...)

(http://saverserver.org/graka/Bildschirmfoto-1.png)
Bildschirmfoto-1.png (http://saverserver.org/graka/Bildschirmfoto-1.png)

(http://saverserver.org/graka/Bildschirmfoto-2.jpg)
Bildschirmfoto-2.jpg (http://saverserver.org/graka/Bildschirmfoto-2.jpg)

(http://saverserver.org/graka/Bildschirmfoto-3.jpg)
Bildschirmfoto-3.jpg (http://saverserver.org/graka/Bildschirmfoto-3.jpg)

(http://saverserver.org/graka/Bildschirmfoto-4.png)
Bildschirmfoto-4.png (http://saverserver.org/graka/Bildschirmfoto-4.png)


Another test!
Have just nor the "6850_EBC.efi.zip" of blacksheep (http://forum.netkas.org/index.php/topic,1085.390.html) tested ...
will at least go so far as to that I get the graphics card in the Mac angezeit.
BUT just with even more disadvantages: just no bootscreen and analog signal over DVI.
For this graphics card, there is probably not a solution for a bootscreen?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: rustamh on July 31, 2014, 04:37:02 AM
Hello! tried to do the bios of your method, but there is only 1 Mcuc and operations offset not understand. Video card HD5870. Photo put. The original rom attached.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: blacksheep on July 31, 2014, 11:03:50 AM
Loisl: no bootscreen with EBC EFI for 6xxx series. Your first try was complete miss. You flashed the card with 64-bit EFI which is ignored by 1,1 and card is working thanks to PC BIOS part auto initialization by drivers. To complete the story, cards with such port layout are able to do only DP and lower DVI after flash, sorry.

rustamh: you have a bad luck. Your card has 7E BIOS which is a no go. You cannot make enough space to fit the EFI part. You need to find another reference BIOS to modify it then flash.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: rustamh on August 01, 2014, 12:00:46 PM
Thanks  for the answer Blacksheep! but I have a 5 series, and where can I find a 32bit efi bios for my 5870?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: blacksheep on August 02, 2014, 01:08:07 PM
Another reference PC BIOS, not the EFI. Comprende? ;)


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: rustamh on August 03, 2014, 07:26:31 AM
I found another bios even two, get 2 MCuc but the card does not show anything.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: rustamh on August 03, 2014, 07:27:41 AM
is unmodified bios


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: toke lahti on August 17, 2014, 03:50:44 AM
I just wish there would be an easy way to make bootable usb stick for mp1.1...


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: toke lahti on August 19, 2014, 10:25:41 PM
Flashed my 5770-ZMF3 with these instructions.
Now when not in mirror mode, the only resolution for 21" crt (CPD-G520) connected to lower dvi port with vga adapter, by System Preferences is 1280x1024. SMC & PRAM reset did not help. My mac is MP1,1 with GTX760 connected to 30" (2560x1600) and 23" (1920x1200).

Any help, please?

Code:
ATI Radeon HD 5770:

  Chipset Model: ATI Radeon HD 5770
  Type: GPU
  Bus: PCIe
  Slot: Slot-3
  PCIe Lane Width: x4
  VRAM (Total): 1024 MB
  Vendor: ATI (0x1002)
  Device ID: 0x68b8
  Revision ID: 0x0000
  ROM Revision: 113-C0160C-155
  EFI Driver Version: 01.00.436
  Displays:
CPD-G520:
  Resolution: 1280 x 1024 @ 100 Hz
  Pixel Depth: 32-Bit Color (ARGB8888)
  Display Serial Number: 6009183
  Mirror: Off
  Online: Yes
  Rotation: Supported


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: toke lahti on August 20, 2014, 02:01:22 PM
Flashed my 5770-ZMF3 with these instructions.
Now when not in mirror mode, the only resolution for 21" crt (CPD-G520) connected to lower dvi port with vga adapter, by System Preferences is 1280x1024. SMC & PRAM reset did not help. My mac is MP1,1 with GTX760 connected to 30" (2560x1600) and 23" (1920x1200).

Any help, please?
Nevermind, found a solution: keeping option key down while clicking "scaled" in display preferences!
Why didn't I guessed this before...
Found the solution here:
https://discussions.apple.com/thread/5469819?start=150&tstart=0


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: ivanpagan on September 05, 2014, 10:04:54 PM
Hi, there. I'm trying to flash my ATI RADEON 5870 making my own rom with this method. When I've finished all steps, inserting Efi pasting it with 0ex I have a myrom.rom sizing 173Kb, It's correct? When I try to flash, atiflash.exe tell me "exiting due to signal sigsegv" and not flash my card. When you said paste EFI you mean to copy all 5870_uakari_netkas.efi in somewhere FF place? I cut all FF of the end of myrom.rom first, but not cut anymore, It is necesary to get a 128Kb file? or not necesary?

Thanks a lot.
I'm frustrated with that.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: sanyas on October 18, 2014, 12:00:54 PM
Hi all,

I'm looking for help how-to create or find a EFI-ROM for the XFX HD-577X-ZMF7 VA.5 , single slot, 2xDVI and Mini-DVI, for my MacPro 1.1

Got the card 2 days ago, saved the PC-BIOS, but I'm lost, here's so much information, can one please help me with the ROM?
I don't know which one to flash, vanilla, vervet, and so on.

Do I have to flash it on PC (with freedos) or can I use Zeus on Mac?

Maybe one has the same ROM.

Thanks in advance.
sanyas

If needed I can send a picture of the card.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: blacksheep on October 18, 2014, 08:22:51 PM
All you need is described in original post (and attached to). Read it carefully and you'll be good to go.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: sanyas on October 22, 2014, 07:30:57 AM
All you need is described in original post (and attached to). Read it carefully and you'll be good to go.

Hi blacksheep,

well, I've tried it, I was able to modify the original PC ROM (had 2 MCUC's).
But I didn't flashed the card yet.
In the meantime I've installed Mavericks (removed the 7300 GFX card - the 5770 is the only card in the system) with the help of SFOTT, everything went well.

Now, I want to flash the card. Do I have to remove it and flash it with DOS, or can I put back the 7300 as a primary card and flash it with the ATI flasher (the old one?)

See the screenshot, do I have to add any drivers? Because the card is recognized only as 5000. Will it be fully recognized after I have flashed it with the modified EFI myrom?

Thanks!
(http://)


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: devildcn on October 22, 2014, 01:55:44 PM
Hello guys.

My friend asked me to make efi bios for his Sapphire 5770 Vapor-X for MacPro 1.1.
All scripts gone smooth w/o any errors but i'm still not sure in my actions.
Can you plz look at my files and say all is good?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: blacksheep on October 22, 2014, 06:10:30 PM
Guys, just flash darn cards and you will see ;)
In 99,9% cases it's reversible.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: sanyas on October 25, 2014, 10:39:51 AM
All you need is described in original post (and attached to). Read it carefully and you'll be good to go.

Hi blacksheep,

well, I've tried it, I was able to modify the original PC ROM (had 2 MCUC's).
But I didn't flashed the card yet.
In the meantime I've installed Mavericks (removed the 7300 GFX card - the 5770 is the only card in the system) with the help of SFOTT, everything went well.

Now, I want to flash the card. Do I have to remove it and flash it with DOS, or can I put back the 7300 as a primary card and flash it with the ATI flasher (the old one?)

See the screenshot, do I have to add any drivers? Because the card is recognized only as 5000. Will it be fully recognized after I have flashed it with the modified EFI myrom?

Thanks!
(http://)


Guys,

thanks for your help, I've flashed the card wit my own modified rom like in jeanlain's post.
The DVI ports are working (didn't attached yet a second monitor but separately), Mini-Displayport not tested yet (don't have the adapter).

I get a "half" boot-screen, it takes a little bit until the Apple Logo appears (but without the spinning circle), then the login window.
I have to test to see if booted with the ALT key shows the startup volumes.

So, far, DVD player is working.

Best,
sanyas

(http://)


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: henri.b on November 03, 2014, 01:01:45 PM
Bought this weekend a sapphire 5870 Game edition and tried to flash it with no succes
First i upgraded the card to its most recents bios
Text edit the bios, only one mcuc present
Cut some of the fffffff and paste it above the mcuc., ran the script to combine the efi.
Flashed the card with the new bios.  
Rebooted the system, no bootscreen present and a blury screen.

Does anyone now what i did wrong? Or does anyone have a mac rom for my sapphire 5870 gamers edition?



Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: mew_bg on November 29, 2014, 10:07:43 AM
Hello all,

I've followed the instructions on the first page (using the following Sapphire HD 5770 (http://"http://www.sapphiretech.com/presentation/product/product_index.aspx?pid=341&lid=1") ). I had twice mcuc, so didn't take any of the extra necessary steps. My card works in a mac pro 1.1 (with 3 monitors  8) ). and Yosemite 10.10, the only issue is that I don't have a boot screen (I can live without that).

Also interestingly, when going over the PCI report from system information I have the VGA twice....

Once is:

Code:
ATI Radeon HD 5770:

  Name: ATY,Vervet
  Type: Display Controller
  Driver Installed: Yes
  MSI: Yes
  Bus: PCI
  Slot: Slot-1
  Vendor ID: 0x1002
  Device ID: 0x68b8
  Subsystem Vendor ID: 0x174b
  Subsystem ID: 0xe147
  Revision ID: 0x0000
  Link Width: x16
  Link Speed: 2.5 GT/s

and the second

Code:
ATI Radeon HD 5770:

  Name: ATY,VervetParent
  Type: ATY,VervetParent
  Driver Installed: No
  MSI: No
  Bus: PCI
  Slot: Slot-1
  Vendor ID: 0x1002
  Device ID: 0xaa58
  Subsystem Vendor ID: 0x174b
  Subsystem ID: 0xaa58
  Revision ID: 0x0000
  Link Width: x16
  Link Speed: 2.5 GT/s



Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: cheebster on December 03, 2014, 05:21:27 PM
Hello, i have a 6770 with a AMD logo on it, comes from ebay made by hp. I installed it in 2010 imac with 5770, but black screen. I dumped the 5770's rom using gpu-z. I'm not so sure what i can do at this point to get it working. I have access to an eeprom programmer, and i can desolder these soic eeprom quickly if needed. Any help would be really appreciated.. thanks !!!


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: davis1205 on December 07, 2014, 10:18:02 AM
Hi guys!
I have this ATI Radeon 5870 HD which i can't find the EFI rom to anywhere here and google..
Can any one please link me to the files?
I followed the instructions from this page http://www.neowin.net/forum/topic/978894-pc-ati-57705870-cards-flashed-to-work-with-mac-pro/

I got my cards firmware backed up, but the link to the files 5870_vervet_netkas.efi and fixrom.py. isn't working, also the links from this forum..stucked.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: MacPro5870Updater on December 07, 2014, 04:20:10 PM
I have a Probelm. I've got the 5870 from ASUS
Everything goes well (Making the myrom.rom with FreeDOS) also using the script in the terminal for the 5870 works fine.
But if I search for mcuc it doesnt find anything. No mcuc section. I am confused. Its definitly a 5870 but it wont work.
Anyone got the same problem? Any solutions?

Would be nice to hear from you!


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: davis1205 on December 08, 2014, 07:57:02 AM
Hi guys!
I have this ATI Radeon 5870 HD which i can't find the EFI rom to anywhere here and google..
Can any one please link me to the files?
I followed the instructions from this page http://www.neowin.net/forum/topic/978894-pc-ati-57705870-cards-flashed-to-work-with-mac-pro/

I got my cards firmware backed up, but the link to the files 5870_vervet_netkas.efi and fixrom.py. isn't working, also the links from this forum..stucked.

ANYBODY??


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: rustamh on December 13, 2014, 07:22:06 AM
Hello! start of the topic http://forum.netkas.org/index.php/topic,692.330.html .flashed another card BIOS.No boot screen and works on 2.5 GB / s.What are the reasons?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: groovemachine on December 16, 2014, 01:46:32 AM
I was attempting to flash a 6870  on a Mac Pro 3.1 using zeus  unfortunately it seems only zeus 2.3  will work with this card. The latest version is the only one available and therefore was hoping that someone on these forums may be able to provide me with zeus 2.3.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: zondas on December 17, 2014, 01:50:56 PM
I have two HD4870 1GB Card and i will flash it.

1.Sahpire HD4870 1GB Vapor-X
(http://[url=http://www.fotos-hochladen.net][img]http://img5.fotos-hochladen.net/uploads/daten7483nb26mv.gif)[/url][/img]
2.Radeon HD4870 1GB
(http://[url=http://www.fotos-hochladen.net][img]http://img5.fotos-hochladen.net/uploads/tech3wjnbx5rl4.gif)[/url][/img]



For the Radeon HD4870 1GB , i used Zeus , but there are a Script Error and for the Vapor-X 1GB , it means , that i must be flash it manually.Please help.How i can flash the HD4870 Cards.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: zondas on December 18, 2014, 01:13:50 AM
CAN ANYONE HELP ME PLEASE !!!!????????

HOW CAN I FLASH THE HD4870 1GB VAPOR-X


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: pscafe on January 15, 2015, 12:20:26 AM
Hi

can someone check this rom for me?

i have a Powercolor
i followed the guide, mcuc come twice.

BUT
when i run the python script i get

[Errno 2] No such file or directory


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Spacedust on January 21, 2015, 02:19:19 PM
Anyone tried HD6790 ? It seems to be using Barts chip so HD6850/HD6870 roms should work.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: jeremyw on January 30, 2015, 10:51:08 AM
Thanks to this thread I was able to create a ROM and flash my Sapphire Vapor-X 5770 and now have a fully recognised 5770 in OS X plus boot screens using a DVI to VGA adaptor in the bottom DVI connector.
The instructions were really clear, I didn't follow them exactly as I used GPU-Z to dump the ROM and ATI Winflash to flash the created ROM but I was surprised just how easy it was as this is the first time I've flashed a card.

Thanks very much guys!


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: FuzzyPol on February 09, 2015, 09:13:40 PM
Guide from first page will work with yosemite? I must flash 5770 (show as HD 5000). It flash guide will work for that? Sorry for stupid question but im newbie


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: smiggly on February 10, 2015, 03:54:01 AM
I want to buy a card for my Mac Pro 4,1 upgraded to 5,1 but want one that flashes well in case I decide to sell the computer at some point.  Is there something that is recommended?  It sounds like most/all cards have some kind of issues (no boot screen except on specific ports, or other problems?) is there anything that works very close to how a genuine apple card works?  My 2 monitors are DVI, but I could get an adapter if needed.  I just want something better than the the 120 I have.  I'd really open to about any price, just want something that works well without paying the premium for an Apple card.  Any suggestions?

Thanks


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: onothe on February 11, 2015, 01:24:09 AM
Ati Radeon HD 5870 (PC flavor)
+
Mac Pro 1,1

card was too long for macpro (had some kind of handle thing on it)
hacked off excess with a grinder.

booted into lion.
dvd player, after effects, etc. not work (crash on launch)

tried to flash card,
but only one mcuc.
tweaked offset but couldn't find a sweetspot. maybe there's not enough "F"'s on the card's rom.

updated firmware of macpro to 2,1
still nothing.

updated to osx10.8.3
(swapped in a hacked boot.efi and altered the supportedsystems plist)

now dvdplayer and ae work just fine thankyou very much.
open CL apps recognize and utilize 5870 card
(photoshop worked under lion btw)
(and osx10.6 booted also)

no verbose screen while booting.
seems that resetting pram will load a 640x480 gui and allow you to choose the startup disk also.

2 DVI ports work at the same time with VGA adaptors (haven't tried DVI monitors yet)
the hdmi port works but with only one DVI (to vga) port at a time.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: StockDC2 on February 24, 2015, 03:27:54 AM
Hello, just verifying that this guide is still valid before I attempt to flash my 5870. Thanks.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: winzig on March 07, 2015, 07:54:29 PM
Hello, i have a Mac Pro 3.1 late 2008 x64 and two AMD Cards ------ AMD Sapphire 6850 2GB Card and a AMD Sapphire 6850 1GB Card. i can't create a efi bios rom for this two Cards. Can anyone create the two efi roms for me? I thank you sooooo mutch Guys ...  Thanks from Germany

 ??? ::) :'(


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: MacPaul on March 13, 2015, 11:57:09 AM
Hello, just verifying that this guide is still valid before I attempt to flash my 5870. Thanks.

First of all, many thanks to all involved for the wealth of information that can be found in this forum!

I just managed to perform a flash with an HD 5770 1GB following this guide, so yes, it still 'works'.
And I guess it will therefore also work for an HD 5870. You do need to be a registered user it seems
though in order to download certain necessary files.

I get the correct naming in the System Profile, 1gig memory recognized, two screens working via DVI,
DVD Player ok, etc. Had two times 'mcuc', so pretty straightforward process.

I wonder, however, is getting a boot screen via DVI (no vga-adapters used) with the vervet_netkas_efi
a matter of luck, depending on brand/type of card used? I used a pretty standard looking ATI Radeon
with one small fan (it says Rev. A00 on a label, SysProfile says Item Code: 0x68b8;
ROM: 113-C0160C-155; EFI: 01.00.436)

I was really hoping on getting a boot screen after flashing with what seems updated EFI on page 1
of this topic. Or would other rom-files give a boot screen? Whatever happened to the real Apple-version
of this rom? One does see refurbished pc cards offered on eBay that claim to offer a boot screen,
so how do these guys do that?

Is there anyone who has seen a boot screen popping up on direct DVI with an HD 5770?
Or am I in general better off with flashing an HD 4870 (= more chance on boot screen after flashing?)


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: guitarin on March 15, 2015, 04:46:16 PM
Sorry my bad english


Provided the source is

blocknum=`printf %d "'\`dd if=myrom.rom bs=1 skip=2 count=1 2>/dev/null\`"`
size=$(($blocknum * 512))
dd if=6850.efi.rom of=myrom.rom bs=$size seek=1 conv=notrunc

But everyone has been used in different ways. (first line)
ex) blocknum=128

Tell me why!!!
why are you doing this??



my card = hd 6870 = http://www.sapphiretech.com/presentation/product/product_index.aspx?pid=496&lid=1


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Bunga-Bunga on March 19, 2015, 09:38:32 PM
I flashed a HD5870 with modified rom, works fine (except bootscreen [VGA only] and PCI rate 2.5GT/s instead of 5, but its a known issue).

But MP4.1 can't switch to sleep-mode, black screen but fans are still running. How to fix it?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: mrhali on March 21, 2015, 09:10:27 PM
Hey guys, just wanted to chime in.  I flashed my HD5770 1GB card using this guide into a Macpro1,1 which was reflashed to be a 2,1 and everything works great.  (I strongly recommend doing this btw).  Both of the DVI ports work fine as well as the HDMI port, and the card is fully and properly detected in System Report (as opposed to prior to flashing it). And it seems snappier.

Just recently, while I was moving my computer, I had rebooted it with only the HDMI cable hooked up to my TV.  Suddenly, I noticed that when it booted up like this, the Apple logo appeared there!  So now, I'm thinking that perhaps the HDMI port is just configured as the primary monitor.  Is there any way to rebuild the Boot EFI file to make the primary monitor to be one of the DVI ports instead?  Any thoughts on this?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Corpheus on April 14, 2015, 11:12:46 PM
Does anybody know if this card will work with all ports (DVI, HDMI, DP)?

Club 3D Radeon HD 5770, 1GB GDDR5, DVI, HDMI, DisplayPort, PCIe 2.1 (CGAX-57724F)

(http://geizhals.at/p/1347/491347/491347-3.jpg)

Thank you.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Drizzt on May 16, 2015, 10:36:08 PM
I'm trying the procedure on a Asus Radeon 5770 and I'm getting the "dd: bs must be between 1 and 9223372036854775807" error.

Attached is my card's ROM.

Can somebody help me?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: reddemonic on May 31, 2015, 02:53:31 AM
I'm trying the procedure on a Asus Radeon 5770 and I'm getting the "dd: bs must be between 1 and 9223372036854775807" error.

Attached is my card's ROM.

Can somebody help me?

its because you are using a incorrect directory.

try this...


open terminals

type "sudo -s"
type "your password"
type "pwd"

this will show your current directory. place your myrom.rom, fixrom.py, 5770_vervet_netkas.efi in there. e.g.. "/Users/yourname"
then try again with the commands :)

If you want to flash a 5770, paste this
Code:
blocknum=`printf %d "'\`dd if=myrom.rom bs=1 skip=2 count=1 2>/dev/null\`"`
size=$(($blocknum * 512))
dd if=5770_vervet_netkas.efi of=myrom.rom bs=$size seek=1 conv=notrunc



Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Drizzt on June 01, 2015, 02:01:25 AM
Believe me, I was in the good folder. I'm a sysadmin...

I put the commands it a script invoking bash to run and I still get the same error.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: BitingChaos on June 24, 2015, 05:24:47 PM
I recently found this thread, and it helped get my Radeon HD5870 native Mac support.

I have a stock/reference "Built by ATI" Radeon HD5870.

Its BIOS was 012.011.000.006.034494, dated 2009-09-14 15:05.
I saved it to disk and tried to patch it. Even with moving the empty 0xFF up in the file, I lost the second "MCuC" during the patch.

I then grabbed the latest reference BIOS, 012.014.000.005.038552, dated 2010-09-21 18:41, from TechPowerUp (http://www.techpowerup.com/vgabios/index.php?model=HD+5870).
After moving the empty 0xFF up from the end of the file and patching it, the second MCuC was still there! I updated its offset and ran the Python file to finish up.

Thanks!

 


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Drizzt on June 24, 2015, 09:17:53 PM
I got to flash it using a ROM from TechPowerUp as base.

I still don't have anything on boot but I get the progress bar to appear before the login screen. The identification is good in System Profiler.

It's a start...


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Drizzt on July 02, 2015, 01:31:06 AM
I've got a boot screen on the VGA port, which means it worked.

Anybody knows of a way to make DVI work on boot?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Fl0r!an on July 02, 2015, 11:31:36 AM
I guess you are talking about a HD 5770/HD 5870? Have a look at this thread: http://forum.netkas.org/index.php/topic,10827.0.html (http://forum.netkas.org/index.php/topic,10827.0.html)


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: kman3515 on July 06, 2015, 02:17:21 AM
where are files attached to this post it says take the rom and files attached to this post cannot find those files.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: kman3515 on July 10, 2015, 02:12:28 AM
what is command to flash myrom after fixing up everything ?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: cogliostro on August 01, 2015, 12:02:44 PM
Here is my rom from the AMD 5870HD

I did all the procedure from the first thread but still only 1 mcuc.

"Then redo steps 2a and 2b. If only one instance of mcuc found, you're screwed. You cannot make a custom ROM with your original BIOS."

Any solutions for my problem?

Card is named ATI-102-C00101(B)


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Fl0r!an on August 01, 2015, 03:04:18 PM
Means exactly that. When you're lucky flashing a ROM of a similar card might work. Might also produce a brick or some malfunction.
Soldering a larger EEPROM on the card should work, too.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: gyttja on August 03, 2015, 03:54:51 PM
Hi all.
Trying to get my R9 280X to work with boot screen.
I managed to get the BIOS into a .rom file
I downloaded the Mac7970.rom EFI file, edited it to name it to R9 280X (instead of 7970)
Than I am trying to combine the EFI part with the BIOS rom.
I am getting this error: dd: bs must be between 1 and 9223372036854775807
Got around it and now I get:
ValueError: chr() arg not in range(256)

Can anyone help me?
My bios Romfile attached. If anyone would be so kind to combine it with the right EFI I would be super happy.
And if it reads out R9 280X in the system you are my new hero  ::)


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: gyttja on August 03, 2015, 07:05:52 PM
In the below part EFI.rom is the 7970 EFI rom I got, myrom.rom is the original bios.
I was using the following code to try to combine it, while having the Netkas files in my home folder:
./makerom.sh --efifile=EFI.rom --romfile=efiromheader.rom --originalrom=myrom.rom --devid=6798

I get this:
running on EFI.rom, efiromheader.rom with devid 6798
Patching files EFI.rom, efiromheader.rom for device-id 0x6978
Successfully patched efi file
Successfully patched efi rom file
Orig Size = 131072
Comp Size = 89746
89746+0 records in
89746+0 records out
89746 bytes transferred in 0.215622 secs (416219 bytes/sec)
EFI part is ready at 6798.efipart.rom
orig size - 65536
90098+0 records in
90098+0 records out
90098 bytes transferred in 0.176421 secs (510699 bytes/sec)
Before:
OpRom (size=65536, indicator_offset=0x245, indicator=0x0, checksum=0x0)
OpRom (size=48128, indicator_offset=0x31, indicator=0x80, checksum=0x43)
RawData (size=148480)
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 myrom.rom.efi.rom


What am I doing wrong?

Edit:
If I change the name of the file myron.rom.efi.rom back to myrom.rom, and than run this:
python fixrom.py myrom.rom myrom.rom

Than I get this:
Before:
OpRom (size=65536, indicator_offset=0x245, indicator=0x0, checksum=0x0)
OpRom (size=48128, indicator_offset=0x31, indicator=0x80, checksum=0x43)
RawData (size=148480)
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)

So thats not helping either.



Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: smjones on August 03, 2015, 08:41:12 PM
gyttja: You've posted about your issue flashing an R9 280X in a thread about 5x70/68x0 cards. Why would you think that would be helpful to yourself or anybody else?

You should read these threads:

  • R9 280X flashed with EFI - http://forum.netkas.org/index.php/topic,7515.0.html (http://forum.netkas.org/index.php/topic,7515.0.html)
  • 7xxx rom creating test - http://forum.netkas.org/index.php/topic,5619.0.html (http://forum.netkas.org/index.php/topic,5619.0.html)

and reply there, or start a new one.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: smjones on August 03, 2015, 08:51:53 PM
Just to add some vaguely constructive content to this thread, I've flashed two 58x0 cards this year. (Woo hoo.)

  • Sapphire Radeon HD5850 - HD5850 1G GDDR5 PCI-E DUAL DVI-I/HDMI/DP; SKU 21162-00; P/N 102-c00201-10-AT
  • XFX Radeon HD5870 - HD5870 850M 1GB DDR5 DP HDMI DUAL DVI PCI-E; HD-587X-ZN  HD-587X-ZNFC V1.6

Both were eBay purchases.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: cmiu147 on August 08, 2015, 09:05:05 AM
Any good rom for 5770 efi32 ?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: gaephoto on August 31, 2015, 04:25:19 PM
Hi guys I have the procedure done as described everything went well but I have the problem that the resolution of the monitor is beyond 1920x1080 ...
I have a Dell U2713 H which supports a resolution much higher than anyone I know Respond ?? what should I do??
I have Mac Pro 1.1 OSX 10.9.5 ATI RADEON HD 5870


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: apple666 on September 01, 2015, 05:58:48 PM
Is there any way to flash XFX 5770 to work with Power Mac G5 PPC?
 I do have late 2005 G5 PPC with PCI express and I have XFX 5770 laying around as left over after upgrading my hackintosh.
So what are the steps to make that card work with Power Mac G5 non EFI?
 
 Also does anybody knows where I can find original bios for X1900GT 256mb version for Power Mac's? I need it to flash never EFI X1900XT with that bios to make it work on G5 PPC.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: SVIHD on September 08, 2015, 05:27:42 PM
Hello there!
I decided to upgrade my stock GT120 to a Gigabyte 6870 OC (3 fans). It´s supposed to run out of the box in Yosemite but without the bootscreen.
Is there any way to flash the EFI to the cards Bios to get a working bootscreen?
I found a few ROM´s but they were all for other cards like the HIS ICE-Q or the XFX version.
My Mac Pro is a early 2009 model and runs OS X 10.10.5 and Windows 7.

Best regards.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Fl0r!an on September 08, 2015, 08:26:00 PM
Everything you need is in the 1st post


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: donjames on September 10, 2015, 03:14:16 AM
Hi folks,

Where do I download the 5870_uakari_netkas.efi file?

I am getting ready to flash a video card.

Thanks,

Don James


Title: Re: Make your own Radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: yzfnyc on September 26, 2015, 06:09:26 AM
Attached is the .rom file for the XFX ATI Radeon HD 5850 [Model# HD-585X-ZA-HD-585X-ZAFC V3.1]
HD-5850 725M 1GB DDR5 DP HDMI DUAL DVI PCI-E - P/N: VPEAC008371PS8.

All ports working exempt Displayport needs top DVI to be in use to work.  
Boot Screen working fine with DVO to VGA.  Will show up in Profiler as ATI Radeon HD 5870 but it is working fine with no issues on Yosemite 10.10.5

Just used the steps for the 5870 rom as noted in the 1st post thanks jeanlain for the great write up and of course it goes without saying pipomolo42, netkas and Rominator for excellent work.



Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Zabadeu on September 28, 2015, 11:54:18 PM
Hi guys.

I've flashed a XFX HD-577X-ZN. Had no screen during boot and no screen after boot.
Now I have signal during startup but no signal afterwards (including safe mode).
I'm only using the DVI ports, and those and the ones I needed working. Can't tell if the HDMI port is working or not :/

Any ideas why?

I've attached both original and altered roms.

Thanks in advance


==UPDATE==

Reflash fixed :D

Thank you all!

/pedro


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: tertiumsquid on October 02, 2015, 02:44:02 AM
The patched ROM I created works perfectly on my Asus 6870!

Unfortunately, the patching process didn't work great for me.  For some reason DD wasn't accepting the block size from the script.  Now I'm not the best at scripting or programming stuff, but I tried just pasting
Code:
printf %d "'\`dd if=myrom.rom bs=1 skip=2 count=1 2>/dev/null\`"
into Terminal on it's own, and it came back with "96" for some reason, so I did the math myself and told DD the block size was 49152, ran the python script, and rebooted to flash the new ROM, which obviously didn't work.  Thankfully I had a real Mac card here to pop in and re-flash to figure out my troubles.

I eventually figured out what went wrong.  The block size calculation from the script came back with a negative number.  $blocknum was "-128", which made $size "-65536".  DD is obviously confused by the negative block size, so it doesn't work.

Not sure why this went wrong, but in case it helps I'm on 10.10.5 on a Mac Pro 4,1.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: KernkraftX360 on October 11, 2015, 12:45:42 PM
Hello, everyone. I'm currently on a project to replace my HD2800XT 256MB (Apple Standard) that comes with the 2008 3,1 Mac Pro 2.8Ghz Quad Core Intel Xeon with ATI Radeon HD 5870 1GB PCIe DVI x 2 HDMI Display port 256 Bits HD5870.

I read here on the forum, that it is able to run with the 2008 3,1 Mac Pro, which is a good news. Now, I wish to have an Apple Boot Screen when I turn on the Mac Pro. I'm sure you guys have managed to run the PC-based card ATI Radeon HD 5870, to flash it with Apple EFI ROM, and it works with the Mac Pro right? Can someone please guide me with a procedure to do so? I'm currently on MAC OS X El Capitan 10.11. Please post the reply here on the website forum.netkas.org or you can also email me at: rezza.hutagalung@gmail.com.

Thanks in advance. Brilliant. Best regards.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: yzfnyc on October 11, 2015, 05:26:42 PM
Hello, everyone. I'm currently on a project to replace my HD2800XT 256MB (Apple Standard) that comes with the 2008 3,1 Mac Pro 2.8Ghz Quad Core Intel Xeon with ATI Radeon HD 5870 1GB PCIe DVI x 2 HDMI Display port 256 Bits HD5870.

I read here on the forum, that it is able to run with the 2008 3,1 Mac Pro, which is a good news. Now, I wish to have an Apple Boot Screen when I turn on the Mac Pro. I'm sure you guys have managed to run the PC-based card ATI Radeon HD 5870, to flash it with Apple EFI ROM, and it works with the Mac Pro right? Can someone please guide me with a procedure to do so? I'm currently on MAC OS X El Capitan 10.11. Please post the reply here on the website forum.netkas.org or you can also email me at: rezza.hutagalung@gmail.com.

Thanks in advance. Brilliant. Best regards.

Did you buy the card yet?  Because although not really mentioned you need to get a reference card so that it can give you a boot screen with all ports or most at least.  Have you never flashed a card before?  If not you will need access to a PC or have a Windows Partition installed on your Mac Pro.  I'll try to outline the PC part as if you have never done this before.

In Windows:

Install ATI Drivers from ATI Website if not already installed

Download ATI Winflash from http://www.techpowerup.com/downloads/2531/atiflash-2-71/

Install ATI Winflash at C:\Windows\AMD\

Right click on the program "ATIWinflash" and select "Run as administrator" and ok the windows security feature.

ATIWinflash will start and show you the info of your cards obviously select the AMD Radeon HD 5800 Series and it will give you the DeviceID and other info.

now click on save and save your rom file.  I usually use the card # 5870 and put PC in front of it ie. PC5870.rom [put .rom at the end]

Find your file at C:\Windows\AMD\ and drop it onto a USB Flash drive or something to transfer over to your Mac.

Macintosh Part:

The only thing not detailed is the part to download the flash.zip file and extract it in your home folder in OS X then follow the instructions in the first post.

Back in Windows

Go to C:\Windows\AMD\ and drop the new modified rom file into the folder.

Then right click on the program "ATIWinflash" and select "Run as administrator" and ok the windows security feature.

ATIWinflash will start click ok and it will close.

now type "cmd" at your run line in start up in Windows 7 or 8 or in Windows 10 at the bottom search box to get the CMD window with Dos Prompt which should read a little something like this or close to it doesn't really matter.

Now type this into the prompt.

cd C:\AMD\Winflash\

You should get it to look like this:
C:\AMD\Winflash>

Now because you likely have two ATI cards since you stated you currently have an ATI HD2800XT in your Mac Pro you will need to tell Winflash what to flash.

So you need to find out which card is which.  to do that you type:
atiwinflash -i

This should give you a box with your two cards info and a number before them.  Replace # and of course change name of bios where it says "NAME of the BIOS".rom and do not type the " " they are just to point things out.

atiwinflash -f -p "#" "NAME of the BIOS.rom"

Good luck and feel free to ask any questions and let us know if you were successful.  :)


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: KernkraftX360 on October 12, 2015, 05:37:52 AM
@yzfnyc,

I have not bought the card, yet. Still contemplating about it. I will buy it soon. Just need to sort out, so that I have all the things in place before I start the procedure of flashing. I already have an ATI HD2800XT. That means I'm good right? I think I need to run two cards together on the Mac Pro, although I'm only running one display. Is it necessary to have two graphics card? Please advice.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: yzfnyc on October 14, 2015, 12:06:41 AM
@yzfnyc,

I have not bought the card, yet. Still contemplating about it. I will buy it soon. Just need to sort out, so that I have all the things in place before I start the procedure of flashing. I already have an ATI HD2800XT. That means I'm good right? I think I need to run two cards together on the Mac Pro, although I'm only running one display. Is it necessary to have two graphics card? Please advice.

So that you can attach the monitor to the card you are not flashing and using to boot into.  Maybe you might consider buy an already flashed card to avoid the hassle. 


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: ohio2012 on October 18, 2015, 03:10:39 PM
First of all, you guys are the smartest people ever.

I followed the procedure to a T, however I'm still not getting a boot screen (using a DVI to VGA adapter.)  My Mac now recognizes the card properly in the "About this Mac", but I'm really after the boot screen.

I've attached myrom that I  made and used for the flash (as well as the original).  Any input would be great appreciated.  I'd like to know where I messed up.  Its a ATI HD 5870.

Thanks you!!


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: KernkraftX360 on October 19, 2015, 01:54:01 PM
@ycfnyc,

Can you please help me confirm that Ati Radeon 5870 ( this unit: http://www.lelong.com.my/ati-radeon-hd-5870-1gb-pcie-dvi-x-2-hdmi-display-port-256-bits-hd5870-beginner28-148109145-2016-04-Sale-P.htm ) will work through flashing the apple efi for boot logo with my 3.1 2008 Mac Pro?

That is the unit that I would want to purchase. So, please let me know before I purchase the item :)


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: yzfnyc on October 19, 2015, 04:58:55 PM
@ycfnyc,

Can you please help me confirm that Ati Radeon 5870 ( this unit: http://www.lelong.com.my/ati-radeon-hd-5870-1gb-pcie-dvi-x-2-hdmi-display-port-256-bits-hd5870-beginner28-148109145-2016-04-Sale-P.htm ) will work through flashing the apple efi for boot logo with my 3.1 2008 Mac Pro?

That is the unit that I would want to purchase. So, please let me know before I purchase the item :)

That there is a reference card so it should work...  Best of luck.  Report back any issues.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: KernkraftX360 on October 19, 2015, 06:07:05 PM
@yzfnyc,

Thank you for your comments. I will try to install it and flash it with apple efi. Will let you know of the outcome. Meanwhile, while I'm waiting for the card to arrive, I think I need to know what power cables do I need to power the HD5870? Does it work with the cables that comes with the pc HD5870 or do I need to purchase a Mac Pro 3.1 specific power cable to run it? Please let me know.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: yzfnyc on October 19, 2015, 10:33:52 PM
@yzfnyc,

Thank you for your comments. I will try to install it and flash it with apple efi. Will let you know of the outcome. Meanwhile, while I'm waiting for the card to arrive, I think I need to know what power cables do I need to power the HD5870? Does it work with the cables that comes with the pc HD5870 or do I need to purchase a Mac Pro 3.1 specific power cable to run it? Please let me know.

You will need 2 G5/Mac Pro 6-pin power to 6 Pin PCI-E cables.  I used a splitter one which also works.  You can find it on eBay.  Cheap from China or Amazon if you need it quick.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: KernkraftX360 on October 31, 2015, 04:52:15 PM
@yzfnyc,

Bro, my current project is halted as my ATI Radeon HD2600XT just died, right before my HD5870 arrives. Is there any way I can proceed to boot the new HD5870 with Apple EFI, with my current Apple Card being dead? Thank you for your time.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: cogliostro on November 11, 2015, 03:14:13 PM
Hi, i have successfully created an Rom with 2 Mcucs. I flashed it on my Card and it seems to work fine.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Fl0r!an on November 12, 2015, 03:27:47 PM
This is normal behavior for this EFI.

Have a look over in the "Radeon Port Mapping" thread, my EFI will show the boot screen on one of the DVI ports.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: willko on November 20, 2015, 06:10:10 PM
Hi all.  Another success story.  HD 5770 successfully flashed.

MANY THANKS!!!!!!
 :D


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: SMIKX on November 21, 2015, 07:55:25 PM
If you have either an XFX 1Gb HD7550 ( 2 X DVI  1 X Mini Display Port . .

or . .

A Vapor-X Sapphire HD5870 1Gb..

Have a look at my 2 posts on Page 15 in Fl0r!an's "Radeon Port  Mapping" thread

HERE http://forum.netkas.org/index.php/topic,10827.msg32402.html#msg32402 (http://forum.netkas.org/index.php/topic,10827.msg32402.html#msg32402)

I have EFI perfect resolution DVI & HDMI EFI boot screens on both cards as of tonight.

I use  . . . .

(1) DVI cable to VGA adaptor cable.

(2) DVI to HDMI cable.

EDIT : Tonight I also successfully EFI flashed a mint condition HIS HD 5870 see Radeon Port Mapping thread for details.

Fl0r!an ! You rule !




Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: kishkash9532 on December 06, 2015, 04:52:14 PM
Just a question for verification:

I just flashed my Club3D 5770 using the method as described in the first post. I am waiting for my real Mac Pro 2009 to be delivered and I am currently running it in a hack. Not sure if what I am seeing is caused by that. I plan on moving the card to the real Mac Pro.

Verifying with GPU-Z indicates that now (after the flash) the ROM has a UEFI component whereas before it did not. But when booting into OSX 10.11 it still displays as a "ATI RADEON HD 5000 1024 MB" instead of the expected 5770 type indication. Is that because of it being a hack and still using the PC part of the BIOS instead of the EFI or is something else wrong?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Fl0r!an on December 06, 2015, 05:09:00 PM
Is that because of it being a hack and still using the PC part of the BIOS instead of the EFI?
Exactly, your Hack can't use a Mac EFI.
Instead, you'd have to use the GraphicsEnabler (Chameleon) / InjectATI (Clover) feature of your bootloader.

This obviously only affects the injection of proper ioreg entries (which is mostly cosmetic nowadays). You'll always have a bootscreen with any card in a hackintosh.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: kishkash9532 on December 06, 2015, 06:06:37 PM
Thanks for the confirmation. I was aware of the the fact that Hacks always do get a bootscreen but not certain of how they should show themselves inside the OS after this modification. Glad that's cleared up and good to know that it now should be ready to run in a real Mac Pro :).


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: macnoto on February 27, 2016, 11:48:22 AM
Is there anyway to make this ROM works with multi monitors and bootscreen?
It's Sapphire 6850 1GB with 2 DVI + DisplayPort + HDMI.

Big thanks.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: jamesb on April 25, 2016, 05:13:07 AM
Ok it would be fair to say I am a green horn to most of this however I decided to bite the bullet and give this a try with my Sapphire 6870. When I paste this command  into my terminal  <blocknum=`printf %d "'\`dd if=myrom.rom bs=1 skip=2 count=1 2>/dev/null\`"`size=$(($blocknum * 512)) dd if=6870.efi.rom of=myrom.rom bs=$size seek=1 conv=notrunc> The response I get is < dd: bs must be between 1 and 9223372036854775807 >Needless to say I have saved a copy of my original rom and placed all of the zip files in my home directory. Truth be told I am a little lost here  ???


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Brynod on April 25, 2016, 04:47:42 PM
Hi Guys,
I'm trying to flash a PowerColor 6870 video card for mac EFI. I am getting the error "dd: bs must be between 1 and 9223372036854775807" response on the command line. I have read numerous times that this is symptomatic of being in the wrong directory but i am sure i am in the right place.

Unfortunately i don't understand the script in order to be able to find out exactly where this is going wrong. Can anybody help?

Also, i have opened my ROM backup in HxD...I can't find a single instance of MCuC. Surely this can't be correct?

Please help!!!

Thanks in advance



Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Brynod on April 26, 2016, 12:30:16 PM
Further to my last post...
I have searched through the forums and have found this post, posted by @NETKAS in another thread, which has helped a lot. Hope it helps some of you guys!!

******

ok, so first line fails if size of bios rom is 0x10000 or more (0x80 or more in 512b blocks)

so if script fails for you, open your rom in some hex editor and look for value of third byte, use calculator to convert from hex to decimal and use this script (XXX is a decimal value you got)

blocknum=XXX
size=$(($blocknum * 512))
dd if=6870.efi.rom of=pc6870.rom bs=$size seek=1 conv=notrunc
python fixrom.py pc6870.rom pc6870.rom

R0M, for you XXX is 128


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Brynod on April 30, 2016, 08:44:08 PM
So I can confirm that the PowerColor 6870 is working with EFI boot screen! Upper DVI not available, as expected, but all other ports are sweet:-) Massive thanks to all involved!!!!


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: jamesb on April 30, 2016, 09:17:00 PM
I have flashed my 6870 as per the directions using Netkas updated directions (blocknum 128) and the card boots with the Apple boot screen on the lower DVI port. The upper DVI port is dead and the HDMI port boots only through the Apple logo boot screen then the signal dies for some odd reason. I am fairly convinced there must be a way of  enabling both DVI ports and quite possibly the HDMI port. Perhaps one of our more learned board members would chime in and illuminate us with a viable solution enabling both DVI ports.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: izacks on May 06, 2016, 05:13:43 PM
Sapphire HD6850 1GB successfully flashed. I was able to look at the boot screen.
However, the fan of the PCI slot area turns very fast, and a sound becomes loud.
Can this be improved?

Mac Pro 2009 / MacOS X 10.11.4


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: daav on May 22, 2016, 04:38:13 PM
ATI RADEON 5870 flashed with success

thanx to Netkas & ALL involded
special thanx to pjdgilmour
wich i used the rom he posted on page 5

u guys rule  !!!  :)


MacPro 1.1  os X yosemite


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: jamesb on May 24, 2016, 05:02:04 PM
Well Murphy came to visit and needless to say wrecked havoc with my plans. The card in my wife's tower up and died so I gave her my 6870. Purchased and ATI 5570 from ebay and used jeanlain's method outlined in the Make your own Rom thread. As it turns out there was only one instance of mcuc in the terminal adjusted rom. (http://) Keeping in mind I have never used a hex editor of any type let alone 0xED. After many reads and re reads through jeanlain's direction for pasting in the second mcuc and adjusting the new off set I am stuck. This is a matter of reference points as I am very green in this area. I have uploaded my original rom from my 5770 named PC5570 and the adjusted ROM myron.rom. Any helpful advice will be appreciated.  



Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: biho on June 12, 2016, 03:46:08 PM
just created a working (bootscreen over DVI) ROM for my ASUS 5870 looks like the reference design (standard layout, one fan in the back, 2 dvi, 1 display port, 1 hdmi)


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: jsciamms on June 21, 2016, 11:13:39 PM
Hello everyone, I am new to the scene, but interested in getting my 5770 (Dell model) to have a boot screen.  I have been hard at work in my super limited free time, and have flashed my card with several bad flashes.  Nobody likes flashing blind, so i build a nifty live cd that will "emergency flash" your backedup rom.  All you need to do is place your rom in the /FREEDOS/ATIFLASH folder and name it "EXTRAROM.ROM" to overwrite the file I had in there.  Once the CD boots, it will automatically flash and reboot, just give it a few minutes to do its thing. Hope this saves a few of you some time.

https://www.dropbox.com/s/eelzv57k39z32f4/EmergencyFlash.iso?dl=0


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: biho on June 30, 2016, 10:17:46 PM
today i also created a working (bootscreen over DVI) ROM for my XFX 5870 looks like the reference design (standard layout, one fan in the back, 2 dvi, 1 display port, 1 hdmi)


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: lvX on July 21, 2016, 12:18:02 PM
Hello
i'm trying to make my rom for an mxm 5870 card for my imac 24.
i've successfully created my rom and loaded on te card, however the imac boots but does'nt recognize the efi part, and i'm still with the RadeonFrameBuffer..

here are the info from my bios

Code:
BR036573.001:

BROADWAY XT A12 GDDR5 64Mx16 4CH UCODEv:126                                 

Subsystem Vendor ID: 103c
       Subsystem ID: 1520
Object Header Structure Size: 321
Connector Object Table Offset: 48
Router Object Table Offset: 0
Encoder Object Table Offset: f7
Display Path Table Offset: 12
Connector Object Id [20] which is [EDP]
encoder obj id [0x21] which is [INTERNAL_UNIPHY2 (osx txmit 0x22 [duallink 0x2] enc 0x5)] linkb: true
Connector Object Id [19] which is [DISPLAY_PORT]
encoder obj id [0x20] which is [INTERNAL_UNIPHY1 (osx txmit 0x11 [duallink 0x1] enc 0x2)] linkb: false
Connector Object Id [19] which is [DISPLAY_PORT]
encoder obj id [0x20] which is [INTERNAL_UNIPHY1 (osx txmit 0x21 [duallink 0x1] enc 0x3)] linkb: true
Connector Object Id [19] which is [DISPLAY_PORT]
encoder obj id [0x21] which is [INTERNAL_UNIPHY2 (osx txmit 0x12 [duallink 0x2] enc 0x4)] linkb: false
Connector Object Id [5] which is [VGA]
encoder obj id [0x15] which is [INTERNAL_KLDSCP_DAC1 (osx txmit 0x00 enc 0x10?)] linkb: false


attached the original rom, the netkas modified one (myrom.rom.1) and another with Fl0r!an's mod2
Any hint?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Fl0r!an on July 21, 2016, 02:30:47 PM
Just had a short look at your ROM, it seems the device ID is wrong. Desktop HD 5870 has 0x6898 (this is what the EFI is made for), your MXM card has 0x68A0.

This should be easy to fix. I didn't verify the port mapping yet though, I don't know if whether there's any framebuffer personality matching your card. I'll get back to you later (don't hesitate to PM me if I forget  ;)).


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Fl0r!an on July 21, 2016, 02:48:31 PM
Update: "Alouatta" framebuffer looks good to me. Only issue is the mismatched connector type, not sure if this would be a problem:

Code:
HD 5870 MXM

enc  / tx  / HP  / SenseID
0x22 / 0x5 / 0x4 / 0x4 (eDP)
0x11 / 0x2 / 0x1 / 0x1 (DP)
0x21 / 0x3 / 0x2 / 0x2 (DP)
0x12 / 0x4 / 0x3 / 0x3 (DP)

Code:
Alouatta (4) @ 0x1af110
LVDS, DP, DP, DP
020000000001000019010000000000001204030300000000
000400000406000000710000000000001102010100000000
000400000406000000710000000000002103020200000000
000400000406000000710000000000002205040400000000

I assume that I won't be able to enable boot screens though. The port mapping is very different compared to HD 5xxx, and I can only edit 2 out of 4 crucial pieces. We could still try it if you're adventurous, but I can't promise anything.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: lvX on July 22, 2016, 08:50:14 AM
Hi Fl0r!an,
thanks for the help, i've patched the rom, modifying the only occurrence of 0x0210A068 to 0x02109868 and the framebuffer to Alouatta, but it seems that i've to change the device id somewhere else as osx is still seeing it as 0x68A0.
I've a lot of doubt as it seems that nothing change while changing the bios, i've also double check the bios on the board downloading again and checking it with the new one and are the same, so the flash is correct.
May i need to reset nvram as it store some informations on the hardware?

Attached the new rom and some screenshots of osx.
Ah i'm with el capitan if means something..


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Fl0r!an on July 22, 2016, 08:56:31 AM
I'm pretty sure you can't change the device ID of your graphics card, it's usually hard strapped. You'll have to change the device ID in the EFI part to 0x68A0.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: lvX on July 22, 2016, 11:02:06 AM
ok i've changed the uefi part, but i've now to do a blind flash as i'm not able to see the video anymore while in windows pe.
thanks for the help


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Fl0r!an on July 22, 2016, 11:27:40 AM
This shouldn't happen (unless you have CSM disabled in your PC).

I guess there are at least two occurrences of the device ID, one in the PCI ROM header and one inside the EFI.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: lvX on July 22, 2016, 03:06:33 PM
i've changed the one in pci rom header and cannot see any video in windows /dos, while is still working in osx (only in the external monitor)
now i'm trying to do a blind update to restore original rom but is really hard!
i've done after a lot of trial and error a freedos image with the original bios and atiflash but it seems it doesnt work (although it works in vmware) maybe atiflash ask for confirmation?
i'm using:
atiflash -p -f 0 bios.rom



Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Fl0r!an on July 22, 2016, 04:46:59 PM
The command is looking good... Maybe you're having trouble getting into FreeDOS? Or forgot to change the volume?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: lvX on July 22, 2016, 05:54:19 PM
Monday i will change the board with another one (i've three of them) and will start again.
maybe it was because i've had the wrong device id in the efi part that OS X was not seeing the efi and was behaving the same as with the stock rom?

The main problem i'm facing is that with this board the onboard display stays black and only the external port is working.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Fl0r!an on July 22, 2016, 06:12:16 PM
Whoops. I don't think that can be fixed by making an EFI... RadeonFramebuffer is usually working pretty well with older cards, it should init the internal port. If it doesn't, it might be physically incompatible.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: lvX on July 22, 2016, 06:43:22 PM
The internal lcd works with both linux and windows so it's not a matter of connection, i think is only that the radeonframebuffer does not enable the correct port.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Fl0r!an on July 22, 2016, 09:35:25 PM
Ah okay, good to know :)

I guess it might be easier to start with a Clover install on an empty USB drive. This will allow you to try out any framebuffer you like without messing up the EFI or bricking your card. If you can fully enable your card with Clover, then we can still go ahead and make a proper EFI for it. Otherwise it's not worth the trouble.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: lvX on July 22, 2016, 09:41:05 PM
i was trying for week to use clover, but since i cannot see anything until system booted, i was unable to start it, don't know why, i've built several hackintosh but it seems that installing it on a real mac is different.
any suggestion is welcome.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Fl0r!an on July 22, 2016, 10:34:57 PM
You should be able to boot Clover with "bless", e.g. like this:

Code:
"Bless" rEFInd by typing one of the following two commands: ◦If you're installing rEFInd on the ESP, type sudo bless --mount /Volumes/ESP --setBoot --file /Volumes/ESP/efi/refind/refind_x64.efi --shortform, adjusting the mount point and exact path to the file as appropriate for your installation.
◦If you're installing rEFInd to an ordinary HFS+ volume, type sudo bless --setBoot --folder /efi/refind --file /efi/refind/refind_x64.efi. (Adjust the path and filename as necessary if you're placing rEFInd somewhere else or using the 32-bit version.)

Source: http://www.rodsbooks.com/refind/installing.html


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: lvX on July 25, 2016, 11:11:53 AM
Ok back to the project,
i've successfully recovered the card using original bios, than i've modified the device id of the efi part to match the devid of the card (68A0) however it still does nothing in osx, same as before: RadeonFrameBuffer.

what else could i try?

i would like to try clover, but i've not really understood the bless part, could you point me to someone usign it for booting clover?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Fl0r!an on July 26, 2016, 06:25:13 PM
Sounds like a messed up EFI to me, but it's hard to tell without seeing it.

Regarding Clover, I guess this should do the trick (assuming you installed it to /EFI, adjust if needed):
Code:
sudo bless --setBoot --folder /EFI/BOOT --file /EFI/BOOT/BOOTX64.efi

I didn't try it, but I guess it should work.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: lvX on July 27, 2016, 07:59:12 AM
Hi Fl0r!an,
thanks again for the help, here is mine bios, today i will try to install clover and see what happen.
will keep you informed.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: leo1984 on August 22, 2016, 01:10:36 PM
hi everyone, i've got an old Sapphire Toxic HD5850 1GB, and i'm trying to let it work with a Mac PRO 1.1 (locked at 10.7.5, because of the discontinued Apple support for newer OS)... I've searched everywhere for a working EFI rom for this custom board, but I was unlucky.. can anyone help me to make a ROM for this Video Card?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: owbp on August 26, 2016, 04:23:42 AM
hi everyone, i've got an old Sapphire Toxic HD5850 1GB, and i'm trying to let it work with a Mac PRO 1.1 (locked at 10.7.5, because of the discontinued Apple support for newer OS)... I've searched everywhere for a working EFI rom for this custom board, but I was unlucky.. can anyone help me to make a ROM for this Video Card?
If you want to stay with 10.7.5 and get boot screens sell that card and get 5770/5870.
You Mac is locked to Lion only if you want it to be.
For 10.8 and 10.9 search for Tiamo's boot.efi (here or on macrumors) and for 10.10 or 10.11 Pike R Alpha's boot.efi.
Then you can get HD7950/70 (for ≈100usd) flash it yourself or send it to MacVidCards and enjoy the power of 1.1 in 2016 with El Capitan and Win10.
That's what i did.  :)
 


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: leo1984 on August 26, 2016, 08:56:34 AM
If you want to stay with 10.7.5 and get boot screens sell that card and get 5770/5870.
You Mac is locked to Lion only if you want it to be.
For 10.8 and 10.9 search for Tiamo's boot.efi (here or on macrumors) and for 10.10 or 10.11 Pike R Alpha's boot.efi.
Then you can get HD7950/70 (for ≈100usd) flash it yourself or send it to MacVidCards and enjoy the power of 1.1 in 2016 with El Capitan and Win10.
That's what i did.  :)

I appreciate your suggestion, really! It is probably the better thing to do in my situation, but i've no money to invest on this, now... That's why I'd like to use my old Sapphire 5850 and the 1.1 Mac Pro.. :(


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: owbp on August 26, 2016, 03:36:38 PM
Ok, i understand.
I saw you found the "5850 topic". Do you have Windows or FreeDOS on your Mac ready for flashing?

P.S. Also, be sure to find vBios chip on your GPU and be ready to do some jumpering in case card gets bricked.http://netkas.org/?p=1182 (http://netkas.org/?p=1182)


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: leo1984 on August 26, 2016, 05:00:34 PM
Ok, i understand.
I saw you found the "5850 topic". Do you have Windows or FreeDOS on your Mac ready for flashing?

P.S. Also, be sure to find vBios chip on your GPU and be ready to do some jumpering in case card gets bricked.http://netkas.org/?p=1182 (http://netkas.org/?p=1182)
Mac is unusable (no VGA...). I can work in another system with Windows 7 or freeDOS.
If double post is a problem I can delete my request there..


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: reddrag0n on August 30, 2016, 08:07:48 AM
i don't know if this thread is still being watched, but i flashed my diamond 5770 with the instructions provided, found 2 mcuc instances, so i continued as planned. atiflash said it was an SSID mismatch, so i force flashed it anyways. so the card works, but i only get a boot screen on dvi -> vga, not dvi by itself. is there any way to make sure the dvi, hdmi and displayport are boot screen compliant?

attached is a copy of the flashed rom for anyone to look at.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Fl0r!an on August 30, 2016, 09:11:37 AM
That's expected behavior with this EFI. Have a look at my thread: http://forum.netkas.org/index.php/topic,10827.0.html
You'll find a 5770 EFI which enables digital boot screens on all ports.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: reddrag0n on August 30, 2016, 06:38:41 PM
That's expected behavior with this EFI. Have a look at my thread: http://forum.netkas.org/index.php/topic,10827.0.html
You'll find a 5770 EFI which enables digital boot screens on all ports.
is it also expected behaviour for none of the other ports to work at all after the flash?
before without the efi injection, i had dvi, hdmi, and DP work. just no boot screen. so any two of the combination would show up after the desktop was loaded. now, i just have a boot screen on dvi to vga. i have dvi after the boot screen, but like i said, hdmi and DP are dead to the os. Now if i knew how to figure out the ports, i would work on it myself, but i have no tools for that job.

If you are wondering, the card i am running is an OC'ed oddball.
http://www.tigerdirect.ca/applications/SearchTools/item-details.asp?EdpNo=6435907

single dvi, hdmi and DP.
clock speeds are 930/1300

again, i will upload my rom for anyone to look at, and hopefully fix.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Fl0r!an on August 30, 2016, 07:08:51 PM
Just had a quick look at the port mapping, it's slightly different than the reference one, but I'd still expect DP and DVI to work. HDMI has it's sense ID mismatched so it won't work (can't do much about that, Apple doesn't offer a matching framebuffer personality).


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: reddrag0n on August 30, 2016, 07:12:39 PM
well, DP doesn't work at all, have both the screen preference and system profiler up and nothing shows up. many refreshes later and nada


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Fl0r!an on August 30, 2016, 07:28:56 PM
So it seems Apples framebuffer personality doesn't like your card then...


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: reddrag0n on August 30, 2016, 07:31:45 PM
doh!!!

ok, so save up for an xfx reference design card then, and maybe i will have better luck


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: leo1984 on August 30, 2016, 09:24:29 PM
@ Fl0r!an
have you ever heard about anyone who flashed with success a 5850 card, seeing the gray boot screen?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Rantamplan on August 31, 2016, 12:54:43 PM
Hello people!
I'll tray to do it but give me some can of error I don't Understand

Mac-Pro-de-Mariano:~ marianosimonruizanton$ blocknum=`printf %d "'\`dd if=cardname.rom bs=1 skip=2 count=1 2>/dev/null\`"`
Mac-Pro-de-Mariano:~ marianosimonruizanton$ size=$(($blocknum * 512))
Mac-Pro-de-Mariano:~ marianosimonruizanton$ dd if=6870.efi.rom of=cardname.rom bs=$size seek=1 conv=notrunc
dd: bs must be between 1 and 9223372036854775807

If someone can help me and make for me ?
But also I want to know , because I have other card do the same.
Thanks


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Rantamplan on August 31, 2016, 01:23:14 PM
The card its a XFX 6870 2GB Dual Fan ID 0x6738, with this information about it

https://www.techpowerup.com/gpudb/b1044/xfx-double-d-hd-6870-2-gb


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: onedj888 on September 27, 2016, 11:36:17 AM
Hello people!
I'll tray to do it but give me some can of error I don't Understand

Mac-Pro-de-Mariano:~ marianosimonruizanton$ blocknum=`printf %d "'\`dd if=cardname.rom bs=1 skip=2 count=1 2>/dev/null\`"`
Mac-Pro-de-Mariano:~ marianosimonruizanton$ size=$(($blocknum * 512))
Mac-Pro-de-Mariano:~ marianosimonruizanton$ dd if=6870.efi.rom of=cardname.rom bs=$size seek=1 conv=notrunc
dd: bs must be between 1 and 9223372036854775807

If someone can help me and make for me ?
But also I want to know , because I have other card do the same.
Thanks

Hello

I'm getting same error, but my card is a saphire radeon 5870...
if someone could help us...

Thanks in advance


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: onedj888 on September 27, 2016, 12:53:07 PM
Well.. i finally discovered my problem, myrom was not showing the extension, i had to add .rom to it.
But now my problem is other... i always lose the second mcuc when i apply the scripts, probably i'm screwed as netkas said.
I can't made a custom rom with my original bios.
Can i use a rom from other user to flash my sapphire? It's a 5870.
Thanks


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: gffmac on October 17, 2016, 02:26:51 PM
@ Fl0r!an
have you ever heard about anyone who flashed with success a 5850 card, seeing the gray boot screen?

I have a 5870 in a 2008 mac pro which seem to work fine apart from I get nothing displayed before the desktop comes up.  This was a pc card bought already flashed for mac use.
Is it possible to have the pre-desktop display on this card?

ATI Radeon HD 5870:

  Chipset Model:   ATI Radeon HD 5870
  Type:   GPU
  Bus:   PCIe
  Slot:   Slot-2
  PCIe Lane Width:   x16
  VRAM (Total):   1024 MB
  Vendor:   ATI (0x1002)
  Device ID:   0x6898
  Revision ID:   0x0000
  ROM Revision:   113-C0780C-194
  EFI Driver Version:   01.00.436


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Fl0r!an on October 17, 2016, 03:02:20 PM
The HD 5870 from this thread will give a boot screen when using a VGA display, not through DVI connections. My ROM (other thread) gives boot screens on ONE DVI port, all others stay blank during pre-OS phase.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: gffmac on October 20, 2016, 09:23:16 AM
The HD 5870 from this thread will give a boot screen when using a VGA display, not through DVI connections. My ROM (other thread) gives boot screens on ONE DVI port, all others stay blank during pre-OS phase.

That would be handy, I use one dvi and one hdmi with dual screens currently so to have bootup on my main dvi screen would be great! A link to the thread would be great and any help flashing, not done before. Thanks!


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: gffmac on October 25, 2016, 11:08:46 AM
The HD 5870 from this thread will give a boot screen when using a VGA display, not through DVI connections. My ROM (other thread) gives boot screens on ONE DVI port, all others stay blank during pre-OS phase.

Me again :)

So I dumped my existing rom and went through the tutorial but using '5870mod2.efi'.  My card was purchased already flashed from a pc card to work on mac pro (not sure on specifics) and checking the .rom for instances of 'mcuc' it had two. Going through the tutorial editing the hex ends up with just one 'mcuc'.

Should I source a stock rom file to do this rather than my dump since its been modded already?  My dump is attached if anyone could take a quick look.

Thank you.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: gffmac on October 26, 2016, 10:16:21 AM
Managed to get it to work. I was using the '5870mod2.efi' file but then noticed the file size on the '5870mod2.efi.rom' matched the netkas version so tried that, renaming to .efi.

Thanks!


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: izacks on December 29, 2016, 08:08:58 PM
VideoCard was recognized to be HD6870 if I perform a flash of ROM of Sapphire HD6850.
Please tell me the method to let a system recognize this card as HD6850.
ROM is files which I downloaded from this forum.

macOS Sierra 10.12.2.



Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: Paulus on January 22, 2017, 09:56:40 PM
Hello,

Can some one help me with this rom. Its 256kb
I have asus r9 280x. i tried hours but no boot screen.
Sorry for my bad english


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: vinnie1978 on January 29, 2017, 06:17:14 PM
Paulus, try this


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: cornflakes1023 on February 02, 2017, 04:38:09 AM
Late to the game. I have a reference 5870. I successfully made a bios and flashed it. I had to use the method where I needed to make room for the EFI. It is at least working like it did before. It however is not displaying the boot screen. This is on a 2007 Mac Pro. I thought only the 6800 series and later cards were limited to 64 bit EFI. Am I missing something?

Thanks for any help on this.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: vinnie1978 on February 02, 2017, 07:14:54 PM
cornflakes1023, Is it possible to post the rom you've made.
This way we can see what is wrong with it.




Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: cornflakes1023 on February 03, 2017, 09:49:36 AM
Yes, here you go. Thank you for your time.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: vinnie1978 on February 03, 2017, 01:01:49 PM
your efipart is too long. At the start of your efipart 54 is mentioned.
So the efipart should be 43008 long, your vbios part is 64000.

So in my opinion, (correct me if i'm wrong), your efi should end at 107008 but it doesn't.

Looking at the rom for a second time, i see the problem.

After the efi part ends there is MCUC part, which shouldn't be at this location.

The MCUC should be somewhere in between the vbios and the efipart. (Again, correct me if i'm wrong)



Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: cornflakes1023 on February 09, 2017, 06:31:52 AM
Sorry for the late reply, had a water heater failure and subsequent damages to address.

I am not sure. I made the rom following the directions where if it doesn't show (2) instances of MCUC after the EFI patch, to start over with the original rom and use the hex editor to move a bunch of the FFFF from the end of the rom, to the middle "making room" for the EFI as the instructions say. I think in doing so it would be MCUC first instance, EFI portion, MCUC second instance. I have no idea what I am talking about, I have never even dabbled in this kind of stuff before now.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: vinnie1978 on February 09, 2017, 02:30:55 PM
cornflakes1023, i think you are right. For myself i would need an example of a fixed rom which works, and a example of a not working (one MCUC) to compare to each other.

As i don't have a videocard to test it on right now, i need the assurance that the 2 MCUC version actually works.

This way i can physically see the the difference between the 2 roms.
Rominator has written a fantastic guide, but i need examples to see what's going on.

I need to correct myself, the second MCUC, should be placed after the EFI part.
It's all explained in Rominators guide.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: cornflakes1023 on February 12, 2017, 08:49:11 AM
Ok, so if I am understanding you correctly then mine is seemingly correct? In any case, thank you. I appreciate you taking the time to respond.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: vinnie1978 on February 12, 2017, 01:10:55 PM
It looks OK, the only person that can  prove it's ok is you.

Be sure to have a backup of the original rom, and flash the card with the mac-rom.

Restart your mac, and see if it starts with bootscreen and comes to the desktop screen.

If it doesn't work, it's back to the drawing board.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: cornflakes1023 on February 22, 2017, 10:06:12 AM
I have now had the opportunity to test it in a 2006 and a 2008.

In a 2006, it works just like a regular PC card, no grey boot screen but works once the desktop is loaded.

In a 2008, it causes the machine to constantly keep chiming over and over in rapid succession and never booting.

That was an ATI reference card. I just picked up a Gigabyte reference style card and tried with the rom I made and got the same results. I am going to start over, modifying the original Gigabyte rom and see if that gets me anywhere.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: vinnie1978 on February 22, 2017, 12:35:50 PM
Cornflakes 1023, I took a look at your rom again. I rebuild it from scratch.

Step 1. I downloaded your pc vbios ATI5870.rom
Step 2. i counted the space available, and the space i needed for the efi part.
Step 3. i added the needed space from the underside of the rom, and inserted the efi part.

I renamed your rom, and added old to it, i added to the rebuild .rom new.

Please test the file, and post the results here


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: TheGoog on March 05, 2017, 06:04:52 AM
I recently decided to move up my 2006 MacPro from the 7300GT to a spare 5870 I had laying around (ASUS EAH5870 https://www.asus.com/Graphics-Cards/EAH58702DIS1GD5V2/)

However, I cannot get the steps to run at all. When running the following commands:

Quote
blocknum=`printf %d "'\`dd if=myrom.rom bs=1 skip=2 count=1 2>/dev/null\`"`
size=$(($blocknum * 512))
dd if=5870_uakari_netkas.efi of=myrom.rom bs=$size seek=1 conv=notrunc

I just get the following response:

Quote
dd: bs must be between 1 and 9223372036854775807

I've gone through quite a few forum threads around online that refer to this error, and I cannot find anything that gets me past that step. I've attached the ROM, could someone kindly have a peek and see if they can tell what's up?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: vinnie1978 on March 05, 2017, 07:01:49 PM
Here you go.

When i checked the efi.rom  i found only one MCUC. >:( ???
Searched through my collection of .roms, and found the same rom i made a few weeks a go.

It also has the same problem (1 MCUC),  i will look at it again later this evening.

There is already a working rom posted for this card, how do i know???

I'm running the same videocard, in my MacPro 2006/07.

I should have the .rom somewhere laying around.

Update: I searched throught some topics, and i found the working rom.
It was posted by SMIKX.

I didn't have time , to compare  it against your rom, you need to do that yourself.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: TheGoog on March 05, 2017, 09:29:58 PM
Here you go.

When i checked the efi.rom  i found only one MCUC. >:( ???
Searched through my collection of .roms, and found the same rom i made a few weeks a go.

It also has the same problem (1 MCUC),  i will look at it again later this evening.

There is already a working rom posted for this card, how do i know???

I'm running the same videocard, in my MacPro 2006/07.

I should have the .rom somewhere laying around.

Update: I searched throught some topics, and i found the working rom.
It was posted by SMIKX.

I didn't have time , to check it against your rom, you need to do that yourself.



I've tried the last ROM you posted. Flash went fine (used ATIWinFlah). Gets into OSX and Windows without issue, however no boot screen. What could I check for?

EDIT: Just realised that in the system profiler, the card is now seen as an HD 5870 rather than a 5800 series. So OS X is certainly seeing the card slightly differently. I also get the last bit of the OS X loading bar when booting, but the bar is surrounded by black rather than grey.

Also, I'm running El Capitan.

Are you certain that the ROM provided by SMIKX is compatible to show a bootscreen for 2006/2007 models? I don't have a 2010+ model available to test yet, but hopefully in a few months.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: vinnie1978 on March 05, 2017, 10:38:44 PM
Hmm, strange. Tomorrow i will make a backup, of the rom of my own Asus EAX.5870.

It has bootscreen, i can confirm that much.
When i am finished with that, i will repost the rom.

UPDATE: I found the rom of the modified Asus EAX5870 on my MacPro and checked it.

This one is working on my graphics card, including bootscreen.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: TheGoog on March 06, 2017, 02:14:54 AM
Hmm, strange. Tomorrow i will make a backup, of the rom of my own Asus EAX.5870.

It has bootscreen, i can confirm that much.
When i am finished with that, i will repost the rom.

UPDATE: I found the rom of the modified Asus EAX5870 on my MacPro and checked it.

This one is working on my graphics card, including bootscreen.

Just gave this one a go, still no bootscreen. Is there any particular flashing commands I should be using, or should it have been a simple flash and reboot?

I do appreciate the assistance very much.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: vinnie1978 on March 06, 2017, 11:03:20 AM
I prefer atiflash for dos, for flashing my videocards.
I flash the cards with the following commands:

atiflash -i = finding out the adapternumber, in case you are using multiple videocards in the same system

atiflash -p 0 romname -f

the zero is the adapternumber.



Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: TheGoog on March 06, 2017, 02:05:49 PM
I prefer atiflash for dos, for flashing my videocards.
I flash the cards with the following commands:

atiflash -i = finding out the adapternumber, in case you are using multiple videocards in the same system

atiflash -p 0 romname -f

the zero is the adapternumber.

These are the same commands I followed, but running from ATIWinFlash through CMD. I'll give a try through DOS on a normal PC after work today.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: TheGoog on March 07, 2017, 01:58:48 AM
Alrighty, still a no-go. I've flashed through atiflash using the exact commands, and still no bootscreen. In fact I don't even get into Windows or OSX with the 870 if the first slot at all now. Just constant reboots.

EDIT: Just notice that in the system profiler, the GPU is now showing an EFI Driver Version:
(http://i.imgur.com/TfoITKJ.png)

Not sure if this was here before... this a good sign or am I being falsely hopeful?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: vinnie1978 on March 07, 2017, 01:04:05 PM
We are sharing the same EFI driver version, so that's ok. Do you have second monitor available that you can test.

I see you have a cinemadisplay connected, my monitor is a Samsung VGA, connected with a DVI-VGA converter to the DVI port of the graphics card.

UPDATE

The rom i posted yesterday , was found on my mac pro. I thought it was the same as on my EAH 5870 i was using.
 >:(

This evening i backupped the rom of my Asus EAH 5870, and compared it to the earlier posted rom.
Surprise!!! They are not the same.

I will post the rom , that i am using right this moment. Thereby, it is confirmed that it's working.



Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: TheGoog on March 09, 2017, 04:44:42 AM
We are sharing the same EFI driver version, so that's ok. Do you have second monitor available that you can test.

I see you have a cinemadisplay connected, my monitor is a Samsung VGA, connected with a DVI-VGA converter to the DVI port of the graphics card.

UPDATE

The rom i posted yesterday , was found on my mac pro. I thought it was the same as on my EAH 5870 i was using.
 >:(

This evening i backupped the rom of my Asus EAH 5870, and compared it to the earlier posted rom.
Surprise!!! They are not the same.

I will post the rom , that i am using right this moment. Thereby, it is confirmed that it's working.




Flashed this, still no boot screen on DVI. I don't have a VGA screen to test with yet, may take a few days for that. Incidentally, I don't get DP or HDMI image either after booting up into OSX. OSX will see there's a screen attached, recognise the make/model and give it's correct resolution, but no image gets passed through, just a black screen. Any clue about that?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: vinnie1978 on March 09, 2017, 01:21:56 PM
A flashed videocard will not always support all ports available on the flashed videocard.
I think it has got something to do with variations of the Pc-version with the existing mac videocard.
The 5870 has a lot ot different pc cards, i'm happy with the ports that are working.

If you want to know more about this, i think you should look at the radeon port mapping thread.

I flashed this videocard because i had it laying around doing nothing. I have only used the DVI-port.

The .rom i used came of this forum.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: TheGoog on March 09, 2017, 02:14:12 PM
A flashed videocard will not always support all ports available on the flashed videocard.
I think it has got something to do with variations of the Pc-version with the existing mac videocard.

If you want to know more about this, i think you should look at the radeon port mapping thread.

I flashed this videocard because i had it laying around doing nothing. I have only used the DVI-port.

The .rom i used came of this forum.

Fair enough. If I can get it working with VGA, I can be happy with that. The card only cost me $25.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: leo1984 on March 09, 2017, 03:52:58 PM
hi guys, i have a Sapphire Toxic HD5850 1gb version, and recently i bought a mac 5,1. is there any possibility to get the screen boot with that card? now the video signal is available starting with the login screen (not before) and the card is read in the system as a ATI 5000....
anyone could help me?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: vinnie1978 on March 09, 2017, 05:15:30 PM
There is a topic from 2013  http://forum.netkas.org/index.php?topic=597.0  (http://forum.netkas.org/index.php?topic=597.0), in which Blacksheep made the custom roms for these cards.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: leo1984 on March 09, 2017, 07:14:52 PM
There is a topic from 2013  http://forum.netkas.org/index.php?topic=597.0  (http://forum.netkas.org/index.php?topic=597.0), in which Blacksheep made the custom roms for these cards.

It doesn't seem the same board as mine, in my toxyc 5850 I've got 4 ports: 2 x DVI 1 x HDMI 1 x DisplayPort, while the Radeon 5850 Xtreme 1GB of the link you posted has only 1 x DisplayPort, 1 x HDMI and 1 x DVI.
I'm not absolutely an expert, do you think that will not cause any problem?
Anyway I've already posted in that topic but unfortunately I have not received any answer... :(


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: vinnie1978 on March 10, 2017, 12:18:12 AM
pc cards come in many variations, and differ in ports to the Mac versions.
Therefore, it it is possible that after flashing the card to Mac.efi  not every port will give signal.

You have the biggest chance of success, with a reference model of a videocard.
The link to the page could be helpful, the efi part that will be added to the vbios part.

The efipart for every 5850 is therefore the same, that's why it is so important, that you post the original rom of your videocard.
This way you get a completely custom rom, for your videocard.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: leo1984 on March 10, 2017, 12:28:33 AM
pc cards come in many variations, and differ in ports to the Mac versions.
Therefore, it it is possible that after flashing the card to Mac.efi  not every port will give signal.

You have the biggest chance of success, with a reference model of a videocard.
The link to the page could be helpful, the efi part that will be added to the vbios part.

Te efipart for every 5850 is therefore the same, that's why it is so important, that you post the original rom of your videocard.
This way you get a completely custom rom, for your videocard.

that's encouraging! said that could you help me in doing that? i mena making the custom rom, or should i just try to flash my card with that bios?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: vinnie1978 on March 10, 2017, 04:23:41 PM
you could flash with the mac5850.rom.
If it doesn't work, you'll need a custom rom specific for your videocard supplier and model.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: zondas on June 28, 2017, 12:18:32 AM
Hi Guys

I have a HD5770 mit DVI HDMI DP.I build a ROM with FLOR!an Rom , but there is no Bootscreen on DVI HDMI or DP.Can you help me.I add my original Rom.FLOR!an can you pls send me a EFI-Rom for this to get a Bootscreen.And how can you do it.Can you make a Video , how do you mod. the EFI to get Bootscreen.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: vinnie1978 on June 29, 2017, 11:59:30 PM
Zondas, i made the mac rom or you.

How? By using the instructions on page 1 of this topic.



Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: zondas on July 01, 2017, 09:22:00 PM
thanks but i need the Rom with Bootscreen without Adapter like FloRians HD5770 EFI Rom for my ROM


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: 9charms on July 02, 2017, 06:54:31 PM
Hi guys, I've gone through all 34 pages on this forum and am stuck. Any help would be appreciated. I'm running 10.7.5 on a Mac Pro 1,1

I have a XFX Radeon HD 6870. Not sure if it's relevant, but on the back, it says HD-687A-ZH HD-687A-ZHFC VX.0

The post on the first page didn't work for me as I got the "dd: bs must be between 1 and 9223372036854775807" error. Yes, all the files are in my user root folder.

I discovered that I had to use the script with "blocknum=128". Yes, I checked my third byte was 80.

Pasted this into Terminal:
Quote
blocknum=128
size=$(($blocknum * 512))
dd if=6870.efi.rom of=myrom.rom bs=$size seek=1 conv=notrunc
python fixrom.py myrom.rom myrom.rom

It seemed to do something to the file, but when I go to flash it on to my card, nothing changed. Still no boot screen, and the "About this Mac" still shows "ati radeon hd 6xxx series 1024MB"

Am I doing this right? Both files attached.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: vinnie1978 on July 02, 2017, 08:50:16 PM
The XFX Radeon HD 6870, will not work as a flashed card o a Mac Pro 1.1.
It will  work on a Macpro 3.1 /5.1.

When placed in a Macpro 1.1/2.1, it will work as a non flashed pc-card.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: windosmac on July 02, 2017, 10:07:12 PM
Hi guys, I've gone through all 34 pages on this forum and am stuck. Any help would be appreciated. I'm running 10.7.5 on a Mac Pro 1,1

I have a XFX Radeon HD 6870. Not sure if it's relevant, but on the back, it says HD-687A-ZH HD-687A-ZHFC VX.0

The post on the first page didn't work for me as I got the "dd: bs must be between 1 and 9223372036854775807" error. Yes, all the files are in my user root folder.

I discovered that I had to use the script with "blocknum=128". Yes, I checked my third byte was 80.

Pasted this into Terminal:
Quote
blocknum=128
size=$(($blocknum * 512))
dd if=6870.efi.rom of=myrom.rom bs=$size seek=1 conv=notrunc
python fixrom.py myrom.rom myrom.rom

It seemed to do something to the file, but when I go to flash it on to my card, nothing changed. Still no boot screen, and the "About this Mac" still shows "ati radeon hd 6xxx series 1024MB"

Am I doing this right? Both files attached.

you can try the rom attached, I built using your original rom and (I think) blacksheeps efi32 for 6870.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: 9charms on July 03, 2017, 09:37:34 AM
The XFX Radeon HD 6870, will not work as a flashed card o a Mac Pro 1.1.
It will  work on a Macpro 3.1 /5.1.

When placed in a Macpro 1.1/2.1, it will work as a non flashed pc-card.

Ahhhh… thanks Vinnie1978! That explains everything. So I suppose my flashed 6870 will work perfectly fine on a 3,1 then?


you can try the rom attached, I built using your original rom and (I think) blacksheeps efi32 for 6870.

Thanks windosmac! I tried it and got some mixed results. No boot screen and the upper DVI slot doesn't work. However, system profiler recognizes it properly now. HDMI does work, so I'll give it a whirl for a few days to see how it does.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: windosmac on July 04, 2017, 12:11:20 AM
The XFX Radeon HD 6870, will not work as a flashed card o a Mac Pro 1.1.
It will  work on a Macpro 3.1 /5.1.

When placed in a Macpro 1.1/2.1, it will work as a non flashed pc-card.

Ahhhh… thanks Vinnie1978! That explains everything. So I suppose my flashed 6870 will work perfectly fine on a 3,1 then?


you can try the rom attached, I built using your original rom and (I think) blacksheeps efi32 for 6870.

Thanks windosmac! I tried it and got some mixed results. No boot screen and the upper DVI slot doesn't work. However, system profiler recognizes it properly now. HDMI does work, so I'll give it a whirl for a few days to see how it does.

what about DVI->VGA on the bottom DVI?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: vinnie1978 on July 05, 2017, 02:32:52 PM
I tested the rom posted by windowsmac.

- No bootscreen on lower DVI while using a DVI-VGA converter, no signal at all on upper DVI (didn't expect one).
- Signal on HDMI, as soon as desktop loads
- I couldn't test the MDP ports, converter cable is coming in a few days.

Videocard is shown in "About this mac" as it should be.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: windosmac on July 06, 2017, 06:12:56 AM
I tested the rom posted by windowsmac.

- No bootscreen on lower DVI while using a DVI-VGA converter, no signal at all on upper DVI (didn't expect one).
- Signal on HDMI, as soon as desktop loads
- I couldn't test the MDP ports, converter cable is coming in a few days.

Videocard is shown in "About this mac" as it should be.

I made and tested one on my own reference 6870. All ports were working except the top DVI (expected), but no boot screens even with DVI->VGA adapter. I could sort of see this mangled boot screen for a couple of seconds until my monitor auto adjusted and gave me a timing issue error? then went blank and after finishing booting screen was perfect. Tested with a Dell U2401F. I tried on an old LG 720 plasma but it said incompatible, didn't try on my 1440 screen as it does not have VGA. Screen size shouldn't matter, right? Anyone know what the timing issue is about? maybe on an old enough screen you would get a boot screen?


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: windosmac on July 07, 2017, 05:13:03 AM
Another reference PC BIOS, not the EFI. Comprende? ;)

As this is a 3 year old post I don't expect Blacksheep to respond (although great if he does), but has anyone found a compatible BIOs for this reference design 5870 that can fit EFI **and** give boot screens via DVI?

I tried making my own with my stock PC bios, found one mcuc, thought that I read all the threads (this, florians, calvins) after testing and failing to get a DVI boot screen, then finally stumbled upon this post a couple nights later. I also tried a few uploaded modified roms that had "matching" bios per techpowerup; if I recall correctly these were an Asus5870, XFX5870, and a Sapukari (currently running).

Even better, I have a 1,1 I'd like to throw the 5870 in but I assume the EBC rom will, like uakari rom not fit in my 5870 PC BIOs. Does anyone know of an EFI32 compatible rom for a reference design 5870? or can anyone name a compatible PC BIOs so that I can tack on the EBC part myself?


Many thanks

ps, not sure where to donate but I owe some of you guys beer $  


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: vinnie1978 on July 07, 2017, 09:50:26 AM
windosmac, i searched my mac and found a 7E rom.
The efi part, i found on this forum but i can't remember who posted it.

I took the efi from that file and pasted it in your rom.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: windosmac on July 08, 2017, 12:02:47 AM
windosmac, i searched my mac and found a 7E rom.
The efi part, i found on this forum but i can't remember who posted it.

I took the efi from that file and pasted it in your rom.

Thank for making this Vinnie, however I just tested with this rom and bricked the card. No output from top or bottom DVI, DP keeps rebooting. Got the card back, willing to try or make another rom if someone can suggest a suitable PC bios?

Thanks


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: windosmac on July 08, 2017, 12:11:25 AM
Another question,

I have a 5770 that I'm certain is 100% gone. I was going to harvest some parts from it like the fan but could I also swap the BIOs chips? As long as the 5770 isn't a 7E too?? I assume I need something 80 (128) or better?





Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: SMIKX on July 08, 2017, 02:48:45 AM
windosmac

Check your email. I sent you a working 5770 ROM.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: windosmac on July 08, 2017, 03:03:17 AM
windosmac

Check your email. I sent you a working 5770 ROM.

thanks very much smikx. I have another question, is there anyway to re-enter atiflash after running a bad command? I think the error code is like "SM01" or something and then it gives a prompt "press 1 to continue" except that pressing 1 never works (num pad or 2nd row) requiring me to reboot. minor annoyance but id be interested in a way to get around it. didn't find anything in ATIFlash docs.


Title: Re: make your own radeon HD 5770/5870/6870/6850 Mac ROM!
Post by: SMIKX on July 10, 2017, 05:12:57 PM
windosmac

Sorry, it's been so long since I flashed anything I'd need to brush up.