Actions
Feature #587
openWarnings about read-protected regions are shown for the area outside of what was requested with -i
Start date:
03/31/2025
Due date:
% Done:
0%
Estimated time:
Affected versions:
Needs backport to:
Affected hardware:
Affected OS:
Description
With -i
option, user can specify the regions they want to read.
flashrom reads whole flash and shows warnings for read-protected areas, even if those areas were not requested by -i
Example is with log attached, the command line is
flashrom -p internal -w <filename> --fmap -i EC -i COREBOOT -N >flashrom.log 2>&1
regions requested are EC and COREBOOT, in the logs there are 100+ warnings about "read_flash: cannot read inside Management Engine region" - but the user has not asked for ME region
The question is, should we show warnings for areas which are outside of what user requested?
Other notes:
- warnings are not blocking, but there can be a lot of them
- the option
skip_unreadable_regions
is not available from command line, but even if it would be available, this option impacts the reading from the whole flash regardless of what was requested by-i
This was raised from user experience of MrChromebox-flashrom, however this aspect seems the same for upstream too
Files
No data to display
Actions