update_flash -c returns 'success' before the firmware is actually committed

Bug #1367043 reported by Steve Langasek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
powerpc-utils (Ubuntu)
New
Undecided
Unassigned

Bug Description

Committing a firmware update with update_flash returns immediately:

# update_flash -c
Success: Committed temporary firmware image.
#

However, inspection shows that the firmware image is not committed yet; rather, it's been scheduled but is still being copied:

# update_flash -v -f 01TV810_061_054.img
info: Current Temporary side will be committed to
Permanent side before being replaced with the new
image.

Projected Flash Update Results:
Current T Image: TV810_061
Current P Image: TV810_037
New T Image: TV810_061
New P Image: TV810_061
#

Looking in ASM shows:

Requestor: 0x9500
Operation: Commit
Status: Incomplete
Current Side: T
Start Date: 20140908
Start Time: 2342
Start Cur Side: fips810/b0721a_1402.810
Start Other Side: fips810/b0422b_1417.810
End Date: 0
End Time: 0000
End Cur Side:
End Other Side:
PT Swap: 0x0

update_flash really ought not say "committed" until it's actually been committed.

Adam Conrad (adconrad)
affects: powerpc-ibm-utils (Ubuntu) → powerpc-utils (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.