Denis Pynkin
4fbe1c58c7
plugins/nordic-hid: added initial version
...
The plugin is using Nordic Semiconductor HID config channel to perform
devices update directly atteched via USB and BLE.
Current implementation supports FW images compatible with the nRF Secure
Immutable Bootloader.
This version has been tested with nRF52840-DK board.
Signed-off-by: Denis Pynkin <denis.pynkin@collabora.com>
Signed-off-by: Ricardo Cañuelo <ricardo.canuelo@collabora.com>
Signed-off-by: Richard Hughes <richard@hughsie.com>
2021-12-07 08:19:29 +00:00
Richard Hughes
c47446c411
trivial: Add liblzma-dev the deps in case we're building a subproject
2021-12-06 17:57:23 +00:00
Richard Hughes
e0d59d82d5
trivial: Emit a critical warning if something finalizes the GUsbContext
2021-12-06 17:57:23 +00:00
Richard Hughes
058cfc6775
vli: Set up some more progress values correctly
2021-12-06 17:57:23 +00:00
Richard Hughes
eab72f8b6e
trivial: Verify backends never add or remove from a thread
2021-12-06 17:57:23 +00:00
Richard Hughes
e9185ebd83
vli: Fix LV820Q7 detection
...
This was changed accidentally in 5d337e72a6
which broke installing USB hub firmware on the Lenovo WS dock G2.
2021-12-06 17:57:23 +00:00
Richard Hughes
2bd5380780
trivial: Use 0 for no limit on security attributes
...
This behaviour now matches the D-Bus interface document.
2021-12-03 13:42:06 +00:00
Richard Hughes
1784a0aca5
trivial: Do not check the device superclass when closing
...
The things we're closing is probably a FuUsbDevice subclass which has
the GUsbDevice as an instance variable, not a subclass of GUsbDevice.
2021-12-02 16:21:29 +00:00
Richard Hughes
ea5cae7c41
Enable the MOTD integration when using pam_motd
...
This has to be a file, not a file-in-a-directory.
Fixes https://github.com/fwupd/fwupd/issues/4047
2021-12-01 20:55:15 +00:00
Richard Hughes
20d57b9ae6
trivial: Update subproject versions to latest
2021-12-01 20:46:20 +00:00
Richard Hughes
211ad62623
trivial: add the motd ouptut when --verbose
2021-12-01 16:29:38 +00:00
Richard Hughes
2066b7603d
trivial: Don't add the fallback FDE warning for all devices
2021-11-30 18:31:54 +00:00
Richard Hughes
61fe427d41
dell-dock: Fix a trivial clang-format issue
...
This was somehow missed when we reformatted the entire source tree.
2021-11-29 21:40:17 +00:00
Richard Hughes
8c94489b4a
dfu: Fix unintentional regression when merging the FuProgress work
...
See https://github.com/fwupd/fwupd/pull/3678/files#r758752086
2021-11-29 21:38:19 +00:00
Richard Hughes
beb29ff698
Add a sync-bkc subcommand to ensure a known set of firmware versions
...
Install or downgrade firmware on all devices to make the system match
a well known set. This allows two things:
* Factory recovery where a device in the field has been upgraded
* Ensuring a consistent set of tested firmware for a specific workload
A tag is assigned either during upload or added post-upload on the LVFS
which is included in the metadata. A single firmware can be marked with
multiple tags, and tags can be duplicated for different firmwares.
2021-11-29 15:16:14 +00:00
Richard Hughes
dc9ee40ef7
trivial: Show multiple tags on one line in fwupdmgr
2021-11-29 15:02:31 +00:00
Richard Hughes
c9e58e2cd9
trivial: Fix a critical warning if compiled without HSI support
2021-11-29 15:02:31 +00:00
Richard Hughes
03f8238cf8
trivial: Actually add the tag namespace to the index
2021-11-29 15:02:31 +00:00
Richard Hughes
5d09600483
Don't install DBus introspection data when using -Dintrospection=false
2021-11-29 09:30:57 +00:00
Richard Hughes
02eac5c75f
Make more plugins optional
2021-11-29 09:30:57 +00:00
Richard Hughes
dc1d5de057
Make the HSI tests optional for embedded targets
...
70% of the plugins installed on OpenBMC are not being used...
2021-11-29 09:30:57 +00:00
Richard Hughes
165c0278bb
trivial: Fix a warning when compiling without USB support
2021-11-27 20:28:13 +00:00
Richard Hughes
3291bd40ce
Make Upower and powerd support optional
...
In some cases you really know that the daemon is never going to exist.
2021-11-27 18:46:27 +00:00
Richard Hughes
3ad283fc50
system76-launch: Wait for the device to come back from DFU mode
...
Fixes https://github.com/fwupd/fwupd/issues/4028
2021-11-27 08:26:51 +00:00
Richard Hughes
91dc36cba7
trivial: Don't reset the status when calling fu_progress_finished()
2021-11-27 07:22:50 +00:00
Richard Hughes
dd6ae09e80
nvme: Hide some verbose debugging by default
2021-11-27 07:22:40 +00:00
Richard Hughes
a4a0872727
dfu: Fix a progress warning when attaching AVR32
2021-11-27 07:22:37 +00:00
Richard Hughes
cadb2af031
trivial: Never print NULL in the FuFirmware flag output
2021-11-26 15:33:32 +00:00
Richard Hughes
3ffc3fa774
Add fu_common_sum8() common functionality
...
We now have 9 different plugins all using this functionality, and we're
about to add one more. Move this into common code so that all the
plugins are using the same endian and bufsz-safe versions.
2021-11-26 18:33:11 +03:00
Richard Hughes
5f88043c4f
trivial: Fix HSI swapped value descriptions
...
Fixes https://github.com/fwupd/fwupd/issues/4034
2021-11-26 14:25:49 +00:00
Richard Hughes
7143e04852
Add FuArchiveFirmware
...
Add a FuFirmware superclass that allows us to parse an new archive in the archive. We already do this for fastboot and we're about to add another.
2021-11-26 13:47:04 +00:00
Richard Hughes
4fe8a36729
Add support for LVFS component tags
...
These allow us to tag components as being part of a set, e.g. a BKC.
2021-11-25 10:36:26 +00:00
Richard Hughes
677c80eb64
trivial: Use string comparisons for new libjcat versions
...
This regressed in 7b865f213c
2021-11-24 22:18:17 +00:00
Richard Hughes
b26ecb00e0
triival: Be consistent when refering to Secure Boot
2021-11-24 17:43:33 +00:00
Richard Hughes
e121332c97
dfu: Do not wait for a USB runtime if will-disappear is set
...
Fixes https://github.com/fwupd/fwupd/issues/4000
2021-11-24 15:47:53 +00:00
Richard Hughes
d62d281871
dfu: Ignore a USB error for STM32 attach when the device goes away
2021-11-24 15:47:53 +00:00
Richard Hughes
0e175181ea
Do not leak when calling fu_firmware_parse() multiple times
2021-11-24 15:46:18 +00:00
Richard Hughes
019a210c94
Show an error when loading XML with multiple <component> tags
...
Fixes https://github.com/fwupd/fwupd/issues/4022 , but requires a newer
libxmlb to be installed.
2021-11-24 15:44:56 +00:00
Richard Hughes
8c4a9547a8
trivial: Allow using fwupdmgr get-releases --json for QA
2021-11-24 15:39:40 +00:00
Richard Hughes
503a1633e6
trivial: Allow using fwupdmgr get-history --json for QA
2021-11-24 15:39:40 +00:00
Richard Hughes
6e651269ba
Fix running the tests when fwupd is not installed
...
This probably regressed in 70f9124545
as
the callers actually expect an error in the GDBusError domain, rather
than one fixed up in the FwupdError domain.
Fixes https://github.com/fwupd/fwupd/issues/4014
2021-11-23 15:18:41 +00:00
Richard Hughes
7b865f213c
trivial: Only install files that are going to be used
2021-11-23 15:14:14 +00:00
Richard Hughes
71d93a65fb
Make sqlite optional
...
This isn't required when fwupd is installed on targets like a BMC.
2021-11-23 15:09:05 +00:00
Richard Hughes
e1e212553b
elanfp: Add some sanity checks to the firmware parser
...
Fixes https://oss-fuzz.com/testcase-detail/6107550261575680
2021-11-23 14:56:47 +00:00
Gabriel Kerneis
93aae762a6
Offer to run tests before pushing in contrib/setup
...
Also make clearer that the default choice is "no" for interactive
prompts.
2021-11-23 15:41:46 +01:00
Richard Hughes
5e52b3527f
trivial: Add two missing files to the gtkdoc manifest
2021-11-23 09:50:19 +00:00
Richard Hughes
b2ad10a818
trivial: Work around two false positives when compiling with gcc -Os
2021-11-22 15:19:38 +00:00
Richard Hughes
c92f352393
intel-spi: Use lowercase flag names
...
This was missed in the addition of 40c7f7ba21
2021-11-19 12:25:06 +00:00
Richard Hughes
6ac7b93d70
trivial: Remove the libelf dep for CI
...
Fixes https://github.com/fwupd/fwupd/issues/4009
2021-11-19 11:03:24 +00:00
Richard Hughes
a4c79aac3a
trivial: Fix the example spec file to work on s390x
2021-11-19 11:03:24 +00:00