Project

General

Profile

Actions

Bug #616

closed
AK AK

--progress option doesn't work in combination with any of --fmap* options

Bug #616: --progress option doesn't work in combination with any of --fmap* options

Added by Anastasia Klimchuk 3 months ago. Updated 5 days ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
Start date:
11/07/2025
Due date:
% Done:

0%

Estimated time:
Affected versions:
Needs backport to:
Affected hardware:
Affected OS:

AK Updated by Anastasia Klimchuk 3 months ago Actions #1

  • Related links updated (diff)

AK Updated by Anastasia Klimchuk 3 months ago Actions #2

  • Related links updated (diff)

AK Updated by Anastasia Klimchuk 3 months ago Actions #3

  • Related links updated (diff)

This can be repro with dummyflasher and the file to write can be any random file.

Example this command:

flashrom -p dummy:emulate=S25FL128L,freq=64mhz --fmap -w random.rom --progress

Running this floods the output with non-stop repeating message Fixing total value of stage 0 progress on the fly. Probably message is shown each time a byte, or a chunk is read from flash.

flashrom reads from flash because it tried to search for fmap there. fmap is not there, but this situation (reading before starting the actual operation?) makes progress very confused.

Just to be clear, fmap functionality works, no problems there. This is a bug with progress indicator in combination with fmap.

AK Updated by Anastasia Klimchuk 5 days ago Actions #4

  • Status changed from New to Resolved
  • Assignee set to Anastasia Klimchuk
Actions

Also available in: PDF Atom