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
Richard Hughes
ae87438781
trivial: Don't show the current release in the fwupdmgr get-updates output
2016-08-17 17:46:15 +01:00
Richard Hughes
adb7a4979b
Add FU_DEVICE_FLAG_NEEDS_BOOTLOADER
2016-08-17 17:46:15 +01:00
Richard Hughes
20003d1c88
Add fwupd_result_remove_device_flag()
2016-08-17 17:46:15 +01:00
Richard Hughes
e1e50dc2fd
Split out the DFU file formats to separate files
2016-08-17 17:46:15 +01:00
Richard Hughes
830bc932f2
Merge pull request #57 from attente/master
...
trivial: link against fwup
2016-08-17 14:42:19 +01:00
William Hua
12082bb863
trivial: link against fwup
...
If UEFI is disabled, but Dell non-ESRT capsule support enabled, fwupd fails to
link against libfwup as needed.
2016-08-17 09:30:13 -04:00
Richard Hughes
c2651fb687
trivial: Do not timeout of very long firmware operations
2016-08-16 18:13:50 +01:00
Richard Hughes
01b9a838b4
Show the vendor flashing instructions when installing
2016-08-16 17:59:32 +01:00
Richard Hughes
4fd38c8f1b
trivial: Only show the device error when no devices are due to be updated
...
Showing a 'no attached hardware matched' then a large list of GUIDs isn't
super helpful.
2016-08-16 17:57:49 +01:00
Richard Hughes
0abde9c39a
Fix writing 8Bitdo device firmware
2016-08-16 16:40:58 +01:00
Mario Limonciello
ba876711de
trivial: update version of fwupdate needed for UEFI_GUID
...
It landed here:
64b4cd53ba
which is after the version was declared as 5.
2016-08-11 15:25:47 -04:00