From: andrewfish Date: Wed, 8 Dec 2010 19:58:48 +0000 (+0000) Subject: Move away from 0x40 block size (worked around a DXE core bug assuming the FV header... X-Git-Tag: edk2-stable201903~15339 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=785e597795d1b5aa900b0d7f7fe51f38f0421dc7 Move away from 0x40 block size (worked around a DXE core bug assuming the FV header fit in a block) of the FV to 1 byte. This makes more sense as the FV is shadowed from FLASH into RAM by HW so it is never on top of a real block device. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11136 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/BeagleBoardPkg/BeagleBoardPkg.fdf b/BeagleBoardPkg/BeagleBoardPkg.fdf index 5331966db0..85003c4978 100644 --- a/BeagleBoardPkg/BeagleBoardPkg.fdf +++ b/BeagleBoardPkg/BeagleBoardPkg.fdf @@ -31,8 +31,8 @@ BaseAddress = 0x80008000|gEmbeddedTokenSpaceGuid.PcdEmbeddedFdBaseAddress #The base address of the FLASH Device. Size = 0x00080000|gEmbeddedTokenSpaceGuid.PcdEmbeddedFdSize #The size in bytes of the FLASH Device ErasePolarity = 1 -BlockSize = 0x40 -NumBlocks = 0x2000 +BlockSize = 0x1 +NumBlocks = 0x80000 ################################################################################ # @@ -53,7 +53,7 @@ NumBlocks = 0x2000 # 512 bytes of configuration header & 8 bytes of image header 0x00000000|0x00000208 -0x00000208|0x0007FDC0 +0x00000208|0x0007FDF8 gEmbeddedTokenSpaceGuid.PcdFlashFvMainBase|gEmbeddedTokenSpaceGuid.PcdFlashFvMainSize FV = FVMAIN_COMPACT @@ -69,7 +69,7 @@ FV = FVMAIN_COMPACT ################################################################################ [FV.FvMain] -BlockSize = 0x40 +BlockSize = 0x1 NumBlocks = 0 # This FV gets compressed so make it just big enough FvAlignment = 8 # FV alignment and FV attributes setting. ERASE_POLARITY = 1