Jump to content

Clover General discussion


ErmaC
30,171 posts in this topic

Recommended Posts

2 hours ago, arsradu said:

Hi guys!

 

I saw a few "don't use vers.txt" commits. So...is this intended? Or are there going to be other commits to address this? I'm only curious. Cause right now it looks pretty strange. :))

 

1535870908_Screenshot2019-10-09at09_58_51.thumb.png.ad4e4cc87be6b9ce3e570dde440f0dab.png545604676_Screenshot2019-10-09at10_01_21.thumb.png.c4aec995106dcfb0381f37d2d11a97ec.png

 

 

 

I don't use Clover Updater, so I don't know if there is a mistake. No issues for Clover PKG r5095 + 3 commits

 

 

Capture d’écran 2019-10-09 à 11.48.59.png

Link to comment
Share on other sites

4 minutes ago, Matgen84 said:

 

I don't use Clover Updater, so I don't know if there is a mistake. No issues for Clover PKG r5095 + 3 commits

 

 

Well, that's the thing... I didn't use the updater... I just built Clover from scratch. Hmmm.. something is odd.

 

Did you make a clean build (erasing and recreating the the work directory)?

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

21 minutes ago, arsradu said:

 

Well, that's the thing... I didn't use the updater... I just built Clover from scratch. Hmmm.. something is odd.

 

I just built Clover too but from update. Very strange: if I build again: I've the message "not a git repository build failed" despite of CloverPKG in /sym folder :wink_anim:

 

 

Capture d’écran 2019-10-09 à 12.19.27.png

Edited by Matgen84
  • Confused 1
Link to comment
Share on other sites

18 minutes ago, Matgen84 said:

 

I just built Clover too but from update. Very strange: if I build again: I've the message "not a git repository build failed" despite of CloverPKG in /sym folder :wink_anim:

 

Yeah...I just built again (on another machine) and it was ok. Weird, indeed.

  • Like 1
Link to comment
Share on other sites

51 minutes ago, arsradu said:

 

Yeah...I just built again (on another machine) and it was ok. Weird, indeed.

 

No git errors message when I use previous makepkg version

Of course no revision name :wink_anim:

 

 

Capture d’écran 2019-10-09 à 12.59.14.png

 

EDIT: Clean CloverBootLoader folder

 

Always Git errors messages, without Build failed this time

 

 

 

 

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

3 minutes ago, Matgen84 said:

 

In GitHub Repo: release r5095 for example

 

Yes I know, I just wonder no longer be updated in SourceForge? I am already using the latest version from @Slice GitHub repo. But I think this repo doesn't compatible clover updater on the System Preferences.  

  • Like 1
Link to comment
Share on other sites

9 minutes ago, telepati said:

 

Yes I know, I just wonder no longer be updated in SourceForge? I am already using the latest version from @Slice GitHub repo. But I think this repo doesn't compatible clover updater on the System Preferences.  

New Clover updater tuned for github.

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

Yeah, so I found the reason for the missing versions.

 

--depth 1

in 

git clone https://github.com/CloverHackyColor/CloverBootloader --depth 1

 

What does that parameter do again...? I don't remember having this issue before. :)

 

Anyway, removing that, Clover downloads and compiles correctly, with all the version information properly displayed.

 

Thought I'd mention it in case other people encounter the same issue.

Link to comment
Share on other sites

1 hour ago, arsradu said:

Yeah, so I found the reason for the missing versions.

 


--depth 1

in 


git clone https://github.com/CloverHackyColor/CloverBootloader --depth 1

 

What does that parameter do again...? I don't remember having this issue before. :)

 

Anyway, removing that, Clover downloads and compiles correctly, with all the version information properly displayed.

 

Thought I'd mention it in case other people encounter the same issue.

--depth 1 command option save you some space when cloning but doesn't pull enough info from the github, and that info may contain latest release tag for example.

  • Like 2
Link to comment
Share on other sites

still happen error. i tried to build clovergit. and using gcc

here is log

[GENFW] BiosVideo

test -f /Users/sherlocks/src/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/CloverEFI/BiosVideo/BiosVideo/OUTPUT/BiosVideo.map && cp -f /Users/sherlocks/src/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/CloverEFI/BiosVideo/BiosVideo/OUTPUT/BiosVideo.map /Users/sherlocks/src/CloverBootloader/Build/Clover/RELEASE_GCC53/FV/Ffs/29CF55F8-B675-4f5d-8F2F-B87A3ECFD063BiosVideo/29CF55F8-B675-4f5d-8F2F-B87A3ECFD063.map

test -e /Users/sherlocks/src/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/CloverEFI/BiosVideo/BiosVideo/OUTPUT/BiosVideo.efi && GenSec -s EFI_SECTION_PE32 -o /Users/sherlocks/src/CloverBootloader/Build/Clover/RELEASE_GCC53/FV/Ffs/29CF55F8-B675-4f5d-8F2F-B87A3ECFD063BiosVideo/29CF55F8-B675-4f5d-8F2F-B87A3ECFD063SEC2.1.pe32 /Users/sherlocks/src/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/CloverEFI/BiosVideo/BiosVideo/OUTPUT/BiosVideo.efi

GenSec -s EFI_SECTION_USER_INTERFACE -n BiosVideo -o /Users/sherlocks/src/CloverBootloader/Build/Clover/RELEASE_GCC53/FV/Ffs/29CF55F8-B675-4f5d-8F2F-B87A3ECFD063BiosVideo/29CF55F8-B675-4f5d-8F2F-B87A3ECFD063SEC3.ui

GenSec -s EFI_SECTION_VERSION -n 1.0 -o /Users/sherlocks/src/CloverBootloader/Build/Clover/RELEASE_GCC53/FV/Ffs/29CF55F8-B675-4f5d-8F2F-B87A3ECFD063BiosVideo/29CF55F8-B675-4f5d-8F2F-B87A3ECFD063SEC4.ver

GenFfs -t EFI_FV_FILETYPE_DRIVER -g 29CF55F8-B675-4f5d-8F2F-B87A3ECFD063 -o /Users/sherlocks/src/CloverBootloader/Build/Clover/RELEASE_GCC53/FV/Ffs/29CF55F8-B675-4f5d-8F2F-B87A3ECFD063BiosVideo/29CF55F8-B675-4f5d-8F2F-B87A3ECFD063.ffs -oi /Users/sherlocks/src/CloverBootloader/Build/Clover/RELEASE_GCC53/FV/Ffs/29CF55F8-B675-4f5d-8F2F-B87A3ECFD063BiosVideo/29CF55F8-B675-4f5d-8F2F-B87A3ECFD063SEC2.1.pe32 -oi /Users/sherlocks/src/CloverBootloader/Build/Clover/RELEASE_GCC53/FV/Ffs/29CF55F8-B675-4f5d-8F2F-B87A3ECFD063BiosVideo/29CF55F8-B675-4f5d-8F2F-B87A3ECFD063SEC3.ui -oi /Users/sherlocks/src/CloverBootloader/Build/Clover/RELEASE_GCC53/FV/Ffs/29CF55F8-B675-4f5d-8F2F-B87A3ECFD063BiosVideo/29CF55F8-B675-4f5d-8F2F-B87A3ECFD063SEC4.ver

[CC] Nvram

[NASM] AsmFuncsX64

[SLINK] OsxAptioFixDrv

[CC] PlatformDriverOverride

[CC] Pointer

[DLINK1] OsxAptioFixDrv

[OBJCOPY] OsxAptioFixDrv

[GENFW] OsxAptioFixDrv

[CC] Settings

sed-but-set-variable: In function 'StartupSoundPlay':

sed-but-set-variable:175:9: internal compiler error: Segmentation fault: 11

libbacktrace could not find executable to open

Please submit a full bug report,

with preprocessed source if appropriate.

See <https://gcc.gnu.org/bugs/> for instructions.

make: *** [/Users/sherlocks/src/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/rEFIt_UEFI/refit/OUTPUT/Platform/StartupSound.obj] Error 1

 

 

build.py...

 : error 7000: Failed to execute command

make tbuild [/Users/sherlocks/src/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/rEFIt_UEFI/refit]

 

 

build.py...

 : error F002: Failed to build module

/Users/sherlocks/src/CloverBootloader/rEFIt_UEFI/refit.inf [X64, GCC53, RELEASE]

 

- Failed -

Build end time: 09:30:50, Oct.12 2019

Build total time: 00:02:27

 

sherlocks@SherloccBookPro ~ % 

 

 

EDIT

when using xcode build with git, i found warning msg

Generating BootSectors

make: Nothing to be done for `all'.

Done!

TOOLCHAIN_DIR: /Users/sherlocks/src/opt/local

MTOC_PREFIX: /Users/sherlocks/src/opt/local/bin/

NASM_PREFIX: /Users/sherlocks/src/opt/local/bin/

NASM_VER: 2.14.02

Building from: /Users/sherlocks/src/CloverBootloader

 

Running edk2 build for CloverX64 using the command:

build  -D NO_GRUB_DRIVERS_EMBEDDED --conf=/Users/sherlocks/src/CloverBootloader/Conf -D USE_LOW_EBDA -p Clover.dsc  -a X64 -b RELEASE -t XCODE8 -n 5 

 

Build environment: Darwin-19.0.0-x86_64-i386-64bit

Build start time: 09:40:01, Oct.12 2019

 

WORKSPACE        = /Users/sherlocks/src/CloverBootloader

EDK_TOOLS_PATH   = /Users/sherlocks/src/CloverBootloader/BaseTools

CONF_PATH        = /Users/sherlocks/src/CloverBootloader/Conf

 

 

 

Processing meta-data Architecture(s)  = X64

Build target     = RELEASE

.Toolchain        = XCODE8

 

Active Platform          = /Users/sherlocks/src/CloverBootloader/Clover.dsc

....build: : warning: Module MetaFile [Sources] is missing local header!

    Local Header: /users/sherlocks/src/cloverbootloader/include/library/devicetreelib.h not found in /Users/sherlocks/src/CloverBootloader/Library/DeviceTreeLib/DeviceTreeLib.inf

build: : warning: Module MetaFile [Sources] is missing local header!

    Local Header: /users/sherlocks/src/cloverbootloader/include/library/devicetreelib.h not found in /Users/sherlocks/src/CloverBootloader/Library/DeviceTreeLib/DeviceTreeLib.inf

build: : warning: Module MetaFile [Sources] is missing local header!

    Local Header: /users/sherlocks/src/cloverbootloader/include/library/ocguardlib.h not found in /Users/sherlocks/src/CloverBootloader/Library/OcGuardLib/OcGuardLib.inf

build: : warning: Module MetaFile [Sources] is missing local header!

    Local Header: /users/sherlocks/src/cloverbootloader/include/library/ocguardlib.h not found in /Users/sherlocks/src/CloverBootloader/Library/OcGuardLib/OcGuardLib.inf

.build: : warning: Module MetaFile [Sources] is missing local header!

    Local Header: /users/sherlocks/src/cloverbootloader/include/library/macholib.h not found in /Users/sherlocks/src/CloverBootloader/Library/MachoLib/MachoLib.inf

build: : warning: Module MetaFile [Sources] is missing local header!

    Local Header: /users/sherlocks/src/cloverbootloader/include/library/macholib.h not found in /Users/sherlocks/src/CloverBootloader/Library/MachoLib/MachoLib.inf

.. done!

Building ... /Users/sherlocks/src/CloverBootloader/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf [X64]

Building ... /Users/sherlocks/src/CloverBootloader/MdePkg/Library/UefiLib/UefiLib.inf [X64]

Building ... /Users/sherlocks/src/CloverBootloader/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf [X64]

Building ... /Users/sherlocks/src/CloverBootloader/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf [X64]

Building ... /Users/sherlocks/src/CloverBootloader/MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf [X64]

[CC] DriverEntryPoint

Edited by Sherlocks
Link to comment
Share on other sites

Quote

internal compiler error: Segmentation fault: 11

It is wrong compilation of gcc with new Xcode 11.0. I see @vector sigma successfully fix the compilation. Ask him.

I was created gcc9.2 under Mojave with Xcode10.3 and I have good working GCC53 toolset.

 

Quote

....build: : warning: Module MetaFile [Sources] is missing local header!

    Local Header: /users/sherlocks/src/cloverbootloader/include/library/devicetreelib.h not found in /Users/sherlocks/src/CloverBootloader/Library/DeviceTreeLib/DeviceTreeLib.inf

This is wrong warning. I have no it.

It can be corrected if write full path for devicetreelib.h into the inf file. But it is designed to not have it as well as any other global included headers. May be this is python error? Did you updated BaseTools to recent version?

Other way may be create empty local devicetreelib.h in local folder and include a link to it. But the library is designed to have this header to be global.

Link to comment
Share on other sites

33 minutes ago, Slice said:

It is wrong compilation of gcc with new Xcode 11.0. I see @vector sigma successfully fix the compilation. Ask him.

I was created gcc9.2 under Mojave with Xcode10.3 and I have good working GCC53 toolset.

 

This is wrong warning. I have no it.

It can be corrected if write full path for devicetreelib.h into the inf file. But it is designed to not have it as well as any other global included headers. May be this is python error? Did you updated BaseTools to recent version?

Other way may be create empty local devicetreelib.h in local folder and include a link to it. But the library is designed to have this header to be global.

okay

thanks alot.

 

if there is commit like update platformdata, i just commit in github?

if sf, automatically update revision. but now seems broken revision now after my commit in github.

how can i update revision like sf?

Link to comment
Share on other sites

Git has other numeration rule.

 

Dell:CloverHackyColor sergey$ git describe head --tags
5096-1-g09574d31
Dell:CloverHackyColor sergey$ 

There are:

5096 - last tag number. We must change it manually every release.

1 - number of commits after last release.

g09574d31 - short id of latest commit.

 

Now we have no strict correspondence of sf numbering with github numbering. As well as sources are somehow different because including AMF and AIF I had to make a lot of renaming and moving. It is still real to sync the projects but it requires much work.

  • Like 2
Link to comment
Share on other sites

1 hour ago, Slice said:

Git has other numeration rule.

 


Dell:CloverHackyColor sergey$ git describe head --tags
5096-1-g09574d31
Dell:CloverHackyColor sergey$ 

There are:

5096 - last tag number. We must change it manually every release.

1 - number of commits after last release.

g09574d31 - short id of latest commit.

 

Now we have no strict correspondence of sf numbering with github numbering. As well as sources are somehow different because including AMF and AIF I had to make a lot of renaming and moving. It is still real to sync the projects but it requires much work.

 

now, i'm getting this

sherlocks@SherloccBookPro ~ % cd /Users/sherlocks/src/CloverBootloader 

sherlocks@SherloccBookPro CloverBootloader % git describe head --tag 5096-1-g09574d31 

fatal: No names found, cannot describe anything.

sherlocks@SherloccBookPro CloverBootloader % 

 

first clear all clover files, and download again.

then in buildme, show like this

 

------------------------------------------------------------------------

fatal: No names found, cannot describe anything.

buildme, Clover v2.5k r (SHA: 09574d3)

TOOLCHAIN: GCC53 (override example: './buildme XCODE8')

 

 1) build Clover

 2) make pkg

 3) make iso

 4) build all

 5) test build (no autogen, no boot files)

 6) status

 7) update Clover

 8) update Clover (reset changes)

 9) show diff

10) open drivers directory

11) clean BaseTools

12) quit

Please enter your choice: 

  • Like 1
Link to comment
Share on other sites

1 hour ago, Sherlocks said:

 

now, i'm getting this

sherlocks@SherloccBookPro ~ % cd /Users/sherlocks/src/CloverBootloader 

sherlocks@SherloccBookPro CloverBootloader % git describe head --tag 5096-1-g09574d31 

fatal: No names found, cannot describe anything.

sherlocks@SherloccBookPro CloverBootloader % 

 

first clear all clover files, and download again.

then in buildme, show like this

 

------------------------------------------------------------------------

fatal: No names found, cannot describe anything.

buildme, Clover v2.5k r (SHA: 09574d3)

TOOLCHAIN: GCC53 (override example: './buildme XCODE8')

 

 1) build Clover

 2) make pkg

 3) make iso

 4) build all

 5) test build (no autogen, no boot files)

 6) status

 7) update Clover

 8) update Clover (reset changes)

 9) show diff

10) open drivers directory

11) clean BaseTools

12) quit

Please enter your choice: 

 

Hi @Sherlocks

 

I get this after update (option 7), close Terminal and relaunch Buildme

 

iMac-de-Mathieu:cloverbootloader mathieu$ git describe head --tag 5096-1-g09574d31

5096-1-g09574d31

5096-1-g09574d31

iMac-de-Mathieu:cloverbootloader mathieu$

 

------------------------------------------------------------------------

buildme, Clover v2.5k r5096 (SHA: 09574d31)

TOOLCHAIN: GCC53 (override example: './buildme XCODE8')

 

1) build Clover

2) make pkg

3) make iso

4) build all

5) test build (no autogen, no boot files)

6) status

7) update Clover

8) update Clover (reset changes)

9) show diff

10) open drivers directory

11) clean BaseTools

12) quit

Please enter your choice:

Link to comment
Share on other sites

5 minutes ago, Matgen84 said:

 

Hi @Sherlocks

 

I get this after update (option 7), close Terminal and relaunch Buildme

 

iMac-de-Mathieu:cloverbootloader mathieu$ git describe head --tag 5096-1-g09574d31

5096-1-g09574d31

5096-1-g09574d31

iMac-de-Mathieu:cloverbootloader mathieu$

 

------------------------------------------------------------------------

buildme, Clover v2.5k r5096 (SHA: 09574d31)

TOOLCHAIN: GCC53 (override example: './buildme XCODE8')

 

1) build Clover

2) make pkg

3) make iso

4) build all

5) test build (no autogen, no boot files)

6) status

7) update Clover

8) update Clover (reset changes)

9) show diff

10) open drivers directory

11) clean BaseTools

12) quit

Please enter your choice:

 

did you try clean all basetools files?

it means to remove src folders

and try to get all source and tool again

Link to comment
Share on other sites

4 minutes ago, Sherlocks said:

 

did you try clean all basetools files?

it means to remove src folders

and try to get all source and tool again

 

No, I do nothing special: just use your script from existing local repo, after update in menu of course. 

Link to comment
Share on other sites

×
×
  • Create New...