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

fhunleth / fwup / 1282
86%

Build:
DEFAULT BRANCH: master
Ran 08 Nov 2019 08:00PM UTC
Jobs 1
Files 493
Run time 40s
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
1282

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.

1 of 1 new or added line in 1 file covered. (100.0%)

3246 of 3773 relevant lines covered (86.03%)

26205.86 hits per line

Jobs
ID Job ID Ran Files Coverage
4 1282.4 (MODE=dynamic) 08 Nov 2019 08:00PM UTC 0
86.03
Travis Job 1282.4
Source Files on build 1282
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1282
  • d00e09e7 on github
  • Prev Build on master (#1279)
  • Next Build on master (#1299)
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