Hi,
I have flash my ATF and Android build. When I want to boot the hikey this error appear on the UART :
hikey960 boarid:5301 xloader use UART6
scsysstat_value[0].
clear reset source
last_keypoint0,reboot_type0
secdbg not DCU.
SecDbgVer exit
xloader chipid is: 0x36600110, start at 364ms.
Build Date: Dec 6 2017, 15:31:59
[clock_init] ++
hikey960 [hikey960_clk_init]
hi3660 [clk_setup]
[clock_init] –
storage type is UFS
ufs retry: 6 count v_tx:0 v_rx:0
ufs set v_tx:0 v_rx:0
Hikey960[5301] no need avs_init.
ddr ft:0xf20332a3,mode:1 target:4
UceLdOk
density: 0x08080808,0x08080808,0x08080808,0x08080808,0x08080808,0x08080808,0x08080808,0x08080808
ddr info 0x000004ff
400M
685M
1067M
C0R,V0x00000031 e:66
C0R,V0x00000032 e:66
C1R,V0x00000032 e:66
C2R,V0x00000032 e:66
C3R,V0x00000032 e:66
C0R,V0x00000033 e:66
C1R,V0x00000033 e:66
C2R,V0x00000033 e:66
C3R,V0x00000033 e:66
C0R,V0x00000034 e:65
C1R,V0x00000034 e:65
C2R,V0x00000034 e:65
C3R,V0x00000034 e:65
C1R,V0x00000031 e:66
C2R,V0x00000031 e:66
C0R,V0x00000031 e:66
C1R,V0x00000032 e:66
C2R,V0x00000032 e:66
C3R,V0x00000032 e:66
C0R,V0x00000032 e:66
C1R,V0x00000033 e:66
C2R,V0x00000033 e:66
C3R,V0x00000033 e:66
C0R,V0x00000033 e:66
C1R,V0x00000034 e:66
C2R,V0x00000034 e:65
C3R,V0x00000034 e:65
1244M
1866M
pack0Idx0Dcc:1
pack1Idx0Dcc:0
pack2Idx0Dcc:1
pack3Idx0Dcc:1
iomcu_subsys_init
boot_c0 PROFILE 4
slave0 irq0:0x00000014
slave1 irq0:0x00000004
NOTICE: BL2: v1.4(release):v1.5-rc2
NOTICE: BL2: Built : 09:38:02, Aug 21 2018
NOTICE: ufs: H**** device must set VS_DebugSaveConfigTime 0x10
ERROR: BL2: Failed to load image (-2)
After few search on the forum I find a topic with the “same” issue : Hikey960 soft bricks ?
In this one its seems there are five component in the fip.bin but when I check my fip.bin and the fip.bin in the last Linaro Snapshot, there are only four component.
Linaro release
SCP Firmware SCP_BL2: offset=0x200, size=0x35100, cmdline="–scp-fw"
EL3 Runtime Firmware BL31: offset=0x35400, size=0x8010, cmdline="–soc-fw"
Secure Payload BL32 (Trusted OS): offset=0x3D600, size=0x44270, cmdline="–tos-fw"
Non-Trusted Firmware BL33: offset=0x81A00, size=0xF0000, cmdline="–nt-fw"
My fip.bin
SCP Firmware SCP_BL2: offset=0x200, size=0x35100, cmdline="–scp-fw"
EL3 Runtime Firmware BL31: offset=0x35400, size=0x8010, cmdline="–soc-fw"
Secure Payload BL32 (Trusted OS): offset=0x3D600, size=0x66B00, cmdline="–tos-fw"
Non-Trusted Firmware BL33: offset=0xA4200, size=0xF0000, cmdline="–nt-fw"
When in doubt in try to add the tb-fw component with fiptool but this change nothing.
My new fip.bin
Trusted Boot Firmware BL2: offset=0x100, size=0x6470, cmdline="–tb-fw"
SCP Firmware SCP_BL2: offset=0x6570, size=0x35100, cmdline="–scp-fw"
EL3 Runtime Firmware BL31: offset=0x3B670, size=0x8010, cmdline="–soc-fw"
Secure Payload BL32 (Trusted OS): offset=0x43680, size=0x66B00, cmdline="–tos-fw"
Non-Trusted Firmware BL33: offset=0xAA180, size=0xF0000, cmdline="–nt-fw"
I try to do make recovery like it’s said in the topic above but it doesn’t work
Thanks in advance