You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
edl.py in its old revison (at 31d71f8) mostly works as far as USB concerned (XML error is not relevant to this case, but the communication in both Sahara and Firehose protocols works fine).
Script started on Sun Nov 21 23:32:27 2021
Command: ktrace -f /tmp/edl-master-31d71f88.trace python edl.py -printgpt
Qualcomm Sahara / Firehose Client (c) B.Kerler 2018-2019.
Trying with loaders in Loader directory ...
Waiting for the device
Device detected :)
Mode detected: Firehose
TargetName=MSM8909
MemoryName=eMMC
Version=1
Reading from physical partition 0, sector 0, sectors 32
Traceback (most recent call last):
File "edl.py", line 419, in <module>
main()
File "edl.py", line 197, in main
data = fh.cmd_read_buffer(args.lun, 0, 0x4000 // cfg.SECTOR_SIZE_IN_BYTES)
File "/usr/home/saper/sw/edl/Library/firehose.py", line 241, in cmd_read_buffer
rsp=self.xmlsend(data)
File "/usr/home/saper/sw/edl/Library/firehose.py", line 73, in xmlsend
resp = self.xml.getresponse(data)
File "/usr/home/saper/sw/edl/Library/firehose.py", line 16, in getresponse
tree = ET.fromstring(line, parser=parser)
File "/usr/local/lib/python3.8/xml/etree/ElementTree.py", line 1320, in XML
parser.feed(text)
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 1, column 5
Command exit status: 1
Script done on Sun Nov 21 23:32:31 2021
The timeout problem is not a real timeout, the error is returned immediately; attempting to increase it does not mostly change things.
Since troubleshooting it requires wading through USB libraries, I have also traced all system calls issued by edl.py. All versions of edl tested in the same virtualenv set up with requirements.txt of the master version - 0cc421a).
I am trying to talk to Nokia 8110 4G using FreeBSD using edl with
master
at 0cc421a or 3.52.1 or 3.1 releases:edl.py in its old revison (at 31d71f8) mostly works as far as USB concerned (XML error is not relevant to this case, but the communication in both Sahara and Firehose protocols works fine).
The timeout problem is not a real timeout, the error is returned immediately; attempting to increase it does not mostly change things.
Since troubleshooting it requires wading through USB libraries, I have also traced all system calls issued by
edl.py
. All versions of edl tested in the same virtualenv set up withrequirements.txt
of the master version - 0cc421a).I have published detailed logs and traces at https://github.com/saper/edl-timeout-issue
The text was updated successfully, but these errors were encountered: