History log of /external/rmi4utils/rmi4update/rmi4update.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4d02a56e9ec4a0d6e9366479552085d91d72f133 16-Oct-2015 Andrew Duggan <aduggan@synaptics.com> UPSTREAM: rmi4update: remove redundant include of alloca.h

(cherry picked from commit cf807718a2a6802475be33bff400835d447e5bff)
Signed-off-by: Benson Leung <bleung@google.com>

Bug: 24809436

Change-Id: I3bdd5c1b4aca08c9ed8fa524472bdb52285be125
/external/rmi4utils/rmi4update/rmi4update.cpp
bfe164f231db37ecb98321a50f1850f78bd98979 12-Oct-2015 Andrew Duggan <aduggan@synaptics.com> UPSTREAM: rmi4update: fix uninitialized variable warning

Signed-off-by: Benson Leung <bleung@google.com>

Bug: 24809436

(cherry picked from commit 757b6f6c072b023dd42d71dfb65417987a611234)

Change-Id: I57d6cd10f0d775fc4dfdbe51fd8b76ba4038eef6
/external/rmi4utils/rmi4update/rmi4update.cpp
83b0e1f8585ba596514405fc11bbd10786ce8d93 12-Oct-2015 Andrew Duggan <aduggan@synaptics.com> UPSTREAM: rmi4update: Optimize writing firmware blocks

Most HID devices allow appending the reflash command to the end of the firmware
block. This avoids sending a second report with the just the command. Also, after
the block is written HID devices send an attention report. Only read the F34 control
registers if waiting for that attention report times out.

Signed-off-by: Benson Leung <bleung@google.com>

Bug: 24809436

(cherry picked from commit 76743e425429076626df483691ce7abe563abd81)

Change-Id: I0a3276d77605843cbb6ddec221320a6048d7b925
/external/rmi4utils/rmi4update/rmi4update.cpp
0e21a041af44993cf124c4cd5553bcb9959fce56 10-Sep-2015 Andrew Duggan <aduggan@synaptics.com> rmi4update: Check that Read() and Write() return exactly the expected amount.
/external/rmi4utils/rmi4update/rmi4update.cpp
69b31fb402f3a630ab249ab374224767156188c9 08-Sep-2015 Andrew de los Reyes <adlr@google.com> rmi4update: massively speed up update when no update needed
/external/rmi4utils/rmi4update/rmi4update.cpp
fd23c027cf8165d77a9ffa80f1ec83562d88b9e8 05-Sep-2015 Andrew de los Reyes <adlr@google.com> rmi4update: Check Read() and Write() return lengths

Addresses security concern:

All users of Read and Write fail to check for return value being equal
to desired write size (only look for <0, not a size >= 0 but less than
expected). This can lead to all kinds of corruption or overflows.
/external/rmi4utils/rmi4update/rmi4update.cpp
1129d67c8fa6c511d5d71df8a0e288235b7e5760 24-Jun-2015 Andrew Duggan <aduggan@synaptics.com> Reset and rebind the driver even if update fails
/external/rmi4utils/rmi4update/rmi4update.cpp
f2e021fd2d2411e5aa704bf314558ddcf199a2b7 07-May-2015 Andrew Duggan <aduggan@synaptics.com> Rebind the driver when switching between bootloader and UI in case the size of input reports changed

If the firmware configuration has changed then the size of input reports between the
bootloader and the UI may be different. Forcing a rebind of the driver when switching modes
will update the transport drivers of the new input report size.
/external/rmi4utils/rmi4update/rmi4update.cpp
bef9c2dd3bfbe71b75f59c0dba08402414e008a2 07-May-2015 Andrew Duggan <aduggan@synaptics.com> Allow rebinding of the transport device to force a reload of the HID descriptors

In some cases during firmware update the size of the input reports can change
this commit allows for the unbinding and rebinding of the transport HID device to force
a reload of the HID descriptors so that the new size if read by the HID transport
drivers.
/external/rmi4utils/rmi4update/rmi4update.cpp
5597d1e03907ef7a2e130755baf20ee996bf85bb 16-Mar-2015 Andrew Duggan <aduggan@synaptics.com> Add error message when the tool refuses to update the device if the firmware image is not newer then the firmware on the device
/external/rmi4utils/rmi4update/rmi4update.cpp
dc8385559de574637738ab6d120e12e27e569a55 11-Nov-2014 Andrew Duggan <andrew.duggan@gmail.com> Disable all interrupts not related to the update process before entering flash programming
/external/rmi4utils/rmi4update/rmi4update.cpp
dca0efccd6af2dbe14937f8560c434180c10a567 10-Nov-2014 Andrew Duggan <aduggan@synaptics.com> Check the interrupt sources in WaitforIdle to ensure F34 generated the interrupt
/external/rmi4utils/rmi4update/rmi4update.cpp
a0b675a6bb76681a4c1a341a0772cdbe5a04b286 29-Sep-2014 Satoshi Noguchi <satoshi.noguchi@jp.synaptics.com> Add lockdown command line option
/external/rmi4utils/rmi4update/rmi4update.cpp
050db0e7ec3ac2dfd73e807d307331662d4a8cc1 29-Jul-2014 Andrew Duggan <aduggan@synaptics.com> Restructure firmware_image so that the firmware image checksum gets check before reading from the
device. Also, merge the extract header and initialize functions.
/external/rmi4utils/rmi4update/rmi4update.cpp
a90829bd42fc7c0dc5e901376397ef22aa9b09a4 23-May-2014 Andrew Duggan <aduggan@synaptics.com> Add support for v6 bootloaders and RMI F34 version 1
/external/rmi4utils/rmi4update/rmi4update.cpp
621379159b3f9e095fdf8076330a33b55809a517 07-May-2014 Andrew Duggan <aduggan@synaptics.com> Keep going if attention times out, but print a message so that attn reports can be fixed otherwise it will be really slow. But, this will only happen if something is broken in the driver.
/external/rmi4utils/rmi4update/rmi4update.cpp
052556f215226db267e5e21d090c4555bba41704 16-Apr-2014 Andrew Duggan <aduggan@synaptics.com> Update copyright notices.
/external/rmi4utils/rmi4update/rmi4update.cpp
65e5553ace01906e5c0ac3a810afd552a2820acd 05-Apr-2014 Andrew Duggan <aduggan@synaptics.com> Implement timing, this time in microseconds.
/external/rmi4utils/rmi4update/rmi4update.cpp
72163587ac7cab93d0daca22a20a018dfa974633 04-Apr-2014 Andrew Duggan <aduggan@synaptics.com> Add support for compiling for Android.
/external/rmi4utils/rmi4update/rmi4update.cpp
4e811258783e0f1e0cdaf70e3bdb2069ce4f0465 04-Apr-2014 Andrew Duggan <aduggan@synaptics.com> Initial commit
/external/rmi4utils/rmi4update/rmi4update.cpp