Micky1979 Posted January 10, 2017 Share Posted January 10, 2017 If edkII r23520 is working well, IMHO, there's no reason to use newer ones. From what I know is what slice has based Clover's patches for edkII inside the current source code. EDIT I was thinking that 23693 was the current in use, but is not. 1 Link to comment Share on other sites More sharing options...
Philip Petev Posted January 10, 2017 Share Posted January 10, 2017 Can you try Clover r.3974 + EDK2 r.23708 I've attached? No, doesn't work. Link to comment Share on other sites More sharing options...
Neo.aka.Darkman Posted January 10, 2017 Share Posted January 10, 2017 Last working EDK2 build for everyone, according to our discussion on AppleLife, is 23701. 23702 causes no boot. Link to comment Share on other sites More sharing options...
Micky1979 Posted January 10, 2017 Share Posted January 10, 2017 Latest sync on sf.net is with 23520 ... so is normal. EDIT --> #12157 Link to comment Share on other sites More sharing options...
Slice Posted January 10, 2017 Share Posted January 10, 2017 Latest sync on sf.net is with 23520 ... so is normal. Can you give me and for others file edk2/MdePkg/Library/BaseLib/String.c from 23520? Link to comment Share on other sites More sharing options...
Micky1979 Posted January 10, 2017 Share Posted January 10, 2017 Here it is! String.c.zip from 23520 EDIT Also those files are changed (if you are intrested in) /trunk/edk2/MdePkg/Include/Library/BaseLib.h. --> (BaseLib.h.zip from 23520) and /trunk/edk2/MdePkg/Library/BaseLib/SafeString.c -- >(SafeString.c.zip from 23520) Link to comment Share on other sites More sharing options...
Micky1979 Posted January 10, 2017 Share Posted January 10, 2017 UPD: On AppleLife there is information that clover 3974 built on EDK2 23704 is working Sorry you're right: accepted scripts from syscl for saving nvram in ESP sync with 23704 ... but is mixed among other things, did not notice before. Link to comment Share on other sites More sharing options...
liujianwei Posted January 11, 2017 Share Posted January 11, 2017 what is the problem of my config.plist?why I got random black log in screen on Sierra randomly? <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>ACPI</key> <dict> <key>SSDT</key> <dict> <key>Generate</key> <dict> <key>CStates</key> <true/> <key>PStates</key> <true/> </dict> </dict> <key>DSDT</key> <dict> <key>Fixes</key> <dict> <key>AddDTGP_0001</key> <true/> <key>FixDarwin_0002</key> <true/> <key>FixHPET_0010</key> <true/> <key>FixLAN_2000</key> <true/> </dict> <key>Patches</key> <array> <dict> <key>Comment</key> <string>EH01</string> <key>Find</key> <data>RUhDMQ==</data> <key>Replace</key> <data>RUgwMQ==</data> </dict> <dict> <key>Comment</key> <string>EH02</string> <key>Find</key> <data>RUhDMg==</data> <key>Replace</key> <data>RUgwMg==</data> </dict> </array> </dict> </dict> <key>KernelAndKextPatches</key> <dict> <key>AppleRTC</key> <true/> </dict> <key>SystemParameters</key> <dict> <key>InjectKexts</key> <string>Yes</string> </dict> </dict> </plist> Link to comment Share on other sites More sharing options...
Slice Posted January 11, 2017 Share Posted January 11, 2017 Here it is! String.c.zip from 23520 EDIT Also those files are changed (if you are intrested in) /trunk/edk2/MdePkg/Include/Library/BaseLib.h. --> (BaseLib.h.zip from 23520) and /trunk/edk2/MdePkg/Library/BaseLib/SafeString.c -- >(SafeString.c.zip from 23520) Thanks, but I can't check. All are fine for me. I am waiting someone with the bug of EDK2_rev23708 will test with these replacements. Link to comment Share on other sites More sharing options...
Micky1979 Posted January 11, 2017 Share Posted January 11, 2017 Ok. Later I'll test this rev and let you know. EDIT No issue here with 23708, so I can't help. Link to comment Share on other sites More sharing options...
Philip Petev Posted January 12, 2017 Share Posted January 12, 2017 Thanks, but I can't check. All are fine for me. I am waiting someone with the bug of EDK2_rev23708 will test with these replacements. Clover r3976 can't be built with edk2 r23708 and the replacements, proposed by you: Running edk2 build for CloverX64 using the command: build -D NO_GRUB_DRIVERS_EMBEDDED -D CHECK_FLAGS -D USE_LOW_EBDA -p Clover/Clover.dsc -a X64 -b RELEASE -t XCODE5 -n 5 Build environment: Darwin-15.6.0-x86_64-i386-64bit Build start time: 08:29:56, Jan.12 2017 WORKSPACE = /Users/philip/src/edk2 ECP_SOURCE = /Users/philip/src/edk2/EdkCompatibilityPkg EDK_SOURCE = /Users/philip/src/edk2/EdkCompatibilityPkg EFI_SOURCE = /Users/philip/src/edk2/EdkCompatibilityPkg EDK_TOOLS_PATH = /Users/philip/src/edk2/BaseTools CONF_PATH = /Users/philip/src/edk2/Conf Architecture(s) = X64 Build target = RELEASE Toolchain = XCODE5 Active Platform = /Users/philip/src/edk2/Clover/Clover.dsc Flash Image Definition = /Users/philip/src/edk2/Clover/Clover.fdf Processing meta-data .......... done! Building ... /Users/philip/src/edk2/MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf [X64] Building ... /Users/philip/src/edk2/MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf [X64] Building ... /Users/philip/src/edk2/MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf [X64] Building ... /Users/philip/src/edk2/MdePkg/Library/BaseLib/BaseLib.inf [X64] [CC] DebugLib [CC] PcdLib Building ... /Users/philip/src/edk2/MdePkg/Library/BasePrintLib/BasePrintLib.inf [X64] [CC] SetMem [CC] ScanMem64Wrapper [CC] ScanMem32Wrapper [CC] CheckSum [CC] ScanMem16Wrapper [CC] SwitchStack [CC] ScanMem8Wrapper [CC] SwapBytes64 [CC] ZeroMemWrapper [CC] SwapBytes32 [CC] CompareMemWrapper [CC] SwapBytes16 [CC] SetMem64Wrapper [CC] LongJump [CC] SetMem32Wrapper [CC] SetJump [CC] SetMem16Wrapper [CC] RShiftU64 [CC] SetMemWrapper [CC] RRotU64 [CC] CopyMemWrapper [CC] RRotU32 [CC] PrintLibInternal [CC] IsZeroBufferWrapper [CC] MultU64x64 [CC] PrintLib [CC] MultU64x32 [CC] MultS64x64 [CC] MemLibGeneric [CC] ModU64x32 [CC] MemLibGuid [CC] LShiftU64 [CC] LRotU64 [CC] CopyMem [CC] LRotU32 [CC] LowBitSet64 [CC] LowBitSet32 [CC] HighBitSet64 [CC] HighBitSet32 [CC] GetPowerOfTwo64 [CC] GetPowerOfTwo32 [CC] DivU64x64Remainder [CC] DivU64x32Remainder [sLINK] BaseDebugLibNull Building ... /Users/philip/src/edk2/MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf [X64] [CC] DivU64x32 [sLINK] BasePcdLibNull Building ... /Users/philip/src/edk2/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf [X64] [CC] DivS64x64Remainder [CC] BaseReportStatusCodeLib [sLINK] BaseReportStatusCodeLibNull [CC] ARShiftU64 Building ... /Users/philip/src/edk2/MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf [X64] [CC] IoLibMmioBuffer [CC] BitField [CC] CpuDeadLoop [CC] IoHighLevel [CC] MemoryAllocationLib [CC] Cpu [CC] IoLibGcc [CC] LinkedList [CC] DxeCoreMemoryProfileLibNull [CC] IoLib [sLINK] BaseIoLibIntrinsic [sLINK] DxeCoreMemoryAllocationLib Building ... /Users/philip/src/edk2/MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf [X64] Building ... /Users/philip/src/edk2/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf [X64] [CC] DxeCoreEntryPoint [sLINK] BasePrintLib Building ... /Users/philip/src/edk2/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf [X64] [sLINK] DxeCoreEntryPoint [CC] UefiRuntimeServicesTableLib Building ... /Users/philip/src/edk2/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf [X64] [sLINK] UefiRuntimeServicesTableLib Building ... /Users/philip/src/edk2/MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf [X64] [CC] SafeString [CC] UefiBootServicesTableLib [CC] PeCoffExtraActionLib [sLINK] UefiBootServicesTableLib Building ... /Users/philip/src/edk2/MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf [X64] [sLINK] PeCoffExtraActionLibNull /Users/philip/src/edk2/MdePkg/Library/BaseLib/String.c:660:3: error: implicit declaration of function 'StrDecimalToUintnS' is invalid in C99 [-Werror,-Wimplicit-function-declaration] StrDecimalToUintnS (String, (CHAR16 **) NULL, &Result); ^ [sLINK] BaseMemoryLib /Users/philip/src/edk2/MdePkg/Library/BaseLib/String.c:660:3: note: did you mean 'StrDecimalToUintn'? /Users/philip/src/edk2/MdePkg/Library/BaseLib/String.c:654:1: note: 'StrDecimalToUintn' declared here StrDecimalToUintn ( ^ /Users/philip/src/edk2/MdePkg/Library/BaseLib/String.c:707:3: error: implicit declaration of function 'StrDecimalToUint64S' is invalid in C99 [-Werror,-Wimplicit-function-declaration] StrDecimalToUint64S (String, (CHAR16 **) NULL, &Result); Building ... /Users/philip/src/edk2/MdePkg/Library/UefiLib/UefiLib.inf [X64] ^ /Users/philip/src/edk2/MdePkg/Library/BaseLib/String.c:707:3: note: did you mean 'StrDecimalToUint64'? /Users/philip/src/edk2/MdePkg/Library/BaseLib/String.c:701:1: note: 'StrDecimalToUint64' declared here StrDecimalToUint64 ( ^ /Users/philip/src/edk2/MdePkg/Library/BaseLib/String.c:754:3: error: implicit declaration of function 'StrHexToUintnS' is invalid in C99 [-Werror,-Wimplicit-function-declaration] StrHexToUintnS (String, (CHAR16 **) NULL, &Result); ^ /Users/philip/src/edk2/MdePkg/Library/BaseLib/String.c:754:3: note: did you mean 'StrHexToUintn'? /Users/philip/src/edk2/MdePkg/Library/BaseLib/String.c:748:1: note: 'StrHexToUintn' declared here StrHexToUintn ( ^ /Users/philip/src/edk2/MdePkg/Library/BaseLib/String.c:802:3: error: implicit declaration of function 'StrHexToUint64S' is invalid in C99 [-Werror,-Wimplicit-function-declaration] StrHexToUint64S (String, (CHAR16 **) NULL, &Result); ^ /Users/philip/src/edk2/MdePkg/Library/BaseLib/String.c:802:3: note: did you mean 'StrHexToUint64'? /Users/philip/src/edk2/MdePkg/Library/BaseLib/String.c:796:1: note: 'StrHexToUint64' declared here StrHexToUint64 ( ^ /Users/philip/src/edk2/MdePkg/Library/BaseLib/String.c:1553:3: error: implicit declaration of function 'AsciiStrDecimalToUintnS' is invalid in C99 [-Werror,-Wimplicit-function-declaration] AsciiStrDecimalToUintnS (String, (CHAR8 **) NULL, &Result); ^ /Users/philip/src/edk2/MdePkg/Library/BaseLib/String.c:1553:3: note: did you mean 'AsciiStrDecimalToUintn'? /Users/philip/src/edk2/MdePkg/Library/BaseLib/String.c:1547:1: note: 'AsciiStrDecimalToUintn' declared here AsciiStrDecimalToUintn ( ^ /Users/philip/src/edk2/MdePkg/Library/BaseLib/String.c:1596:3: error: implicit declaration of function 'AsciiStrDecimalToUint64S' is invalid in C99 [-Werror,-Wimplicit-function-declaration] AsciiStrDecimalToUint64S (String, (CHAR8 **) NULL, &Result); ^ /Users/philip/src/edk2/MdePkg/Library/BaseLib/String.c:1596:3: note: did you mean 'AsciiStrDecimalToUint64'? Building ... /Users/philip/src/edk2/MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf [X64] /Users/philip/src/edk2/MdePkg/Library/BaseLib/String.c:1590:1: note: 'AsciiStrDecimalToUint64' declared here AsciiStrDecimalToUint64 ( ^ /Users/philip/src/edk2/MdePkg/Library/BaseLib/String.c:1642:3: error: implicit declaration of function 'AsciiStrHexToUintnS' is invalid in C99 [-Werror,-Wimplicit-function-declaration] AsciiStrHexToUintnS (String, (CHAR8 **) NULL, &Result); ^ /Users/philip/src/edk2/MdePkg/Library/BaseLib/String.c:1642:3: note: did you mean 'AsciiStrHexToUintn'? /Users/philip/src/edk2/MdePkg/Library/BaseLib/String.c:1636:1: note: 'AsciiStrHexToUintn' declared here AsciiStrHexToUintn ( ^ /Users/philip/src/edk2/MdePkg/Library/BaseLib/String.c:1689:3: error: implicit declaration of function 'AsciiStrHexToUint64S' is invalid in C99 [-Werror,-Wimplicit-function-declaration] AsciiStrHexToUint64S (String, (CHAR8 **) NULL, &Result); ^ /Users/philip/src/edk2/MdePkg/Library/BaseLib/String.c:1689:3: note: did you mean 'AsciiStrHexToUint64'? /Users/philip/src/edk2/MdePkg/Library/BaseLib/String.c:1683:1: note: 'AsciiStrHexToUint64' declared here AsciiStrHexToUint64 ( ^ 8 errors generated. make: *** [/users/philip/src/edk2/Build/Clover/RELEASE_XCODE5/X64/MdePkg/Library/BaseLib/BaseLib/OUTPUT/String.obj] Error 1 build.py... : error 7000: Failed to execute command make tbuild [/users/philip/src/edk2/Build/Clover/RELEASE_XCODE5/X64/MdePkg/Library/BaseLib/BaseLib] build.py... : error F002: Failed to build module /Users/philip/src/edk2/MdePkg/Library/BaseLib/BaseLib.inf [X64, XCODE5, RELEASE] - Failed - Build end time: 08:30:11, Jan.12 2017 Build total time: 00:00:15 o_Ops, ./ebuild.sh exited with error(s), aborting.. Edit: same happens with edk2 r23730 too. Link to comment Share on other sites More sharing options...
cecekpawon Posted January 12, 2017 Share Posted January 12, 2017 @cuthead thats known issues for some ppl.. Look here #1 / #2 I need to patch this line to refresh the screen after changing screen mode, do you think so Slice? case SCAN_F9: SetNextScreenMode(1); MenuExit = MENU_EXIT_ESCAPE; break; And something dangerous is coming, soon? 1 Link to comment Share on other sites More sharing options...
Sphinx777 Posted January 12, 2017 Share Posted January 12, 2017 Hello, Slice! Always many thanks. May you explain all these new flags that you created on topic #35 ? Link to comment Share on other sites More sharing options...
Allan Posted January 12, 2017 Share Posted January 12, 2017 Hello @Sphinx777, this topic it's just to Slice and others devs report us the news about Clover. If you have any doubt, please, use this topic: Clover General discussion I'll move your post for this section ok? EDIT: Done! 1 Link to comment Share on other sites More sharing options...
Slice Posted January 12, 2017 Share Posted January 12, 2017 @cuthead thats known issues for some ppl.. Look here #1 / #2 I need to patch this line to refresh the screen after changing screen mode, do you think so Slice? case SCAN_F9: SetNextScreenMode(1); MenuExit = MENU_EXIT_ESCAPE; break; Should work immediately, if works at all. You may insert this line for your tests. Regular users have no profit. And something dangerous is coming, soon? Yes. Apianti imagined this project (Clover 3) more then two years ago. I will join to him as second-hand member when there will be results. 3 Link to comment Share on other sites More sharing options...
liujianwei Posted January 12, 2017 Share Posted January 12, 2017 r3976, built with edk2 r22837 works Link to comment Share on other sites More sharing options...
pbryanw Posted January 12, 2017 Share Posted January 12, 2017 Hi, I just updated my Asus VIII Ranger motherboard to the latest 3007 BIOS and, after installation, noticed that my NVRAM settings weren't being saved across boot sessions (I don't use EmuVariableUefi-64). So, I inserted a test value in my NVRAM, rebooted, and saw that it wasn't carried across to the next boot. Also running NVRAM -p in terminal only brought up basic information. After rolling back to BIOS 2202, my NVRAM immediately started working properly again. I'm just wondering if this problem is unique to this BIOS version, or whether there have been similar problems with new BIOS updates for ASUS Z170 motherboards? The new bios was released on the 16th December 2016. Link to comment Share on other sites More sharing options...
Scimiazzurro Posted January 13, 2017 Share Posted January 13, 2017 Hi, I was thinking about a thing: as Clover works as EFI "software" it could be able to play sounds by loading the kext/driver of soundcard. So, I want to know if it's possible at the moment to make Clover plays any sound at the boot so to simulate the typical "Bong" sound (the chime startup sound) of the Macs: as Clover loads just after the PC power-on, it could play really much earlier than any other software that needs first OSX to boot many things (I think it could play the sound also before the "Apple loading screen" appears). There is already some way to do this? I think this could be a really nice feature, that makes our hackintosh really more appealing and like a real Mac. I want also to eventually help to make this, because It is something that I would love. Link to comment Share on other sites More sharing options...
mhaeuser Posted January 13, 2017 Share Posted January 13, 2017 Yes, of course it's possible. Enjoy writing the driver for the sound chip. Link to comment Share on other sites More sharing options...
liujianwei Posted January 13, 2017 Share Posted January 13, 2017 what is the problem of my config.plist?why I got random black log in screen on Sierra randomly? <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>ACPI</key> <dict> <key>SSDT</key> <dict> <key>Generate</key> <dict> <key>CStates</key> <true/> <key>PStates</key> <true/> </dict> </dict> <key>DSDT</key> <dict> <key>Fixes</key> <dict> <key>AddDTGP_0001</key> <true/> <key>FixDarwin_0002</key> <true/> <key>FixHPET_0010</key> <true/> <key>FixLAN_2000</key> <true/> </dict> <key>Patches</key> <array> <dict> <key>Comment</key> <string>EH01</string> <key>Find</key> <data>RUhDMQ==</data> <key>Replace</key> <data>RUgwMQ==</data> </dict> <dict> <key>Comment</key> <string>EH02</string> <key>Find</key> <data>RUhDMg==</data> <key>Replace</key> <data>RUgwMg==</data> </dict> </array> </dict> </dict> <key>KernelAndKextPatches</key> <dict> <key>AppleRTC</key> <true/> </dict> <key>SystemParameters</key> <dict> <key>InjectKexts</key> <string>Yes</string> </dict> </dict> </plist> CsrActiveConfig is null but I get this Last login: Sat Jan 14 00:35:50 on consolejianweis-iMac:~ jianweiliu$ csrutil status System Integrity Protection status: disabled. jianweis-iMac:~ jianweiliu$ why Link to comment Share on other sites More sharing options...
RehabMan Posted January 13, 2017 Share Posted January 13, 2017 CsrActiveConfig is null but I get this Last login: Sat Jan 14 00:35:50 on consolejianweis-iMac:~ jianweiliu$ csrutil status System Integrity Protection status: disabled. jianweis-iMac:~ jianweiliu$ why Defaults: // CsrActiveConfig Prop = GetProperty (DictPointer, "CsrActiveConfig"); gSettings.CsrActiveConfig = (UINT32)GetPropertyInteger (Prop, 0x67); //the value 0xFFFF means not set // SysVarsTmpCsrActiveConfig = gSettings.CsrActiveConfig; //BooterConfig Prop = GetProperty (DictPointer, "BooterConfig"); gSettings.BooterConfig = (UINT16)GetPropertyInteger (Prop, 0); //the value 0 means not set // SysVarsTmpBooterConfig = gSettings.BooterConfig; 1 Link to comment Share on other sites More sharing options...
liujianwei Posted January 13, 2017 Share Posted January 13, 2017 Defaults: // CsrActiveConfig Prop = GetProperty (DictPointer, "CsrActiveConfig"); gSettings.CsrActiveConfig = (UINT32)GetPropertyInteger (Prop, 0x67); //the value 0xFFFF means not set // SysVarsTmpCsrActiveConfig = gSettings.CsrActiveConfig; //BooterConfig Prop = GetProperty (DictPointer, "BooterConfig"); gSettings.BooterConfig = (UINT16)GetPropertyInteger (Prop, 0); //the value 0 means not set // SysVarsTmpBooterConfig = gSettings.BooterConfig; Thank you,Clover changed. with this so far so good http://www.insanelymac.com/forum/topic/308325-guide-1011-full-speed-usb-series-89-keeping-vanilla-sle/ with this sometimes computer shutdown and wont restore until I turn off power http://www.insanelymac.com/forum/topic/282787-clover-v2-instructions/page-2?do=findComment&comment=1930786 I do not know what I typed,but both link content works. Link to comment Share on other sites More sharing options...
Scimiazzurro Posted January 13, 2017 Share Posted January 13, 2017 Yes, of course it's possible. Enjoy writing the driver for the sound chip. I suppose this need a different driver for every soundchip? Any mode to use OSX Kext, similar Linux drivers or some generic/universal one? Link to comment Share on other sites More sharing options...
liujianwei Posted January 13, 2017 Share Posted January 13, 2017 Yes. There's IVB CPU support since 10.7.4. But I don't remember whether there's X86* in 10.7.5? If not then I don't think 10.7.5 will work fine... http://www.insanelymac.com/forum/topic/282787-clover-v2-instructions/?p=2036384 ivy bridge on 10.7.5 work fine by slice ivy bridge on 10.7.4 not work by slice Link to comment Share on other sites More sharing options...
Slice Posted January 13, 2017 Share Posted January 13, 2017 I suppose this need a different driver for every soundchip? Any mode to use OSX Kext, similar Linux drivers or some generic/universal one? No. VoodooHDA, for example, works for all chips. If you need only one output and no input then driver can be significantly reduced. So it is possible, just sit and write. Link to comment Share on other sites More sharing options...
Recommended Posts