Installing bootloader failed?


#1

I’m flashing bootloader with USB.

I did step by step as the guide . However, when I

cd dragonboard-820c-bootloader-ufs-linux-24/
sudo ~qdl//qdl prog_ufs_firehose_8996_ddr.elf rawprogram.xml patch.xm

I got error as below:

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
LOG: Binary build date: Jul 15 2016 @ 04:52:20
LOG: Chip serial num: 4294967295 (0xffffffff)
LOG: Supported Functions: program configure nop firmwarewrite patch setbootablestoragedrive ufs emmc power benchmark read getstorageinfo getsha256digest erase peek poke
LOG: Binary build date: Jul 15 2016 @ 04:52:20
LOG: fh.attrs.Verbose is set to 0
LOG: Chip serial num: 4294967295 (0xffffffff)
LOG: Supported Functions: program configure nop firmwarewrite patch setbootablestoragedrive ufs emmc power benchmark read getstorageinfo getsha256digest erase peek poke
LOG: Calling usb_al_bulk_set_zlp_mode(FALSE) since ZlpAwareHost='0’
LOG: Calling hotplug_poll_device(‘UFS’)
LOG: Storage device of type ‘UFS’ cannot be opened
LOG: storage_device_open() returned FALSE
LOG: ERROR 13: Line 1142: HANDLE_CONFIGURE_FAILURE

What should I do?


#2

I think the problem is

Storage device of type ‘UFS’ cannot be opened

But how to solve it?


#3

hi,

was the board working before you tried to flash it with the QDL tool? If so, which software image was loaded onto it, and how was it loaded?


#4

Hi @ndec

Not sure it is clear what image was put onto the board but whatever it was didn’t put up an image on the display (@wxxu has another post about DB820C):

Daniel.


#5

The board didn’t work from the beginning. I guess the board might come without bootloaders pre-loaded.

Both SDCARD method and USB method have been tried to installing bootloaders. But both of them didn’t work.

(Through SDCARD method I got the problem as Problem about starting the board for the first time)


#6

I am tempted to say that the issue is that the UFS drive on the board is not “provisionned” this is the a one-time operation that is required for the UFS to work with the flashing tools (and linux).

once the board is ‘public’ the provisioning will be done during manufacturing. for the beta boards, you need to check with ‘whoever gave you this board’. the QDL tool cannot (in the current version) do the provisioning, so there no way for us to help.


#7

The problem has been solved by using the new QDL with UFS_provisioning. Thanks!