Pages: [1]   Go Down

Author Topic: Mac Mini R9200 Fcode  (Read 883 times)

darthnVader

  • Moderator
  • Platinum Member
  • *****
  • Offline Offline
  • Posts: 681
  • New Member
Mac Mini R9200 Fcode
« on: May 07, 2024, 08:20:54 AM »

As far as the R9200 video Fcode ROM, it mixed in the the Mini's boot rom.

The New World Boot Rom is compressed, but I think JoeVT figured out a way to decompress it. you may want to message him over at the Mac Rumors forums.

If you are adding 32MB of VRAM it would help to have some high res photo of the silent upgrade Mini so we could get a look at the resister and logic board.

Maybe adding the resistors and VRAM is enough or maybe we would need to edit the 32MB FCOde ROM, or just inject/replace it with the FCODE ROM from the silent upgrade Boot ROM.

JoeVT would again be the one to ask.

I don't fool with much of this stuff anymore, we passed the point of diminishing returns on PPC. If you can't email and browse the web at good speed you just end up using sneaker net to move files from a modern Mac to PPC.

If you are just using PPC as a steady state machine to run old programs, all the upgrade paths are known to get the most speed out of them. I'm an upgrade junky but the Mac has to be able to run a modern browser and email or I'm just done with it.

Won't be any more video cards for PPC unless someone unlocks the mysteries of the die shrink 7600's/7900's from Nvidia.  There are no drivers for the Mac OS beyond that and not much we can do.

It's sad when you love hacking FCODE that no computer systems use Open Firmware and run the Mac OS anymore, but Apple went the way they went 20 years ago and these projects have come to an end for me.

Sadly macOS can't do PCI Passthrough via thunderbolt and the macOS can't use video cards via thunderbolt on AppleSoC.

SO until that changes I just don't have any fun to do indoors, so I'm back out in the garage having fun with turbos and hot rods. 

Logged

Jubadub

  • Gold Member
  • *****
  • Offline Offline
  • Posts: 431
  • New Member
Re: Mac Mini R9200 Fcode
« Reply #1 on: May 08, 2024, 12:15:33 AM »

[...] I think JoeVT figured out a way to decompress it. you may want to message him over at the Mac Rumors forums.

@joevt has been here on MacOS9Lives, as well. :)
Logged

joevt

  • Enthusiast Member
  • ***
  • Offline Offline
  • Posts: 97
  • New Member
Re: Mac Mini R9200 Fcode
« Reply #2 on: May 09, 2024, 09:47:31 PM »

You can get the Mac mini boot rom using https://forums.macrumors.com/threads/question-how-powerful-of-a-graphics-card-will-work-in-a-beige-power-macintosh-g3.2303689/post-32937887
If you post it here, then I can see if there's fcode for R9200 in there.
Logged

ssp3

  • Platinum Member
  • *****
  • Offline Offline
  • Posts: 857
Re: Mac Mini R9200 Fcode
« Reply #3 on: May 11, 2024, 09:08:53 AM »

You can get the Mac mini boot rom using https://forums.macrumors.com/threads/question-how-powerful-of-a-graphics-card-will-work-in-a-beige-power-macintosh-g3.2303689/post-32937887
If you post it here, then I can see if there's fcode for R9200 in there.

Hang on.. is that a 'flashrom' build for Mac? Can it be used to dump Mac Mini onboard ROMs? If so, it could be very useful to compare "original" and "silent upgrade" ROMs to figure out what they've screwed improved in graphics department with later one.
« Last Edit: May 11, 2024, 09:25:27 AM by ssp3 »
Logged
If you're not part of the solution, you're part of the problem.

joevt

  • Enthusiast Member
  • ***
  • Offline Offline
  • Posts: 97
  • New Member
Re: Mac Mini R9200 Fcode
« Reply #4 on: May 11, 2024, 06:27:11 PM »

Hang on.. is that a 'flashrom' build for Mac? Can it be used to dump Mac Mini onboard ROMs? If so, it could be very useful to compare "original" and "silent upgrade" ROMs to figure out what they've screwed improved in graphics department with later one.
Yes and Yes.

https://github.com/joevt/flashrom/blob/bb1afb074b2dc64aeb3bf5667ab05e731db4aaf1/doc/classic_cli_manpage.rst#L309

Try the anymem programmer first. One of the scripts in the zip file uses that method to get the Mac rom.

There's an internal programmer but it hangs my B&W G3 - it might work on later Macs but I haven't tried it. If it works without crashing then compare the result with the anymem result. You probably need to hold the power button at boot until you hear a chime to get into programmer mode.

The anypci programmer can get the option rom from any PCI card that has an option rom. Some PCI cards hide their option rom after boot (may return bad data). If it has an Open Firmware option ROM image, then DumpPCIRom.sh will convert it to Forth and verify the checksum.
Logged

ssp3

  • Platinum Member
  • *****
  • Offline Offline
  • Posts: 857
Re: Mac Mini R9200 Fcode
« Reply #5 on: May 12, 2024, 12:13:40 PM »

A bit more detailed instructions would be helpful. All I can see at the moment is a ton of .c files. Do I have to compile them first? And where/which is the script you're talking about?
Logged
If you're not part of the solution, you're part of the problem.

joevt

  • Enthusiast Member
  • ***
  • Offline Offline
  • Posts: 97
  • New Member
Re: Mac Mini R9200 Fcode
« Reply #6 on: May 12, 2024, 09:28:32 PM »

A bit more detailed instructions would be helpful. All I can see at the moment is a ton of .c files. Do I have to compile them first? And where/which is the script you're talking about?
In the macrumors post that I linked in a previous reply (top of this page) is an attachment.

Try the get-new-world-rom.command script first.

The read-rom-internal.command might work but it might cause a hang. It would be interesting to know if there's a Mac that this method works with. @dosdude1 has a linux version of flashrom that uses this method which works for some Macs.
Logged

ssp3

  • Platinum Member
  • *****
  • Offline Offline
  • Posts: 857
Re: Mac Mini R9200 Fcode
« Reply #7 on: May 13, 2024, 06:14:07 AM »

In the macrumors post that I linked in a previous reply (top of this page) is an attachment.

Try the get-new-world-rom.command script first.

So, if I understand it correctly, I have to install DirectHW.kext first by using KextUtil.sh, right?
And then I have to put flashrom binary into what? /usr/bin/ ?
Logged
If you're not part of the solution, you're part of the problem.

joevt

  • Enthusiast Member
  • ***
  • Offline Offline
  • Posts: 97
  • New Member
Re: Mac Mini R9200 Fcode
« Reply #8 on: May 13, 2024, 04:27:50 PM »

So, if I understand it correctly, I have to install DirectHW.kext first by using KextUtil.sh, right?
And then I have to put flashrom binary into what? /usr/bin/ ?

You can view the .command scripts to see how they do it. They install directhw.kext temporarily.

You can install Direct-HW.kext however you like. You can view KextUtil.sh to see how it does it.

You can just use the .command script by double clicking it. It gets executed in a new Terminal.app window.

You do not need to install flashrom to /usr/bin or /usr/local/bin or whatever. You see in the command script it executes flashrom from the same directory that the command script is in using sudo ./flashrom
Logged

joevt

  • Enthusiast Member
  • ***
  • Offline Offline
  • Posts: 97
  • New Member
Re: Mac Mini R9200 Fcode
« Reply #9 on: May 13, 2024, 11:00:08 PM »

Logged
Pages: [1]   Go Up
 

Recent Topics