Recovery-flash failed on xloader with (remote: flash write prim vrl failure)


#1

Hi,

During flashing some images, I tried to recover firmware using recovery-flash.sh in tools-images-hikey960 repo.

So, I ran the script, but the recovery was failed at flashing xloader.

The message was like this.

target reported max download size of 471859200 bytes
sending 'xloader' (151 KB)...
OKAY [  0.011s]
writing 'xloader'...
FAILED (remote: flash write prim vrl failure)
finished. total time: 0.044s

So, how can I fix this problem? I cannot find any similar problems in here with the same error message(flash write prim vrl failure).

Thanks,


#2

@wangmir Please try to use recovery steps as per https://github.com/ARM-software/arm-trusted-firmware/blob/master/docs/plat/hikey960.rst doc.


#3

Thanks, I followed your link to build l-loader.bin, and after flash l-loader.bin from build, I could flash all others with flash_all.sh.