mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
55b902c377
commit
785e597795
|
@ -31,8 +31,8 @@
|
||||||
BaseAddress = 0x80008000|gEmbeddedTokenSpaceGuid.PcdEmbeddedFdBaseAddress #The base address of the FLASH Device.
|
BaseAddress = 0x80008000|gEmbeddedTokenSpaceGuid.PcdEmbeddedFdBaseAddress #The base address of the FLASH Device.
|
||||||
Size = 0x00080000|gEmbeddedTokenSpaceGuid.PcdEmbeddedFdSize #The size in bytes of the FLASH Device
|
Size = 0x00080000|gEmbeddedTokenSpaceGuid.PcdEmbeddedFdSize #The size in bytes of the FLASH Device
|
||||||
ErasePolarity = 1
|
ErasePolarity = 1
|
||||||
BlockSize = 0x40
|
BlockSize = 0x1
|
||||||
NumBlocks = 0x2000
|
NumBlocks = 0x80000
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
#
|
#
|
||||||
|
@ -53,7 +53,7 @@ NumBlocks = 0x2000
|
||||||
# 512 bytes of configuration header & 8 bytes of image header
|
# 512 bytes of configuration header & 8 bytes of image header
|
||||||
0x00000000|0x00000208
|
0x00000000|0x00000208
|
||||||
|
|
||||||
0x00000208|0x0007FDC0
|
0x00000208|0x0007FDF8
|
||||||
gEmbeddedTokenSpaceGuid.PcdFlashFvMainBase|gEmbeddedTokenSpaceGuid.PcdFlashFvMainSize
|
gEmbeddedTokenSpaceGuid.PcdFlashFvMainBase|gEmbeddedTokenSpaceGuid.PcdFlashFvMainSize
|
||||||
FV = FVMAIN_COMPACT
|
FV = FVMAIN_COMPACT
|
||||||
|
|
||||||
|
@ -69,7 +69,7 @@ FV = FVMAIN_COMPACT
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
[FV.FvMain]
|
[FV.FvMain]
|
||||||
BlockSize = 0x40
|
BlockSize = 0x1
|
||||||
NumBlocks = 0 # This FV gets compressed so make it just big enough
|
NumBlocks = 0 # This FV gets compressed so make it just big enough
|
||||||
FvAlignment = 8 # FV alignment and FV attributes setting.
|
FvAlignment = 8 # FV alignment and FV attributes setting.
|
||||||
ERASE_POLARITY = 1
|
ERASE_POLARITY = 1
|
||||||
|
|
Loading…
Reference in New Issue