diff options
author | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2017-07-19 00:56:25 +0200 |
---|---|---|
committer | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2017-07-19 01:28:33 +0200 |
commit | 63058d5bdb8a50fe650a7b91f6c6e29bdaf583b9 (patch) | |
tree | 8f6421038b0ff586cc0e99981ed35109c55cc736 /i9305.h | |
parent | 9af74e1e2707bee3dcbf1008682566d330418d8a (diff) | |
download | i9305_modem-63058d5bdb8a50fe650a7b91f6c6e29bdaf583b9.zip i9305_modem-63058d5bdb8a50fe650a7b91f6c6e29bdaf583b9.tar.gz i9305_modem-63058d5bdb8a50fe650a7b91f6c6e29bdaf583b9.tar.bz2 |
various fixes and improvements, mostly for EFS sync
EFS data is sometimes successfully received and the modem stays online
because the reset after the sync works (even if the EFS sync itself
fails). EFS data is not yet written to the partition. This needs to be
implemented.
When EFS data is read, timeouts are now checked and the data is read
in chunks which mirrors the behaviour of the kickstart tool. Strangely
enough, occasionally after receiving the first package, that is below
the maximum size, a timeout happens and the complete data is never
received during all runs. Either the modem is not sending the complete
data for whatever reason or there is still something wrong with the
command chain.
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
Diffstat (limited to 'i9305.h')
-rw-r--r-- | i9305.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -28,6 +28,7 @@ #define WAIT_FOR_RESTART _IOR(CHARM_CODE, 7, int) #define MAX_DATA_SEND_SIZE 1*1024*1024 +#define MAX_MEMORY_CHUNK_SIZE 16383 // files to upload #define FILE_APPS "/firmware/image/apps.mbn" |