Hi,
On 3/12/24 05:43, Ard Biesheuvel wrote:
On Tue, 12 Mar 2024 at 11:29, Ard Biesheuvel wrote:
From: Ard Biesheuvel
The DEBUG build no longer fits when all build options used by the
release script on github.com/pftf are used, presumably due to the
OpenSSL upgrade.
So bump the size for all builds.
Signed-off-by: Ard Biesheuvel
---
Platform/RaspberryPi/RPi4/RPi4.fdf | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/Platform/RaspberryPi/RPi4/RPi4.fdf
b/Platform/RaspberryPi/RPi4/RPi4.fdf
index 816927761513..951488260ed4 100644
--- a/Platform/RaspberryPi/RPi4/RPi4.fdf
+++ b/Platform/RaspberryPi/RPi4/RPi4.fdf
@@ -25,11 +25,11 @@
[FD.RPI_EFI]
BaseAddress = 0x|gArmTokenSpaceGuid.PcdFdBaseAddress
-Size = 0x001f|gArmTokenSpaceGuid.PcdFdSize
+Size = 0x0021|gArmTokenSpaceGuid.PcdFdSize
ErasePolarity = 1
Ugh just realized that this breaks DT loading from TFA, which places
the DT at a fixed offset of 0x1f
Right, which can be changed within the config.txt file but its probably
better not to. I hit this a few months back and have a version on my
github which moves it too, along with the TFA fixes, but really we
should be able to move one of the other regions around the DT, which
IIRC may be pushed to one of my branches on github along with the CPPC
patches for TFA/etc too.
That was set 4 or 5 that i've not posted because all the stuff in front
of it is still up in the air.
I can probably pick off just this bit and post it next week if its still
a problem, since i'm away from the rpi's at the moment.
BlockSize = 0x1000|gRaspberryPiTokenSpaceGuid.PcdFirmwareBlockSize
-NumBlocks = 0x1f0
+NumBlocks = 0x210
#
@@ -56,7 +56,7 @@ [FD.RPI_EFI]
#
# UEFI image
#
-0x0002|0x001b
+0x0002|0x001d
gArmTokenSpaceGuid.PcdFvBaseAddress|gArmTokenSpaceGuid.PcdFvSize
FV = FVMAIN_COMPACT
@@ -70,7 +70,7 @@ [FD.RPI_EFI]
#
# NV_VARIABLE_STORE
-0x001d|0xe000
+0x001f|0xe000
gRaspberryPiTokenSpaceGuid.PcdNvStorageVariableBase|gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
DATA = {
@@ -113,11 +113,11 @@ [FD.RPI_EFI]
}
# NV_EVENT_LOG
-0x001de000|0x1000
+0x001fe000|0x1000
gRaspberryPiTokenSpaceGuid.PcdNvStorageEventLogBase|gRaspberryPiTokenSpaceGuid.PcdNvStorageEventLogSize
# NV_FTW_WORKING header
-0x001df000|0x1000
+0x001ff000|0x1000
gRaspberryPiTokenSpaceGuid.PcdNvStorageFtwWorkingBase|gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize
DATA = {
@@ -132,7 +132,7 @@ [FD.RPI_EFI]
}
# NV_FTW_WORKING data
-0x001e|0x0001
+0x0020|0x0001
gRaspberryPiTokenSpaceGuid.PcdNvStorageFtwSpareBase|gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize
#
--
2.44.0.278.ge034bb2e1d-goog
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#116701): https://edk2.groups.io/g/devel/message/116701
Mute This Topic: https://groups.io/mt/104882052/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-