Popular Post Andy Vandijck Posted October 2, 2014 Popular Post Share Posted October 2, 2014 I updated Clover 2937. I added support for BlockIo2 and DiskIo2 in rEFIt_UEFI. I also added my (even more updated) efifs filesystem drivers to the build. They now are fully fixed (added suggested fixes for FreePool and updated the sources to not use some GNU functions but instead directly define them as their UEFI equivalents). The FS drivers are now about 50% in size of what they where and they really are a lot faster and more stable. I also include AppleHFSPlus-32.efi and AppleHFSPlus-64.efi in the installer (Apple's HFSPlus EFI driver). The Clover tools (bdmesg, etc...) are all built with signed binaries for i386 and x86_64, I used my apple developer certificate. I also signed the .efi binaries using the certificates included in Clover. I made some databases from those keys, they are included in the zip and installed to /etc/securebootdb along with the RC scripts. The binaries included are PK, KEK and DB. You can install these on some UEFI firmwares from within the UEFI BIOS menu (on AMI Aptio for example, as I tend to use those myself...). I built this version of Clover with my own custom blend of gcc-4.9.1 and also updated the ebuild.sh script to accept -gcc49. All nicely wrapped in the installer package, also built the 32-bit and 64-bit bootable .iso files. Source diff is included... EDIT: New updated version (and built for the latest official too). I figured out that in order for the mtoc tool to properly convert the binaries from Mach-O to PE(+) one must first strip the Mach-O file prior to running the mtoc command. I updated the build_rule.txt flile (to use the strip tool on the binaries before conversion) and also updated the tools_def.txt file (to define the strip tool so it can be used by the build process). This results in full building possibility using Xcode's Clang only. I had to update the sources in order to fully build all of the Clover parts using Clang. I updated also and optimized more my UEFI FS driver package. All 56 drivers can now be built using GCC or Clang and are also included in the installer package (including the GRUB FAT driver, built now directly as MINIFAT.efi). More updates to the ebuild.sh script where also done as I found a bug in which case it didn't properly set Clover's version and thus create a Version.h without a proper version added inside. In order to build Clover and it's package or ISO's, I have made a separate script as ebuild.sh made somehow a mess of the build. It directly builds all major versions of Clover (32 and 64 bit, regular and BIOS Block IO versions). I also did some updates to the BootSector files. efi64.com2 can now also be built as efi64.com64 (updated Makefile using GCC toolchain with build flags for 32 and 64 bit build). In case of building efi64.com64 it uses the x86_64 target and this meant I had to modify the efi64.S sources to make it compatible. I also optimized and fixed fully gptsync. The new version also builds using only the essential GUID definitions and libraries linked in. It works a lot better and I took also my time updating the source code. I fixed and optimized every .c file. gptsync.inf GUID's and libraries: [LibraryClasses] UefiApplicationEntryPoint UefiLib MemoryAllocationLib BaseMemoryLib BaseLib DevicePathLib [Protocols] gEfiBlockIoProtocolGuid gEfiBlockIo2ProtocolGuid This is all the dependencies that are required to properly build gptsync. I did similar updates to the UEFI FS package, I optimized everything and also removed some unnecessary files from some drivers. They work now perfectly. Source diff is included, as is my build script for building Clover and it's generated ISO's / package files. Both GCC 4.9.1 and Xcode 5.1 Clang versions are uploaded Enjoy Clover2341_Updates_Patch.diff.zip build_clover_xcode5_clang.sh.zip Clover-2941-Xcode-5.1-Clang-Bin.zip Clover-2941-GCC-4.9.1-Bin.zip 20 Link to comment Share on other sites More sharing options...
joe75 Posted October 2, 2014 Share Posted October 2, 2014 z0mg! An actual update! Way to go Andy.. 2 Link to comment Share on other sites More sharing options...
mnfesq Posted October 2, 2014 Share Posted October 2, 2014 Thanks for the update. Version 2936 failed to recognize what type of memory I had installed. This one is better. But there are so many new (to me) 64-bit EFI drivers. Is there someplace where I can read what they are/do? Link to comment Share on other sites More sharing options...
Andy Vandijck Posted October 2, 2014 Author Share Posted October 2, 2014 Thanks for the update. Version 2936 failed to recognize what type of memory I had installed. This one is better. But there are so many new (to me) 64-bit EFI drivers. Is there someplace where I can read what they are/do? DumpUefiCalls is used to log everything your UEFI apps do (including boot.efi) to screen. The others are FS drivers used to add support for those filesystems... NOTE: They can be used in drivers64 too... 1 Link to comment Share on other sites More sharing options...
pico joe Posted October 2, 2014 Share Posted October 2, 2014 You're the Rock my bro 1 Link to comment Share on other sites More sharing options...
mendietinha Posted October 2, 2014 Share Posted October 2, 2014 thank you for the update, Andy. 1 Link to comment Share on other sites More sharing options...
Onixs Posted October 2, 2014 Share Posted October 2, 2014 DumpUefiCalls is used to log everything your UEFI apps do (including boot.efi) to screen. The others are FS drivers used to add support for those filesystems... NOTE: They can be used in drivers64 too... You mean drivers in Drivers64UEFI Folder can also be use in Drivers64 Folder too? Link to comment Share on other sites More sharing options...
Fabio1971 Posted October 2, 2014 Share Posted October 2, 2014 Hello Andy Thank you for the update Fabio Link to comment Share on other sites More sharing options...
Ramalama Posted October 2, 2014 Share Posted October 2, 2014 awesome :-) Link to comment Share on other sites More sharing options...
iLoveOSX Posted October 2, 2014 Share Posted October 2, 2014 Thanks a lot Andy and congratulations for your work. I'll update as soon as possible. Link to comment Share on other sites More sharing options...
Slice Posted October 2, 2014 Share Posted October 2, 2014 I think this thread should be moved to Clover subforum. (this is out of my permissions) 3 Link to comment Share on other sites More sharing options...
Onixs Posted October 2, 2014 Share Posted October 2, 2014 Link to comment Share on other sites More sharing options...
Fabio1971 Posted October 2, 2014 Share Posted October 2, 2014 I think this thread should be moved to Clover subforum. (this is out of my permissions)I agree move subforum Clover Fabio Link to comment Share on other sites More sharing options...
crusher Posted October 2, 2014 Share Posted October 2, 2014 Ok.But I have a this problem on new every Clover: 2916 work Andy 2937 and 2936 like this problem: Link to comment Share on other sites More sharing options...
wastez Posted October 2, 2014 Share Posted October 2, 2014 (edited) I updated Clover 2937. I added support for BlockIo2 and DiskIo2 in rEFIt_UEFI. I also added my (even more updated) efifs filesystem drivers to the build. They now are fully fixed (added suggested fixes for FreePool and updated the sources to not use some GNU functions but instead directly define them as their UEFI equivalents). The FS drivers are now about 50% in size of what they where and they really are a lot faster and more stable. I also include AppleHFSPlus-32.efi and AppleHFSPlus-64.efi in the installer (Apple's HFSPlus EFI driver). The Clover tools (bdmesg, etc...) are all built with signed binaries for i386 and x86_64, I used my apple developer certificate. I also signed the .efi binaries using the certificates included in Clover. I made some databases from those keys, they are included in the zip and installed to /etc/securebootdb along with the RC scripts. The binaries included are PK, KEK and DB. You can install these on some UEFI firmwares from within the UEFI BIOS menu (on AMI Aptio for example, as I tend to use those myself...). I built this version of Clover with my own custom blend of gcc-4.9.1 and also updated the ebuild.sh script to accept -gcc49. All nicely wrapped in the installer package, also built the 32-bit and 64-bit bootable .iso files. Source diff is included... Enjoy What about FSInject? Is it still needed or embedded in the bootloader? Edit: Already saw that the default drivers are installed too. I tested your version of clover and it loads the cache so damned fast, incredible. Everything is working fine, the only thing is that just the assembled memory modules are shown in the systemprofiler, which seems to be related to the source. Thanks for your great work. Edited October 2, 2014 by wastez Link to comment Share on other sites More sharing options...
jamiethemorris Posted October 3, 2014 Share Posted October 3, 2014 holy sh** dude. This is crazy fast. I swear it cut like 10 or 15 seconds off my boot time. Link to comment Share on other sites More sharing options...
Ramalama Posted October 3, 2014 Share Posted October 3, 2014 hi Andy, i have just only one problem with your modified Clover version... Every entry is double.... Look at the attached Pictures, one is Official version (2936) (2939 same) and the other picture is your version (2937)... Maybe the same problem is on official 2937 too, but i can't confirm, because i tested only 2936 and 2939... Cheers :-) EDIT: Forgot to add bootlog :-) boot.log.zip Link to comment Share on other sites More sharing options...
wastez Posted October 3, 2014 Share Posted October 3, 2014 Do i still need the vboxhfs if i installed AppleHFSPlus? I´m asking because it was installed automaticly. Link to comment Share on other sites More sharing options...
JorgeMax Posted October 3, 2014 Share Posted October 3, 2014 Andy. I do not have permission to download? I'm registered and logged in here. UPDATED: Downloaded. Now Andy. I was wondering if it is to mark all your driver's UEFIx64 installation? Link to comment Share on other sites More sharing options...
wastez Posted October 3, 2014 Share Posted October 3, 2014 Your new version stucks after loading the kernelcache on uefi. Edit: Nobody else has this problem? Because akimoa also has a bootloop on mbr boot. Link to comment Share on other sites More sharing options...
JorgeMax Posted October 3, 2014 Share Posted October 3, 2014 My pc is locked. Not getting the same load. Link to comment Share on other sites More sharing options...
Ramalama Posted October 3, 2014 Share Posted October 3, 2014 hi Andy, i have just only one problem with your modified Clover version... Every entry is double.... Look at the attached Pictures, one is Official version (2936) (2939 same) and the other picture is your version (2937)... Maybe the same problem is on official 2937 too, but i can't confirm, because i tested only 2936 and 2939... Cheers :-) EDIT: Forgot to add bootlog :-) 2941 Works good! But same Bug as on 2937 with double entrys... Cheers :-) Link to comment Share on other sites More sharing options...
Slice Posted October 3, 2014 Share Posted October 3, 2014 Double entries occurred due to double protocols: BlockIo and BlockIo2. Sorry Andy, we will implement your achievements step by step only after carefully examination. 5 Link to comment Share on other sites More sharing options...
Dr. Hurt Posted October 3, 2014 Share Posted October 3, 2014 Thanks for the update Andy As slice pointed out, I get the disk checked twice with the 2 protocols. If you could please fix this issue and re-upload, it'll be really appreciated. I also get some warnings: found 5 volumes with blockIO no WholeDiskBlockIO2: Unsupported found 5 volumes with blockIO2 Warning: Can't get BlockIO2 protocol. Link to comment Share on other sites More sharing options...
Ramalama Posted October 3, 2014 Share Posted October 3, 2014 Double entries occurred due to double protocols: BlockIo and BlockIo2. Sorry Andy, we will implement your achievements step by step only after carefully examination. Is it possible to block or remove one of them? :-) Link to comment Share on other sites More sharing options...
Recommended Posts