Page MenuHomeSolus

Update FlashROM to V.1.0.1
ClosedPublic

Authored by moriel5 on May 17 2019, 1:33 AM.
Tags
None
Referenced Files
F11073580: D6298.id15181.diff
Sat, Aug 12, 4:39 AM
F11054987: D6298.diff
Fri, Aug 11, 1:22 AM
F11031255: D6298.id15182.diff
Wed, Aug 9, 12:38 PM
F11016758: D6298.id15182.diff
Sat, Aug 5, 7:52 PM
F10866433: D6298.id15181.diff
Jun 17 2023, 3:31 PM
F10858470: D6298.id15182.diff
Jun 15 2023, 3:19 PM
F10858358: D6298.id15178.diff
Jun 15 2023, 2:57 PM
F10856193: D6298.diff
Jun 14 2023, 8:30 PM
Subscribers
None

Details

Summary

Changelog taken from here.

Changes since 1.0

  • linux_spi: Reduce maximum read chunksize
  • Improves compatibility with older Linux kernels that interpreted the interface differently.
  • linux_spi: Hardcode default spispeed of 2MHz. Default speed of kernel drivers isn't always sane (any more).
  • dediprog: Fix small, unaligned reads. An actual bug, discovered during experiments with arbitrary layouts.
  • board_enable.c: Fix dmi_match string for ThinkPad X20
  • Fix verification with sparse layouts
    • A regression that sneaked into flashrom-1.0: When verifying the whole flash after a partial write with a sparse layout (i.e. a layout whose regions don't cover the whole chip), flashrom tried to verify against the wrong data and failed.
  • Fix erasing of unaligned regions
    • This never worked correctly from the beginning. We completely erased every block that touched an included layout region. Now, we restore surrounding data in case a block expands beyond the region.
Test Plan

Attempt to read internal chips: sudo flashrom --programmer internal

Diff Detail

Repository
R4603 flashrom
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

moriel5 edited the test plan for this revision. (Show Details)
moriel5 edited the summary of this revision. (Show Details)
  1. Updating D6298: Update FlashROM to V.1.0.1 #
  2. Enter a brief description of the changes included in this update.
  3. The first line is used as subject, next lines as comment. Removed unnecessary dependency zlib-devel.
JoshStrobl edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.May 17 2019, 2:07 AM
This revision was automatically updated to reflect the committed changes.