pipomolo42' script don't work for me
Put a little more time into this.
HexEdit has a wonderful "Compare" function.
Drag before and after ROMS into it and Hit "APPLE K" and you will be able to see what changes you have made.
If you have inserted MAC EFI properly, you will see that a whole lot of "FFFFFFFFFFF" gets replaced with code that opens with "55AA"
DOS (via FreeDOs) is a better choice than WInflash
I have made a second attempt to flash a radeon 4870 HD Powercolor 1GB with the Pipomolo42 script on a 2006 mac pro rev 1.1, but, when using the script in mac terminal (fixrom.py and xcode installed) with my extracted original rom renamed pc4870.rom and the 4870.ROM, there are 3 errors which prevent modification of the ROM to be made. Here is how it goes :
dd if=4870.ROM of=efi.part bs=1 skip=63488 count=49152
49152+0 records in
49152+0 records out
49152 bytes transferred in 0.349436 secs (140661 bytes/sec)
blocknum=`printf %d "'\`dd if=pc4870.rom bs=1 skip=2 count=1 2>/dev/null\`"`
size=$(($blocknum * 512))
dd if=efi.part of=pc4870.rom bs=$size seek=1 conv=notrunc
python fixrom.py pc4870.rom pc4870.rom[Ordinateur-de-francis-crepel:~/Desktop] fcrepel% blocknum=`printf %d "'\`dd if=pc4870.rom bs=1 skip=2 count=1 2>/dev/null\`"`
Unmatched ".
[Ordinateur-de-francis-crepel:~/Desktop] fcrepel% size=$(($blocknum * 512))
Illegal variable name.
[Ordinateur-de-francis-crepel:~/Desktop] fcrepel% dd if=efi.part of=pc4870.rom bs=$size seek=1 conv=notrunc
size: Undefined variable.
[Ordinateur-de-francis-crepel:~/Desktop] fcrepel% python fixrom.py pc4870.rom pc4870.rom
Before:
OpRom (size=63488, indicator_offset=0x275, indicator=0x80, checksum=0xff)
RawData (size=67584)
After:
OpRom (size=63488, indicator_offset=0x275, indicator=0x80, checksum=0xff)
RawData (size=67584)
As I have just copied the script in the terminal, I dont see why these 2 errors occur. Any possible fix would be mostly welcome..