Jump to content
fantomas1

Clover test and patches for Polaris GPU

278 posts in this topic

Recommended Posts

THIS TOPIC IS THE RESULT OF VARIUS SPLITTED POST FROM CLOVER GENERAL DISCUSSION

 

THE MAIN GOAL OF THAT IS KEEP TRACK OF THE RESULT IN THE TEST AND MAYBE FIND POSSIBLE SOLUTION ON THE BOOT HANG WITH POLARIS CARDS WITHOUT THE HELP OF PRIMARY iGPU

 

ALSO TO KEEP THE CLOVER GENERAL DISCUSSION TOPIC CLEAN...

 

Other related topic:

AMD Polaris IDs on 10.12 Sierra

10.12 Sierra AMD Framebuffer dump script

 

 

 

ErmaC (November, 12 2016)

 

 


 

Hi guys  :)

 

A question from a noob: it's about Clover support for Polaris graphics cards

https://sourceforge.net/p/cloverefiboot/code/HEAD/tree/rEFIt_UEFI/Platform/ati.c (line 277)

 

 

  //Polaris
  { 0x67C0,	0x00000000, CHIP_FAMILY_HAWAII,	"AMD Radeon Polaris 10",        kNull	},
  { 0x67DF,	0x00000000, CHIP_FAMILY_HAWAII,	"AMD Radeon RX480",             kNull	},
  { 0x67E0,	0x00000000, CHIP_FAMILY_HAWAII,	"AMD Radeon RX460",             kNull	},
  { 0x67EF,	0x00000000, CHIP_FAMILY_HAWAII,	"AMD Radeon RX460",             kNull	},
  { 0x67FF,	0x00000000, CHIP_FAMILY_HAWAII,	"AMD Radeon Polaris 11",
Shouldn't we have CHIP_FAMILY_POLARIS instead of CHIP_FAMILY_HAWAII???

 

Or maybe CHIP_FAMILY_BAFFIN (for Polaris 11) and CHIP_FAMILY_ELLESMERE (for Polaris 10)???

 

Also, are you sure about RX460 with 0x67E0??? According to AMD  and Linux Kernel Driver DataBase, there's no RX 460 with that device.

 

Here, all known Polaris graphics cards device-ids

 

 

  • vendor: 1002 ("Advanced Micro Devices, Inc. [AMD/ATI]"), device: 67c0 ("Ellesmere [Polaris10]")
  • vendor: 1002 ("Advanced Micro Devices, Inc. [AMD/ATI]"), device: 67c1
  • vendor: 1002 ("Advanced Micro Devices, Inc. [AMD/ATI]"), device: 67c2
  • vendor: 1002 ("Advanced Micro Devices, Inc. [AMD/ATI]"), device: 67c4
  • vendor: 1002 ("Advanced Micro Devices, Inc. [AMD/ATI]"), device: 67c7
  • vendor: 1002 ("Advanced Micro Devices, Inc. [AMD/ATI]"), device: 67c8
  • vendor: 1002 ("Advanced Micro Devices, Inc. [AMD/ATI]"), device: 67c9
  • vendor: 1002 ("Advanced Micro Devices, Inc. [AMD/ATI]"), device: 67ca
  • vendor: 1002 ("Advanced Micro Devices, Inc. [AMD/ATI]"), device: 67cc
  • vendor: 1002 ("Advanced Micro Devices, Inc. [AMD/ATI]"), device: 67cf
  • vendor: 1002 ("Advanced Micro Devices, Inc. [AMD/ATI]"), device: 67df ("Ellesmere [Radeon RX 470/480]")
  • vendor: 1002 ("Advanced Micro Devices, Inc. [AMD/ATI]"), device: 67e0 ("Baffin [Polaris11]")
  • vendor: 1002 ("Advanced Micro Devices, Inc. [AMD/ATI]"), device: 67e1 ("Baffin [Polaris11]")
  • vendor: 1002 ("Advanced Micro Devices, Inc. [AMD/ATI]"), device: 67e3
  • vendor: 1002 ("Advanced Micro Devices, Inc. [AMD/ATI]"), device: 67e7
  • vendor: 1002 ("Advanced Micro Devices, Inc. [AMD/ATI]"), device: 67e8 ("Baffin [Polaris11]")
  • vendor: 1002 ("Advanced Micro Devices, Inc. [AMD/ATI]"), device: 67e9 ("Baffin [Polaris11]")
  • vendor: 1002 ("Advanced Micro Devices, Inc. [AMD/ATI]"), device: 67eb ("Baffin [Polaris11]")
  • vendor: 1002 ("Advanced Micro Devices, Inc. [AMD/ATI]"), device: 67ef ("Baffin [Radeon RX 460]")
  • vendor: 1002 ("Advanced Micro Devices, Inc. [AMD/ATI]"), device: 67ff ("Baffin [Polaris11]")

 

Edited by ErmaC
Split from Clover general discussion

Share this post


Link to post
Share on other sites
Advertisement

Also, are you sure about RX460 with 0x67E0??? According to AMD  and Linux Kernel Driver DataBase, there's no RX 460 with that device.

 

From Linux:

 

+ /* Polaris11 */

+ {0x1002, 0x67E0, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS11},

+ {0x1002, 0x67E1, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS11},

+ {0x1002, 0x67E8, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS11},

+ {0x1002, 0x67E9, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS11},

+ {0x1002, 0x67EB, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS11},

+ {0x1002, 0x67FF, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS11},

+ /* Polaris10 */

+ {0x1002, 0x67C0, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS10},

+ {0x1002, 0x67DF, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS10},

Share this post


Link to post
Share on other sites

From Linux:

 

+ /* Polaris11 */

+ {0x1002, 0x67E0, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS11},

+ {0x1002, 0x67E1, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS11},

+ {0x1002, 0x67E8, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS11},

+ {0x1002, 0x67E9, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS11},

+ {0x1002, 0x67EB, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS11},

+ {0x1002, 0x67FF, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS11},

+ /* Polaris10 */

+ {0x1002, 0x67C0, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS10},

+ {0x1002, 0x67DF, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS10},

 

Yes but it does not show the model name   :(

 

EDIT:

 

CHIP_FAMILY_POLARIS10

CHIP_FAMILY_POLARIS11 

 

it sounds good (instead of CHIP_FAMILY_HAWAII).   ;)

Share this post


Link to post
Share on other sites

Yes but it does not show the model name :(

 

EDIT:

 

CHIP_FAMILY_POLARIS10

CHIP_FAMILY_POLARIS11

 

it sounds good (instead of CHIP_FAMILY_HAWAII). ;)

Hello there,

 

We'll look into your concern.

 

Best regards.

Share this post


Link to post
Share on other sites

From Linux:

 

+ /* Polaris11 */

+ {0x1002, 0x67E0, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS11},

+ {0x1002, 0x67E1, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS11},

+ {0x1002, 0x67E8, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS11},

+ {0x1002, 0x67E9, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS11},

+ {0x1002, 0x67EB, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS11},

+ {0x1002, 0x67FF, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS11},

+ /* Polaris10 */

+ {0x1002, 0x67C0, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS10},

+ {0x1002, 0x67DF, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS10},

Thanks, I will add this to Clover sources when I'll return home.

But I have to notice that it will not influence on macOS, just naming.

For modern cards in Sierra Inject->ATI=false is the best solution.

Hi,

Is it possible with clover to solve this ssdtprgen script warning?

 

Warning: 'system-type' may be set improperly (1 instead of 3)

 

I have also had a cpu warning that I solved in clover adding type parameter for my cpu.

Any advice?

system-type calculated from ModelName in Smbios section of your config.plist.

Set all to default and be happy.

 

PS. I don't use ssdtprgen

Share this post


Link to post
Share on other sites

@Slice
 

@Slice can you add the 9500controller in ATI.h and ATI.c with related Framebuffers? Please :)

Kext /System/Library/Extensions/AMD9500Controller.kext/Contents/MacOS/AMD9500Controller
Personality: Exmoor
ConnectorInfo count in decimal: 6
Disk offset in decimal 1892144
0000000 02 00 00 00 00 01 00 00 00 01 01 51 00 00 00 00 22 05 02 04 00 00 00 00
0000024 02 00 00 00 00 01 00 00 00 01 02 61 01 00 00 00 12 04 01 03 00 00 00 00
0000048 00 04 00 00 04 03 00 00 00 01 03 43 00 00 00 00 11 02 03 01 00 00 00 00
0000072 00 04 00 00 00 01 00 00 00 01 04 31 00 00 00 00 21 03 05 05 00 00 00 00
0000096 00 04 00 00 04 03 00 00 00 01 05 23 00 00 00 00 10 00 04 02 00 00 00 00
0000120 00 04 00 00 00 01 00 00 00 01 06 11 00 00 00 00 20 01 05 05 00 00 00 00
0000144
Personality: Berbice
ConnectorInfo count in decimal: 5
Disk offset in decimal 1892288
0000000 02 00 00 00 00 01 00 00 39 05 01 08 00 00 00 00 20 01 01 01 00 00 00 00
0000024 00 04 00 00 00 01 00 00 00 01 02 43 00 00 00 00 10 00 02 02 00 00 00 00
0000048 00 04 00 00 04 03 00 00 00 01 03 13 00 00 00 00 21 03 03 03 00 00 00 00
0000072 00 04 00 00 04 03 00 00 00 01 04 53 00 00 00 00 11 02 04 04 00 00 00 00
0000096 00 04 00 00 04 03 00 00 00 01 05 33 00 00 00 00 12 04 05 05 00 00 00 00
0000120
Personality: Elqui
ConnectorInfo count in decimal: 5
Disk offset in decimal 1892416
0000000 02 00 00 00 00 01 00 00 00 01 01 41 00 00 00 00 11 02 02 04 00 00 00 00
0000024 02 00 00 00 00 01 00 00 00 01 02 31 01 00 00 00 21 03 01 03 00 00 00 00
0000048 00 04 00 00 04 03 00 00 00 01 03 03 00 00 00 00 20 01 03 01 00 00 00 00
0000072 00 04 00 00 04 03 00 00 00 01 04 03 00 00 00 00 12 04 04 02 00 00 00 00
0000096 00 04 00 00 04 03 00 00 00 01 05 01 00 00 00 00 10 00 05 05 00 00 00 00
0000120
Personality: Acre
ConnectorInfo count in decimal: 3
Disk offset in decimal 1892640
0000000 00 04 00 00 04 03 00 00 00 01 01 01 00 00 00 00 11 02 02 01 00 00 00 00
0000024 00 08 00 00 04 02 00 00 00 01 02 00 00 00 00 00 21 03 05 04 00 00 00 00
0000048 04 00 00 00 04 02 00 00 00 01 03 00 00 00 00 00 00 00 03 05 00 00 00 00
0000072
Personality: Caroni
ConnectorInfo count in decimal: 5
Disk offset in decimal 1892832
0000000 02 00 00 00 00 01 00 00 00 01 01 41 00 00 00 00 11 02 02 04 00 00 00 00
0000024 02 00 00 00 00 01 00 00 00 01 02 31 01 00 00 00 21 03 01 03 00 00 00 00
0000048 00 04 00 00 04 03 00 00 00 01 03 03 00 00 00 00 20 01 03 01 00 00 00 00
0000072 00 04 00 00 04 03 00 00 00 01 04 03 00 00 00 00 12 04 04 02 00 00 00 00
0000096 00 04 00 00 04 03 00 00 00 01 05 01 00 00 00 00 10 00 05 05 00 00 00 00
0000120
Personality: Florin
ConnectorInfo count in decimal: 6
Disk offset in decimal 1893056
0000000 02 00 00 00 00 01 00 00 00 01 01 41 00 00 00 00 11 02 02 04 00 00 00 00
0000024 02 00 00 00 00 01 00 00 00 01 02 31 01 00 00 00 21 03 01 03 00 00 00 00
0000048 00 04 00 00 04 03 00 00 00 01 03 13 00 00 00 00 20 01 03 01 00 00 00 00
0000072 00 04 00 00 04 03 00 00 00 01 04 21 00 00 00 00 10 00 05 05 00 00 00 00
0000096 00 04 00 00 04 03 00 00 00 01 05 53 00 00 00 00 22 05 04 02 00 00 00 00
0000120 00 04 00 00 04 03 00 00 00 01 06 61 00 00 00 00 12 04 06 06 00 00 00 00
0000144
Personality: Guariba
ConnectorInfo count in decimal: 6
Disk offset in decimal 1893232
0000000 00 04 00 00 04 03 00 00 00 01 01 01 00 00 00 00 12 04 06 01 00 00 00 00
0000024 00 04 00 00 04 03 00 00 00 01 02 01 00 00 00 00 22 05 04 03 00 00 00 00
0000048 00 04 00 00 04 03 00 00 00 01 03 01 00 00 00 00 11 02 01 02 00 00 00 00
0000072 00 08 00 00 04 02 00 00 00 01 04 00 00 00 00 00 21 03 05 04 00 00 00 00
0000096 04 00 00 00 04 02 00 00 00 01 05 00 00 00 00 00 00 00 03 06 00 00 00 00
0000120 00 04 00 00 00 01 00 00 00 01 06 01 00 00 00 00 20 01 02 05 00 00 00 00
0000144
Personality: Dayman
ConnectorInfo count in decimal: 6
Disk offset in decimal 1893376
0000000 00 04 00 00 04 03 00 00 00 01 01 01 00 00 00 00 12 04 06 01 00 00 00 00
0000024 00 04 00 00 04 03 00 00 00 01 02 01 00 00 00 00 22 05 04 03 00 00 00 00
0000048 00 04 00 00 04 03 00 00 00 01 03 01 00 00 00 00 11 02 01 02 00 00 00 00
0000072 00 08 00 00 04 02 00 00 00 01 04 00 00 00 00 00 21 03 05 04 00 00 00 00
0000096 04 00 00 00 04 02 00 00 00 01 05 00 00 00 00 00 00 00 03 06 00 00 00 00
0000120 00 04 00 00 00 01 00 00 00 01 06 01 00 00 00 00 20 01 02 05 00 00 00 00
0000144
Personality: Baladi
ConnectorInfo count in decimal: 6
Disk offset in decimal 1893552
0000000 00 04 00 00 04 03 00 00 00 01 03 00 00 00 00 00 12 04 03 03 00 00 00 00
0000024 00 04 00 00 04 03 00 00 00 01 01 00 00 00 00 00 11 02 01 01 00 00 00 00
0000048 00 04 00 00 04 03 00 00 00 01 02 00 00 00 00 00 21 03 02 02 00 00 00 00
0000072 00 04 00 00 04 03 00 00 00 01 04 00 00 00 00 00 22 05 04 04 00 00 00 00
0000096 00 04 00 00 04 03 00 00 00 01 05 00 00 00 00 00 10 00 05 05 00 00 00 00
0000120 00 04 00 00 04 03 00 00 00 01 06 00 00 00 00 00 20 01 06 06 00 00 00 00
0000144
Personality: OPM
ConnectorInfo count in decimal: 5
Disk offset in decimal 1893696
0000000 00 04 00 00 04 03 00 00 00 00 00 01 00 00 00 00 11 02 02 02 00 00 00 00
0000024 00 04 00 00 04 03 00 00 00 00 00 01 00 00 00 00 21 03 03 03 00 00 00 00
0000048 00 04 00 00 04 03 00 00 00 00 00 01 00 00 00 00 12 04 01 01 00 00 00 00
0000072 00 04 00 00 04 03 00 00 00 00 00 01 00 00 00 00 10 00 04 04 00 00 00 00
0000096 00 04 00 00 04 03 00 00 00 00 00 01 00 00 00 00 20 01 05 05 00 00 00 00
0000120


gif-facteur-6.gif

Share this post


Link to post
Share on other sites

I know zero developers trying to understand a problem with some AMD CPU and some chipsets for AMD CPU.

I have no reports and logs about this.

Clover has detection for AMD CPU and uses MSR that is known to work with some AMD CPU. That's all I know about.

Slice,

 

i think, i might know where the problem is - see my Bootlog here:

5:426  0:000  Framebuffer @0xB0000000  MMIO @0xC0000000    I/O Port @0x0000E000 ROM Addr @0xDE740000
5:426  0:000  ATI card POSTed,
5:426  0:000  Set VRAM for Cedar+ = -1Mb        //<--- the value for VRAM readout is NOT correct
5:426  0:000  ATI: get_vram_size returned 0xFFF00000 //<---- but here the Value is correct, it is 4.096 dec.
5:426  0:000  ATI Radeon EVERGREEN family
5:426  0:000  Users config name Acre
5:426  0:000  Use # of ports setting from config.plist: 3
5:426  0:000  (AtiPorts) Nr of ports set to: 3
5:426  0:000  ATI Oland AMD Radeon RX460 -1MB (Acre) [1002:67EF] (subsys [174B:E344]):: PciRoot(0x0)\Pci(0x1,0x0)\Pci(0x0,0x0)
5:426  0:000  Intel Intel HD Graphics 530 [8086:1912] :: PciRoot(0x0)\Pci(0x2,0x0)
5:426  0:000  Intel GFX revision  =0x6
5:426  0:000   RCBA disabled; cannot use it
5:426  0:000  stringlength = 4500
5:426  0:000  CurrentMode: Width=3840 Height=2160
5:426  0:000  Beginning FSInjection
5:426  0:000  Blocking kext caches

might have something to do with this code-snippet within "ATI.c" file here:

//  size in MB on evergreen
//  XXX watch for overflow!!!

    card->vram_size = ((UINT64)REG32(card->mmio, R600_CONFIG_MEMSIZE)) << 20;  //<--- this is the part to readout cards VRAM-size, if no Value for VRAM was set within config.plist
    DBG("Set VRAM for Cedar+ = %dMb\n", (INTN)RShiftU64(card->vram_size, 20));
    } else if (chip_family >= CHIP_FAMILY_R600) {
            card->vram_size = REG32(card->mmio, R600_CONFIG_MEMSIZE);
    } else {
      card->vram_size = REG32(card->mmio, RADEON_CONFIG_MEMSIZE);
      if (card->vram_size == 0) {
        card->vram_size = REG32(card->mmio, RADEON_CONFIG_APER_SIZE);

//  Slice - previously I successfully made Radeon9000 working
//  by writing this register
    
          WRITEREG32(card->mmio, RADEON_CONFIG_MEMSIZE, (UINT32)card->vram_size);
      }
    }
  }
  gSettings.VRAM = card->vram_size;
  DBG("ATI: get_vram_size returned 0x%x\n", card->vram_size);  //<--- and this is the part for correct VRAM size in Bootlog
}

tested it just with an installed RADEON RX460.

i might could test this part also with an installed R9 280x, to see, if VRAM size gets read out correctly with such an installed card <--- if this would be helpfull.

 

If card->vram_size really gets just "-1MB" that might be the problem, why system does not get loaded after verbose boot, cause OS X > 10.9 needs at least more memory than just a minimum of 128MB VRAM.

But please get noticed, that this is just some thoughts, cause i am NO coder - but i can read and compare  ;-) You might give it a try... your choice.

 

EDIT#1:

This is Bootlog with R9 280x installed as main GFX:

7:230  0:000  Framebuffer @0xB0000000  MMIO @0xDE900000    I/O Port @0x0000E000 ROM Addr @0xDE940000
7:230  0:000  ATI card POSTed,
7:230  0:000  Set VRAM for Cedar+ = 3072Mb  //<--- see here, this time VRAM size was correct detected
7:230  0:000  ATI: get_vram_size returned 0xC0000000  //<--- also here correct VRAM size value
7:230  0:000  ATI Radeon EVERGREEN family
7:230  0:000  Users config name Junsai
7:230  0:000  Use # of ports setting from config.plist: 5
7:230  0:000  (AtiPorts) Nr of ports set to: 5
7:230  0:000  ATI Tahiti AMD Radeon HD 7970X/8970/R9 280X 3072MB (Junsai) [1002:6798] (subsys [174B:3000]):: PciRoot(0x0)\Pci(0x1,0x0)\Pci(0x0,0x0)
7:230  0:000   RCBA disabled; cannot use it

so i think, the code has to be modified in some way to get the correct VRAM size from newer cards (like cards with TONGA chipset or newer).

 

EDIT#2:

 

this is Bootlog output when using

		<key>VRAM</key>
		<integer>4096</integer>

within config.plist to determine VRAM size:

12:046  0:000  Framebuffer @0xB0000000  MMIO @0xC0000000    I/O Port @0x0000E000 ROM Addr @0xDE740000
12:046  0:000  ATI card POSTed,
12:046  0:000  Set VRAM from config = 4096Mb  // <--- correct, cause provided by config.plist
12:046  0:000  ATI: get_vram_size returned 0x0  // <--- incorrect, cause code will be ignored (through if...then...else), if VRAM size was set by config.plist
12:046  0:000  ATI Radeon EVERGREEN family
12:046  0:000  Users config name Acre
12:046  0:000  Use # of ports setting from config.plist: 3
12:046  0:000  (AtiPorts) Nr of ports set to: 3
12:046  0:000  ATI Oland AMD Radeon RX460 4096MB (Acre) [1002:67EF] (subsys [174B:E344]):: PciRoot(0x0)\Pci(0x1,0x0)\Pci(0x0,0x0)
12:046  0:000  Intel Intel HD Graphics 530 [8086:1912] :: PciRoot(0x0)\Pci(0x2,0x0)
12:046  0:000  Intel GFX revision  =0x6

Attached you will find the "ati.c" and "ati.h" files, which i i have expanded to contain BAFFIN and ELLESMERE code snippets:

expanded "ati.h" with:

    /* Arctic Islands */    
    CHIP_FAMILY_ELLESMERE, /* Polaris 10 */
    CHIP_FAMILY_BAFFIN,   /* Polaris 11 */
    CHIP_FAMILY_LAST

and

    /* AMD9500Controller */
    kBarbice,
    kElqui,
    kAcre,
    kCaroni,
    kFlorin,
    kGuariba,
    kDayman,
    kCfgEnd

and "ati.c" with:

    /* AMD9500Controller */
    {"Exmoor",    6},
    {"Barbice",   5},
    {"Elqui",     5},
    {"Acre",      3},
    {"Caroni",    5},
    {"Florin",    6},
    {"Guariba",   6},
    {"Dayman",    6},
    {"Baladi",    6},
    {"OPM",       5},

and (in parts)

//  ELLESMERE Polaris 10

    { 0x67C0,    0x00000000, CHIP_FAMILY_ELLESMERE,    "AMD Radeon Polaris 10",    kNull    },
    { 0x67DF,    0x00000000, CHIP_FAMILY_ELLESMERE,    "AMD Radeon RX480",         kNull    },

//  BAFFIN Polaris 11

    { 0x67E0,    0x00000000, CHIP_FAMILY_BAFFIN,    "AMD Radeon Polaris 11",        kNull    },
    { 0x67E1,    0x00000000, CHIP_FAMILY_BAFFIN,    "AMD Radeon Polaris 11",        kNull    },
    { 0x67E8,    0x00000000, CHIP_FAMILY_BAFFIN,    "AMD Radeon Polaris 11",        kNull    },
    { 0x67E9,    0x00000000, CHIP_FAMILY_BAFFIN,    "AMD Radeon Polaris 11",        kNull    },
    { 0x67EB,    0x00000000, CHIP_FAMILY_BAFFIN,    "AMD Radeon Polaris 11",        kNull    },
    { 0x67EF,    0x00000000, CHIP_FAMILY_BAFFIN,    "AMD Radeon RX460",             kAcre    },
    { 0x67FF,    0x00000000, CHIP_FAMILY_BAFFIN,    "AMD Radeon Polaris 11",        kNull    },

also i "cleaned" it a little bit to have a better overview:

Bildschirmfoto2016-11-05um18.01.17.png

Bildschirmfoto2016-11-05um18.03.31.png

Bildschirmfoto2016-11-05um18.03.54.png

and just to be sure: i did NOT change any existing part* or removed any outcommented parts.

 

* except this line:

    { 0x67EF,    0x00000000, CHIP_FAMILY_BAFFIN,    "AMD Radeon RX460",             kAcre    },  //changed "kNULL" to "kAcre" as standard FB for RX460

ati_files_clover.zip

Share this post


Link to post
Share on other sites

About VRAM size problem above <--- i fixed it by changing one line:

//  size in MB on evergreen
//  XXX watch for overflow!!!


//  card->vram_size = ((UINT64)REG32(card->mmio, R600_CONFIG_MEMSIZE)) << 20;   // <--- changed THIS line
    card->vram_size = IoRead32(R600_CONFIG_MEMSIZE) << 20;                      // <--- into THIS line
    DBG("Set VRAM for Cedar+ = %dMb\n", (INTN)RShiftU64(card->vram_size, 20));
    } else if (chip_family <= CHIP_FAMILY_R600) {
            card->vram_size = REG32(card->mmio, R600_CONFIG_MEMSIZE);
    } else {
      card->vram_size = REG32(card->mmio, RADEON_CONFIG_MEMSIZE);
      if (card->vram_size == 0) {
        card->vram_size = REG32(card->mmio, RADEON_CONFIG_APER_SIZE);

//  Slice - previously I successfully made Radeon9000 working
//  by writing this register

and now my Bootlog looks like this:

2:831  0:000  Framebuffer @0xB0000000  MMIO @0xC0000000    I/O Port @0x0000E000 ROM Addr @0xDE740000
2:831  0:000  ATI card POSTed,
2:831  0:000  Set VRAM for Cedar+ = 4095Mb             // <--- correct detected VRAM size here
2:831  0:000  ATI: get_vram_size returned 0xFFF00000   // <--- and here
2:831  0:000  Found generic VBIOS ROM file (1002_67EF.rom)
2:833  0:001  Loaded ROM len=262144
2:833  0:000  Calculated ROM len=58368
2:833  0:000  VideoBIOS read from file
2:833  0:000  ATI Radeon EVERGREEN family
2:833  0:000  Users config name Acre
2:833  0:000  Use # of ports setting from config.plist: 3
2:833  0:000  (AtiPorts) Nr of ports set to: 3
2:833  0:000  ATI Oland AMD Radeon RX460 4095MB (Acre) [1002:67EF] (subsys [174B:E344]):: PciRoot(0x0)\Pci(0x1,0x0)\Pci(0x0,0x0)

I know, it may NOT be the best way to fix it, but ONE way, and for me it works. Maybe someone of the PROs find a better way. Anyway... this change just fixed the VRAM size problem,

NOT the blacksreen after verbose boot with RADEON RX460.

Sorry, was hoping, too , that it may also fix the "blackscreen" problem.

Share this post


Link to post
Share on other sites

Slice I have a real Mac Pro 5,1 and able to do any test you may need to fix this gpu issue that everyone seems to be having, I have 7970, 290X and RX 480 to test if needed. Just let me know what you need

Share this post


Link to post
Share on other sites

About VRAM size problem above

Sorry, was hoping, too , that it may also fix the "blackscreen" problem.

Hi Mork von Ork

 

just to be sure that I understand what you are try to do... (I try to help)

(PS I don't have this hardware... I mean ATi/AMD to test myself...)

 

So...

I use the latest Clover 3905 sources with the ATI changes that I post few "post" ago with you tiny change of today...

... with respect of your change made yesterday there is some duplicated in the card_configs...

 

can you test this? (pls the logs are very useful)

 

-> removed... new one in the next post

 

also... one things... are you using a FAKE id? (maybe I lost where you mention it...)

but looking at you output I see this

2:833  0:000  ATI Oland AMD Radeon RX460 4095MB (Acre) [1002:67EF] (subsys [174B:E344]):: PciRoot(0x0)\Pci(0x1,0x0)\Pci(0x0,0x0)

Oland?????

 

the oland card we have in the source are this:

 

 

 
  // OLAND
  
  // Oland: R7-240, 250  - Southand Island
  { 0x6600, 0x00000000, CHIP_FAMILY_OLAND, "AMD Radeon HD 8600/8700M", kNull       }, // Mobile
  { 0x6601, 0x00000000, CHIP_FAMILY_OLAND, "AMD Radeon HD 8500/8700M", kNull       }, // Mobile
  // { 0x6602, 0x00000000, CHIP_FAMILY_OLAND, "AMD Radeon",           kNull       }, // Mobile
  // { 0x6603, 0x00000000, CHIP_FAMILY_OLAND, "AMD Radeon",           kNull       }, // Mobile
  { 0x6604, 0x00000000, CHIP_FAMILY_OLAND, "AMD Radeon R7 M265",       kNull       }, // Mobile
  { 0x6605, 0x00000000, CHIP_FAMILY_OLAND, "AMD Radeon R7 M260",       kNull       }, // Mobile
  { 0x6606, 0x00000000, CHIP_FAMILY_OLAND, "AMD Radeon HD 8790M",      kNull       }, // Mobile
  { 0x6607, 0x00000000, CHIP_FAMILY_OLAND, "AMD Radeon R5 M240",       kNull       }, // Mobile
  { 0x6608, 0x00000000, CHIP_FAMILY_OLAND, "AMD FirePro W2100",        kNull       },
  { 0x6610, 0x00000000, CHIP_FAMILY_OLAND, "AMD Radeon R7 250",        kFutomaki },
  { 0x6611, 0x00000000, CHIP_FAMILY_OLAND, "AMD Radeon R7 340 Series", kNull       },
  { 0x6613, 0x00000000, CHIP_FAMILY_OLAND, "AMD Radeon R7 240",        kFutomaki },
  // { 0x6620, 0x00000000, CHIP_FAMILY_OLAND, "AMD Radeon",           kNull       }, // Mobile
  // { 0x6621, 0x00000000, CHIP_FAMILY_OLAND, "AMD Radeon",           kNull       }, // Mobile
  // { 0x6623, 0x00000000, CHIP_FAMILY_OLAND, "AMD Radeon",           kNull       }, // Mobile
  // { 0x6631, 0x00000000, CHIP_FAMILY_OLAND, "AMD Radeon",           kNull       },
 

 

 

 

ErmaC

Share this post


Link to post
Share on other sites

@ErmaC

 

same effect: no initialization of RX460 w/o helper card (IGPU in my case). Still boots to BlackScreen after verbose boot.

 

but now ELLESMERE gets detected correctly in BootLog:

4:806  0:000  Framebuffer @0xB0000000  MMIO @0xC0000000    I/O Port @0x0000E000 ROM Addr @0xDE740000
4:806  0:000  ATI card POSTed,
4:806  0:000  Set VRAM for Cedar+ =4095Mb
4:806  0:000  ATI: get_vram_size returned 0xFFF00000
4:806  0:000  ATI Radeon EVERGREEN family
4:806  0:000  Users config name Acre
4:806  0:000   use N ports setting from config.plist: 3
4:806  0:000  (AtiPorts) Nr of ports set to: 3
4:806  0:000  ATI Ellesmere AMD Radeon RX460 4095MB (Acre) [1002:67EF] (subsys [174B:E344]):: PciRoot(0x0)\Pci(0x1,0x0)\Pci(0x0,0x0)

Have to check one of my files: ati.c or ati.h for that OLAND output.

No FakeID here - i completly let CLOVER detect device-id, vendor-id and subsystem-id:

Bildschirmfoto2016-11-06um19.02.55.png

see "Arbitrary" is outcommented, so that old "inject"-Method should work.

Share this post


Link to post
Share on other sites
4:806  0:000  Users config name Acre
4:806  0:000   use N ports setting from config.plist: 3
4:806  0:000  (AtiPorts) Nr of ports set to: 3
4:806  0:000  ATI Ellesmere AMD Radeon RX460 4095MB (Acre) [1002:67EF] (subsys [174B:E344]):: PciRoot(0x0)\Pci(0x1,0x0)\Pci(0x0,0x0)

 

pls try also removing the port number in config.plist

because ithe "logic" automatically set the number of port to 3 (acre =3)

 { 0x67EF, 0x00000000, CHIP_FAMILY_BAFFIN, "AMD Radeon RX460",             kAcre },

your device have already set the correct number of port (so no need to set it in the config)

{"Acre", 3},

but now ELLESMERE gets detected correctly in BootLog:

 

I made some error...

yep ELLESMERE is now detect but your card is a BAFFIN...

 

I will check the list probably I forgot some CHIP_FAMILY...

 

EDIT:

YES I forgot to add a family chip...

this one is correct. (I mean the chip family for your card)

-> removed new one posted

ErmaC

Share this post


Link to post
Share on other sites

@Ermac

Bios setting: primary PCIe

With FakeID

Black screen again... :(  :wallbash:

 

Test RX-480

 

@gengik84

 

I only try to fix the memory size and chip family (+ port number)

set the primary GFX is another story for now...

 

In the same way as Mork vom Ork set your gfx card in a way where you are able to boot and post the logs

 

ErmaC 

Share this post


Link to post
Share on other sites

@ErmaC:

 

removed the entry for "VideoPorts" in config.plist. <--- but CLOVER still defaults to 6 ports for the RX460 (which only have 3 ports: DP, HDMI and DVI).

All other values have been detected as expected so far, even "CHIP_FAMILY_BAFFIN" :thumbsup_anim:

 

About the Portdetection ithink we have to look at this part of the code:

//  use cfg_name on radeon_cards, to retrive the default name from card_configs,
        card->cfg_name = card_configs[card->info->cfg_name].name;
        n_ports = card_configs[card->info->cfg_name].ports;        // <--- # of ports declared here (declared through  detection?)
        
//  which means one of the fb's or kNull
        DBG("Framebuffer set to device's default: %a\n", card->cfg_name);
    DBG(" N ports defaults to %d\n", n_ports);
  }
 
  if (gSettings.VideoPorts != 0) {                                  // <--- part, when # of Ports provided by config.plist
    n_ports = gSettings.VideoPorts;
    DBG("Use # of ports setting from config.plist: %d\n", n_ports);
  }
 
    if (n_ports > 0) {                                              // <--- part, when # of Ports NOT provided by config.plist, then try to detect through CLOVER
        card->ports = (UINT8)n_ports; // use it.
        DBG("(AtiPorts) Nr of ports set to: %d\n", card->ports);
  } else {
    
//      if (card->cfg_name > 0) // do we want 0 ports if fb is kNull or mistyped ?
//      else, match cfg_name with card_configs list and retrive default nr of ports.
        for (i = 0; i < kCfgEnd; i++) {
            if (AsciiStrCmp(card->cfg_name, card_configs[i].name) == 0) {
                card->ports = card_configs[i].ports; // default
      }
    }
        
        DBG("Nr of ports set to framebuffer's default: %d\n", card->ports);
    }
 
  if (card->ports == 0) {
    card->ports = 2; //real minimum
    DBG("Nr of ports set to min: %d\n", card->ports);
  }

Share this post


Link to post
Share on other sites

removed the entry for "VideoPorts" in config.plist.

All other values have been detected as expected so far, even "CHIP_FAMILY_BAFFIN" :thumbsup_anim:

remove also "FB Name" entry if it is not empty.

of course this also is important no 'missed' value have to interfere...

 

Can you post the log with this?

 

-> CLOVER_3905_ATI_V4.zip

 

setting in config and w/o setting in config..

 

pls

 

ErmaC

Share this post


Link to post
Share on other sites

next problem here:

even i have set ACRE to be RX460's default Framebuffer

    { 0x67EF,    0x00000000, CHIP_FAMILY_BAFFIN,    "AMD Radeon RX460",             kAcre    },

CLOVER allways sets LABRADOR as default framebuffer if i don't provide a Framebuffer via Config.plist. That's why my default # of Ports allways get set to "6" instead of "3" ("6" is default value for LABRADOR)

 

@ErmaC

testing now your files with values provided by config.plist and w/o providing values via config.plist. I'll be back in couple of minutes to report...

 

EDIT#1:

WOW, i am impressed, all values correct w/o providing them via config.plist (CLOVER detected them all correct):

20:107  0:000  Framebuffer @0xB0000000  MMIO @0xC0000000    I/O Port @0x0000E000 ROM Addr @0xDE740000
20:107  0:000  ATI card POSTed,
20:107  0:000  Set VRAM for Baffin =4095Mb
20:107  0:000  ATI: get_vram_size returned 0xFFF00000
20:107  0:000  ATI Radeon EVERGREEN family
20:107  0:000  Framebuffer set to device's default: Acre
20:107  0:000   N ports defaults to 3
20:107  0:000  (AtiPorts) Nr of ports set to: 3
20:107  0:000  ATI Baffin AMD Radeon RX460 4095MB (Acre) [1002:67EF] (subsys [174B:E344]):: PciRoot(0x0)\Pci(0x1,0x0)\Pci(0x0,0x0)

CONGRATULATIONS!

Share this post


Link to post
Share on other sites

Got good news and got bad news!

 

Good News: we don't need to provide Framebuffername and # of VideoPorts anymore through config.plist for RX460 now, cause CLOVER detects them itself.

 

Bad News: still need Helpergpu like IGPU to get RX460 working. W/o HelperGPU i still get BlackScreen after verbose boot. :(  But i think, we might get closer to solve this finally.

 

@ErmaC:

 

would you please provide me with your "ati.c" and "ati.h" files - so i can update my versions of the file? Would make me happy...

Share this post


Link to post
Share on other sites

@ErmaC:

 

would you please provide me with your "ati.c" and "ati.h" files - so i can update my versions of the file? Would make me happy...

Hi...

No problem I will post it in the patch section of clover....

 

just let me write some info about what is what.... so then the changes will be avaiable for all..

 

ErmaC

 

EDIT: done

Share this post


Link to post
Share on other sites

With all the above applied patches and some cosmetical corrections, my bootlog for Radeon RX460 now looks like this:

4:883  0:000  Framebuffer @0xB0000000 • MMIO @0xC0000000 • I/O Port @0x0000E000 • ROM Addr @0xDE740000
4:883  0:000  ATI card POSTed
4:883  0:000  Set VRAM for Cedar+ to 4095Mb
4:883  0:000  ATI get_vram_size returned: 0xFFF00000
4:883  0:000  ATI Radeon EVERGREEN family
4:883  0:000  Devices default Framebuffer: Acre
4:883  0:000  Default Nr. of ports: 3
4:883  0:000  (AtiPorts) Nr. of ports: 3
4:883  0:000  ATI CHIP FAMILY: Baffin • CARD NAME: AMD Radeon RX460 • VRAM: 4095MB • FRAMEBUFFER: Acre • VENDOR-/DEVICE-ID: 1002:67EF • SUBSYSTEM-ID: 174B:E344 • PciRoot(0x0)\Pci(0x1,0x0)\Pci(0x0,0x0)

by using these settings within my config.plist:

Bildschirmfoto2016-11-07um01.20.50.png

But remember: still have to use IGPU to get RX460 working.

Share this post


Link to post
Share on other sites

But remember: still have to use IGPU to get RX460 working.

Was it a Clover bug or the entire lineup of the new AMD cards are all like that ? I'm planning to get a RX470 soon, and if this problem can't be fixed in the near future i might refrain from getting it.

Also can Clover identify Haswell-E/Broadwell-E CPUs properly ? I have a setup at work running Sierra with Xeon E5-2683v3 and System Report shows it as Unknown ( even though many applications still see the name correctly ), which preventing me from installing Intel Power Gadget to check for speedstep. Tried FakeCPUID and manually injecting CPU type, doesn't work I'm an idiot for not researching enough, PikeRAlpha has a kernel patch to resolve this matter

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By karthiksh1989
      can somebody walkthrough with the mojave installation guide?
      i have a mac high sierra 13.6 version on my macbook pro and want to install mojave on my desktop
      Exact config is Gigabyte gaming wifi 7 motherboard amy ryzen 7 2nd gen 2700X processor Gigabyte G1 8GB grapgic card VEGA 64
      running 2 nvme Samsung 256gb cards and 1 intel 180gb ssd internal and 1tb WD HDD, with 64 GB 3200Mhz Ram
       
      https://wa.me/919611736534 (whatsapp)
    • By RougeOne
      Budget Workstation MacOS 10.14.1 build: z370 AORUS Gaming 5 - i5-8600K - RX 580 - UHD 630
      flawless iGPU/dGPU integration, fast FCPX editing/rendering, great overall performance for ~$1200 / ~£1000
       
      Update: updated WhateverGreen and Lilu, then updated OS to 10.14.3 and everything is fine! Even iMessage, which previously I hadn't been able to make work, is now working - possibly the update flushed the NVRAM?
       
      I'm gonna come straight out and admit it - I used newb tools which are considered taboo on InsanelyMac, and so this isn't so much an installation guide as it is a green flag to anyone considering the same hardware. My first and previous Hackintosh project was just over ten years ago and this site was massively helpful, so this is my (very small) way of giving back.
       
      EFI DIRECTORY
      http://s000.tinyupload.com/index.php?file_id=97606131925137056003
       
      HARDWARE
      CPU: Intel i5-8600K 3.6GHz hexacore (contains UHD 630 iGPU)
      CPU Cooler: be quiet! Pure Rock Slim (no paste needed, and fan facing front)
      Mobo: GIGABYTE z370 AORUS Gaming 5 (WIFI)
      RAM: 1x 8GB CORSAIR Vengeance LPX C16 2666MHz (in first slot)
      GFX Card: Sapphire RX 580 NITRO+ SE
      SATA: used ports 0, 1, 3, 5 (HDD problems when connected to port 4)
      HDD: generic
      DVD Drive: generic
      PSU: EVGA 500W Semi Modular (but you should get 650W!)
      Case: CoolerMaster CM590 III
      Fans: 2x stock case fans (one sucky on front, one blowy on back), 3x be quiet! BL046 120mm fans (two blowy on top, one sucky on front). Airflow near-perfectly balanced.
       
      ADVICE
      With the Clover configuration, you want to pay close attention to all things relating to graphics. There are some specific settings for ACPI, Boot, Devices and Graphics which should be copied exactly in order to get the iGPU and dGPU to work in perfect harmony. For instance, make sure you use ig-platform-id 59120003 rather than 59120000 if you want FCPX to be usable. With the right settings, FCPX will not only run, but run flawlessly.
       
      I was not able to figure out how to make NVRAM/PRAM behave itself, and I got errors when I tried to issue relevant commands. As a result, I could not at first get iMessage to work properly. It worked once on my first installation attempt but not from subsequent attempts. This Clover configuration therefore has no consideration whatsoever toward iMessage reliability - however, iMessage ended up working somehow, anyway - I noticed it after I'd updated to 10.14.3 but this may just have been coincidence.
       
      Onboard WiFi does not work. There is no driver for it. I'm using wired ethernet to a bridge router as it was cheaper than getting a compatible PCI card.
       
      Audio is working well after I installed the z370 audio patch, then the ALC1220 codecs, then AppleALC.
       
      With kexts for generic 3rd party SATA and generic 3rd party eSATA, my HDDs and DVD drive work perfectly well.
       
      Sleep/Wake functions run perfectly. iCloud functions run perfectly. Shutdown leaves the mobo LEDs on, annoyingly.
       
      My USB 3 ports seem to suffer from low power output, and I don't know why.
       
      Overall, this system appears to run about as well under MacOS 10.14 Mojave as it does under Windows 7. I would solidly recommend this build to anyone looking to build a computer for workstation purposes, on a budget.
    • By JhonneR
      Good morning, everyone, I'm sorry if I was wrong in choosing the topic but I need help.
      I have found it extremely difficult to mount a Hackintosh in my acer.
      Setup;
      I5 2430m 2.4 6GB RAM
      Mobo P5we0 - Intel intel Graphics 3000
      At the moment I have not found out what my audio codecs are.
      but I'll leave the link on the motherboard.
      however, my real problem is several.
      I have already used the itakos image, I have already used several images that could be installed normally and that after installing the image I do not have internet via cable or wireless.
      And another, I already looked in other forums and I know that I will be called a donkey in the logical question but I have not been able to install the [url=&quot;http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/&quot;]#####[/url] or clover to start from the Hard Disk, so I do not know what to do.At the moment I still do not know if there has already been someone who has already installed the High Sierra or just the Sierra in this notebook model and obtained permanent success.
      If anyone can help me, I'll be grateful.
      Installations without success, but with the system already installed in ACER;
      SIERRA
      HIGH SIERRA
      MOJAVE
      All with the same symptom. Starting only by the bootable USB stick and without internet connection via cable and wireless.
      Appreciate ! Acer 5750 Official Page
    • By Slice
      Since rev 4844 Vector Themes are supported and there are ready-to-use Clovy by Clovy, cesium by Slice and BGM_SVG by Blackosx.
      You may see it's structure to create own theme
      -------------------------------------------------------------------------------------------------------------------------------------------------------
       
       
      Now I want to add vector graphics support in Clover. See rev 4560 and later.
      It is not working yet but designers may begin to create Vector Themes.
      It supposed to consist of SVG elements and has design size. It will be rendered to any screen size scaled from design size.
       
      What application in macOS can create SVG graphics?
      Inkscape is not working in macOS 10.11+. Pity.
      LibreOffice Draw works with SVG but buggy.
      Boxy SVG cost 10$ but looks good enough. It creates the best in simplicity files and have more then enough features.
      Illustrator is good but expensive.
       
      How to improve SVG file?
      Clover has restricted support for SVG. It is your job to make compatible file and as small as possible to speedup rendering.
      Some helps:
      Help:Inkscape – From invalid to valid SVG Inkscape files
      From invalid to valid SVG Adobe Illustrator files
      From invalid to valid SVG files of other editors: BKchem, ChemDraw and CorelDRAW
      Help:Illustrator – Assistance with creating and saving SVG images in Adobe Illustrator that will pass W3C validation
      User:Quibik/Cleaning up SVG files manually
      Later I will write own instructions specific to Clover abilities.
       
      How to create SVG fonts?
      You can google to find ready-to-use SVG fonts.  I found some problems with too beaty fonts: slow rendering and overflow crash. Be careful.
      You can get ttf or otf fonts and convert them into svg by using online WEB services. Not a problem to google.
      But then I want to find a way to simplify the font to reduce a size and speedup rendering.
      You can create own font by FontForge It is opensource and available for Windows, Mac and GNU+Linux. It creates otf font which you can convert to svg font.
       
      Pictures from Badruzeus
      https://www.insanelymac.com/forum/applications/core/interface/file/attachment.php?id=301597
    • By gengik84
      Ciro82==>>Thanks
      Uno dei tre Requisiti:
      Hack funzionante Mac vero Macchina virtuale Impostazioni Bios per il boot:
      Cercate una voce  del tipo “Sata Mode”e settatela  in AHCI
      Secure Boot: disabilitare o altri sistemi operativi
      CSM: UEFI o LEGACY, oppure a secondo del tipo di installazione
      VT-x / VT-d disable
      *Nota: Secure boot e csm valido solo per bios UEFI
      Materiale Occorrente 
      "OS X (Versione App.Store)”
      USB 8GB  *nota: nel caso di usb superiori dovrà essere partizionata, in modo da avere una partizione su cui "lavoreremo,di questa dimensione
      ShowAllfiles 
      kext Wizard 
      Bootloader Clover_2.3k_r xxx:                   http: //sourceforge.n.../cloverefiboot/
      Clover Configurator:                                    http: //mackie100proj...a.org/download/
      FakeSmc.kext:                                            https://github.com/kozlek/HWSensors/releases
      In allegato,a fondo pagina troverete un "pacchetto" contenente : ShowAllfiles, Kext Wizard, FakeSmc.kext: 
      App alternative:
      ESP Mounter Pro: per montare la partizione EFI
      Vi illustrerò tre metodi per creare la usb, ma sono ben distinti… quindi usatene soltanto uno
      Metodo 1: “Install Mac_OS_X.command” Metodo 2: “Create Install Media di Apple” Metodo 3:  Metodo Manuale Alla fine delle preparazione dell’installer, tutti i metodi necessitano l’installazione del Bootloader Clover sulla a vostra USB.
      “CONDIZIONI OBBLIGATORIE”
      PUNTO 1: che la vostra usb sia stata preventivamente nominata USB (caratteri maiuscoli) Tabella di partizione GUID e la formattazione in  Mac esteso Journaled.
      PUNTO 2: che l’installer di OSX si trovi in Applicazioni
      Utility Disco 
      Selezionate la pendrive, andate su “partizione”, selezionate “1 partizione”, impostate Mac OS esteso journaled e date il nome USB, poi in basso cliccate su opzioni e scegliete Tabella partizione (GUID), poi “applica”.
      Immagine 
      Riporto nuovamente l’operazione sopra citata adoperando dal nuovo Utility Disco introdotto su El Capitan.
      Rimane ovviamente invariato nome della usb in ==>> USB (maiuscolo), la formattazione in Mac esteso Journaled e sia la mappa partizione in GUID
      Da utility disco selezionate la usb, cliccate su inizializza.
      dal menù a tendina scegliete la relative impostazioni
      Immagine  
      Procedura effettua da High Sierra è la stessa della precedente, l'unica attenzione e operazione da aggiungere in primis  è cliccare nel menù a tendina in alto sulla sinistra di utility disco e selezionare "mostra tutti i dispositivi"
      Immagine 
       
      =====================
        METODO 1: "Install_Mac_OS_X.Command" Lo script che trovate allegato in fondo alla guida permette la creazione dell’installer in maniera automatica
      Include la possibilità di scelta di tre versioni di osx
      Yosemite El Capitan Sierra Il risultato finale è come quello del metodo "manuale" descritto nella guida, per cui l'installazione avverrà in un solo passaggio, non in due come con il metodo createinstallmedia. 
      Offre inoltre la possibilità di inserire un kernel patchato, utile, per esempio, per chi usa AMD.
      Rimane invariato il nome dato alla usb in USB, mappa partizione e tipo di formattazione
      Se la vostra usb non sarà rinominata nel modo corretto, verrete avvisati dal terminale, quindi non dovrete far altro che apportare la relativa modifica e rilanciare nuovamente lo script
      Esempio
      ===========================
      Metodo 2 
      L'intento è quello di usare la procedura fornitaci direttamente da Apple, "createinstallmedia", introdotta  con Mavericks. 
      Tale metodo prevede l’uso del terminale che via via se ne sta perdendo il “valore e l’uso”
      Inizialmente per i neofiti potrà sembrare problematico ma alla fine non è così.
      Durante il post installazione alcune operazioni ne richiedono l’ uso.
      Perciò mi sono chiesto perchè, qualora uno volesse, non far conoscere da subito un po’ questo “strumento”???
      Per favorirvi vi ho allegato i comandi già  “pronti”, i quali li potrete copiare ed incollare sul terminale.
      A questo punto aprite il terminale, copiate ed incollate il comando sottostante e premete invio, digitate la vostra password e premete nuovamente invio.
      Comando per creare USB con Yosemite:
      sudo /Applications/Install\ OS\ X\ Yosemite.app/Contents/Resources/createinstallmedia --volume /Volumes/USB --applicationpath /Applications/Install\ OS\ X\ Yosemite.app --nointeraction  
      Comando per creare USB con El Capitan
      sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/USB --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app --nointeraction Comando per creare USB con Sierra 
      sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/USB --applicationpath /Applications/Install\ macOS\ Sierra.app/ --nointeraction Per creare USB con Hight Sierra o Mojave usate --> C_I_M (aggiornato per 10.14)
       
      Funziona con il drag & drop sul terminale, in questo caso non vi è necessità che la usb sia nominata in un determinato modo ed essendo basato su create install media ovviamente funziona da 10.9 a 10.14.... 
      BENE…IL PROCESSO DI CREAZIONE E’ INIZIATO…
      AVREMO CIRCA 20/30 MINUTI DI TEMPO LIBERO A CUI DEDICARSI A CIO’ CHE VOGLIAMO………………………………………..  
      COLGO L’OCCASIONE PER FARVI NOTARE LA VELOCITA’ E LA SICUREZZA DI QUESTO METODO
      CONFRONTATE QUESTO CON IL TERZO METODO E NOTERETE CHE CON UN SOLO PASSAGGIO, OSSIA IL COMANDO DATO AL TERMINALE, FACCIAMO IN UNA SINGOLA OPERAZIONE TUTTI I VARI STEP DESCRITTI SULL’ ALTRO METODO.
      DETTO QUESTO, MOLTO IMPORTANTE E’ SOTTOLINEARE CHE COSI’ FACENDO EVITEREMO ERRORI  DI DISTRAZIONE RIGUARDO AI PASSAGGI O FRAINTENDIMENTI.
      Immagine 
      Potete adesso passare ad installare il bootloader Clover sulla vostra usb.
      *NOTA*:
      Avendo usato questo metodo l'installazione si dividerà in due fasi, perciò dopo il primo riavvio e necessario far partire nuovamente l'installer, selezionare lo stesso disco senza formattarlo.
      Finita questa ulteriore fase , l'installazione sarà terminata
      =========================
      METODO "MANUALE"....  (lascio per futura memoria-Compatibile fino a 10.12)
      ==========================
      Bootloader
      **Nota:** Installazione in UEFI  dipenderà dalla scheda madre in vostro possesso, quindi se non supporta tale opzione , il bootloader dovrà essere installato in  modalità Legacy.
       Vi invito, qualora non sapeste questa informazione, a recarvi nel sito ufficiale del produttore e controllare le informazioni a riguardo
      Fatto questo dobbiamo installare  Clover sulla usb.
      A seconda del tipo di Bios o al tipo di installazione che vogliamo fare UEFI o Legacy avremo ovviamente configurazioni diverse in questa fase.
      Lanciate il pkg.
      Immagine 

       
      Cambiate la destinazione di installazione ad USB oppure Install Mac_OS_X (a secondo del tipo di creazione eseguita)
      Successivamente clicchiamo su "Ad Hoc"
      Per Installazione UEFI
      Mettete i flag   : Installazione solo per avvio UEFI
                               : installare Clover nella ESP
                               : Driver64UEFI  AptioMemory --> (consigliato) 
                               : Driver64UEFI  ApfsDriverLoader --> (consigliato) --> sostituisce l'uso del driver apfs.efi
                               : Selezionate l'altri driver come da successiva immagine,
       
      *Nota: Altri driver che si possono usare  al suo posto  sono:
       informazioni 
       
      Proseguite con l’installazione.
      Immagine 
      ** Ricordate che avrete accesso a questa cartella dopo aver montato la partizione EFI**
      ===========================
      Per installazione Legacy
      Immagine 
      ===========================
      Impostazione per config.plist:
      Con clover configurator “montate” la partizione EFI della usb.
      1) Per fare questo nel menù di sinistra, cliccate su “Mount EFI”
      2) individuate la partizione relativa alla vostra usb, a questo punto montiamo la relativa partizione EFI  selezionando l’apposito pulsante “Mount Partition”
      Immagine 
      3) Successivamente cliccate su “Open Partition”.. recatevi in EFI/Clover ed aprite il config.plist
      4) Sezione ACPI: Disabilitate tutti i fix sia del menù 1 che del menù 2
      Immagine 
      5) Sezione BOOT: Sole se si sta installando Yosemite mettete il flag su kext-dev-mode=1
      Immagine 
      6) Sezione RT Variables: Se si sta installando El Capitan oppure Sierra, aggiungere i valori: BooterConfig= 0x28, CsrActiveConfig= 0x67
      Immagine 
      7) Sezione System Parameters: Su inject kext mettete YES
      Immagine 
      ===========================
      Nota: Su El Capitan, è stato introdotto SIP (System Integrity Protection)
      Info:
      ===========================
      Recatevi in EFI/Clover/kext/10.x 
      X= alla versione di osx che state installando. Per esempio se installerete Yosemite dovrete recarvi nella cartella 10.10, con El Capitan in 10.11….ecc
      Se non ci fosse tale cartella, createla e nominatela voi a “modo”.
      Copiatevi all’interno FakeSmc.kext
      *Nota se venite già da altre vostre configurazioni, oltre kext sopra citato ,potete mettere gli altri necessari per il vostro hardware
      Stessa cosa se avete DSDT e/o SSDT potete copiarli in EFI/Clover/Acpi/Patched
      Immagine 
      
      Per High Sierra:
      Scaricare il driver apfs.efi a fine guida, collocarlo:
          --> EFI/clover/Driver64UEFI se stiamo usando UEFI
      --> EFI/Clover/Driver64 se stiamo usando Legacy
       
      Per chi volesse continuare ad usare HFS vi rimando a questo post:
        Come installare High Sierra in HFS direttamente dalla usb  
      Utenti Laptop:  Nel 99% è obbligatorio disattivare la grafica discreta Nvidia/Amd per installare questo nuovo osx
                                     Quindi aggiungete --> SSDT-Disable_DGPU.aml.zip
                                     in EFI/Clover/acpi/Patched della usb
      --------------------------------------------------------------------
      Per Mojave:
      Scaricare il driver apfs.efi per 10.14 a fine guida, collocarlo:
          --> EFI/clover/Driver64UEFI se stiamo usando UEFI
      --> EFI/Clover/Driver64 se stiamo usando Legacy
      Versione di clover non antecedente a V_4015
      Volete usare HFS?
      E' possibile fare un installazione diretta su altro disco o partizione, nel caso può essere usato anche per effettuare aggiornamenti...
      nel caso guardate...
       Mojave in HFS 
       Oppure direttamente da usb  
       
      Fatto questo avrete la vostra USB bootable per installare OSX.
      ………Non scordatevi Fakesmc.kext da mettere nella relativa cartella…. senza il quale non farete mai il Boot......
      *NOTA: se usato il terminale per la creazione della usb, l'installazione si dividerà in due fasi, perciò dopo il primo riavvio e necessario far partire nuovamente l'installer, selezionare lo stesso disco senza formattarlo.
      Finita questa ulteriore fase , l'installazione sarà terminata
      **NOTA** Se avete processori Broadwell,Skylake o Kabylake...usate FakeSmc.kext e relativi sensors che trovate all'interno del secondo pacchetto.. (potete usarlo anche sui precedenti senza problemi, essendo una versione più aggiornata ha ulteriore supporto per le cpu più recenti)
      Update: Fakesmc e sensors versione 6.26
      Post installazione... post #2           
       Buon Hack….. 
      Aggiornamento:Install_Mac_OS_X.command.zip (compatibile da 10.10 a 10.12)
      le info le trovate a questo post
      Ringrazio @Ciro82 che mi ha aiutato nel preparare questa guida.
      Pacchetto.zip
      Pacchetto-2.zip
      apfs.efi-10.13-NoLog.zip
      Pacchetto-Fake+Sensors 6.26.1440.zip
      apfs.efi-10.13.1-No_LOG.zip
      apfs.efi-10.13.2_No_Log.zip
      apfs.efi-10.13.3-No_Log.zip
      apfs.efi-10.13.4-No_Log.zip
      apfs.efi-10.13.5_No_Log.zip
      C_I_M.zip
       
      apfs.efi-10.14-beta1_No_Log.zip





       

×