Jump to content

Clover General discussion


ErmaC
29,866 posts in this topic

Recommended Posts

Zenith432, thank you!

Clover4038 compiles without problems.

iMac-Droplets-2:Clover droplets$ svn up
Updating '.':
U    Patches_for_EDK2/MdePkg/Include/IndustryStandard/Pci22.h
U    buildExtras.sh
C    ebuild.sh
.....
Restored 'CloverPackage/CloverV2/BootSectors'
Restored 'CloverPackage/CloverV2/BootSectors/lzma'
Restored 'CloverPackage/CloverV2/BootSectors/BootSectImage.exe'
Restored 'CloverPackage/CloverV2/BootSectors/usbs32.bin'
Restored 'CloverPackage/CloverV2/BootSectors/cdboot'
Restored 'CloverPackage/CloverV2/BootSectors/makeusb.bat'
Restored 'CloverPackage/CloverV2/BootSectors/GenBootSector.exe'
Updated to revision 4038.

 

 

iMac-Droplets-2:Clover droplets$ ./ebuild.sh -fr
TOOLCHAIN_DIR: /Users/droplets/src/edk2/Clover/../../opt/local
NASM_PREFIX: /Users/droplets/src/edk2/Clover/../../opt/local/bin/
NASM_VER: 2.12.02
Initializing workspace
Loading previous configuration from /Users/droplets/src/edk2/Conf/BuildEnv.sh
WORKSPACE: /Users/droplets/src/edk2
EDK_TOOLS_PATH: /Users/droplets/src/edk2/BaseTools
CONF_PATH: /Users/droplets/src/edk2/Conf

Running edk2 build for CloverX64 using the command:
build  -D USE_LOW_EBDA -p Clover/Clover.dsc  -a X64 -b RELEASE -t XCODE5 -n 9 

Build environment: Darwin-16.5.0-x86_64-i386-64bit
Build start time: 17:46:25, Mar.14 2017

WORKSPACE        = /Users/droplets/src/edk2
ECP_SOURCE       = /Users/droplets/src/edk2/EdkCompatibilityPkg
EDK_SOURCE       = /Users/droplets/src/edk2/EdkCompatibilityPkg
EFI_SOURCE       = /Users/droplets/src/edk2/EdkCompatibilityPkg
EDK_TOOLS_PATH   = /Users/droplets/src/edk2/BaseTools
CONF_PATH        = /Users/droplets/src/edk2/Conf


Architecture(s)  = X64
Build target     = RELEASE
Toolchain        = XCODE5

Active Platform          = /Users/droplets/src/edk2/Clover/Clover.dsc
Flash Image Definition   = /Users/droplets/src/edk2/Clover/Clover.fdf

Processing meta-data ....... done!
Building ... /Users/droplets/src/edk2/MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf [X64]
Building ... /Users/droplets/src/edk2/MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf [X64]
Building ... /Users/droplets/src/edk2/MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf [X64]
Building ... /Users/droplets/src/edk2/MdePkg/Library/BaseLib/BaseLib.inf [X64]
[CC] PcdLib
[SLINK] BasePcdLibNull
Building ... /Users/droplets/src/edk2/MdePkg/Library/BasePrintLib/BasePrintLib.inf [X64]
[CC] DebugLib

............
............
  -> Fat-64.efi
Copy Applications:
  -> bdmesg.efi
Done!

Generating BootSectors
[NASM] boot0af.s -> /Users/droplets/src/edk2/Clover/CloverPackage/CloverV2/BootSectors/boot0af
[NASM] boot0ss.s -> /Users/droplets/src/edk2/Clover/CloverPackage/CloverV2/BootSectors/boot0ss
[NASM] boot0md.s -> /Users/droplets/src/edk2/Clover/CloverPackage/CloverV2/BootSectors/boot0md
[NASM] boot1h.s -> /Users/droplets/src/edk2/Clover/CloverPackage/CloverV2/BootSectors/boot1h
[NASM] boot1h2.s -> /Users/droplets/src/edk2/Clover/CloverPackage/CloverV2/BootSectors/boot1h2
[NASM] boot1f32.s -> /Users/droplets/src/edk2/Clover/CloverPackage/CloverV2/BootSectors/boot1f32
[NASM] boot1f32alt.s -> /Users/droplets/src/edk2/Clover/CloverPackage/CloverV2/BootSectors/boot1f32alt
[NASM] boot1x.s -> /Users/droplets/src/edk2/Clover/CloverPackage/CloverV2/BootSectors/boot1x
[NASM] boot1xalt.s -> /Users/droplets/src/edk2/Clover/CloverPackage/CloverV2/BootSectors/boot1xalt
Description.txt -> /Users/droplets/src/edk2/Clover/CloverPackage/CloverV2/BootSectors/Description.txt
Installation.txt -> /Users/droplets/src/edk2/Clover/CloverPackage/CloverV2/BootSectors/Installation.txt
Done!

 

 

Link to comment
Share on other sites

EDIT

This could be SF website problems. Thanks to @philip_petev !

 

Hi. Could someone tell me what's wrong... I could just get nothing in SF.net, when I went to https://sourceforge.net/p/cloverefiboot/code/HEAD and it showed nothing like this.

 

post-1579222-0-15220600-1489496682_thumb.png

 

Have I done anything wrong? But run this in Terminal, everything seemed fine.

Vanillas-MacBook:~ vanilla$ svn info svn://svn.code.sf.net/p/cloverefiboot/code
Path: code
URL: svn://svn.code.sf.net/p/cloverefiboot/code
Relative URL: ^/
Repository Root: svn://svn.code.sf.net/p/cloverefiboot/code
Repository UUID: 52d7a1c0-eba5-4e63-a9d7-e3186cd7c462
Revision: 4038
Node Kind: directory
Last Changed Author: zenith432
Last Changed Rev: 4038
Last Changed Date: 2017-03-14 18:57:46 +0800 (Tue, 14 Mar 2017)

Vanillas-MacBook:~ vanilla$ 

Edited by PMheart
  • Like 1
Link to comment
Share on other sites

When I use Clover 3333 install OS X 10.12.3 (16D32),it stuck at progress bar.

When I use Clover 4305 install OS X 10.12.3 (16D32),it works.

what is the difference between Clover 3333 and Clover 4305 make this happen?

Thank you.

Link to comment
Share on other sites

When I use Clover 3333 install OS X 10.12.3 (16D32),it stuck at progress bar.

When I use Clover 4305 install OS X 10.12.3 (16D32),it works.

what is the difference between Clover 3333 and Clover 4305 make this happen?

Thank you.

A whole 972 commits of fixes...

  • Like 2
Link to comment
Share on other sites

please help us, we are trying to get clover to work on ryzen cpus for some kernel testing using the kernel that worked for other amd sse 4.1 and sse4.2 capable cpus, we are also working with some kernel developers, but we first need to get the boot loader to work, so i ask clover developers to help up us. the erro we are getting now is displayed on that screen, it seems to be a memory allocation error or something related to cpu clock (the same screen may also appear with unstable overlcloks, also consider that the ryzen clock system is very different from the old am3 cpus)

 

if you have problem with the image here is the url:

https://dl.dropboxusercontent.com/s/76t448hafn27shj/post-598519-0-79895300-1489399096.jpg

 

post-598519-0-79895300-1489399096.jpg

  • Like 2
Link to comment
Share on other sites

I am asking Slice for explain how his C source code,logic gate,binary change my life,I do not need arabic numerals that misleading Slice C source code.

Well I don't know any numbering system in another language, especially in mandarin.

Anyway, if you happen to spend 2 seconds for searching, you would have find the expanation you are looking for

  • Like 1
Link to comment
Share on other sites

Hi, I've corrected the mistakes in kernel_patcher.c.  :) The old discussion can be found at here.

 

Please check the attachment.

 

attachicon.gifnew_kernelPm_kernel_patcher.c.zip

I may accept this if someone else confirmed it working.

please help us, we are trying to get clover to work on ryzen cpus for some kernel testing using the kernel that worked for other amd sse 4.1 and sse4.2 capable cpus, we are also working with some kernel developers, but we first need to get the boot loader to work, so i ask clover developers to help up us. the erro we are getting now is displayed on that screen, it seems to be a memory allocation error or something related to cpu clock (the same screen may also appear with unstable overlcloks, also consider that the ryzen clock system is very different from the old am3 cpus)

 

if you have problem with the image here is the url:

https://dl.dropboxusercontent.com/s/76t448hafn27shj/post-598519-0-79895300-1489399096.jpg

 

 

It's a pity I have no test machine to known what is the problem. Some user/coder/hacker with such cpu should inform me what to change in Clover.

Hi. I think there's a typo in kext_inject.c:

UINT8   KBESieDebugSearchEXT[]   = { 0xE8, 0x47, 0x00, 0x00, 0x00, 0xE9, 0x09, 0x00, 0x00, 0x00, 0x48, 0x8B, 0x7D, 0xE8, 0xE8, 0xD9 };
UINT8   KBESieDebugReplaceEXT[]  = { 0xE8, 0x47, 0x00, 0x00, 0x00, 0x90, 0x90, 0x00, 0x00, 0x00, 0x48, 0x8B, 0x7D, 0xE8, 0xE8, 0xD9 };

Note that now we don't NOP out the jmpq fully. (E9 09 00 00 00 -> 90 90 00 00 00 , should be 5x NOP actually.)

 

And fixed here... (Also with a minor variable renaming, don't care about that. ;))

 

attachicon.gifnew_kext_inject.c.zip

Thanks, accepted.

@Slice

i made new v3 pkg file. completed all

Thanks, accepted!

Is there anyway to get the log from the part of Clover that does the kext patching? This is the stuff that occurs after the clover boot log and before the kernel boot log.

 

Or is there a way to redirect the console output to the serial port instead of the screen? If the console output could be redirected, then couldn't it be redirected to a memory buffer, maybe the same buffer that holds the boot log or a new buffer for this log? It may be necessary to allocate extra space for this log before writing log information there if it is not possible to make a growing buffer.

Yes, possible. Post#50 Non-Standard Legacy Boot Files

The command to build is

./ebuild.sh -D DEBUG_ON_SERIAL_PORT

I think it works also for UEFI but not sure.

  • Like 2
Link to comment
Share on other sites

referring to new_kernelPm_kernel_patcher.c.zip

I may accept this if someone else confirmed it working.

It does not work on my system.

Darwin 16.4

i5-7600

Z270 chipset

MSR 0xE2 locked in bios so need KernelPM patch.

Current KernelPM patch by RehabMan works.

With new patch I get KP.

Attached is image of KP. Sorry for botched focus.

Had to restore working Clover from Windows.

post-446538-0-42656900-1489779940_thumb.jpg

  • Like 2
Link to comment
Share on other sites

Well I don't know any numbering system in another language, especially in mandarin.

Anyway, if you happen to spend 2 seconds for searching, you would have find the expanation you are looking for

Clover_v2.3k_r3333.zip modify in 2016
AppleKeyStore:operation failed
USBMSC Identifier (non-unique)
busy timeout[0], (60s),kextd wait (0):'AppleACPICPU'
post-236960-0-72041500-1490150747_thumb.jpeg
Clover_v2.4k_r4035.zip modify in 2017
this link works
Link to comment
Share on other sites

please help us, we are trying to get clover to work on ryzen cpus for some kernel testing using the kernel that worked for other amd sse 4.1 and sse4.2 capable cpus, we are also working with some kernel developers, but we first need to get the boot loader to work, so i ask clover developers to help up us. the erro we are getting now is displayed on that screen, it seems to be a memory allocation error or something related to cpu clock (the same screen may also appear with unstable overlcloks, also consider that the ryzen clock system is very different from the old am3 cpus)

 

if you have problem with the image here is the url:

https://dl.dropboxusercontent.com/s/76t448hafn27shj/post-598519-0-79895300-1489399096.jpg

 

post-598519-0-79895300-1489399096.jpg

RAX RBX 's R acronym for CPU register. 

INT 0EH acronym for floppy Interrupt,means usb clover Interrupt.

the clover give me the same problem once I used c2d.

  • Like 1
Link to comment
Share on other sites

Hi, with the latest version of clover spotlight stop to work, someone else have this problem?

This issue was fixed in r4041 commit.

Wait new build or do build clover from clover script.

 

나의 LG-F410S 의 Tapatalk에서 보냄

Link to comment
Share on other sites

remove .metadata_never_index (hidden) from the root of your hd if present.

 

Yeah, that will do, but won't be enough. In most cases, removing that file doesn't automatically enable the indexing, so the following command is required as well:

sudo mdutil -i on /
  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...