QDL unable to flash image onto VOXL2
-
I have a VOXL2 stuck in EDL mode and I'm trying to follow the instructions from https://docs.modalai.com/voxl2-unbricking/#flash. When I run the qdl command it sees my board and seems to initialize all of the files it needs, but then seems to fail to actually open and write to the UFS partition. I can even navigate to the board's UFS volume at
/dev/bus/usb/001/004
and see a bunch of qti-*****.ext4 files, but QDL is failing. lsusb output and full qdl debug output below. Any advice would be appreciated, would like to have this board to test new SDK versions.$ lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 8087:0026 Intel Corp. Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$ sudo qdl --debug --storage ufs --include . prog_firehose_ddr.elf rawprogram_unsparse0.xml rawprogram1.xml rawprogram2.xml rawprogram3.xml rawprogram4.xml rawprogram5.xml patch0.xml patch1.xml patch2.xml patch3.xml patch4.xml patch5.xml HELLO version: 0x2 compatible: 0x1 max_len: 1024 mode: 0 READ64 image: 13 offset: 0x0 length: 0x40 READ64 image: 13 offset: 0x40 length: 0x310 READ64 image: 13 offset: 0x1000 length: 0x1000 READ64 image: 13 offset: 0x2000 length: 0xc48 READ64 image: 13 offset: 0x3000 length: 0x1000 READ64 image: 13 offset: 0x4000 length: 0x1000 READ64 image: 13 offset: 0x5000 length: 0x1000 READ64 image: 13 offset: 0x6000 length: 0x1000 READ64 image: 13 offset: 0x7000 length: 0x1000 READ64 image: 13 offset: 0x8000 length: 0x1000 READ64 image: 13 offset: 0x9000 length: 0x1000 READ64 image: 13 offset: 0xa000 length: 0x1000 READ64 image: 13 offset: 0xb000 length: 0x1000 READ64 image: 13 offset: 0xc000 length: 0x1000 READ64 image: 13 offset: 0xd000 length: 0x1000 READ64 image: 13 offset: 0xe000 length: 0x1000 READ64 image: 13 offset: 0xf000 length: 0x1000 READ64 image: 13 offset: 0x10000 length: 0x1000 READ64 image: 13 offset: 0x11000 length: 0x1000 READ64 image: 13 offset: 0x12000 length: 0x1000 READ64 image: 13 offset: 0x13000 length: 0x1000 READ64 image: 13 offset: 0x14000 length: 0x1000 READ64 image: 13 offset: 0x15000 length: 0x1000 READ64 image: 13 offset: 0x16000 length: 0x1000 READ64 image: 13 offset: 0x17000 length: 0x1000 READ64 image: 13 offset: 0x18000 length: 0x1000 READ64 image: 13 offset: 0x19000 length: 0x1000 READ64 image: 13 offset: 0x1a000 length: 0x1000 READ64 image: 13 offset: 0x1b000 length: 0x1000 READ64 image: 13 offset: 0x1c000 length: 0x1000 READ64 image: 13 offset: 0x1d000 length: 0x1000 READ64 image: 13 offset: 0x1e000 length: 0x1000 READ64 image: 13 offset: 0x1f000 length: 0x1000 READ64 image: 13 offset: 0x20000 length: 0x1000 READ64 image: 13 offset: 0x21000 length: 0x1000 READ64 image: 13 offset: 0x22000 length: 0x1000 READ64 image: 13 offset: 0x23000 length: 0x1000 READ64 image: 13 offset: 0x24000 length: 0x1000 READ64 image: 13 offset: 0x25000 length: 0x1000 READ64 image: 13 offset: 0x26000 length: 0x1000 READ64 image: 13 offset: 0x27000 length: 0x1000 READ64 image: 13 offset: 0x28000 length: 0x1000 READ64 image: 13 offset: 0x29000 length: 0x1000 READ64 image: 13 offset: 0x2a000 length: 0x1000 READ64 image: 13 offset: 0x2b000 length: 0x1000 READ64 image: 13 offset: 0x2c000 length: 0x1000 READ64 image: 13 offset: 0x2d000 length: 0x1000 READ64 image: 13 offset: 0x2e000 length: 0x1000 READ64 image: 13 offset: 0x2f000 length: 0x1000 READ64 image: 13 offset: 0x30000 length: 0x1000 READ64 image: 13 offset: 0x31000 length: 0x1000 READ64 image: 13 offset: 0x32000 length: 0x1000 READ64 image: 13 offset: 0x33000 length: 0x1000 READ64 image: 13 offset: 0x34000 length: 0x1000 READ64 image: 13 offset: 0x35000 length: 0x1000 READ64 image: 13 offset: 0x36000 length: 0x1000 READ64 image: 13 offset: 0x37000 length: 0x1000 READ64 image: 13 offset: 0x38000 length: 0x1000 READ64 image: 13 offset: 0x39000 length: 0x1000 READ64 image: 13 offset: 0x3a000 length: 0x1000 READ64 image: 13 offset: 0x3b000 length: 0x1000 READ64 image: 13 offset: 0x3c000 length: 0x1000 READ64 image: 13 offset: 0x3d000 length: 0x1000 READ64 image: 13 offset: 0x3e000 length: 0x1000 READ64 image: 13 offset: 0x3f000 length: 0x1000 READ64 image: 13 offset: 0x40000 length: 0x1000 READ64 image: 13 offset: 0x41000 length: 0x1000 READ64 image: 13 offset: 0x42000 length: 0x1000 READ64 image: 13 offset: 0x43000 length: 0x1000 READ64 image: 13 offset: 0x44000 length: 0x1000 READ64 image: 13 offset: 0x45000 length: 0x1000 READ64 image: 13 offset: 0x46000 length: 0x1000 READ64 image: 13 offset: 0x47000 length: 0x1000 READ64 image: 13 offset: 0x48000 length: 0x1000 READ64 image: 13 offset: 0x49000 length: 0x1000 READ64 image: 13 offset: 0x4a000 length: 0x1000 READ64 image: 13 offset: 0x4b000 length: 0x1000 READ64 image: 13 offset: 0x4c000 length: 0x1000 READ64 image: 13 offset: 0x4d000 length: 0x1000 READ64 image: 13 offset: 0x4e000 length: 0x1000 READ64 image: 13 offset: 0x4f000 length: 0x1000 READ64 image: 13 offset: 0x50000 length: 0x1000 READ64 image: 13 offset: 0x51000 length: 0x1000 READ64 image: 13 offset: 0x52000 length: 0x1000 READ64 image: 13 offset: 0x53000 length: 0x1000 READ64 image: 13 offset: 0x54000 length: 0x1000 READ64 image: 13 offset: 0x55000 length: 0x1000 READ64 image: 13 offset: 0x56000 length: 0x1000 READ64 image: 13 offset: 0x57000 length: 0x1000 READ64 image: 13 offset: 0x58000 length: 0x1000 READ64 image: 13 offset: 0x59000 length: 0x1000 READ64 image: 13 offset: 0x5a000 length: 0x1000 READ64 image: 13 offset: 0x5b000 length: 0x1000 READ64 image: 13 offset: 0x5c000 length: 0x1000 READ64 image: 13 offset: 0x5d000 length: 0x1000 READ64 image: 13 offset: 0x5e000 length: 0x1000 READ64 image: 13 offset: 0x5f000 length: 0x1000 READ64 image: 13 offset: 0x60000 length: 0x1000 READ64 image: 13 offset: 0x61000 length: 0x1000 READ64 image: 13 offset: 0x62000 length: 0x1000 READ64 image: 13 offset: 0x63000 length: 0x1000 READ64 image: 13 offset: 0x64000 length: 0x1000 READ64 image: 13 offset: 0x65000 length: 0x16c READ64 image: 13 offset: 0x65170 length: 0x1000 READ64 image: 13 offset: 0x66170 length: 0x1000 READ64 image: 13 offset: 0x67170 length: 0x1000 READ64 image: 13 offset: 0x68170 length: 0x1000 READ64 image: 13 offset: 0x69170 length: 0x1000 READ64 image: 13 offset: 0x6a170 length: 0x1000 READ64 image: 13 offset: 0x6b170 length: 0x1000 READ64 image: 13 offset: 0x6c170 length: 0x1000 READ64 image: 13 offset: 0x6d170 length: 0x1000 READ64 image: 13 offset: 0x6e170 length: 0x1000 READ64 image: 13 offset: 0x6f170 length: 0x1000 READ64 image: 13 offset: 0x70170 length: 0x1000 READ64 image: 13 offset: 0x71170 length: 0x6a0 READ64 image: 13 offset: 0x71810 length: 0x1000 READ64 image: 13 offset: 0x72810 length: 0x1000 READ64 image: 13 offset: 0x73810 length: 0x1000 READ64 image: 13 offset: 0x74810 length: 0x1000 READ64 image: 13 offset: 0x75810 length: 0x1000 READ64 image: 13 offset: 0x76810 length: 0x1000 READ64 image: 13 offset: 0x77810 length: 0x1000 READ64 image: 13 offset: 0x78810 length: 0x1000 READ64 image: 13 offset: 0x79810 length: 0x1000 READ64 image: 13 offset: 0x7a810 length: 0x1000 READ64 image: 13 offset: 0x7b810 length: 0x1000 READ64 image: 13 offset: 0x7c810 length: 0x1000 READ64 image: 13 offset: 0x7d810 length: 0x1000 READ64 image: 13 offset: 0x7e810 length: 0x1000 READ64 image: 13 offset: 0x7f810 length: 0x1000 READ64 image: 13 offset: 0x80810 length: 0x1000 READ64 image: 13 offset: 0x81810 length: 0xcc READ64 image: 13 offset: 0x818e0 length: 0x84 READ64 image: 13 offset: 0x81964 length: 0x1000 READ64 image: 13 offset: 0x82964 length: 0x1000 READ64 image: 13 offset: 0x83964 length: 0x1000 READ64 image: 13 offset: 0x84964 length: 0x1000 READ64 image: 13 offset: 0x85964 length: 0x1000 READ64 image: 13 offset: 0x86964 length: 0x1000 READ64 image: 13 offset: 0x87964 length: 0x1000 READ64 image: 13 offset: 0x88964 length: 0x134 READ64 image: 13 offset: 0x88a98 length: 0x1000 READ64 image: 13 offset: 0x89a98 length: 0x1000 READ64 image: 13 offset: 0x8aa98 length: 0x1000 READ64 image: 13 offset: 0x8ba98 length: 0x1000 READ64 image: 13 offset: 0x8ca98 length: 0x1000 READ64 image: 13 offset: 0x8da98 length: 0x1000 READ64 image: 13 offset: 0x8ea98 length: 0x3f0 READ64 image: 13 offset: 0x8ee88 length: 0x1000 READ64 image: 13 offset: 0x8fe88 length: 0x1000 READ64 image: 13 offset: 0x90e88 length: 0x1000 READ64 image: 13 offset: 0x91e88 length: 0x1000 READ64 image: 13 offset: 0x92e88 length: 0x1000 READ64 image: 13 offset: 0x93e88 length: 0x1000 READ64 image: 13 offset: 0x94e88 length: 0x3f0 READ64 image: 13 offset: 0x95278 length: 0x1000 READ64 image: 13 offset: 0x96278 length: 0x1000 READ64 image: 13 offset: 0x97278 length: 0x1000 READ64 image: 13 offset: 0x98278 length: 0x1000 READ64 image: 13 offset: 0x99278 length: 0x1000 READ64 image: 13 offset: 0x9a278 length: 0x1000 READ64 image: 13 offset: 0x9b278 length: 0x1000 READ64 image: 13 offset: 0x9c278 length: 0x1000 READ64 image: 13 offset: 0x9d278 length: 0x1000 READ64 image: 13 offset: 0x9e278 length: 0x1000 READ64 image: 13 offset: 0x9f278 length: 0x1000 READ64 image: 13 offset: 0xa0278 length: 0x1000 READ64 image: 13 offset: 0xa1278 length: 0x1000 READ64 image: 13 offset: 0xa2278 length: 0x1000 READ64 image: 13 offset: 0xa3278 length: 0x1000 READ64 image: 13 offset: 0xa4278 length: 0x1000 READ64 image: 13 offset: 0xa5278 length: 0x1000 READ64 image: 13 offset: 0xa6278 length: 0x1000 READ64 image: 13 offset: 0xa7278 length: 0x1000 READ64 image: 13 offset: 0xa8278 length: 0x1000 READ64 image: 13 offset: 0xa9278 length: 0x1000 READ64 image: 13 offset: 0xaa278 length: 0x1000 END OF IMAGE image: 13 status: 0 DONE status: 1 FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?> <data> <log value="INFO: Binary build date: Aug 17 2021 @ 23:37:37" /></data> LOG: INFO: Binary build date: Aug 17 2021 @ 23:37:37 FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?> <data> <log value="INFO: Binary build date: Aug 17 2021 @ 23:37:37 " /></data> LOG: INFO: Binary build date: Aug 17 2021 @ 23:37:37 FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?> <data> <log value="INFO: Chip serial num: 3335887085 (0xc6d598ed)" /></data> LOG: INFO: Chip serial num: 3335887085 (0xc6d598ed) FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?> <data> <log value="INFO: Supported Functions (15):" /></data> LOG: INFO: Supported Functions (15): FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?> <data> <log value="INFO: program" /></data> LOG: INFO: program FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?> <data> <log value="INFO: read" /></data> LOG: INFO: read FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?> <data> <log value="INFO: nop" /></data> LOG: INFO: nop FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?> <data> <log value="INFO: patch" /></data> LOG: INFO: patch FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?> <data> <log value="INFO: configure" /></data> LOG: INFO: configure FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?> <data> <log value="INFO: setbootablestoragedrive" /></data> LOG: INFO: setbootablestoragedrive FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?> <data> <log value="INFO: erase" /></data> LOG: INFO: erase FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?> <data> <log value="INFO: power" /></data> LOG: INFO: power FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?> <data> <log value="INFO: firmwarewrite" /></data> LOG: INFO: firmwarewrite FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?> <data> <log value="INFO: getstorageinfo" /></data> LOG: INFO: getstorageinfo FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?> <data> <log value="INFO: benchmark" /></data> LOG: INFO: benchmark FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?> <data> <log value="INFO: emmc" /></data> LOG: INFO: emmc FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?> <data> <log value="INFO: ufs" /></data> LOG: INFO: ufs FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?> <data> <log value="INFO: fixgpt" /></data> LOG: INFO: fixgpt FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?> <data> <log value="INFO: getsha256digest" /></data> LOG: INFO: getsha256digest FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?> <data> <log value="INFO: End of supported functions 15" /></data> LOG: INFO: End of supported functions 15 qdl: firehose operation timed out FIREHOSE WRITE: <?xml version="1.0"?> <data><configure MemoryName="ufs" MaxPayloadSizeToTargetInBytes="1048576" verbose="0" ZLPAwareHost="1" SkipStorageInit="0"/></data> FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?> <data> <log value="INFO: Calling handler for configure" /></data> LOG: INFO: Calling handler for configure FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?> <data> <log value="INFO: Storage type set to value UFS" /></data> LOG: INFO: Storage type set to value UFS FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?> <data> <response value="ACK" MemoryName="UFS" MinVersionSupported="1" Version="1" MaxPayloadSizeToTargetInBytes="1048576" MaxPayloadSizeToTargetInBytesSupported="1048576" MaxXMLSizeInBytes="4096" DateTime="Aug 17 2021 - 23:37:37" /></data> [CONFIGURE] max payload size: 1048576 FIREHOSE WRITE: <?xml version="1.0"?> <data><program SECTOR_SIZE_IN_BYTES="4096" num_partition_sectors="32776" physical_partition_number="0" start_sector="3154440" filename="qti-ubuntu-robotics-image-qrb5165-rb5-sysfs_1.ext4"/></data> FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?> <data> <log value="INFO: Calling handler for program" /></data> LOG: INFO: Calling handler for program FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?> <data> <log value="ERROR: Failed to initialize (open whole lun) UFS Device slot 0 partition 0" /></data> LOG: ERROR: Failed to initialize (open whole lun) UFS Device slot 0 partition 0 FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?> <data> <log value="ERROR: Failed to open the device:3 slot:0 partition:0 error:0" /></data> LOG: ERROR: Failed to open the device:3 slot:0 partition:0 error:0 FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?> <data> <log value="ERROR: OPEN handle NULL and no error, weird 344489460" /></data> LOG: ERROR: OPEN handle NULL and no error, weird 344489460 FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?> <data> <log value="ERROR: Failed to open device, type:UFS, slot:0, lun:0 error:3" /></data> LOG: ERROR: Failed to open device, type:UFS, slot:0, lun:0 error:3 FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?> <data> <response value="NAK" rawmode="false" /></data> [PROGRAM] failed to setup programming
-
Hey @brycek
I don't think the device is showing up as a device qdl can see? I'd expect a device to show up under lsusb command but I don't see one...
Can you try USBC to USBA cable if not using that? Try native Ubuntu if possible as host PC as well.... I've had issues with VMs if that's what you're using.
-
@modaltb oh, duh, I didn't actually have it plugged in when I generated the output for the post. here it is:
$ lsusb Bus 002 Device 024: ID 05c6:9008 Qualcomm, Inc. Gobi Wireless Modem (QDL mode) Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 8087:0026 Intel Corp. Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
I am using a VM, but I have the same problem on a native Ubuntu 20.04 machine as well. Same device in lsusb, and same error prints from QDL.
-
@modaltb Any other troubleshooting thoughts you can think of? Would be nice to not have to write off this board,,
-
@brycek sorry was OoO last week, I just tried this on a fresh 20.04 and am hitting a snag as well, let me get someone to take a look at this and see what's going on. I normally see "QUSB_BULK..." enumerate and not
Gobi Wireless Modem
which makes me thing it's something to do with USB identification of sorts. -
I am having similar issues for RB5.
$ sudo qdl --debug --storage ufs --include . prog_firehose_ddr.elf rawprogram_unsparse0.xml rawprogram1.xml rawprogram2.xml rawprogram3.xml rawprogram4.xml rawprogram5.xml patch0.xml patch1.xml patch2.xml patch3.xml patch4.xml patch5.xml
HELLO version: 0x2 compatible: 0x1 max_len: 1024 mode: 0
READ64 image: 13 offset: 0x0 length: 0x40
READ64 image: 13 offset: 0x40 length: 0x348
READ64 image: 13 offset: 0x1000 length: 0x1000
READ64 image: 13 offset: 0x2000 length: 0xc78
READ64 image: 13 offset: 0x3000 length: 0x1000
READ64 image: 13 offset: 0x4000 length: 0x1000
READ64 image: 13 offset: 0x5000 length: 0x1000
READ64 image: 13 offset: 0x6000 length: 0x1000
READ64 image: 13 offset: 0x7000 length: 0x1000
READ64 image: 13 offset: 0x8000 length: 0x1000
READ64 image: 13 offset: 0x9000 length: 0x1000
READ64 image: 13 offset: 0xa000 length: 0x1000
READ64 image: 13 offset: 0xb000 length: 0x1000
READ64 image: 13 offset: 0xc000 length: 0x1000
READ64 image: 13 offset: 0xd000 length: 0x1000
READ64 image: 13 offset: 0xe000 length: 0x1000
READ64 image: 13 offset: 0xf000 length: 0x1000
READ64 image: 13 offset: 0x10000 length: 0x1000
READ64 image: 13 offset: 0x11000 length: 0x1000
READ64 image: 13 offset: 0x12000 length: 0x1000
READ64 image: 13 offset: 0x13000 length: 0x1000
READ64 image: 13 offset: 0x14000 length: 0x1000
READ64 image: 13 offset: 0x15000 length: 0x1000
READ64 image: 13 offset: 0x16000 length: 0x1000
READ64 image: 13 offset: 0x17000 length: 0x1000
READ64 image: 13 offset: 0x18000 length: 0x1000
READ64 image: 13 offset: 0x19000 length: 0x1000
READ64 image: 13 offset: 0x1a000 length: 0x1000
READ64 image: 13 offset: 0x1b000 length: 0x1000
READ64 image: 13 offset: 0x1c000 length: 0x1000
READ64 image: 13 offset: 0x1d000 length: 0x1000
READ64 image: 13 offset: 0x1e000 length: 0x1000
READ64 image: 13 offset: 0x1f000 length: 0x1000
READ64 image: 13 offset: 0x20000 length: 0x1000
READ64 image: 13 offset: 0x21000 length: 0x1000
READ64 image: 13 offset: 0x22000 length: 0x1000
READ64 image: 13 offset: 0x23000 length: 0x1000
READ64 image: 13 offset: 0x24000 length: 0x1000
READ64 image: 13 offset: 0x25000 length: 0x1000
READ64 image: 13 offset: 0x26000 length: 0x1000
READ64 image: 13 offset: 0x27000 length: 0x1000
READ64 image: 13 offset: 0x28000 length: 0x1000
READ64 image: 13 offset: 0x29000 length: 0x1000
READ64 image: 13 offset: 0x2a000 length: 0x1000
READ64 image: 13 offset: 0x2b000 length: 0x1000
READ64 image: 13 offset: 0x2c000 length: 0x1000
READ64 image: 13 offset: 0x2d000 length: 0x1000
READ64 image: 13 offset: 0x2e000 length: 0x1000
READ64 image: 13 offset: 0x2f000 length: 0x1000
READ64 image: 13 offset: 0x30000 length: 0x1000
READ64 image: 13 offset: 0x31000 length: 0x1000
READ64 image: 13 offset: 0x32000 length: 0x1000
READ64 image: 13 offset: 0x33000 length: 0x1000
READ64 image: 13 offset: 0x34000 length: 0x1000
READ64 image: 13 offset: 0x35000 length: 0x1000
READ64 image: 13 offset: 0x36000 length: 0x1000
READ64 image: 13 offset: 0x37000 length: 0x1000
READ64 image: 13 offset: 0x38000 length: 0x1000
READ64 image: 13 offset: 0x39000 length: 0x1000
READ64 image: 13 offset: 0x3a000 length: 0x1000
READ64 image: 13 offset: 0x3b000 length: 0x1000
READ64 image: 13 offset: 0x3c000 length: 0x1000
READ64 image: 13 offset: 0x3d000 length: 0x1000
READ64 image: 13 offset: 0x3e000 length: 0x1000
READ64 image: 13 offset: 0x3f000 length: 0x1000
READ64 image: 13 offset: 0x40000 length: 0x1000
READ64 image: 13 offset: 0x41000 length: 0x1000
READ64 image: 13 offset: 0x42000 length: 0x1000
READ64 image: 13 offset: 0x43000 length: 0x1000
READ64 image: 13 offset: 0x44000 length: 0x1000
READ64 image: 13 offset: 0x45000 length: 0x1000
READ64 image: 13 offset: 0x46000 length: 0x1000
READ64 image: 13 offset: 0x47000 length: 0x1000
READ64 image: 13 offset: 0x48000 length: 0x1000
READ64 image: 13 offset: 0x49000 length: 0x1000
READ64 image: 13 offset: 0x4a000 length: 0x1000
READ64 image: 13 offset: 0x4b000 length: 0x1000
READ64 image: 13 offset: 0x4c000 length: 0x1000
READ64 image: 13 offset: 0x4d000 length: 0x1000
READ64 image: 13 offset: 0x4e000 length: 0x1000
READ64 image: 13 offset: 0x4f000 length: 0x1000
READ64 image: 13 offset: 0x50000 length: 0x1000
READ64 image: 13 offset: 0x51000 length: 0x1000
READ64 image: 13 offset: 0x52000 length: 0x1000
READ64 image: 13 offset: 0x53000 length: 0x1000
READ64 image: 13 offset: 0x54000 length: 0x1000
READ64 image: 13 offset: 0x55000 length: 0x1000
READ64 image: 13 offset: 0x56000 length: 0x1000
READ64 image: 13 offset: 0x57000 length: 0x1000
READ64 image: 13 offset: 0x58000 length: 0x1000
READ64 image: 13 offset: 0x59000 length: 0x1000
READ64 image: 13 offset: 0x5a000 length: 0x1000
READ64 image: 13 offset: 0x5b000 length: 0x1000
READ64 image: 13 offset: 0x5c000 length: 0x1000
READ64 image: 13 offset: 0x5d000 length: 0x1000
READ64 image: 13 offset: 0x5e000 length: 0x1000
READ64 image: 13 offset: 0x5f000 length: 0x1000
READ64 image: 13 offset: 0x60000 length: 0x1000
READ64 image: 13 offset: 0x61000 length: 0x1000
READ64 image: 13 offset: 0x62000 length: 0x1000
READ64 image: 13 offset: 0x63000 length: 0x1000
READ64 image: 13 offset: 0x64000 length: 0x62c
READ64 image: 13 offset: 0x64630 length: 0x1000
READ64 image: 13 offset: 0x65630 length: 0x1000
READ64 image: 13 offset: 0x66630 length: 0x1000
READ64 image: 13 offset: 0x67630 length: 0x1000
READ64 image: 13 offset: 0x68630 length: 0x1000
READ64 image: 13 offset: 0x69630 length: 0x1000
READ64 image: 13 offset: 0x6a630 length: 0x1000
READ64 image: 13 offset: 0x6b630 length: 0x1000
READ64 image: 13 offset: 0x6c630 length: 0x1000
READ64 image: 13 offset: 0x6d630 length: 0x1000
READ64 image: 13 offset: 0x6e630 length: 0x1000
READ64 image: 13 offset: 0x6f630 length: 0x1000
READ64 image: 13 offset: 0x70630 length: 0x550
READ64 image: 13 offset: 0x70b80 length: 0x1000
READ64 image: 13 offset: 0x71b80 length: 0x1000
READ64 image: 13 offset: 0x72b80 length: 0x1000
READ64 image: 13 offset: 0x73b80 length: 0x1000
READ64 image: 13 offset: 0x74b80 length: 0x1000
READ64 image: 13 offset: 0x75b80 length: 0x1000
READ64 image: 13 offset: 0x76b80 length: 0x1000
READ64 image: 13 offset: 0x77b80 length: 0x1000
READ64 image: 13 offset: 0x78b80 length: 0x1000
READ64 image: 13 offset: 0x79b80 length: 0x1000
READ64 image: 13 offset: 0x7ab80 length: 0x1000
READ64 image: 13 offset: 0x7bb80 length: 0x1000
READ64 image: 13 offset: 0x7cb80 length: 0x1000
READ64 image: 13 offset: 0x7db80 length: 0x1000
READ64 image: 13 offset: 0x7eb80 length: 0x1000
READ64 image: 13 offset: 0x7fb80 length: 0x1000
READ64 image: 13 offset: 0x80b80 length: 0xcc
READ64 image: 13 offset: 0x80c50 length: 0xac
READ64 image: 13 offset: 0x80cfc length: 0x1000
READ64 image: 13 offset: 0x81cfc length: 0x1000
READ64 image: 13 offset: 0x82cfc length: 0x1000
READ64 image: 13 offset: 0x83cfc length: 0x1000
READ64 image: 13 offset: 0x84cfc length: 0x1000
READ64 image: 13 offset: 0x85cfc length: 0x1000
READ64 image: 13 offset: 0x86cfc length: 0x1000
READ64 image: 13 offset: 0x87cfc length: 0x1000
READ64 image: 13 offset: 0x88cfc length: 0x1000
READ64 image: 13 offset: 0x89cfc length: 0x72c
READ64 image: 13 offset: 0x8a428 length: 0x1000
READ64 image: 13 offset: 0x8b428 length: 0x1000
READ64 image: 13 offset: 0x8c428 length: 0x1000
READ64 image: 13 offset: 0x8d428 length: 0x1000
READ64 image: 13 offset: 0x8e428 length: 0x1000
READ64 image: 13 offset: 0x8f428 length: 0xbf0
READ64 image: 13 offset: 0x90018 length: 0x1000
READ64 image: 13 offset: 0x91018 length: 0x1000
READ64 image: 13 offset: 0x92018 length: 0x1000
READ64 image: 13 offset: 0x93018 length: 0x1000
READ64 image: 13 offset: 0x94018 length: 0x1000
READ64 image: 13 offset: 0x95018 length: 0xbf0
READ64 image: 13 offset: 0x95c08 length: 0x1000
READ64 image: 13 offset: 0x96c08 length: 0x1000
READ64 image: 13 offset: 0x97c08 length: 0x1000
READ64 image: 13 offset: 0x98c08 length: 0x1000
READ64 image: 13 offset: 0x99c08 length: 0x1000
READ64 image: 13 offset: 0x9ac08 length: 0xbf0
READ64 image: 13 offset: 0x9b7f8 length: 0x1000
READ64 image: 13 offset: 0x9c7f8 length: 0x1000
READ64 image: 13 offset: 0x9d7f8 length: 0x1000
READ64 image: 13 offset: 0x9e7f8 length: 0x1000
READ64 image: 13 offset: 0x9f7f8 length: 0x1000
READ64 image: 13 offset: 0xa07f8 length: 0x1000
READ64 image: 13 offset: 0xa17f8 length: 0x1000
READ64 image: 13 offset: 0xa27f8 length: 0x1000
READ64 image: 13 offset: 0xa37f8 length: 0x1000
READ64 image: 13 offset: 0xa47f8 length: 0x1000
READ64 image: 13 offset: 0xa57f8 length: 0x1000
READ64 image: 13 offset: 0xa67f8 length: 0x1000
READ64 image: 13 offset: 0xa77f8 length: 0x1000
READ64 image: 13 offset: 0xa87f8 length: 0x1000
READ64 image: 13 offset: 0xa97f8 length: 0x1000
READ64 image: 13 offset: 0xaa7f8 length: 0x1000
READ64 image: 13 offset: 0xab7f8 length: 0x1000
READ64 image: 13 offset: 0xac7f8 length: 0x1000
READ64 image: 13 offset: 0xad7f8 length: 0x1000
READ64 image: 13 offset: 0xae7f8 length: 0x1000
READ64 image: 13 offset: 0xaf7f8 length: 0x1000
READ64 image: 13 offset: 0xb07f8 length: 0x1000
END OF IMAGE image: 13 status: 0
DONE status: 1
FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: Binary build date: Apr 14 2021 @ 04:09:57" /></data>
LOG: INFO: Binary build date: Apr 14 2021 @ 04:09:57
FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: Binary build date: Apr 14 2021 @ 04:09:57
" /></data>
LOG: INFO: Binary build date: Apr 14 2021 @ 04:09:57
FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: Chip serial num: 1469368341 (0x5794c815)" /></data>
LOG: INFO: Chip serial num: 1469368341 (0x5794c815)
FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: Supported Functions (15):" /></data>
LOG: INFO: Supported Functions (15):
FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: program" /></data>
LOG: INFO: program
FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: read" /></data>
LOG: INFO: read
FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: nop" /></data>
LOG: INFO: nop
FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: patch" /></data>
LOG: INFO: patch
FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: configure" /></data>
LOG: INFO: configure
FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: setbootablestoragedrive" /></data>
LOG: INFO: setbootablestoragedrive
FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: erase" /></data>
LOG: INFO: erase
FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: power" /></data>
LOG: INFO: power
FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: firmwarewrite" /></data>
LOG: INFO: firmwarewrite
FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: getstorageinfo" /></data>
LOG: INFO: getstorageinfo
FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: benchmark" /></data>
LOG: INFO: benchmark
FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: emmc" /></data>
LOG: INFO: emmc
FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: ufs" /></data>
LOG: INFO: ufs
FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: fixgpt" /></data>
LOG: INFO: fixgpt
FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: getsha256digest" /></data>
LOG: INFO: getsha256digest
FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: End of supported functions 15" /></data>
LOG: INFO: End of supported functions 15
qdl: firehose operation timed out
FIREHOSE WRITE: <?xml version="1.0"?>
<data><configure MemoryName="ufs" MaxPayloadSizeToTargetInBytes="1048576" verbose="0" ZLPAwareHost="1" SkipStorageInit="0"/></data>FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: Calling handler for configure" /></data>
LOG: INFO: Calling handler for configure
FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: Storage type set to value UFS" /></data>
LOG: INFO: Storage type set to value UFS
FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?>
<data>
<response value="ACK" MemoryName="UFS" MinVersionSupported="1" Version="1" MaxPayloadSizeToTargetInBytes="1048576" MaxPayloadSizeToTargetInBytesSupported="1048576" MaxXMLSizeInBytes="4096" DateTime="Apr 14 2021 - 04:09:57" /></data>
[CONFIGURE] max payload size: 1048576
FIREHOSE WRITE: <?xml version="1.0"?>
<data><program SECTOR_SIZE_IN_BYTES="4096" num_partition_sectors="32776" physical_partition_number="0" start_sector="3154440" filename="qti-ubuntu-robotics-image-qrb5165-rb5-sysfs_1.ext4"/></data>FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: Calling handler for program" /></data>
LOG: INFO: Calling handler for program
FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?>
<data>
<response value="ACK" rawmode="true" /></data>
ERROR: n = -1, errno = 108 (Cannot send after transport endpoint shutdown)
qdl: failed to write: Cannot send after transport endpoint shutdown -
Hey @user887
I attempted to QDL flash a "golden unit" rb5 but wasn't able to replicate the error you're experiencing. I would remove and reattach the SOM ensuring there isn't a loose connection to the rb5 board, remove any cameras or connectors, and trying a different USB cable in the case of a loose connection between the USB cable and rb5.
Hope these tips help!