X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;ds=sidebyside;f=DuetPkg%2FDuetPkg.fdf;h=0323b6ece252c8870d77cf0c07cf372c8eaaa8c7;hb=a47d46378e829ae67d96602f6c5cc142c2fb9b75;hp=e6481accedb47c021eca17823f9c6f85f6b438cd;hpb=86c8520c1e69655164ebe77e91091a0c7276dcba;p=mirror_edk2.git diff --git a/DuetPkg/DuetPkg.fdf b/DuetPkg/DuetPkg.fdf index e6481acced..0323b6ece2 100644 --- a/DuetPkg/DuetPkg.fdf +++ b/DuetPkg/DuetPkg.fdf @@ -1,3 +1,4 @@ +## @file # This is DUET FDF file with UEFI HII features enabled # # Copyright (c) 2007 - 2010, Intel Corporation @@ -11,28 +12,6 @@ # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. # -################################################################################ -# -# FD Section -# The [FD] Section is made up of the definition statements and a -# description of what goes into the Flash Device Image. Each FD section -# defines one flash "device" image. A flash device image may be one of -# the following: Removable media bootable image (like a boot floppy -# image,) an Option ROM image (that would be "flashed" into an add-in -# card,) a System "Flash" image (that would be burned into a system's -# flash) or an Update ("Capsule") image that will be used to update and -# existing system flash. -# -################################################################################ -[FD.DuetMainFd] -BaseAddress = 0x0 #The base address of the FLASH Device. -Size = 0x002a0000 #The size in bytes of the FLASH Device -ErasePolarity = 1 -BlockSize = 0x10000 -NumBlocks = 0x2a - -0x00000000|0x002a0000 - ################################################################################ # # FV Section @@ -44,6 +23,8 @@ NumBlocks = 0x2a # ################################################################################ [FV.DuetEfiMainFv] +BlockSize = 0x10000 +NumBlocks = 0x2a FvAlignment = 16 #FV alignment and FV attributes setting. ERASE_POLARITY = 1 MEMORY_MAPPED = TRUE @@ -82,11 +63,12 @@ INF DuetPkg/SmbiosGenDxe/SmbiosGen.inf #INF DuetPkg/FvbRuntimeService/DUETFwh.inf INF IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf +INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf INF UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf INF DuetPkg/CpuDxe/Cpu.inf INF PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf -INF PcAtChipsetPkg/KbcResetDxe/Reset.inf +INF DuetPkg/AcpiResetDxe/Reset.inf INF DuetPkg/LegacyMetronome/Metronome.inf INF PcAtChipsetPkg/8254TimerDxe/8254Timer.inf INF PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf @@ -119,7 +101,7 @@ INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf INF DuetPkg/BiosVideoThunkDxe/BiosVideo.inf # Binary INF file to support toggle among different CPU architectures. -INF FatBinPkg/EnhancedFatDxe/Fat.inf +INF RuleOverride=BINARY FatBinPkg/EnhancedFatDxe/Fat.inf FILE FREEFORM = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile) { SECTION RAW = MdeModulePkg/Logo/Logo.bmp @@ -127,29 +109,35 @@ FILE FREEFORM = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile) { [Rule.Common.DXE_CORE] FILE DXE_CORE = $(NAMED_GUID) { - PE32 PE32 |.efi + PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi } [Rule.Common.UEFI_DRIVER] FILE DRIVER = $(NAMED_GUID) { - DXE_DEPEX DXE_DEPEX Optional |.depex - PE32 PE32 |.efi + DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex + PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi } [Rule.Common.DXE_DRIVER] FILE DRIVER = $(NAMED_GUID) { - DXE_DEPEX DXE_DEPEX Optional |.depex - PE32 PE32 |.efi + DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex + PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi } [Rule.Common.DXE_RUNTIME_DRIVER] FILE DRIVER = $(NAMED_GUID) { - DXE_DEPEX DXE_DEPEX Optional |.depex - PE32 PE32 |.efi + DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex + PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi } [Rule.Common.UEFI_APPLICATION] FILE APPLICATION = $(NAMED_GUID) { + PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi + } + +[Rule.Common.UEFI_DRIVER.BINARY] + FILE DRIVER = $(NAMED_GUID) { + DXE_DEPEX DXE_DEPEX Optional |.depex PE32 PE32 |.efi }