Jump to content

D-an-W

D-an-W

Member Since 29 Sep 2009
Offline Last Active Yesterday, 07:26 PM
-----

Posts I've Made

In Topic: Build_Clover.command, another Script to build standard Clover (or customized)

20 October 2017 - 05:15 AM

I get the following error when trying to build after updating the script this morning (Not yet updated Xcode)...

[GENFW] OsxAptioFix2Drv
[CC] lib
[CC] menu
[CC] screen
[CC] IO
[CC] common
[CC] legacy
[CC] loader
[CC] tool
[CC] secureboot
[CC] securehash
[CC] securemenu
[CC] securevars
[CC] bootscreen
[CC] lockedgraphics
[CC] egemb_icons
[CC] egemb_font
[CC] scroll_images
[CC] BmLib
[CC] image
[CC] load_icns
[CC] libscreen
[CC] lodepng
[CC] text
[CC] AcpiPatcher
[CC] AmlGenerator
[CC] ati
[CC] BootLog
[CC] BootOptions
[CC] Console
[CC] cpu
[CC] DataHubCpu
[CC] device_inject
[CC] device_tree
[CC] Edid
[CC] Events
[CC] hda
[CC] gma
[CC] guid
[CC] Injectors
[CC] LegacyBiosThunk
[CC] LegacyBoot
[CC] nvidia
[CC] platformdata
[CC] plist
[CC] Pointer
[CC] Settings
[CC] smbios
[CC] spd
[CC] string
[CC] StateGenerator
[CC] usbfix
[CC] b64cdecode
[CC] FixBiosDsdt
/Users/dan/src/edk2/Clover/rEFIt_UEFI/Platform/kernel_patcher.c:1879:5: error: member reference base type 'char' is not a structure or union
    DBG_RT("EnableExtCpuXCPM - %a!\n", patchedOk? "OK" : "FAILED");
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/dan/src/edk2/Clover/rEFIt_UEFI/Platform/kernel_patcher.c:26:60: note: expanded from macro 'DBG_RT'
#define DBG_RT(entry, ...)    if ((entry != NULL) && (entry->KernelAndKextPatches != NULL) && entry->KernelAndKextPatches->KPDebug) { AsciiPrint(__VA_ARGS__); }
                                                      ~~~~~^ ~~~~~~~~~~~~~~~~~~~~
/Users/dan/src/edk2/Clover/rEFIt_UEFI/Platform/kernel_patcher.c:1879:5: error: member reference base type 'char' is not a structure or union
    DBG_RT("EnableExtCpuXCPM - %a!\n", patchedOk? "OK" : "FAILED");
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/dan/src/edk2/Clover/rEFIt_UEFI/Platform/kernel_patcher.c:26:100: note: expanded from macro 'DBG_RT'
#define DBG_RT(entry, ...)    if ((entry != NULL) && (entry->KernelAndKextPatches != NULL) && entry->KernelAndKextPatches->KPDebug) { AsciiPrint(__VA_ARGS__); }
                                                                                              ~~~~~^ ~~~~~~~~~~~~~~~~~~~~
2 errors generated.
make: *** [/Users/dan/src/edk2/Build/Clover/RELEASE_XCODE8/X64/Clover/rEFIt_UEFI/refit/OUTPUT/Platform/kernel_patcher.obj] Error 1


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/dan/src/edk2/Build/Clover/RELEASE_XCODE8/X64/Clover/rEFIt_UEFI/refit]


build.py...
 : error F002: Failed to build module
	/Users/dan/src/edk2/Clover/rEFIt_UEFI/refit.inf [X64, XCODE8, RELEASE]

- Failed -
Build end time: 05:56:26, Oct.20 2017
Build total time: 00:00:36


o_Ops, ./ebuild.sh exited with error(s), aborting..
Dans-Mac-mini:~ dan$ 

In Topic: Clover General discussion

01 October 2017 - 12:31 PM

I have narrowed it down to a change after 4200 4215 and before (Or in) 4220 if anyone has any ideas whilst I continue testing?

 

Looks like a change made in 4217 is causing me the issue!

 

So, if I use the following in my Config.plist and ARPT renaming was cancelled in 4217 (The only change as I see) is there any way round it other than to not use it?

 

attachicon.gifScreen Shot 2017-10-01 at 11.52.33.png

 

 

This is also in my SSDT-1.aml

        Scope (\_SB.PCI0.RP05.ARPT)
        {
            Device (ARPT)
            {
                Name (_ADR, 0x001C0004)
                Name (_SUN, 0x05)
            }

            Method (_DSM, 4, NotSerialized)
            {
                Store (Package (0x0C)
                    {
                        "AAPL,slot-name", 
                        "Built In", 
                        "name", 
                        "Airport Extreme", 
                        "model", 
                        "Apple Broadcom BCM94360CD 802.11 a/b/g/n/ac Wireless Network Controller", 
                        "device_type", 
                        "Airport", 
                        "built-in", 
                        Buffer (One)
                        {
                            0x01
                        }, 

                        "location", 
                        Buffer (0x05)
                        {
                            "0"
                        }
                    }, Local0)
                DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                Return (Local0)
            }
        }

Which gives me...

attachicon.gifScreen Shot 2017-10-01 at 13.00.17.png

 

As a test I edited out the changes made in 4217 and compiled 4232, everything works ok so does anyone know how I modify my setup to work with the cancellation of ARPT renaming please?


Put CsmVideoDxe.efi in your drivers64UEFI folder. Works only when you're on UEFI. However, this isn't really a good "fix" because when I do that, I have to go blind on the Clover GUI because the whole screen is scrambled. For others it seems to work fine.

 

I tried with CsmVideoDxe-64.efi but it made no difference, did you mean that file or the none -64 one?

In Topic: Build_Clover.command, another Script to build standard Clover (or customized)

01 October 2017 - 09:26 AM

I think you can use SUGGESTED_CLOVER_REV="" # empty by default, in the script. For example, SUGGESTED_CLOVER_REV="4200" 

 

It did work in so much that it forced 4210 to be built but sadly the build failed.

 

Off to find it elsewhere now...

 

4215 built ok and doesn't have the issue so I don't need to go that far back.

 

Thanks to the power of Build_Clover I have found out a change made in 4217 is causing the problem, now to try and fix it!

In Topic: Clover General discussion

01 October 2017 - 09:16 AM

Evening folks,

 

Would anyone know where I might start to look into why when upgrading from r4188 to r4231 I loose my HD4000 GPU and onboard Audio please (Using the System in Sig below)?

 

I have narrowed it down to a change after 4200 4215 and before (Or in) 4220 if anyone has any ideas whilst I continue testing?

 

Looks like a change made in 4217 is causing me the issue!

 

So, if I use the following in my Config.plist and ARPT renaming was cancelled in 4217 (The only change as I see) is there any way round it other than to not use it?

 

Attached File  Screen Shot 2017-10-01 at 11.52.33.png   23.01KB   4 downloads

 

 

This is also in my SSDT-1.aml

        Scope (\_SB.PCI0.RP05.ARPT)
        {
            Device (ARPT)
            {
                Name (_ADR, 0x001C0004)
                Name (_SUN, 0x05)
            }

            Method (_DSM, 4, NotSerialized)
            {
                Store (Package (0x0C)
                    {
                        "AAPL,slot-name", 
                        "Built In", 
                        "name", 
                        "Airport Extreme", 
                        "model", 
                        "Apple Broadcom BCM94360CD 802.11 a/b/g/n/ac Wireless Network Controller", 
                        "device_type", 
                        "Airport", 
                        "built-in", 
                        Buffer (One)
                        {
                            0x01
                        }, 

                        "location", 
                        Buffer (0x05)
                        {
                            "0"
                        }
                    }, Local0)
                DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                Return (Local0)
            }
        }

Which gives me...

Attached File  Screen Shot 2017-10-01 at 13.00.17.png   41.17KB   5 downloads

 

In Topic: Build_Clover.command, another Script to build standard Clover (or customized)

01 October 2017 - 06:07 AM

Morning folks,

Is it possible to force build a specific version please?

I seem to recall it was be can't remember for sure, I need to try some earlier versions to try and pinpoint when things changed that break my system (was going to start at r4200 for example).
© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy