linux-msm / qdl

BSD 3-Clause "New" or "Revised" License
196 stars 76 forks source link

APQ8016 EDL #19

Closed jwinarske closed 3 years ago

jwinarske commented 3 years ago

Attempting to use qdl 3c0405c03d427d7adfc70ae25abdcfdd4107bec8 with APQ8016 - DB410c.

Device enumeration: Bus 007 Device 027: ID 05c6:9008 Qualcomm, Inc. Gobi Wireless Modem (QDL mode)

Using dragonboard-410c-bootloader-emmc-linux-159.zip I issue: sudo /b/qdl/qdl prog_emmc_firehose_8916.mbn rawprogram0.xml patch0.xml

It just returns fairly quick, and says nothing.

strace log

log tail

ioctl(4, USBDEVFS_IOCTL, 0x7ffc02ac36f0) = -1 ENODATA (No data available)
ioctl(4, USBDEVFS_CLAIMINTERFACE, 0x7ffc02ac36cc) = 0
openat(AT_FDCWD, "prog_emmc_firehose_8916.mbn", O_RDONLY) = 3
ioctl(4, USBDEVFS_BULK, 0x7ffc02ac25d0) = -1 ETIMEDOUT (Connection timed out)

Does prog_emmc_firehose_8916.mbn require an update to work with master?

I'm running this on Fedora 33. I'll try it on Ubuntu 18 as well.

jwinarske commented 3 years ago

The first qdl_read in sahara_run is timing out. It's not getting a response from the target when it's in EDL mode, and timing out without error or warning.

jwinarske commented 3 years ago

Same issue on Fedora 33 and Ubuntu 18. I stopped ModemManager on each. What am I missing? @ndechesne @lumag

jwinarske commented 3 years ago

Well I didn't cycle the USB after turning off ModemManager, so SoC was confused. After power cycling SoC it worked as expected on Ubuntu 18.

jwinarske commented 3 years ago

also confirmed to work on Fedora 33. Test were all run on master as of today.

CyberTailor commented 1 year ago

Getting "23: Connection timed out"