Skip to content

Commit b607b47

Browse files
committed
src/mb/protectli/vault_adl_p/vboot-rwa.fmd: add TOPSWAP
Signed-off-by: Filip Lewiński <filip.lewinski@3mdeb.com>
1 parent e76f859 commit b607b47

2 files changed

Lines changed: 16 additions & 1 deletion

File tree

configs/config.protectli_vp66xx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,4 @@ CONFIG_EDK2_DISABLE_OPTION_ROMS=y
7575
CONFIG_EDK2_CREATE_PREINSTALLED_BOOT_OPTIONS=y
7676
# CONFIG_EDK2_GRAPHICAL_CAPSULE_PROGRESS is not set
7777
# CONFIG_EDK2_FUM_AUTO_IPXE_BOOT is not set
78+
CONFIG_REDUNDANT_BOOTBLOCK=y

src/mainboard/protectli/vault_adl_p/vboot-rwa.fmd

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
FLASH@0xff000000 16M {
2+
3+
# ---- Static (vendor / Intel) areas ----
24
SI_ALL@0x0 {
35
SI_DESC 4K
46
SI_ME 0x4c0000
57
SI_DEVICEEXT2 0xbf000
68
}
9+
10+
# ---- BIOS region ----
711
SI_BIOS@0x580000 0xa80000 {
12+
13+
# --- Preserved runtime data ---
814
SMMSTORE(PRESERVE) 256K
915

1016
RW_MISC 320K {
@@ -18,21 +24,29 @@ FLASH@0xff000000 16M {
1824

1925
BOOTSPLASH(CBFS) 512K
2026

27+
# --- Main firmware Slot A ---
2128
RW_SECTION_A {
2229
VBLOCK_A 64K
2330
FW_MAIN_A(CBFS)
2431
RW_FWID_A 0x100
2532
}
2633

34+
# --- Read-only / protected section ---
2735
WP_RO 5M {
2836
RO_VPD(PRESERVE) 16K
2937
RO_SECTION {
3038
FMAP 2K
3139
RO_FRID 0x100
3240
RO_FRID_PAD 0x700
3341
GBB 12K
34-
COREBOOT(CBFS)
42+
COREBOOT(CBFS) # Slot A bootblock + main CBFS
3543
}
3644
}
45+
46+
# --- Redundant Slot B / top-swap area ---
47+
TOPSWAP(CBFS) 512K # Slot B CBFS region for redundant bootblock
48+
BOOTBLOCK(CBFS) 512K # Optionally separate block, mirrors Slot A
49+
3750
}
3851
}
52+

0 commit comments

Comments
 (0)