Meenakshi Aggarwal
2015-06-22 10:44:35 UTC
Hi,
I am trying to integrate FatPkg (git clone git://git.code.sf.net/p/tianocore/edk2-FatPkg tianocore-edk2-FatPkg) with my UEFI code.
For this I have made following changes in my dsc file:
[LibraryClasses.common]
+ PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
+ PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
+ PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
[Components.common]
#
# FAT filesystem + GPT/MBR partitioning
#
+ FatPkg/EnhancedFatDxe/Fat.inf
+ FatPkg/FatPei/FatPei.inf
MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
On building this I am facing below error:
/proj/nmgsw_be/users/b46476/code/UEFI/ls1043a-uefi/LS1043aRdbPkg/LS1043aRdbPkgXipBoot.dsc(...): error 1001: Module type [PEIM] is not supported by library instance [/proj/nmgsw_be/users/b46476/code/UEFI/ls1043a-uefi/MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf]
consumed by [/proj/nmgsw_be/users/b46476/code/UEFI/ls1043a-uefi/FatPkg/FatPei/FatPei.inf]
Will modifying MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf file to support PEIM is correct?
Kindly guide.
Thanks & regards
Meenakshi Aggarwal
I am trying to integrate FatPkg (git clone git://git.code.sf.net/p/tianocore/edk2-FatPkg tianocore-edk2-FatPkg) with my UEFI code.
For this I have made following changes in my dsc file:
[LibraryClasses.common]
+ PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
+ PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
+ PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
[Components.common]
#
# FAT filesystem + GPT/MBR partitioning
#
+ FatPkg/EnhancedFatDxe/Fat.inf
+ FatPkg/FatPei/FatPei.inf
MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
On building this I am facing below error:
/proj/nmgsw_be/users/b46476/code/UEFI/ls1043a-uefi/LS1043aRdbPkg/LS1043aRdbPkgXipBoot.dsc(...): error 1001: Module type [PEIM] is not supported by library instance [/proj/nmgsw_be/users/b46476/code/UEFI/ls1043a-uefi/MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf]
consumed by [/proj/nmgsw_be/users/b46476/code/UEFI/ls1043a-uefi/FatPkg/FatPei/FatPei.inf]
Will modifying MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf file to support PEIM is correct?
Kindly guide.
Thanks & regards
Meenakshi Aggarwal