• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

fhunleth / fwup / 1283 / 4
0%
master: 86%

Build:
Build:
LAST BUILD BRANCH: fix-mmcblk-detection
DEFAULT BRANCH: master
Ran 08 Nov 2019 08:13PM UTC
Files 503
Run time 35s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 Nov 2019 05:21PM UTC coverage: 0.0%. Remained the same
MODE=dynamic

push

travis-ci

fhunleth
Account for 128 KB writes for final size

If the destination is not a multiple of 128 KB, it's possible to write
beyond the end since fwup writes in 128 KB blocks. This reduces the
destination length to the nearest multiple so that that can't happen.

This fixes an issue where writing the secondary GPT partition would fail
due to the added padding in the final block. Unfortunately, for drives
that are not a multiple of 128 KB, the secondary GPT is non-compliant
since it's not at the last block. I would assume that whatever logic
recovers from a corrupt primary GPT won't work since the GPT header
won't be at the expected LBA.

This should be fixed. However, as a minor consolation, manufactoring
Flash programmers typically take image files as input where the size of
the image is much less than the destination Flash size. The secondary
GPT header is going to be placed incorrectly by design and if it's
important to update it, then that will need to be done at runtime.

0 of 0 relevant lines covered (NaN%)

0.0 hits per line

Source Files on job 1283.4 (MODE=dynamic)
  • Tree
  • List 0
  • Changed 4
  • Source Changed 4
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1227
  • Travis Job 1283.4
  • d00e09e7 on github
  • Prev Job for MODE=dynamic on coverity_scan (#1266.4)
  • Next Job for MODE=dynamic on coverity_scan (#1301.4)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc