fwflash sd plugin shouldn't hardcode maximum image size
The sd image verifier for fwflash hardcodes the maximum image size to be a simple 1 MiB. However, the actual size that's allowed and supported by the device may be much larger. Instead, we should ask the device for what the maximum supported size is and use this to determine the upper bound.
Updated by Electric Monk over 4 years ago
- Status changed from New to Closed
commit 0b4d657578b8f707371421ebae5b3837023b4144 Author: Robert Mustacchi <firstname.lastname@example.org> Date: 2019-01-16T00:48:38.000Z 8235 fwflash for sd needs to handle partial writes 8236 fwflash sd plugin shouldn't hardcode maximum image size 8237 libscsi improperly translates request sense and isolate options to uscsi Reviewed by: Joshua M. Clulow <email@example.com> Reviewed by: Andy Stormont <firstname.lastname@example.org> Reviewed by: Gergő Mihály Doma <email@example.com> Approved by: Richard Lowe <firstname.lastname@example.org>