Jump to content

Clover problems report & features request


ErmaC
953 posts in this topic

Recommended Posts

16 minutes ago, apianti said:

I think that you did not create that EFI partition correctly as that is not the GUID that an ESP should get but just a basic data partition. There is an issue with ESPs because of FAT being absolutely terrible to determine which version is being used and lots of drivers make assumptions that are not always correct instead of detecting. I think your best bet is to allow an OS installer to create the EFI partition, I personally usually use gparted in linux because it has never failed to work for me on any computer if I just erase and reinitialize the disk to gpt but I also know that windows, macOS, and (all variants I know of) linux allows this in the installer.

 

Ah OK, let me try again from scratch with gParted and not using any Partition Label neither named as "EFI". Thanks.

Screenshot 9.png

Edited by Badruzeus
Link to comment
Share on other sites

Your partition is 411647 - 2048 = 409599 sectors, but FAT uses clusters. What is your sector per cluster for the volume when you created it? Because

Microsoft's EFI FAT32 specification states that any FAT file system with less than 4085 clusters is FAT12, else any FAT file system with less than 65525 clusters is FAT16, and otherwise it is FAT32.

If you didn't change the cluster size to be like 2 or 4 (-b 1024 flag should be 2) then you end up with less than 65525 clusters and a driver that properly follows the specification would try using FAT16, seems weird that it would be able to display the root directory but just happens to be a weird bug. The volume contains the same information for directories and causes the root directory to be found at cluster 2 where it almost always is because its the first thing.

  • Thanks 1
Link to comment
Share on other sites

Problem #SOLVED, thank you.

I formatted selected Partition 1 (/dev/disk0s1) under Windows PE's DISKPART >

format fs=fat32 quick unit=2k

Manually copy-paste EFI contents into it w/o any extra steps; and created Clover entry from BIOS is able booting Clover (UEFI). Strange is diskutil list it's partition type as "Microsoft Basic Data / 0700: NO NAME", so I then change Type code with gdisk as "EF00" and named as "EFI".

 

Just bit curious; Isn't it similar to this command under Mac? Weird it didn't work for me previously.. guessing, I did wrong step (or it' s just Windows applied special attributes to ESP?):

sudo newfs_msdos -F 32 -c 2 -v EFI /dev/rdisk0s1

..and I just realized that gParted's mkfs.fat created FAT32 with 1 cluster size for my ESP.

 

But now, I'm unable booting LEGACY Clover. Previously, this was my Boot Order list:

00. FS0:\EFI\CLOVER\CLOVERX64.efi "Clover EFI Bootloader" (UEFI)

01. Hitachi HTS545050B9A300 SATA-HDD (Legacy - boot0ss, boot1f32)

02. FS0:\EFI\ubuntu\grubx64.efi "Ubuntu 18.04.2" (IDK this was UEFI or Legacy)

...

> When booting Clover UEFI then Function: Exit, it boots Clover Legacy by default. Exit from Clover Legacy, it boots Ubuntu's Grub2 Bootloader. These abilities have gone at the moment. Actually, not a big deal.. but last time I was able to get Clover Startup Sound with Legacy, now only with UEFI.

Edited by Badruzeus
Link to comment
Share on other sites

There's a gpt partition tool gdisk

It is available on Linux

and for Windows

https://sourceforge.net/projects/gptfdisk/files/gptfdisk/1.0.4/gdisk-binaries/gdisk-windows-1.0.4.zip/download

and version for macOS can be complied from the sources

https://sourceforge.net/projects/gptfdisk/files/gptfdisk/1.0.4/gptfdisk-1.0.4.tar.gz/download

 

It is parallel of fdisk, but for gpt and knows how to do anything you may need to do with gpt.

Edited by Zenith432
  • Thanks 2
Link to comment
Share on other sites

The cluster size doesn't matter as long as it's 1, 2, or 4, so you end up with more than 65525 clusters. You didn't create an EFI partition, in both gparted and diskpart there is a special way to create an ESP, that you must specify you want an ESP. Google how to make an EFI partition in either. Not sure how newfs_msdos determines whether to make an EFI or basic data volume but probably just the first partition on a GPT or something, or maybe macOS just assumes because of the PMBR that it is an EFI but it actually is not because it did not have the EFI GUID when you showed the device path in the shell.

  • Like 1
Link to comment
Share on other sites

11 minutes ago, apianti said:

The cluster size doesn't matter as long as it's 1, 2, or 4, so you end up with more than 65525 clusters. You didn't create an EFI partition, in both gparted and diskpart there is a special way to create an ESP, that you must specify you want an ESP. Google how to make an EFI partition in either. Not sure how newfs_msdos determines whether to make an EFI or basic data volume but probably just the first partition on a GPT or something, or maybe macOS just assumes because of the PMBR that it is an EFI but it actually is not because it did not have the EFI GUID when you showed the device path in the shell.

OK, that's why with diskpart formatted FAT32 I was unable to rebuild Windows BCD;

cd /d z:\EFI\Microsoft\Boot\
bootrec /RebuildBcd
//System Partition not found

I think bcoz it uses "MS Basic Data" type (0700) instead of "ESP" (EF00), right?

Till I manually changed it's type code with gdisk.

Link to comment
Share on other sites

Yeah you have to delete the partition and recreate it with efi format, that's the only way to do it in diskpart. You can just reformat it in gparted, but you have to make sure you change the parameters of the cluster size either way so it's less than 8, or increase the size of the partition so that it will be FAT32 no matter what. That might be pretty wasteful though.

  • Thanks 1
Link to comment
Share on other sites

Sorry for bit #OffTopic;

I got this when tried building latest AudioPkg..

 

 

MacBook-Pro:~ badruzeus$ cd /Users/badruzeus/udk/EXT_PACKAGES/AudioPkg 

MacBook-Pro:AudioPkg badruzeus$ git pull

remote: Enumerating objects: 18, done.

remote: Counting objects: 100% (18/18), done.

remote: Compressing objects: 100% (7/7), done.

remote: Total 10 (delta 6), reused 7 (delta 3), pack-reused 0

Unpacking objects: 100% (10/10), done.

From https://github.com/Goldfish64/AudioPkg

   4b82d5e..dcbf8ff  master     -> origin/master

Updating 4b82d5e..dcbf8ff

Fast-forward

 Application/HdaCodecDump/HdaCodecDump.c | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)

MacBook-Pro:AudioPkg badruzeus$ ls

Application Binaries LICENSE README.md macbuild.tool

AudioPkg.dec External Library UDK

AudioPkg.dsc Include Platform debbuild.sh

MacBook-Pro:AudioPkg badruzeus$ ./macbuild.tool

Already up to date.

ln: AudioPkg: File exists

 

 

I've removed ../Binaries, ../UDK/Build.. but still won't build. Thanks.

Edited by Badruzeus
  • Sad 1
Link to comment
Share on other sites

7 hours ago, apianti said:

Because of this line and the next, probably. https://github.com/Goldfish64/AudioPkg/blob/master/macbuild.tool#L123. Unsure what that is even supposed to be doing.

OK, thanks. It needs re-cloning "UDK" on build.

 

About my prev. post (related to: `cd [XXX]: is not a Directory` with UEFI Shell), I realized that having this issue after manually copying EFI contents with File Manager (eg. Windows Explorer, from [LocalDisk_NTFS]:\Backups\EFI\ to [FAT32_ESP]:\). No problem if using `cmd > xcopy /s [source] [target]`, is there any special "attributes" for EFI contents? Weird is with Linux thing goes fine with $ sudo mount /dev/sdaX esp && sudo cp -r [efi_backup] esp. Or.., it was just my bad with wrong FAT format.

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

How did you mount the EFI partition in windows explorer? As far as I knew you could only mount it with the command line or by using explorer++. I can't mount any EFI partition to be visible in explorer even with admin privileges...?

  • Like 1
Link to comment
Share on other sites

46 minutes ago, apianti said:

How did you mount the EFI partition in windows explorer? As far as I knew you could only mount it with the command line or by using explorer++. I can't mount any EFI partition to be visible in explorer even with admin privileges...?

// cmd as Administrator
DISKPART
> sel Disk X
> sel Partition Y
> assign letter=Z:
> exit
// Task Manager as Administrator, File, Browse.

I'm not sure if that is good; seems like missing ESP's files / folder attributes < if they previously were installed from HFS+; or it's just my mac's root which has permissions issue. Yes, I use Finder addon: XtraFinder (no attributes options changed though).

Link to comment
Share on other sites

5 hours ago, apianti said:

How did you mount the EFI partition in windows explorer? As far as I knew you could only mount it with the command line or by using explorer++. I can't mount any EFI partition to be visible in explorer even with admin privileges...?

I don't follow you, because if I mount the boot efi partition from a command prompt with "mountvol T: /S" then afterwards I see the efi partition in T: in explorer.  Any other efi partitions than the boot one can be mounted from a command prompt by running "mountvol" to display the available mountpoints and then choosing the right one using the "mountvol T: <VolumeName>" format.  The partition will then be visible in explorer.

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

23 hours ago, Badruzeus said:

// cmd as Administrator
DISKPART
> sel Disk X
> sel Partition Y
> assign letter=Z:
> exit
// Task Manager as Administrator, File, Browse.

I'm not sure if that is good; seems like missing ESP's files / folder attributes < if they previously were installed from HFS+; or it's just my mac's root which has permissions issue. Yes, I use Finder addon: XtraFinder (no attributes options changed though).

 

18 hours ago, Zenith432 said:

I don't follow you, because if I mount the boot efi partition from a command prompt with "mountvol T: /S" then afterwards I see the efi partition in T: in explorer.  Any other efi partitions than the boot one can be mounted from a command prompt by running "mountvol" to display the available mountpoints and then choosing the right one using the "mountvol T: <VolumeName>" format.  The partition will then be visible in explorer.

 

Yeah, both of these result in assigning a drive letter to the partition but even if I open explorer as admin it says it doesn't have permission for any EFI partition on any disk and won't let me open them. So I can only access it through the command line or explorer++...

Link to comment
Share on other sites

--- a/Drivers/AudioDxe/HdaCodec/HdaCodec.c
+++ b/Drivers/AudioDxe/HdaCodec/HdaCodec.c
@@ -240,6 +240,8 @@
             if (EFI_ERROR(Status))
                 return Status;
             HdaWidget->DefaultEapd = (UINT8)Response;
+            HdaWidget->DefaultEapd &? = 0x7;
+            HdaWidget->DefaultEapd |= HDA_EAPD_BTL_ENABLE_EAPD;
             //DEBUG((DEBUG_INFO, "Widget @ 0x%X EAPD: 0x%X\n", HdaWidget->NodeId, HdaWidget->DefaultEapd));
         }

What is this new C operator &? introduced in r4890?

Link to comment
Share on other sites

Build error


================================================================================

Build_Clover script v4.9.7                                  No update available.

                             <--------------------------------------------------

================================================================================

By Micky1979 based on Slice, apianti, vit9696, Download Fritz, Zenith432,

STLVNUB, JrCs,cecekpawon, Needy, cvad, Rehabman, philip_petev, ErmaC

 

Supported OSes: macOS X, Ubuntu (16.04/16.10), Debian Jessie and Stretch

                             <--------------------------------------------------

CLOVER Remote revision: 4890 Local revision: 4890

EDK2 Remote revision: 28963 Local revision: 28892

 

The current local EDK2 revision is the suggested one (28892). 

Used settings: /Users/shane/BuildCloverConfig.txt 

                             <--------------------------------------------------

Please enter your choice: 

 1) update Clover only (no building)

 2) update Clover + force edk2 update (no building)

 3) run my script on the source

 4) build existing revision (no update, for testing only)

 5) build existing revision for release (no update, standard build)

 6) build existing revision with custom macros enabled

 7) enter Developers mode (only for devs)

 8) Try Clover Configurator Pro.app

 9) edit the configuration file

 10) Exit

? 5

 

 

 

 

 

 

 

================================================================================

Select the desired architecture

                             <--------------------------------------------------

1) Standard x64 only

2) ia32 and x64 (ia32 is deprecated)

3) ia32 only (deprecated)

4) Back to Main Menu

5) Exit

? 1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

================================================================================

Select the desired pkg type

                             <--------------------------------------------------

1) Standard

2) slim pkg that skip themes and CloverThemeManager.app

3) slim pkg that skip themes and CloverThemeManager.app, updater and PrefPanel

4) slim pkg UEFI only, without RC Scripts, themes & CTM, updater and PrefPanel

5) Back to Select architecture menu

6) Exit

? 1

================================================================================

Running from: macOS 10.14.4

Xcode 10.1

Build version 10B61

                             <--------------------------------------------------

================================================================================

Compiler settings

                             <--------------------------------------------------

Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1

Apple LLVM version 10.0.0 (clang-1000.11.45.5)

Target: x86_64-apple-darwin18.5.0

Thread model: posix

InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

                             <--------------------------------------------------

================================================================================

BUILDTOOL is XCODE8

                             <--------------------------------------------------

 

================================================================================

nasm check:

                             <--------------------------------------------------

NASM version 2.13.03 compiled on Feb  7 2018

================================================================================

gettext check:

                             <--------------------------------------------------

found gettext at /Users/shane/src/opt/local/bin

================================================================================

mtoc check:

                             <--------------------------------------------------

mtoc found in /Users/shane/src/opt/local/bin.

================================================================================

 

Loading previous configuration from /Users/shane/src/edk2/Conf/BuildEnv.sh

WORKSPACE: /Users/shane/src/edk2

EDK_TOOLS_PATH: /Users/shane/src/edk2/BaseTools

CONF_PATH: /Users/shane/src/edk2/Conf

 

================================================================================

Building AptioFixPkg

                             <--------------------------------------------------

 

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

Build start time: 22:39:54, Feb.28 2019

 

WORKSPACE        = /Users/shane/src/edk2

EDK_TOOLS_PATH   = /Users/shane/src/edk2/BaseTools

CONF_PATH        = /Users/shane/src/edk2/Conf

 

 

Architecture(s)  = X64

Build target     = RELEASE

Toolchain        = XCODE8

 

Active Platform          = /Users/shane/src/edk2/AptioFixPkg/AptioFixPkg.dsc

 

Processing meta-data . done!

Building ... /Users/shane/src/edk2/MdePkg/Library/UefiUsbLib/UefiUsbLib.inf [X64]

Building ... /Users/shane/src/edk2/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf [X64]

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf [X64]

Building ... /Users/shane/src/edk2/MdePkg/Library/UefiLib/UefiLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf [X64]

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf [X64]

Building ... /Users/shane/src/edk2/MdePkg/Library/BasePrintLib/BasePrintLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf [X64]

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf [X64]

Building ... /Users/shane/src/edk2/OcSupportPkg/Library/OcDebugLogLib/OcDebugLogLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf [X64]

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/BaseLib/BaseLib.inf [X64]

Building ... /Users/shane/src/edk2/MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf [X64]

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf [X64]

Building ... /Users/shane/src/edk2/MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/BaseCpuLib/BaseCpuLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/BaseRngLib/BaseRngLib.inf [X64]

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/AptioFixPkg/Platform/AptioInputFix/AptioInputFix.inf [X64]

Building ... /Users/shane/src/edk2/AptioFixPkg/Application/CleanNvram/CleanNvram.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/AptioFixPkg/Application/VerifyMsrE2/VerifyMsrE2.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/AptioFixPkg/Platform/AptioMemoryFix/AptioMemoryFix.inf [X64]

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

 

- Done -

Build end time: 22:39:56, Feb.28 2019

Build total time: 00:00:02

 

 

================================================================================

Building AppleSupportPkg

                             <--------------------------------------------------

 

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

Build start time: 22:39:56, Feb.28 2019

 

WORKSPACE        = /Users/shane/src/edk2

EDK_TOOLS_PATH   = /Users/shane/src/edk2/BaseTools

CONF_PATH        = /Users/shane/src/edk2/Conf

 

 

Architecture(s)  = X64

Build target     = RELEASE

Toolchain        = XCODE8

 

Active Platform          = /Users/shane/src/edk2/AppleSupportPkg/AppleSupportPkg.dsc

 

Processing meta-data . done!

Building ... /Users/shane/src/edk2/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf [X64]

Building ... /Users/shane/src/edk2/MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf [X64]

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/DxeServicesLib/DxeServicesLib.inf [X64]

Building ... /Users/shane/src/edk2/OcSupportPkg/Library/OcAppleImageVerificationLib/OcAppleImageVerificationLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf [X64]

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/DxeHobLib/DxeHobLib.inf [X64]

Building ... /Users/shane/src/edk2/OcSupportPkg/Library/OcGuardLib/OcGuardLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/OcSupportPkg/Library/OcCryptoLib/OcCryptoLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/UefiLib/UefiLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/BasePrintLib/BasePrintLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/BaseLib/BaseLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/OcSupportPkg/Library/OcDebugLogLib/OcDebugLogLib.inf [X64]

Building ... /Users/shane/src/edk2/MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf [X64]

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf [X64]

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf [X64]

Building ... /Users/shane/src/edk2/MdePkg/Library/UefiUsbLib/UefiUsbLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/OcSupportPkg/Library/OcMiscLib/OcMiscLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/OcSupportPkg/Library/OcTimerLib/OcTimerLib.inf [X64]

Building ... /Users/shane/src/edk2/AppleSupportPkg/Library/AppleEventLib/AppleEventLib.inf [X64]

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/OcSupportPkg/Library/OcPngLib/OcPngLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf [X64]

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf [X64]

Building ... /Users/shane/src/edk2/AppleSupportPkg/Platform/AppleImageLoader/AppleImageLoader.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/AppleSupportPkg/Platform/AppleUsbKbDxe/UsbKbDxe.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/AppleSupportPkg/Platform/ApfsDriverLoader/ApfsDriverLoader.inf [X64]

Building ... /Users/shane/src/edk2/AppleSupportPkg/Platform/AppleUiSupport/AppleUiSupport.inf [X64]

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

 

- Done -

Build end time: 22:39:59, Feb.28 2019

Build total time: 00:00:03

 

================================================================================

Building Clover

                             <--------------------------------------------------

================================================================================

boot6

                             <--------------------------------------------------

TOOLCHAIN_DIR: /Users/shane/src/opt/local

MTOC_PREFIX: /usr/local/bin/

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

NASM_VER: 2.13.03

Building from: /Users/shane/src/edk2

 

Running edk2 build for CloverX64 using the command:

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

 

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

Build start time: 22:40:00, Feb.28 2019

 

WORKSPACE        = /Users/shane/src/edk2

EDK_TOOLS_PATH   = /Users/shane/src/edk2/BaseTools

CONF_PATH        = /Users/shane/src/edk2/Conf

 

 

Architecture(s)  = X64

Build target     = RELEASE

Toolchain        = XCODE8

 

Active Platform          = /Users/shane/src/edk2/Clover/Clover.dsc

Flash Image Definition   = /Users/shane/src/edk2/Clover/Clover.fdf

 

Processing meta-data ..... done!

Building ... /Users/shane/src/edk2/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf [X64]

Building ... /Users/shane/src/edk2/MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf [X64]

Building ... /Users/shane/src/edk2/MdePkg/Library/BasePrintLib/BasePrintLib.inf [X64]

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/BaseLib/BaseLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf [X64]

Building ... /Users/shane/src/edk2/MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf [X64]

Building ... /Users/shane/src/edk2/MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf [X64]

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/BaseCpuLib/BaseCpuLib.inf [X64]

Building ... /Users/shane/src/edk2/Clover/Library/WaveLib/WaveLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/Clover/Library/OpensslLib/OpensslLibNull.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/UefiMemoryLib/UefiMemoryLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/Clover/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/Clover/ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf [X64]

Building ... /Users/shane/src/edk2/Clover/ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/Clover/ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf [X64]

Building ... /Users/shane/src/edk2/Clover/ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf [X64]

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/Clover/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf [X64]

Building ... /Users/shane/src/edk2/MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/Clover/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf [X64]

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/Clover/ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf [X64]

Building ... /Users/shane/src/edk2/Clover/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf [X64]

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf [X64]

Building ... /Users/shane/src/edk2/Clover/ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf [X64]

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/Clover/ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf [X64]

Building ... /Users/shane/src/edk2/Clover/ShellPkg/Library/UefiShellLib/UefiShellLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf [X64]

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/UefiUsbLib/UefiUsbLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/UefiScsiLib/UefiScsiLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/Clover/Library/VideoBiosPatchLib/VideoBiosPatchLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/Clover/Library/MemLogLibDefault/MemLogLibDefault.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/Clover/Library/OsxBdsPlatformLib/PlatformBds.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/Clover/Library/GenericBdsLib/GenericBdsLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/Clover/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/DxePcdLib/DxePcdLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/Clover/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/DxeHobLib/DxeHobLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf [X64]

Building ... /Users/shane/src/edk2/MdePkg/Library/DxeServicesLib/DxeServicesLib.inf [X64]

make: Nothing to be done for `tbuild'.

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/Clover/Library/DuetTimerLib/DuetTimerLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/Clover/Library/VBoxPeCoffLib/VBoxPeCoffLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/UefiLib/UefiLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/Clover/CloverEFI/OsxDxeIpl/DxeIpl.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/Clover/OsxLowMemFixDrv/OsxLowMemFixDrv.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/Clover/OsxAptioFixDrv/OsxAptioFix3Drv.inf [X64]

Building ... /Users/shane/src/edk2/Clover/OsxAptioFixDrv/OsxAptioFixDrv.inf [X64]

Building ... /Users/shane/src/edk2/Clover/rEFIt_UEFI/refit.inf [X64]

Building ... /Users/shane/src/edk2/Clover/ShellPkg/Application/Shell/Shell.inf [X64]

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/Clover/bdmesg_efi/bdmesg.inf [X64]

[CC] OsxLowMemFixDrv

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/Clover/Drivers/AudioDxe/AudioDxe.inf [X64]

[SLINK] OsxLowMemFixDrv

[DLINK1] OsxLowMemFixDrv

[MTOC] OsxLowMemFixDrv

[GENFW] OsxLowMemFixDrv

Building ... /Users/shane/src/edk2/Clover/Protocols/EmuVariableUefi/EmuVariableRuntimeDxe.inf [X64]

[CC] OsxAptioFix3Drv

/Users/shane/src/edk2/Clover/Drivers/AudioDxe/HdaCodec/HdaCodec.c:243:37: error: expected expression

            HdaWidget->DefaultEapd &? = 0x7;

[SLINK] OsxAptioFix3Drv

                                    ^

/Users/shane/src/edk2/Clover/Drivers/AudioDxe/HdaCodec/HdaCodec.c:243:39: error: expected expression

            HdaWidget->DefaultEapd &? = 0x7;

                                      ^

/Users/shane/src/edk2/Clover/Drivers/AudioDxe/HdaCodec/HdaCodec.c:243:44: error: expected ':'

            HdaWidget->DefaultEapd &? = 0x7;

make: Nothing to be done for `tbuild'.

Building ... /Users/shane/src/edk2/Clover/Protocols/OsxFatBinaryDrv/OsxFatBinaryDrv.inf [X64]

                                           ^

                                           :

/Users/shane/src/edk2/Clover/Drivers/AudioDxe/HdaCodec/HdaCodec.c:243:37: note: to match this '?'

            HdaWidget->DefaultEapd &? = 0x7;

                                    ^

/Users/shane/src/edk2/Clover/Drivers/AudioDxe/HdaCodec/HdaCodec.c:243:44: error: expected expression

            HdaWidget->DefaultEapd &? = 0x7;

                                           ^

[DLINK1] OsxAptioFix3Drv

[MTOC] OsxAptioFix3Drv

4 errors generated.

make: *** [/Users/shane/src/edk2/Build/Clover/RELEASE_XCODE8/X64/Clover/Drivers/AudioDxe/AudioDxe/OUTPUT/HdaCodec/HdaCodec.obj] Error 1

 

 

build.py...

 : error 7000: Failed to execute command

make tbuild [/Users/shane/src/edk2/Build/Clover/RELEASE_XCODE8/X64/Clover/Drivers/AudioDxe/AudioDxe]

 

 

build.py...

 : error F002: Failed to build module

/Users/shane/src/edk2/Clover/Drivers/AudioDxe/AudioDxe.inf [X64, XCODE8, RELEASE]

 

- Failed -

Build end time: 22:40:10, Feb.28 2019

Build total time: 00:00:10

 

 

o_Ops, ./ebuild.sh exited with error(s), aborting..

Link to comment
Share on other sites

1 hour ago, Zenith432 said:

--- a/Drivers/AudioDxe/HdaCodec/HdaCodec.c
+++ b/Drivers/AudioDxe/HdaCodec/HdaCodec.c
@@ -240,6 +240,8 @@
             if (EFI_ERROR(Status))
                 return Status;
             HdaWidget->DefaultEapd = (UINT8)Response;
+            HdaWidget->DefaultEapd &? = 0x7;
+            HdaWidget->DefaultEapd |= HDA_EAPD_BTL_ENABLE_EAPD;
             //DEBUG((DEBUG_INFO, "Widget @ 0x%X EAPD: 0x%X\n", HdaWidget->NodeId, HdaWidget->DefaultEapd));
         }

What is this new C operator &? introduced in r4890?

Committed from windows seems has unicode problems...

 

Fixed

  • Like 1
Link to comment
Share on other sites

4 hours ago, Zenith432 said:

What is this new C operator &? introduced in r4890?

 

3 hours ago, Slice said:

Committed from windows seems has unicode problems...

 

Fixed

 

lol.

 

EDIT: You can select the character encoding by choosing either save options from the file menu for < 2015 and from the save as dialog >= 2015.

Edited by apianti
Link to comment
Share on other sites

On prev. rev I proposed adding "MX Linux" entry on loader.c and committed as:

{ L"\\EFI\\MX18\\grubx64.efi", L"MX Linux EFI boot menu", L"mx,linux", "MX Linux" },

It worked, but after MX Linux 18.1 released; EFI-subfolder's name has been changed from "MX18" to "MX18.1".

So, I was asking the dev for rename then got answer below which I honestly, don't really understand (last sentences).

Screenshot 12.png

Link to comment
Share on other sites

They don't need another folder they can just change the grub configuration... What are they talking about? They are wrong, this is not correct behavior, no other distribution makes a new copy of it's boot loader, it changes the entries that it presents. NVRAM variables can be added no matter what so even if he is talking about directly pointing to an EFI stub-loadable kernel, it will just be a new BootXXXX value. They can place kernels in one directory or even subdirectories if they want and name them differently. That is just badly designed. So if you install multiple versions it just keeps filling the EFI partition with the exact same thing? lol

  • Like 1
Link to comment
Share on other sites

16 hours ago, bronxteck said:

api if you are booting windows 10 try mounting EFI in safe mode. you hold left shift key while telling windows 10 to restart from the windows button shutdown menu. that has worked for me in the past using the mountvol X: /s command and normal windows explorer

 

Yeah, it's windows 10, I know about safe mode restart but never thought about that.... It's not a big deal I usually just use a usb most of the time to test and then just copy with the command line anyway, no big deal really.

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...