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

fhunleth / fwup / 1283
0%
master: 86%

Build:
Build:
LAST BUILD BRANCH: fix-mmcblk-detection
DEFAULT BRANCH: master
Ran 08 Nov 2019 08:13PM UTC
Jobs 1
Files 503
Run time 37s
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

pending completion
1283

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

Jobs
ID Job ID Ran Files Coverage
4 1283.4 (MODE=dynamic) 08 Nov 2019 08:13PM UTC 0
0.0
Travis Job 1283.4
Source Files on build 1283
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1283
  • d00e09e7 on github
  • Prev Build on coverity_scan (#1266)
  • Next Build on coverity_scan (#1301)
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