dasharo-issues
dasharo-issues copied to clipboard
CBMEM buffer too small to fill full boot log on PC Engines apu2
Device
PC Engines apu4
Dasharo version
Dasharo (coreboot+UEFI) v0.9.0
Affected component(s) or functionality
CBMEM logging
Brief summary
logs from cbmem -c
start somewhere during verstage, so we lose some logs, including Vboot recovery / selected slot
How reproducible
100%
How to reproduce
- boot apu4 into linux OS
- run
cbmem -c
Expected behavior
Full boot logs starting in bootblock are displayed
Actual behavior
Beginning of logs is cut off:
*** Pre-CBMEM romstage console overflowed, log truncated! ***
Screenshots
No response
Additional context
Also, can we pass the Vboot workbuf or just recovery / slot selection via an EFI var instead of relying on logs?
Solutions you've tried
No response
Minimal tool for retrieving the needed Vboot data is added in: https://github.com/Dasharo/dasharo-tools/pull/5
https://github.com/Dasharo/coreboot/blob/pcengines_apu2_v0.9.0/configs/config.pcengines_apu4#L6
The cbmem buffer size has been increased
Are there new binaries to be flashed?
Are there new binaries to be flashed?
No, but the tests have been adjusted to not rely on this.