Skip to content

Redundancy - modified ramstage in Slot B won't load #1740

@filipleple

Description

@filipleple

Component

Dasharo firmware

Device

Protectli VP6670, Protectli VP6650

Dasharo version

v0.9.3-rc3

Dasharo Tools Suite version

No response

Test case ID

No response

Brief summary

In a Top Swap Redundancy build, once Slot B (COREBOOT_TS) is modified, booting ends with

CBFS: Found 'fallback/postcar' @0x385840 size 0xf8a8 in mcache @0xfef8c6c8
VB2:vb2_digest_init() 63656 bytes, hash algo 2, HW acceleration unsupported
Loading module at 0x76b35000 with entry 0x76b35031. filesize: 0xe988 memsize: 0x14de8
Processing 952 relocs. Offset value of 0x74b35000
BS: romstage times (exec / console): total (unknown) / 1215 ms


coreboot-protectli_vault_adl_v0.9.3-rc3-40-g68c4a414dcd2-dirty-v0.9.3-rc4 Fri Jan 16 14:04:33 UTC 2026 x86_32 postcar starting (log level: 8)...
Normal boot
Starting cbfs_boot_device
CBFS: Found 'fallback/ramstage' @0x248780 size 0x246c5 in mcache @0x76b4d164
VB2:vb2_digest_init() 149189 bytes, hash algo 2, HW acceleration unsupported
CBFS ERROR: 'fallback/ramstage' file hash mismatch!
Ramstage was not loaded!

How reproducible

100%

How to reproduce

  • Build with CONFIG_TOP_SWAP_REDUNDANCY=y,
  • Flash onto the board,
  • Note how both slots (Top Swap on and off) boot fine
  • Modify Slot B, i.e. flash a slightly different binary to --fmap -i TOPSWAP -i COREBOOT_TS
  • Try to boot from Slot B

Expected behavior

It should boot the newer version

Actual behavior

The newer version boots up to Ramstage was not loaded!

Screenshots

No response

Additional context

No response

Solutions you've tried

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions