Slice Posted September 2, 2019 Share Posted September 2, 2019 It is Custom Entries so possible duplicates is on users responsibility. 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/798/#findComment-2688304 Share on other sites More sharing options...
Matgen84 Posted September 3, 2019 Share Posted September 3, 2019 Hi @Slice I've this issue when I try to compile r5061: [CC] Lib [CC] HdaCodec [CC] BootFixes3 [CC] BootArgs [CC] AutoGen /Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/refit/main.c:2651:26: error: initializing 'EFI_KEY_DATA' with an expression of incompatible type 'int' EFI_KEY_DATA KeyData = 0; ^ ~ [CC] AutoGen 1 error generated. make: *** [/Users/mathieu/src/UDK2018/Build/Clover/RELEASE_XCODE8/X64/Clover/rEFIt_UEFI/refit/OUTPUT/refit/main.obj] Error 1 build.py... : error 7000: Failed to execute command make tbuild [/Users/mathieu/src/UDK2018/Build/Clover/RELEASE_XCODE8/X64/Clover/rEFIt_UEFI/refit] build.py... : error F002: Failed to build module /Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/refit.inf [X64, XCODE8, RELEASE] - Failed - Build end time: 11:42:57, Sep.03 2019 Build total time: 00:00:49 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/798/#findComment-2688423 Share on other sites More sharing options...
Slice Posted September 3, 2019 Share Posted September 3, 2019 Revision 5061 is not ready for build. 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/798/#findComment-2688425 Share on other sites More sharing options...
LockDown Posted September 4, 2019 Share Posted September 4, 2019 r5064 commit use SPACE+Reset to clear CMOS what RESET? 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/798/#findComment-2688500 Share on other sites More sharing options...
Slice Posted September 4, 2019 Share Posted September 4, 2019 1 hour ago, ellaosx said: r5064 commit use SPACE+Reset to clear CMOS what RESET? See screenshot here 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/798/#findComment-2688503 Share on other sites More sharing options...
Matgen84 Posted September 4, 2019 Share Posted September 4, 2019 (edited) 44 minutes ago, Slice said: See screenshot here Great job button Reset = restart, Space + button Reset = Clear CMOS, right? Edited September 4, 2019 by Matgen84 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/798/#findComment-2688505 Share on other sites More sharing options...
Slice Posted September 4, 2019 Share Posted September 4, 2019 Right! Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/798/#findComment-2688575 Share on other sites More sharing options...
Badruzeus Posted September 4, 2019 Share Posted September 4, 2019 (edited) 6 hours ago, Matgen84 said: Great job button Reset = restart, Space + button Reset = Clear CMOS, right? On my case with AMI Aptio UEFI 2.0 (Asus), I set BIOS / firmware Password (Admin + User). Then booting Clover r5064, press SpaceBar with Clicking Left Mouse on "Restart" function (CMIIW). Once mach reboot, my Startup key gives prev. boot entries, but BIOS still asks for Password. Weird is on BIOS - Boot: I lost all my boot entries hah haa.. Edited September 4, 2019 by Badruzeus 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/798/#findComment-2688581 Share on other sites More sharing options...
telepati Posted September 4, 2019 Share Posted September 4, 2019 When Start-Up my rig it is waiting 17 sec on the splash screen is that normal? I reset my BIOS with 2 pin header and also removed CMOS battery but nothing change. Does anyone know why this happening? Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/798/#findComment-2688593 Share on other sites More sharing options...
Matgen84 Posted September 4, 2019 Share Posted September 4, 2019 1 hour ago, Badruzeus said: On my case with AMI Aptio UEFI 2.0 (Asus), I set BIOS / firmware Password (Admin + User). Then booting Clover r5064, press SpaceBar with Clicking Left Mouse on "Restart" function (CMIIW). Once mach reboot, my Startup key gives prev. boot entries, but BIOS still asks for Password. Weird is on BIOS - Boot: I lost all my boot entries hah haa.. Reset CMOS, you means lost boot order entries in BIOS... Logical, ha, ha, ha. I don't understand why this new function exists in Clover and his utility? Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/798/#findComment-2688602 Share on other sites More sharing options...
Slice Posted September 4, 2019 Share Posted September 4, 2019 11 minutes ago, Matgen84 said: Reset CMOS, you means lost boot order entries in BIOS... Logical, ha, ha, ha. I don't understand why this new function exists in Clover and his utility? No, Boot entries should remain here. But different BIOSes may behave differently. 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/798/#findComment-2688605 Share on other sites More sharing options...
Matgen84 Posted September 4, 2019 Share Posted September 4, 2019 16 minutes ago, Slice said: No, Boot entries should remain here. But different BIOSes may behave differently. I talk about boot order in BIOS for my two rigs. As you said: "different BIOSes may behave differently" Can you tell me the utility of this function in Clover, because I don't understand. I've always reset BIOS setting in hardware way or by loading default optimized values, directly. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/798/#findComment-2688608 Share on other sites More sharing options...
Badruzeus Posted September 4, 2019 Share Posted September 4, 2019 2 hours ago, telepati said: When Start-Up my rig it is waiting 17 sec on the splash screen is that normal? I reset my BIOS with 2 pin header and also removed CMOS battery but nothing change. Does anyone know why this happening? Splash screen from BIOS? I think it has no relation with bootloader then. Hmmb, you may consider powering mach on with any disk plugged out and see the diff.. 1 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/798/#findComment-2688613 Share on other sites More sharing options...
Slice Posted September 4, 2019 Share Posted September 4, 2019 59 minutes ago, Matgen84 said: I talk about boot order in BIOS for my two rigs. As you said: "different BIOSes may behave differently" Can you tell me the utility of this function in Clover, because I don't understand. I've always reset BIOS setting in hardware way or by loading default optimized values, directly. main.c: 2655 //do clear cmos as for AMI BIOS // not sure for more robust method IoWrite8 (PCAT_RTC_ADDRESS_REGISTER, 0x10); IoWrite8 (PCAT_RTC_DATA_REGISTER, 0x0); IoWrite8 (PCAT_RTC_ADDRESS_REGISTER, 0x11); IoWrite8 (PCAT_RTC_DATA_REGISTER, 0x0); 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/798/#findComment-2688615 Share on other sites More sharing options...
tluck Posted September 4, 2019 Share Posted September 4, 2019 FYI for the record! was able to download edk2-edk2-stable201908 zip and then build and run r5069. a lot less space used! did get a bunch of warnings like this: the files are there ( when case insensitive ) $ ls -l /extra/clover_install/clovergrowerpro/edk2/clover/cloverefi/osxacpitabledxe/acpisdt.h /Extra/Clover_Install/CloverGrowerPro/edk2/Clover/CloverEFI/OsxAcpiTableDxe/AcpiTableDxe.inf -rw-rw-r-- 1 tluck wheel 1984 Sep 4 13:09 /Extra/Clover_Install/CloverGrowerPro/edk2/Clover/CloverEFI/OsxAcpiTableDxe/AcpiTableDxe.inf -rw-rw-r-- 1 tluck wheel 25629 Sep 4 13:09 /extra/clover_install/clovergrowerpro/edk2/clover/cloverefi/osxacpitabledxe/acpisdt.h Processing meta-data Active Platform = /Extra/Clover_Install/CloverGrowerPro/edk2/Clover/Clover.dsc ...build: : warning: Module MetaFile [Sources] is missing local header! Local Header: /extra/clover_install/clovergrowerpro/edk2/clover/cloverefi/osxacpitabledxe/acpisdt.h not found in /Extra/Clover_Install/CloverGrowerPro/edk2/Clover/CloverEFI/OsxAcpiTableDxe/AcpiTableDxe.inf build: : warning: Module MetaFile [Sources] is missing local header! Local Header: /extra/clover_install/clovergrowerpro/edk2/clover/cloverefi/osxacpitabledxe/acpisdt.h not found in /Extra/Clover_Install/CloverGrowerPro/edk2/Clover/CloverEFI/OsxAcpiTableDxe/AcpiTableDxe.inf .build: : warning: Module MetaFile [Sources] is missing local header! ... Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/798/#findComment-2688703 Share on other sites More sharing options...
fusion71au Posted September 4, 2019 Share Posted September 4, 2019 2 hours ago, tluck said: FYI for the record! was able to download edk2-edk2-stable201908 zip and then build and run r5069. No problem compiling r5069 and boot6 with edk2-stable201908 and ./ebuild.sh -fr -D NO_GRUB_DRIVERS_EMBEDDED -t GCC53 However I get the error below trying to compile boot7 with ./ebuild.sh -fr -mc --no-usb -D NO_GRUB_DRIVERS_EMBEDDED -t GCC53... Mac-Pro:Clover fusion71au$ ./ebuild.sh -fr -mc --no-usb -D NO_GRUB_DRIVERS_EMBEDDED -t GCC53 TOOLCHAIN_DIR: /Users/fusion71au/src/edk2/Clover/../../opt/local NASM_PREFIX: /Users/fusion71au/src/edk2/Clover/../../opt/local/bin/ NASM_VER: 2.14.02 Initializing workspace Loading previous configuration from /Users/fusion71au/src/edk2/Conf/BuildEnv.sh WORKSPACE: /Users/fusion71au/src/edk2 EDK_TOOLS_PATH: /Users/fusion71au/src/edk2/BaseTools CONF_PATH: /Users/fusion71au/src/edk2/Conf Running edk2 build for CloverX64 using the command: build -D DISABLE_USB_SUPPORT -D NO_GRUB_DRIVERS_EMBEDDED -D USE_BIOS_BLOCKIO -D USE_LOW_EBDA -p Clover/Clover.dsc -a X64 -b RELEASE -t GCC53 -n 5 Build environment: Darwin-17.7.0-x86_64-i386-64bit Build start time: 09:41:49, Sep.05 2019 WORKSPACE = /Users/fusion71au/src/edk2 EDK_TOOLS_PATH = /Users/fusion71au/src/edk2/BaseTools CONF_PATH = /Users/fusion71au/src/edk2/Conf Processing meta-data Architecture(s) = X64 .Build target = RELEASE Toolchain = GCC53 Active Platform = /Users/fusion71au/src/edk2/Clover/Clover.dsc .. build.py... /Users/fusion71au/src/edk2/Clover/LegacyBios/BlockIoDxe/BlockIoDxe.inf(-1): error 4000: Value of Guid [gBlockIoVendorGuid] is not found under [Guids] section in /Users/fusion71au/src/edk2/Clover/CloverPkg.dec /Users/fusion71au/src/edk2/MdePkg/MdePkg.dec - Failed - Build end time: 09:41:51, Sep.05 2019 Build total time: 00:00:03 2 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/798/#findComment-2688728 Share on other sites More sharing options...
Badruzeus Posted September 5, 2019 Share Posted September 5, 2019 4 hours ago, fusion71au said: No problem compiling r5069 and boot6 with edk2-stable201908 and ./ebuild.sh -fr -D NO_GRUB_DRIVERS_EMBEDDED -t GCC53 However I get the error below trying to compile boot7 with ./ebuild.sh -fr -mc --no-usb -D NO_GRUB_DRIVERS_EMBEDDED -t GCC53... Uhmmmb..., errors output is different on my case. I'm sure I missed something, so let me know. What I did previously: mkdir ~/src cd ~/src git clone https://github.com/tianocore/edk2 -b edk2-stable201908 --depth 1 edk2 cd edk2 git clone https://github.com/CloverHackyColor/CloverBootloader Clover make -C BaseTools/Source/C ./edksetup.sh cd Clover ./buildgettext.sh ./buildmtoc.sh cp -R Patches_for_EDK2/* ../ ./ebuild.sh -fr --x64-mcp ...where `Patches_for_EDK2` are taken from here, #CMIIW I use Xcode 10.1 along with git 2.23, svn 1.12.2 under 10.13.6 (17G8030). Thanks. 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/798/#findComment-2688733 Share on other sites More sharing options...
Zenith432 Posted September 5, 2019 Share Posted September 5, 2019 @tluck Ignore the warnings. See this post. @fusion71au: It's a bug. I missed that will be fixed in r5070. @Badruzeus: CloverHackyColor/CloverBootloader does not work yet. The old one in sf.net works. 2 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/798/#findComment-2688739 Share on other sites More sharing options...
Badruzeus Posted September 5, 2019 Share Posted September 5, 2019 (edited) @Zenith432 Oh, I see. Then I just refresh edk2 2019 stable from github, still svn co Clover from sf project. ./ebuild.sh for boot6 & boot7 works just fine on my case (ignoring some header missing warnings when build #atm). Thanks for r5070 fix. Edited September 5, 2019 by Badruzeus Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/798/#findComment-2688751 Share on other sites More sharing options...
Matgen84 Posted September 5, 2019 Share Posted September 5, 2019 Hi How can I solve this issue to build r5070, please. TOOLCHAIN_DIR: /Users/mathieu/src/opt/local MTOC_PREFIX: /usr/local/bin/ NASM_PREFIX: /Users/mathieu/src/opt/local/bin/ NASM_VER: 2.14.02 Building from: /Users/mathieu/src/EDK2 Build environment: Darwin-18.7.0-x86_64-i386-64bit Build start time: 11:21:35, Sep.05 2019 WORKSPACE = /Users/mathieu/src/EDK2 EDK_TOOLS_PATH = /Users/mathieu/src/EDK2/BaseTools CONF_PATH = /Users/mathieu/src/EDK2/Conf Processing meta-data ... done! build.py... : error C0DE: Unknown fatal error when processing [/Users/mathieu/src/EDK2/MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf] (Please send email to devel@edk2.groups.io for help, attaching following call stack trace!) (Python 2.7.10 on darwin) Traceback (most recent call last): File "/Users/mathieu/src/EDK2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2493, in Main MyBuild.Launch() File "/Users/mathieu/src/EDK2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2287, in Launch self._BuildPlatform() File "/Users/mathieu/src/EDK2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 1742, in _BuildPlatform self._BuildPa(self.Target, Pa, FfsCommand=CmdListDict,PcdMaList=PcdMaList) File "/Users/mathieu/src/EDK2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 1236, in _BuildPa AutoGenObject.CreateCodeFile(True) File "/Users/mathieu/src/EDK2/BaseTools/Source/Python/Common/caching.py", line 18, in CallMeHere Value = self._function(obj, *args,**kwargs) File "/Users/mathieu/src/EDK2/BaseTools/Source/Python/AutoGen/PlatformAutoGen.py", line 171, in CreateCodeFile Ma.CreateCodeFile(CreateModuleCodeFile) File "/Users/mathieu/src/EDK2/BaseTools/Source/Python/AutoGen/ModuleAutoGen.py", line 1847, in CreateCodeFile LibraryAutoGen.CreateCodeFile() File "/Users/mathieu/src/EDK2/BaseTools/Source/Python/AutoGen/ModuleAutoGen.py", line 1892, in CreateCodeFile with GlobalData.cache_lock: AttributeError: __exit__ Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/798/#findComment-2688759 Share on other sites More sharing options...
Zenith432 Posted September 5, 2019 Share Posted September 5, 2019 @Matgen84: Do a clean build, including the basetools. Start from edk2-stable201908 from the repository, then Clover 5070 under it, then source edksetup.sh in EDK2 directory (to create files in Conf), then copy Clover/Patches_for_EDK2 over EDK2. If you have leftover build products or Conf/.cache or old build tools it can give errors like that. 1 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/798/#findComment-2688761 Share on other sites More sharing options...
Slice Posted September 5, 2019 Share Posted September 5, 2019 5 hours ago, Badruzeus said: Uhmmmb..., errors output is different on my case. I'm sure I missed something, so let me know. What I did previously: mkdir ~/src cd ~/src git clone https://github.com/tianocore/edk2 -b edk2-stable201908 --depth 1 edk2 cd edk2 git clone https://github.com/CloverHackyColor/CloverBootloader Clover make -C BaseTools/Source/C ./edksetup.sh cd Clover ./buildgettext.sh ./buildmtoc.sh cp -R Patches_for_EDK2/* ../ ./ebuild.sh -fr --x64-mcp ...where `Patches_for_EDK2` are taken from here, #CMIIW I use Xcode 10.1 along with git 2.23, svn 1.12.2 under 10.13.6 (17G8030). Thanks. I think cp -R Patches_for_EDK2/* ../ should be before make -C BaseTools/Source/C 1 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/798/#findComment-2688767 Share on other sites More sharing options...
Badruzeus Posted September 5, 2019 Share Posted September 5, 2019 30 minutes ago, Slice said: I think cp -R Patches_for_EDK2/* ../ should be before make -C BaseTools/Source/C Sorry, but TBH.. I just followed your instruction here previously, guessing it needs to be updated.. or could be obsolete soon once Clover project moved to Github. Uhmmb, did you mean (if from `edk2`root) seems like this one? cp -R Clover/Patches_for_EDK2/* ~/src/edk2/ 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/798/#findComment-2688774 Share on other sites More sharing options...
chris1111 Posted September 5, 2019 Share Posted September 5, 2019 Got IT 2 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/798/#findComment-2688787 Share on other sites More sharing options...
Matgen84 Posted September 5, 2019 Share Posted September 5, 2019 8 minutes ago, chris1111 said: Got IT What is your secret Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/798/#findComment-2688791 Share on other sites More sharing options...
Recommended Posts