Commit Graph

4304 Commits

Author SHA1 Message Date
Richard Hughes
41541213b1 trivial: Prefix some DfuSe errors with useful data 2016-10-12 16:39:23 +01:00
Richard Hughes
e9dbf70cd3 libdfu: Fix two possible critical warnings for corrupt USB descriptors 2016-10-12 16:15:58 +01:00
Richard Hughes
ac614987e6 Show the nicely formatted target name for DfuSe devices 2016-10-12 15:05:41 +01:00
Richard Hughes
053ade98e8 trivial: Only show the cipher kind if set 2016-10-12 15:05:23 +01:00
Richard Hughes
2fd030e663 trivial: Print the transfer size in the 'dfu-tool list' output 2016-10-12 15:05:03 +01:00
Richard Hughes
c6a8deeb4c dfu: Fix listing devices using the ST reference bootloader 2016-10-12 15:04:31 +01:00
Richard Hughes
877df1dda3 libfdfu: Show a warning when getting the alt-name failed 2016-10-12 13:15:03 +01:00
Mario Limonciello
cdf5b86e04 dell: If running in test suite, don't try to get product ID from sysfs
It's possible that the test suite was running in an environment without
bind mounted sysfs.
2016-10-03 14:32:47 -05:00
Richard Hughes
5c628e2955 trivial: Make the AppStream file validate 2016-10-03 15:21:38 +01:00
Richard Hughes
eff5da7156 Enable the stack protection in local builds
This means we crash just the same way as the distro packages.
2016-09-29 19:43:57 +01:00
Richard Hughes
208c8a819e Fix a -fstack-protector-strong crash when uploading firmware
Casting the pointer type causes the stack protector to get upset.
2016-09-29 19:41:02 +01:00
Mario Limonciello
cd272ac1cf dell: Match on TB16 as well 2016-09-28 15:58:47 -05:00
Richard Hughes
f401775c8a Don't create the UEFI dummy device if the unlock will happen on next boot 2016-09-27 15:35:01 +01:00
Richard Hughes
b0af181b01 Fix an assert when unlocking the dummy ESRT device 2016-09-27 15:27:23 +01:00
Mario Limonciello
3ef952fcea Verify devices support updating in mode they are called.
Providers that have both online and offline update methods don't
do verification that the device actually supports that mode.

This caused problems for Dell TPM devices where if you called
$ fwupdmgr install tpm.cab

It would attempt to use the online stub added in 1d97c8b5.
This would of course fall over requiring you to call with
$ fwupdmgr install tpm.cab --allow-offline

This fix will guarantee that the current install fallback
logic takes into account both device and provider support
for online/offline.
2016-09-20 12:34:42 -05:00
Richard Hughes
bf33c5aee6 Merge pull request #66 from piotrdrag/po-cleanup
Clean up PO files
2016-09-20 09:15:24 +01:00
Piotr Drąg
f80a4bb2b0 Clean up PO files 2016-09-20 01:45:38 +02:00
Richard Hughes
e994c331d8 trivial: post release version bump 2016-09-19 15:38:30 +01:00
Richard Hughes
12bc6c7bab Release fwupd 0.7.4 2016-09-19 15:37:28 +01:00
Richard Hughes
2cf8c4e43f Fix a possible crash when uploading firmware files using libdfu 2016-09-19 09:05:39 +01:00
Richard Hughes
df12152231 trivial: Allow uploading firmware with smaller chunk sizes 2016-09-19 09:05:18 +01:00
Richard Hughes
a7398a7e90 Add DFU_CIPHER_KIND_RSA 2016-09-15 20:57:57 +01:00
Richard Hughes
190e60cd6f Load the Altos USB descriptor from ELF files 2016-09-03 16:59:02 +01:00
Richard Hughes
633944045f Load the symbol table from ELF firmware 2016-09-03 16:59:02 +01:00
Mario Limonciello
7b2ea4de23 trivial: dell provider: allocate memory for online update SMI call 2016-09-02 14:41:48 -05:00
Richard Hughes
c68757ce4d Support writing the IHEX symbol table 2016-09-02 14:16:40 +01:00
Richard Hughes
499f2bf995 trivial: Don't fail to parse IHEX files with nonstandard sections 2016-09-01 15:05:31 +01:00
Richard Hughes
f82a4c2231 Allow specifying the argument to 'dfu-tool set-release' in major.minor format. 2016-09-01 14:50:02 +01:00
Richard Hughes
c951e3a2ff Show the human-readable version in the 'dfu-tool dump' output 2016-09-01 14:49:55 +01:00
Richard Hughes
df7ba314b2 Use the symtab to set the VID/PID from Altos IHEX firmware images 2016-09-01 10:37:27 +01:00
Richard Hughes
d5db4e6b77 Add the Altos symbol table to the DfuFirmware 2016-09-01 10:35:02 +01:00
Richard Hughes
e5dbd75637 Add dfu_firmware_add_symbol()
This allows supported firmware to use a symbol table.
2016-09-01 10:34:25 +01:00
Richard Hughes
7d78347549 Fix libfwupd self tests when a host-provided fwupd is not available
Resolves: https://github.com/hughsie/fwupd/issues/64
2016-08-31 11:41:46 +01:00
Richard Hughes
bf59e265bc Write the ELF files with the correct section type
This should fix a compile failure on s390x.

Resolves: https://github.com/hughsie/fwupd/issues/63
2016-08-31 10:30:48 +01:00
Richard Hughes
c7aea294b7 trivial: Parse the .interrupt section in the .elf file too 2016-08-31 09:03:53 +01:00
Richard Hughes
27aad5ac1f Add a fallback for older appstream-glib releases
Fixes: https://github.com/hughsie/fwupd/issues/62
2016-08-29 16:12:26 +01:00
Richard Hughes
bef038b3a9 trivial: Update the reference spec file from downstream 2016-08-29 16:09:23 +01:00
Richard Hughes
ad55f1f8f0 trivial: post release version bump 2016-08-29 09:53:38 +01:00
Richard Hughes
1c9353cd06 Release fwupd 0.7.3 2016-08-29 09:51:16 +01:00
Richard Hughes
67fd8006ba trivial: Always build the gtk-doc for releases 2016-08-29 09:43:52 +01:00
Richard Hughes
fda7c3c3d9 trivial: Do not require libsmbios-devel on ARM 2016-08-29 09:43:27 +01:00
Richard Hughes
7920826098 trivial: Remove the version from the DFU firmware format enum
This isn't accurate, as it's used for all versions of DFU.
2016-08-26 18:44:00 +01:00
Richard Hughes
b8d2de2110 Normalize the DfuFirmwareFormat enums
Using the DFU-specification value is upsetting various tools that expect the
enum to be in order.
2016-08-26 18:44:00 +01:00
Richard Hughes
8e7f50056f Add dfu_firmware_format_from_string() 2016-08-26 18:44:00 +01:00
Richard Hughes
3667ee7b22 libdfu: Add initial ELF reading and writing support 2016-08-26 18:44:00 +01:00
Richard Hughes
1278b66dc2 trivial: Save the element address from IHEX files 2016-08-26 17:33:28 +01:00
Richard Hughes
4ced466f95 trivial: Fix two more compile warnings 2016-08-26 17:33:10 +01:00
Richard Hughes
c2592a4aa2 trivial: Update the fuzzing doc
We can use --force to ignore the CRC warnings.
2016-08-26 17:32:52 +01:00
Richard Hughes
e9b53e7d09 trivial: Don't fallback to RAW if DFU probing fails 2016-08-26 10:20:38 +01:00
Richard Hughes
be8d2006c2 trivial: Actually use the warning flags 2016-08-26 10:20:35 +01:00