aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmi-firmware-update/qfu-main.c
Commit message (Collapse)AuthorAgeFilesLines
* build: mm-runtime-check is an optional feature not an optional packageAleksander Morgado2017-02-231-3/+3
|
* qmi-firmware-update: new optional runtime check to see if MM runningAleksander Morgado2017-02-231-1/+39
| | | | | Enabled by default, may be disabled using --without-mm-runtime-check during configure.
* qmi-firmware-update: fix multiline command backslashes in --help-examplesAleksander Morgado2017-02-141-3/+3
|
* qmi-firmware-update: fix 9x20 typo in --help-examples outputAleksander Morgado2017-02-141-2/+2
|
* qmi-firmware-update: allow building without udevAleksander Morgado2017-02-131-22/+65
| | | | | | We allow running FW updates even when udev isn't available in the system. In this case, though, only the manual operations will be supported (i.e. --reset and --update-qdl).
* qmi-firmware-update: improve examplesAleksander Morgado2017-02-131-66/+103
| | | | Added example of how to manually update 9x15 and 9x30 devices.
* qmi-firmware-update: support automatic mode (QMI/MBIM) detection by defaultAleksander Morgado2017-02-081-6/+28
| | | | | | | | The default, if nothing specified, is the 'auto mode', which can also be explicitly selected with --device-open-auto. The user may also select an explicit mode with --device-open-mbim or --device-open-qmi.
* glib: remove invocations of g_type_init()Ben Chan2017-02-031-2/+0
| | | | | | | g_type_init() has been deprecated (and also marked with the attribute 'deprecated') since glib 2.36 as the type system is automatically initialized. Since the minimum version of glib required by libqmi is 2.36, calling g_type_init() isn't necessarily in the libqmi code.
* qmi-firmware-update: new --modem-storage-index optionAleksander Morgado2017-01-161-0/+14
|
* qmi-firmware-update: new --override-download optionAleksander Morgado2017-01-161-0/+6
| | | | | | | | | | | | | | The Set Firmware Preference command may return an empty list of images to be downloaded. If that happens and we just power cycle, we won't get into QDL download mode, the module will just apply the new firmware selection preference. With the new --override-download option, we tell the module that even if we already have the images, we want to perform the download. This option doesn't apply to older SWI9200 devices as these don't have any firmware preference setting. The option is implicit for these devices, though, the download always happens.
* qmi-firmware-update: rename --force to --ignore-version-errorsAleksander Morgado2017-01-161-4/+4
| | | | The --force name is too generic, and we may want to have other similar flags.
* qmi-firmware-update: QmiDevice open flags are genericAleksander Morgado2017-01-161-8/+8
| | | | | These are no longer update-action specific, as they also apply e.g. when doing a reset.
* qmi-firmware-update: allow skipping new firmware validationAleksander Morgado2017-01-161-1/+7
| | | | And increase amount of retries.
* qmi-firmware-update: by default no warning messages, only errorsAleksander Morgado2017-01-161-1/+1
|
* qmi-firmware-update: new option to enable verbose logging file outputAleksander Morgado2017-01-161-9/+17
| | | | | | So that we can run the operation in stdout with standard logging level but storing in an external file the verbose logs in case they have to be analyzed later on, e.g. if the update failed.
* qmi-firmware-update: prefer DMS 0x003e for boot & hold resetAleksander Morgado2017-01-161-6/+5
|
* qmi-firmware-update: new 'device selection' objectAleksander Morgado2017-01-161-167/+46
| | | | | This new object contains the logic to select which device needs to be used as target of the firmware upgrade.
* qmi-firmware-update: fix help of --vid-pidAleksander Morgado2017-01-161-1/+1
|
* qmi-firmware-update: don't use libqmi to flag verbosityAleksander Morgado2017-01-161-63/+3
|
* qmi-firmware-update: add note about spk files for 9x15Aleksander Morgado2017-01-161-2/+10
|
* qmi-firmware-update: error out if no device specified in any wayAleksander Morgado2017-01-161-0/+4
|
* qmi-firmware-update: automatically detect firmware/config/carrierAleksander Morgado2017-01-161-15/+30
| | | | Only if required; e.g. for modems supporting Get/Set Firmware Preference.
* qmi-firmware-update: improve verify operation help examplesAleksander Morgado2017-01-161-1/+10
|
* qmi-firmware-update: improve help and examplesAleksander Morgado2017-01-161-16/+77
|
* qmi-firmware-update: new action to reboot in QDL download modeAleksander Morgado2017-01-161-41/+141
|
* qmi-firmware-update: new --help-examples listing all the examplesAleksander Morgado2017-01-161-31/+79
|
* qmi-firmware-update: allow specifying devices by vid:pid or bus:devAleksander Morgado2017-01-161-6/+190
|
* qmi-firmware-update: implement support for direct QDL downloadAleksander Morgado2017-01-161-1/+24
| | | | i.e. without going through the QMI triggered reboot.
* qmi-firmware-update: list of images to flash given as remaining argsAleksander Morgado2017-01-161-37/+48
| | | | | And therefore make the image verification action accept multiple file paths, not just one.
* qmi-firmware-update: implement firmware image analysis operationAleksander Morgado2017-01-161-8/+23
|
* qmi-firmware-update: implement download operation in separate fileAleksander Morgado2017-01-161-117/+66
|
* qmi-firmware-update: allow selecting firmware/config versions and carrierAleksander Morgado2017-01-161-2/+51
|
* qmi-firmware-update: allow selecting multiple image files to downloadAleksander Morgado2017-01-161-11/+31
|
* qmi-firmware-update: new QfuUpdater with the core upgrade logicAleksander Morgado2017-01-161-14/+46
| | | | Initially, load sysfs path and setup state machine.
* qmi-firmware-update: new tool skeletonAleksander Morgado2017-01-161-0/+237