[Lvfs-announce] LVFS is now testing DFU files
Richard Hughes <[email protected]> Mon, 11 Mar 2019 15:45:30 +0000
| Newsgroups | dev.linux.lists.lvfs-announce |
|---|---|
| Message-ID | <CAD2FfiESHqU-RhZbuBojsnFp7pnP5uMOR4xtSJt9wc757FmuCQ@mail.gmail.com> |
Hi all, For a few months UEFI UpdateCapsules have been checked to see if they contain a CAPSULE_HEADER file prefix. Some vendors have now fixed new uploads to include this required header, and many others are working on it right now. It's still of course possible to 'waive' the results and ignore the test, but in the most part the extra check has been a positive step forward. Next on the list is DFU files, which are now scanned to ensure they have the UFD file footer as required by the DFU specification. Any firmware test failures without this footer (or where the footer has incorrect values) can be waived by any vendor QA user. I've enabled this test on the LVFS and ran it on the existing firmware marked with protocol org.usb.dfu and there were only 4 firmware files that failed, and I've BCC'd anyone affected. If it helps, fwupd can convert a "raw" firmware image to include a DFU header, for example: $ dfu-tool convert dfu old.raw new.dfu $ dfu-tool set-vendor new.dfu 0xabcd $ dfu-tool set-product new.dfu 0x1234 Any questions, please reply off list. Thanks! Richard