From 815f3f7df294aa6a713371edfdbdc29febf47ae8 Mon Sep 17 00:00:00 2001 From: Yidi Lin Date: Mon, 13 Oct 2025 10:59:03 +0800 Subject: [PATCH] mb/google/rauru: Increase RW firmware sections size to 1756KB The RW_A and RW_B firmware sections are increased by 256KB, from 1500K to 1756K, to support larger firmware images. With bootsplash enabled, the remaining space in these sections is approximately 15KB, which is insufficient to hold the bootsplash assets. This increase provides the necessary space. Additionally, with more features anticipated from the payload (depthcharge), this extra space serves as a reserve to prevent future build failures due to insufficient space. The RW_LEGACY section is also adjusted to fill the remaining space. WARNING: Please do NOT cherry-pick to rauru firmware branch. BUG=b:450510630,b:319511268 TEST=emerge-rauru coreboot chromeos-bootimage (with BMP_LOGO enabled) Change-Id: I70aaa9e7011b7f2376b7bc28caac27c0a86aa20a Signed-off-by: Yidi Lin Reviewed-on: https://review.coreboot.org/c/coreboot/+/89545 Tested-by: build bot (Jenkins) Reviewed-by: Yu-Ping Wu --- src/mainboard/google/rauru/chromeos.fmd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mainboard/google/rauru/chromeos.fmd b/src/mainboard/google/rauru/chromeos.fmd index abf673fa03..b0f3191ab4 100644 --- a/src/mainboard/google/rauru/chromeos.fmd +++ b/src/mainboard/google/rauru/chromeos.fmd @@ -22,7 +22,7 @@ FLASH 8M { RO_GSCVD 8K RO_VPD(PRESERVE) 32K # At least 16K. } - RW_SECTION_A 1500K { + RW_SECTION_A 1756K { VBLOCK_A 8K FW_MAIN_A(CBFS) RW_FWID_A 0x100 @@ -33,7 +33,7 @@ FLASH 8M { RW_MRC_CACHE(PRESERVE) 16K RW_ELOG(PRESERVE) 4K # ELOG driver hard-coded size in 4K. } - RW_SECTION_B 1500K { + RW_SECTION_B 1756K { VBLOCK_B 8K FW_MAIN_B(CBFS) RW_FWID_B 0x100 @@ -42,5 +42,5 @@ FLASH 8M { SHARED_DATA 4K # 4K or less for netboot params. RW_UNUSED } - RW_LEGACY(CBFS) 1M # Minimal 1M. + RW_LEGACY(CBFS) 512K }