netkas.org forum
September 26, 2021, 12:36:32 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Information for registering users http://forum.netkas.org/index.php/topic,2246.0.html
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Flashing a 5770 with 64kb only?  (Read 17878 times)
guylhem
Newbie

Offline Offline

Posts: 4


« on: November 05, 2013, 12:10:14 AM »

Hello

I have a Amaze AM5770-DHV-1024D5 video card (http://www.amaze-tech.com/product_detail.asp?id=HD5770) on my MacPro 3,1 running Maverick, without any other video card connected.

The 5770 "works", except that :
 - I don't have a boot screen, which is a problem for what I do (trying different installs - I'd love a voiceover accessibility option in EFI)
 - turning on the HDMI screen turns the DVI screen blank (I have to manually unplug/replug the HDMI screen or select "mirror mode" in display preferences, something that did not happen with 10.8.5)
 - sometimes when I turn off a screen, the GPU freezes, for example yesterday:
2013/3/11 23:19:49.000 kernel[0]: GPU Hang State = 0x00000000
2013/3/11 23:19:49.000 kernel[0]: GPU hang:
2013/3/11 23:19:49.000 kernel[0]: Trying restart GPU ...
2013/3/11 23:19:49.000 kernel[0]: AMDJuniperGraphicsAccelerator: bad busy count (255,1)
2013/3/11 23:19:49.000 kernel[0]: Backtrace 0xffffff800068dec2 0xffffff800068dcb6 0xffffff7f81ca6a63 0xffffff7f81c864a5 0xffffff7f81c8da57 0xffffff7f81c9201d 0xffffff7f81c920ae
2013/3/11 23:19:49.000 kernel[0]: Kernel Extensions in backtrace:
2013/3/11 23:19:49.000 kernel[0]: com.apple.iokit.IOAcceleratorFamily(98.7.1)[024BF8EC-2925-3C4B-ADBB-CFE36F7D41C5]@0xffffff7f89c7e000->0xffffff7f89cd6fff
2013/3/11 23:19:49.000 kernel[0]: dependency: com.apple.iokit.IOPCIFamily(2.Cool[447B4896-16FF-3616-95A2-1C516B2A1498]@0xffffff7f888ba000
2013/3/11 23:19:49.000 kernel[0]: dependency: com.apple.iokit.IOGraphicsFamily(2.3.6)[38E388A5-92D6-3388-B799-F2498E582287]@0xffffff7f890e7000
(repeated multiple times, required a power off)

I previously had a standalone 5850 that worked just fine after patching/flashing in another Mac Pro before, so I tried to flashed my car in the very same way.

Unfortunately my 5770 only seems to have 64 kb of flash according to ATIWINFLASH (couldn't run the dos version since I don't have any other card or spare PC), so I have the one MCUC problem. The bios is attached to this post. I tried to force the rom backup to read more than 64k, to 128k total, but I'm not sure the next 64k are valid, or that the resulting file would work if flashed (since the video card reports a 64kb bios)

My question : is it possible to at least add boot screen support to my card? It doesn't seems so to me, since the bios stops at EF91 (61329), leaving only ~3k instead of the 43k required.

If like I believe, it is not possible, which card should I get between the only 2 models my local shop carries ?

Diamond AMD Radeon HD 7770 1GB GDDR5
Diamond AMD Radeon HD 7750 1GB GDDR5

Ideally, the video card would have boot screen support, support 2 screens without the need to plug/unplug it, and also run at PCIe 2.0 speed

A quick search on the forum with "boot screen" and "efi screen" revealed only this thread  (http://forum.netkas.org/index.php/topic,7485.msg22877/topicseen.html#msg22877) where it is said the question was asked many times before - yet I can not find any answer.

The 7xxx thread (http://forum.netkas.org/index.php/topic,5619.0.html) seems to indicate only the high end models would run at PCIe 2.0 speed.

Any help is appreciated.
Logged
guylhem
Newbie

Offline Offline

Posts: 4


« Reply #1 on: November 05, 2013, 01:24:34 AM »

BTW, additional information from DarwinDumper :

ATOM BIOS Rom:
        SubsystemVendorID: 0x0000 SubsystemID: 0x0000
        IOBaseAddress: 0x0000
        Filename: test.bin   
        BIOS Bootup Message:
JUNIPER BIOS UCODEv:126                                                   
PCI ID: 1002:68b8
Connector at index 0
        Type [@offset 44280]: HDMI-A (11)
        Encoder [@offset 44284]: INTERNAL_UNIPHY2 (0x21)
        i2cid [@offset 44380]: 0x91, OSX senseid: 0x2
Connector at index 1
        Type [@offset 44290]: DVI-I (2)
        Encoder [@offset 44294]: INTERNAL_UNIPHY1 (0x20)
        i2cid [@offset 44417]: 0x93, OSX senseid: 0x4
Connector at index 2
        Type [@offset 44300]: DVI-I (2)
        Encoder [@offset 44304]: INTERNAL_KLDSCP_DAC1 (0x15)
        i2cid [@offset 44417]: 0x93, OSX senseid: 0x4
Connector at index 3
        Type [@offset 44310]: VGA (1)
        Encoder [@offset 44314]: INTERNAL_KLDSCP_DAC2 (0x16)
        i2cid [@offset 44444]: 0x94, OSX senseid: 0x5



* 1002.68b8.from_ioreg_0.rom (64 KB - downloaded 710 times.)
Logged
blacksheep
Sr. Member
****
Offline Offline

Posts: 337


« Reply #2 on: November 05, 2013, 03:53:16 PM »

Both your ROMs from first post are 0KB  Huh
Logged
guylhem
Newbie

Offline Offline

Posts: 4


« Reply #3 on: November 05, 2013, 05:41:31 PM »

My mistake. Posting again.

* AM5770-DHV-1024D5.rom (64 KB - downloaded 698 times.)
* AM5770-DHV-1024D5-overread.rom (128 KB - downloaded 696 times.)
Logged
blacksheep
Sr. Member
****
Offline Offline

Posts: 337


« Reply #4 on: November 05, 2013, 07:46:42 PM »

"Overread" one is good. You can make EFIied one from it.

Regarding this particular card: it has non reference, 3 port layout, so you can expect "ghost screen" issue.
Judging by ports i2cid values, only DVI will work after flash. Bootscreen will be available, as usual, only via DVI->VGA adapter.
But try flashing and post results, it's reversible Wink
Logged
guylhem
Newbie

Offline Offline

Posts: 4


« Reply #5 on: November 06, 2013, 03:34:11 AM »

I got overhead by manually specifying a range over the 64kb indicated. I have no way to know whether there is indeed 128k (and 64 is just a bug), or what would happen when writing 128k (especially if the flash chip is 64k)
Logged
blacksheep
Sr. Member
****
Offline Offline

Posts: 337


« Reply #6 on: November 06, 2013, 01:44:25 PM »

It would be only one in the world 64KB 5770... with 64KB BIOS and one MCuC Wink
I said it before: "overread" named BIOS is good. Use it.
You need to familiarize with basics, though. All knowledge is here, just read, read and try.
Good luck.
Logged
rabidz7
Not Newbie
*
Offline Offline

Posts: 19


« Reply #7 on: November 12, 2013, 02:56:51 PM »

If this is like the PowerPC firmwarez, you should be able to reduce the ROM to fit.
Logged
Tiberio G
Not Newbie
*
Offline Offline

Posts: 5


« Reply #8 on: January 30, 2014, 04:56:56 PM »

I have the same issue on my MP 1.1 with mavericks (using patched boot.efi) and an ASUS EAH5770.
tied using it with the original firmware and also patched with EFI but nothing: sometimes, especially after waking from sleep.
The issue is a graphic hang reported in console:
Code:
kernel[0]: AMDJuniperGraphicsAccelerator: bad busy count (255,1)
kernel[0]: Backtrace 0xffffff800068dec2 0xffffff800068dcb6 0xffffff7f81ef7a63 0xffffff7f81ed7463 0xffffff7f81edea57 0xffffff7f81ee330d 0xffffff7f81edaa93
kernel[0]: GPU Hang State = 0x00000000

Logged
Spacedust
Sr. Member
****
Offline Offline

Posts: 406


« Reply #9 on: January 30, 2014, 05:46:29 PM »

I have the same issue on my MP 1.1 with mavericks (using patched boot.efi) and an ASUS EAH5770.
tied using it with the original firmware and also patched with EFI but nothing: sometimes, especially after waking from sleep.
The issue is a graphic hang reported in console:
Code:
kernel[0]: AMDJuniperGraphicsAccelerator: bad busy count (255,1)
kernel[0]: Backtrace 0xffffff800068dec2 0xffffff800068dcb6 0xffffff7f81ef7a63 0xffffff7f81ed7463 0xffffff7f81edea57 0xffffff7f81ee330d 0xffffff7f81edaa93
kernel[0]: GPU Hang State = 0x00000000


Can you send me your modded BIOS ? I got the same card: http://forum.netkas.org/index.php/topic,692.315.html
Logged
Tiberio G
Not Newbie
*
Offline Offline

Posts: 5


« Reply #10 on: January 30, 2014, 09:40:27 PM »

I have the same issue on my MP 1.1 with mavericks (using patched boot.efi) and an ASUS EAH5770.
tied using it with the original firmware and also patched with EFI but nothing: sometimes, especially after waking from sleep.
The issue is a graphic hang reported in console:
Code:
kernel[0]: AMDJuniperGraphicsAccelerator: bad busy count (255,1)
kernel[0]: Backtrace 0xffffff800068dec2 0xffffff800068dcb6 0xffffff7f81ef7a63 0xffffff7f81ed7463 0xffffff7f81edea57 0xffffff7f81ee330d 0xffffff7f81edaa93
kernel[0]: GPU Hang State = 0x00000000


Can you send me your modded BIOS ? I got the same card: http://forum.netkas.org/index.php/topic,692.315.html

I have replied on the main thread. I have also posted the original and the patched ROM.
Logged
Spacedust
Sr. Member
****
Offline Offline

Posts: 406


« Reply #11 on: January 30, 2014, 11:05:48 PM »

I have replied on the main thread. I have also posted the original and the patched ROM.

Thank you. It seems my card is having even more different BIOS !

Can you make an EFI rom from my BIOS ? I will test it and let you know if it works in Mac Pro under sleep mode.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!