Inforce Computing Forums

inforce computing forums to discuss about inforce products

Unable to use APQ8096_qdl_recovery_package

Questions and discussions related to Inforce 6640 Micro SBC

by raphaelchenouard » Sat Mar 09, 2019 3:18 am

I followed the instructions from the documentation and change the boot configuration switches.
On my host PC with ubuntu, I have this peripheral listed with lsusb:
Code: Select all
Bus 001 Device 021: ID 05c6:9008 Qualcomm, Inc. Gobi Wireless Modem (QDL mode)

After compiling qdl tool and running it I don't get the expected message:
Code: Select all
$ sudo ../qdl/qdl prog_ufs_firehose_8996_ddr.elf rawprogram.xml patch.xml --debug
HELLO version: 0x2 compatible: 0x1 max_len: 1024 mode: 0
READ64 image: 13 offset: 0x0 length: 0x40
READ64 image: 13 offset: 0x40 length: 0x230
READ64 image: 13 offset: 0x1000 length: 0x168
READ64 image: 13 offset: 0x2000 length: 0x1000
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: 0x978
READ64 image: 13 offset: 0x53980 length: 0x1000
READ64 image: 13 offset: 0x54980 length: 0x1000
READ64 image: 13 offset: 0x55980 length: 0x1000
READ64 image: 13 offset: 0x56980 length: 0x1000
READ64 image: 13 offset: 0x57980 length: 0x1000
READ64 image: 13 offset: 0x58980 length: 0x1000
READ64 image: 13 offset: 0x59980 length: 0xe68
READ64 image: 13 offset: 0x5a7f0 length: 0x1000
READ64 image: 13 offset: 0x5b7f0 length: 0x1000
READ64 image: 13 offset: 0x5c7f0 length: 0x7f0
READ64 image: 13 offset: 0x5cfe0 length: 0x1000
READ64 image: 13 offset: 0x5dfe0 length: 0x1000
READ64 image: 13 offset: 0x5efe0 length: 0x1000
READ64 image: 13 offset: 0x5ffe0 length: 0x1000
READ64 image: 13 offset: 0x60fe0 length: 0x1d0
READ64 image: 13 offset: 0x611b0 length: 0x1000
READ64 image: 13 offset: 0x621b0 length: 0x1000
READ64 image: 13 offset: 0x631b0 length: 0x1000
READ64 image: 13 offset: 0x641b0 length: 0x1000
READ64 image: 13 offset: 0x651b0 length: 0x1000
READ64 image: 13 offset: 0x661b0 length: 0x1000
READ64 image: 13 offset: 0x671b0 length: 0x1000
READ64 image: 13 offset: 0x681b0 length: 0x1000
READ64 image: 13 offset: 0x691b0 length: 0x1000
READ64 image: 13 offset: 0x6a1b0 length: 0x1000
READ64 image: 13 offset: 0x6b1b0 length: 0x1000
READ64 image: 13 offset: 0x6c1b0 length: 0x1000
READ64 image: 13 offset: 0x6d1b0 length: 0xff4
END OF IMAGE image: 13 status: 0
DONE status: 1
qdl: failed to read: Connection timed out
FIREHOSE WRITE: <?xml version="1.0"?>
<data><configure MemoryName="ufs" MaxPayloadSizeToTargetInBytes="1048576" verbose="0" ZLPAwareHost="1" SkipStorageInit="0"/></data>


I don't know what I am doing wrong. If I try to boot in fastboot mode, I'm not able to flash any android image because of the partition table (I have linux on the UFS), whereas I'm able to flash the linux image!
raphaelchenouard
 
Posts: 7
Joined: Thu Nov 22, 2018 1:51 am

by ashwin » Fri Mar 22, 2019 5:31 am

Hi,

Can you please share logs of the flashing process. Where exactly does it fail?

Regards,
Ashwin
ashwin
 
Posts: 64
Joined: Wed Jul 01, 2015 10:07 pm

by raphaelchenouard » Wed Apr 03, 2019 12:44 am

Hi,

Thanks for answering me.
There is no proper log, but here is the console output when flashing android:
Code: Select all
> $ sh flashall.sh
Upgrading device
Erasing 'modem'                                    OKAY [  0.019s]
Finished. Total time: 0.044s
Sending 'modem' (39308 KB)                         OKAY [  1.079s]
Writing 'modem'                                    OKAY [  0.270s]
Finished. Total time: 1.378s
Erasing 'aboot'                                    OKAY [  0.019s]
Finished. Total time: 0.046s
Sending 'aboot' (778 KB)                           OKAY [  0.047s]
Writing 'aboot'                                    OKAY [  0.027s]
Finished. Total time: 0.102s
Erasing 'mdtp'                                     OKAY [  0.019s]
Finished. Total time: 0.051s
Sending 'mdtp' (17390 KB)                          OKAY [  0.518s]
Writing 'mdtp'                                     OKAY [  0.130s]
Finished. Total time: 0.676s
Erasing 'boot'                                     OKAY [  0.019s]
Finished. Total time: 0.049s
Sending 'boot' (57205 KB)                          OKAY [  1.609s]
Writing 'boot'                                     OKAY [  0.381s]
Finished. Total time: 2.020s
Erasing 'system'                                   FAILED (remote: 'Partition table doesn't exist
')
Finished. Total time: 0.051s
Sending sparse 'system' 1/4 (522568 KB)            OKAY [ 15.331s]
Writing sparse 'system' 1/4                        FAILED (remote: 'partition table doesn't exist')
Finished. Total time: 15.932s
Erasing 'recovery'                                 FAILED (remote: 'Partition table doesn't exist
')
Finished. Total time: 0.052s
Sending 'recovery' (61337 KB)                      OKAY [  1.700s]
Writing 'recovery'                                 FAILED (remote: 'partition table doesn't exist')
Finished. Total time: 1.750s
Erasing 'cache'                                    FAILED (remote: 'Partition table doesn't exist
')
Finished. Total time: 0.045s
Sending 'cache' (6248 KB)                          OKAY [  0.198s]
Writing 'cache'                                    FAILED (remote: 'partition table doesn't exist')
Finished. Total time: 0.245s
Erasing 'userdata'                                 FAILED (remote: 'Partition table doesn't exist
')
Finished. Total time: 0.047s
Sending 'userdata' (150272 KB)                     OKAY [  4.113s]
Writing 'userdata'                                 FAILED (remote: 'partition table doesn't exist')
Finished. Total time: 4.157s
Erasing 'persist'                                  FAILED (remote: 'Partition table doesn't exist
')
Finished. Total time: 0.061s
Sending 'persist' (4672 KB)                        OKAY [  0.147s]
Writing 'persist'                                  FAILED (remote: 'partition table doesn't exist')
Finished. Total time: 0.195s
Rebooting
Finished. Total time: 0.010s
Booting the Board
raphaelchenouard
 
Posts: 7
Joined: Thu Nov 22, 2018 1:51 am

by ashwin » Thu Apr 11, 2019 2:02 am

Hi,

Please try flashing the Oreo/Nougat-metabinaries depending on the release you are flashing.
ashwin
 
Posts: 64
Joined: Wed Jul 01, 2015 10:07 pm


Return to INFORCE 6640™ Micro SBC

cron

Contact Us.