That comes up once in a while, but the idea usually gets shot down because the size check is more important for the general case. Deciding whether to place the content at the top or bottom is another matter.
For chromiumos I added a command to get the flash chip's size (--get-size IIRC) so that the user can easily create an image of the appropriate size and dd the content in place. One could also create a layout file and do a partial write using "-i region:<filename>" syntax which will only check that the file matches the size of the specified region.
On Thu, Mar 30, 2017 at 11:09 AM, ron minnich rminnich@gmail.com wrote:
has anyone ever looked at flashing an image smaller than the part and auto-padding it? Someone just asked me about that.
flashrom mailing list flashrom@flashrom.org https://www.flashrom.org/mailman/listinfo/flashrom