HiKey960 board recovery for RPB images


Is the board recovery procedure for RPB images same as defaut found here ?

The reason I am asking is because …

  1. In bootloader/config file, l-loader.bin replaces recovery.bin
  2. As a result, l-loader.bin get flashed twice once onto fastboot partition and the other during hikey_idt
  3. Flashing RPB after the default recovery as described in (2) is causing this error “Failed to load BL2 firmware.”

Can some one please help with the exact instructions/link for recovery as well as flashing of rpb-198 image ?


Why use l-loader.bin to replace recovery.bin? In the first stage of hikey_idt/config, it loads images into SRAM and recovery.bin supports ‘fastboot’ protocol so this allows us to flash other images.

As I know, hikey_idt doesn’t flash images (Or it only flashes BL1.bin, I don’t remember clearly now).

This is likely you don’t flash ‘fip.bin’ properly.

I think you could use the booting binaries in [1] and follow the page [2] for rpb images flashing. Please note, the latest booting binaries folder is broken [3], I will check internally.

[1] http://snapshots.linaro.org/reference-platform/components/uefi-staging/95/hikey960/debug/
[2] https://www.96boards.org/documentation/consumer/hikey/hikey960/build/open-embedded.md.html
[3] http://snapshots.linaro.org/reference-platform/components/uefi-staging/latest/

In the default board recovery instructions in [4], recovery.bin is used inside config.
But, in [5], there is NO recovery.bin nor is it used inside config
So, I am in need of the board recovery instructions for use with [5].

But, [1] contains …

  1. bl1.bin which is NOT referred anywhere in [4]. Can I just ignore it ?
  2. AndroidFastbootApp.efi - Presume its used with Android images and ignoring it


[4] - https://www.96boards.org/documentation/consumer/hikey/hikey960/installation/board-recovery.md.html
[5] - http://snapshots.linaro.org/reference-platform/embedded/morty/hikey960/198/rpb/bootloader/

Sorry for the inconvenience, I will check internally for this. At the meantime, could you try to use the booting images from [1] and follow up recovery instructions.

Yeah, please ignore it. Actually, the l-loader.bin includes bl1.bin.

I think you could ignore it. This is the app which used by UEFI, I checked a bit at my side, I don’t think we need it for normal flashing and booting.

[1] http://snapshots.linaro.org/reference-platform/components/uefi-staging/95/hikey960/debug/

I tried flashing the bootloader binaries [1] as pointed by you and then flashed RPB-198 on top of that.

Board doesn’t boot and throws this error
[ 2.141713] ufshcd-hi3660 ff3b0000.ufs: ufshcd_query_flag: Sending flag query for idn 3 failed, err = -11

Can you please point me to a working RPB image ?