Commit Graph

621 Commits

Author SHA1 Message Date
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
Richard Hughes
e24963d055 trivial: Parse the 0xfe IHEX record to avoid failing
This looks like debug data, and isn't important to the exported DfuImage.
2016-08-26 07:39:56 +01:00
Richard Hughes
f37f5a62a2 trivial: Fix up a const warning 2016-08-26 07:38:37 +01:00
Richard Hughes
2db526d178 Save the unique ID in the pending database
Also, generate something sensible if we're reading the status of an old task.
2016-08-25 15:07:25 +01:00
Richard Hughes
111be7431f trivial: Fix upgrading from an old version of fwupd 2016-08-25 14:40:35 +01:00
Richard Hughes
cec5c1dd88 Do not attempt to add DFU devices not in runtime mode 2016-08-25 13:05:42 +01:00
Richard Hughes
fdf46169f3 Ignore devices that do not add at least one GUID 2016-08-25 13:05:18 +01:00
Richard Hughes
864aa7ef58 Do not use the deprecated GNOME_COMPILE_WARNINGS 2016-08-25 11:51:05 +01:00
Richard Hughes
bb28ec68ed Merge pull request #59 from dell/wip/autotools-visibility
Adjust autotools logic for providers
2016-08-24 20:37:13 +01:00
Mario Limonciello
baee07b2cb Add a summary of providers that are enabled from configure 2016-08-24 13:58:43 -05:00
Mario Limonciello
d45a5e86d8 Conditionally enable all providers based upon what's installed
If all dependencies are found, then turn on the provider, but don't
fail autogen if something is missing.

This should help with the cause of 49c1588 while still letting the
common situation (sh autogen.sh) enable it by default.
2016-08-24 13:58:25 -05:00
Richard Hughes
de327ffefd trivial: Print the serial number in the dfu-tool list output 2016-08-24 10:06:48 +01:00
Richard Hughes
4092831e3b trivial: Print more details when the metadata table is corrupt 2016-08-24 10:05:30 +01:00
Richard Hughes
c0804c5bfb trivial: Print the device name in the dfu-tool list output 2016-08-24 10:05:01 +01:00
Mario Limonciello
662a2d53fb trivial: correct verison valid for UEFI unlock 2016-08-23 14:21:12 -05:00
Richard Hughes
49c15885e0 Disable the Dell specific code by default
Adding new external deps upsets people building using jhbuild.
2016-08-23 13:15:22 +01:00
Richard Hughes
3ae417b960 Add a set-address command to dfu-util
This allows us to set the start address of DfuSe elements.
2016-08-23 09:55:39 +01:00
Richard Hughes
e02eaf27ab trivial: Allow setting a firmware release of '0' 2016-08-23 09:54:37 +01:00
Richard Hughes
e183bb9e81 trivial: Add DFU_CIPHER_KIND_DEVO 2016-08-23 09:53:39 +01:00
Richard Hughes
5e4cc87d6c Support the 'DEVO' cipher kind in libdfu
This is not really a cipher, more just obfuscation and is specific to the
Walkera Devo line of RC controllers. Many thanks to Mike Meyer for the help.
2016-08-23 09:28:10 +01:00
Richard Hughes
abe1de75ec trivial: Split out the XTEA cipher to a new file 2016-08-23 08:59:02 +01:00
Richard Hughes
f854e6eb80 Add a set-target-size command to dfu-tool
This allows us to specify the padding byte value and makes the convert command
easier to understand.
2016-08-23 08:35:55 +01:00
Richard Hughes
381e52c3b7 trivial: Fix a crash when parsing IHEX files 2016-08-22 12:44:12 +01:00
Richard Hughes
1d69034f15 libdfu: Fix hang when parsing corrupt IHEX files
Found by the ever-helpful american fuzzy lop.
2016-08-22 11:38:34 +01:00
Richard Hughes
644562e291 Use the correct define prefix for FwupdDeviceFlags
Also, add the compat flags so we don't break API.
2016-08-22 10:30:24 +01:00
Richard Hughes
5c066adf29 Use the SHA1 hash of the local file data as the component origin
This means we have a different cache-id for locally modified .cab files.
This allows us to update the text in the metadata without reloading the client.
2016-08-18 18:38:33 +01:00
Richard Hughes
fa782a3915 Add fwupd_result_get_unique_id()
This allows us to have a unique string that identifies the component and can be
used as a cache key.
2016-08-18 18:36:11 +01:00
Richard Hughes
ee3352ec02 trivial: Remove some dead code
If we do this for SteelSeries devices, we'll need a proper provider.
2016-08-17 17:46:15 +01:00
Richard Hughes
ecd82ef1c0 trivial: Fix a small warning from clang 2016-08-17 17:46:15 +01:00
Richard Hughes
da004cf318 Show a progress notification when installing firmware 2016-08-17 17:46:15 +01:00
Richard Hughes
060af614a5 trivial: Ensure the daemon always returns to IDLE 2016-08-17 17:46:15 +01:00
Richard Hughes
14d176499d Handle the 8Bitdo bootloader in a better way 2016-08-17 17:46:15 +01:00
Richard Hughes
abf42df355 Add fwupd_client_get_status() 2016-08-17 17:46:15 +01:00
Richard Hughes
876c007b1a Allow providers to export percentage completion 2016-08-17 17:46:15 +01:00