mb/google/bluey: Increase FW_MAIN_A/B slot size to 8.5MB
This patch increases the size of the FW_MAIN_A and FW_MAIN_B slots to 8.5MB to accommodate APDP, Ramdump and ADSP-lite images. A 5MB estimated size of QTEE image is also taken into account to avoid future resizing. Size required for QTEE: Current size -> 2776K, Estimated size -> 5120K (5MB) Additional size needed -> 5120K-2776K = 2344K Size required for new images: Ramdump - 449K APDP - 0.7K ramdump_meta - 0.1K apdp_meta - 1.4K ADSP_Lite - 1192K Total = 1643K Additional size needed (QTEE + new images): 2344K+1643K = 3987K Current Layout of FW_MAIN_A/B slots: Total size - 4608K (4.5MB) Used size - 4126K Free size - 482K Additional size needed (excluding free size): 3987K-482K = 3505K Total size of FW_MAIN_A/B slots: 4608K+3505K = 8133K An additional buffer of 591K is included in the final size to provide room for increase in size of other blobs. So, Final size of FW_MAIN_A/B slots: 8133K+591K = 8704K (8.5MB). TEST=Create an image.serial.bin and ensure it boots on X1P42100. Change-Id: I3b3ba5c4bf8b5d3830174a890ea7cd089e3f274f Signed-off-by: Venkateshwar S <vens@qualcomm.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/90594 Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Kapil Porwal <kapilporwal@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
e6c3250912
commit
94b326469b
2 changed files with 4 additions and 4 deletions
|
|
@ -25,13 +25,13 @@ FLASH@0x0 CONFIG_ROM_SIZE {
|
|||
RW_NVRAM(PRESERVE) 16K
|
||||
}
|
||||
|
||||
RW_SECTION_A 4608K {
|
||||
RW_SECTION_A 8704K {
|
||||
VBLOCK_A 8K
|
||||
FW_MAIN_A(CBFS)
|
||||
RW_FWID_A 256
|
||||
}
|
||||
|
||||
RW_SECTION_B 4608K {
|
||||
RW_SECTION_B 8704K {
|
||||
VBLOCK_B 8K
|
||||
FW_MAIN_B(CBFS)
|
||||
RW_FWID_B 256
|
||||
|
|
|
|||
|
|
@ -26,13 +26,13 @@ FLASH@0x0 CONFIG_ROM_SIZE {
|
|||
RW_NVRAM(PRESERVE) 16K
|
||||
}
|
||||
|
||||
RW_SECTION_A 4608K {
|
||||
RW_SECTION_A 8704K {
|
||||
VBLOCK_A 8K
|
||||
FW_MAIN_A(CBFS)
|
||||
RW_FWID_A 256
|
||||
}
|
||||
|
||||
RW_SECTION_B 4608K {
|
||||
RW_SECTION_B 8704K {
|
||||
VBLOCK_B 8K
|
||||
FW_MAIN_B(CBFS)
|
||||
RW_FWID_B 256
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue