Error when Installing LInux on the Hikey960 board


#1

I have followed the steps to install Linux on the HIkey 960 board using the following link.

I get the following error message in the serial console output.

Booting `CE Reference Platform (HiKey960 rpb)’

[ 0.308248] dmi: Firmware registration failed.
[ 0.393414] [USB3][hisi_dwc3_probe]+
[ 0.393813] [USB3][get_phy_param]eye diagram param: 0x1c466e3
[ 0.393823] [USB3][get_phy_param]eye diagram host param: 0x1c466e3
[ 0.393831] [USB3][get_phy_param]usb3_phy_cr_param: 0xb80
[ 0.393837] [USB3][get_phy_param]usb3_phy_host_cr_param: 0x980
[ 0.393844] [USB3][get_phy_param]usb3_phy_tx_vboost_lvl: 5
[ 0.393871] [USB3][get_resource]this is asic platform (fpga flag 0)
[ 0.393879] [USB3][create_attr_file]+
[ 0.393941] [USB3][create_attr_file]-
[ 0.393951] [USB3][hi3660_usb3phy_init]+
[ 0.421408] [USB3][config_femtophy_param]set hs phy param 0x1c466e3 for device
[ 0.421983] [USB3][config_femtophy_param]set ss phy rx equalization 0xb80
[ 0.422864] [USB3][config_femtophy_param]set ss RX_SCOPE_VDCC 0x1
[ 0.422872] [USB3][config_femtophy_param]set ss phy tx vboost lvl 0x5
[ 0.422880] [USB3][set_hisi_dwc3_power_flag]set hisi_dwc3_power_flag 1
[ 0.422886] [USB3][hi3660_usb3phy_init]-
[ 0.424228] dwc3 ff100000.dwc3: dwc3_host_init if otg, otg will do device_add.
[ 0.426124] [USB3][hisi_dwc3_wake_lock]usb otg wake lock
[ 0.426144] [USB3][hisi_dwc3_probe]init state: OFF
[ 0.426151] [USB3][hisi_usb_otg_event]hisi_usb_otg_event in:1
[ 0.426157] [USB3][hisi_usb_otg_event]hisi_usb_otg_event in otg:1
[ 0.426164] [USB3][hisi_usb_otg_event]event: 1
[ 0.426178] [USB3][hisi_dwc3_probe]-
[ 0.426181] [USB3][event_work]+
[ 0.426183] [USB3][handle_event][handle_event] type: 1
[ 0.426228] [USB3][hisi_dwc3_wake_unlock]usb otg wake unlock
[ 0.426238] [USB3][handle_event]hisi usb status: DEVICE -> OFF
[ 0.426245] [USB3][event_work]-
[ 0.431422] hi3660_thermal fff30000.tsensor: failed to register thermal sensor0: -19
[ 0.431457] hi3660_thermal fff30000.tsensor: failed to register thermal sensor1: -19
[ 0.431474] hi3660_thermal fff30000.tsensor: failed to register thermal sensor2: -19
[ 0.431490] hi3660_thermal fff30000.tsensor: failed to register thermal sensor3: -19
[ 0.431532] hi3660_thermal fff30000.tsensor: failed to register thermal sensor5: -19
[ 0.552651] ufshcd-hi3660 ff3b0000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[1, 1], lane[1, 1], pwr[SLOWAUTO_MODE, SLOWAUTO_MODE], rate = 0
[ 0.955846] ufshcd-hi3660 ff3b0000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[3, 3], lane[1, 1], pwr[FAST MODE, FAST MODE], rate = 2
[ 0.981183] ufshcd-hi3660 ff3b0000.ufs: ufshcd_find_max_sup_active_icc_level: Regulator capability was not set, actvIccLevel=0
[ 1.389745] [USB3][hisi_usb_otg_event]hisi_usb_otg_event in:1
[ 1.395515] [USB3][hisi_usb_otg_event]hisi_usb_otg_event in otg:1
[ 1.401617] [E/GPIO_HUB] gpio_hub_switch_to_hub: switch to hub
[ 1.407452] [USB3][hisi_usb_otg_event]hisi_usb_otg_event in:2
[ 1.413199] [USB3][hisi_usb_otg_event]hisi_usb_otg_event in otg:2
[ 1.419295] [USB3][hisi_usb_otg_event]event: 2
[ 1.423748] [E/hisi_pd] typec_wait_ps_change: typec_wait_ps_change!!!+++++++++++
[ 1.423945] [USB3][event_work]+
[ 1.423947] [USB3][handle_event][handle_event] type: 2
[ 1.423950] [USB3][set_vbus_power]set port power 1
[ 1.427691] [USB3][hisi_dwc3_wake_lock]usb otg wake lock
[ 1.427694] [USB3][handle_event]hisi usb_status: OFF -> HOST
[ 1.427696] [USB3][event_work]-
[ 1.458348] [E/hisi_pd] typec_wait_ps_change: typec_wait_ps_change!!!-----------
[ 1.677117] EXT4-fs (sdd10): couldn’t mount as ext3 due to feature incompatibilities
[ 1.821159] [E/hisi_pd] typec_wait_ps_change: typec_wait_ps_change!!!+++++++++++
[ 1.828646] [E/hisi_pd] typec_wait_ps_change: typec_wait_ps_change!!!-----------
[ 1.836125] [USB3][hisi_usb_otg_event]hisi_usb_otg_event in:3
[ 1.841920] [USB3][hisi_usb_otg_event]hisi_usb_otg_event in otg:3
[ 1.848131] [USB3][hisi_usb_otg_event]event: 3
[ 1.852648] [E/GPIO_HUB] gpio_hub_switch_to_typec: switch to typec
[ 1.852847] [USB3][event_work]+
[ 1.852853] [USB3][handle_event][handle_event] type: 3
[ 1.852859] [USB3][set_vbus_power]set port power 0
[ 1.852866] [I/hisi_pd] pd_dpm_report_bc12 : PD_WAKE_UNLOCK
[ 1.852872] [I/hisi_pd] pd_dpm_report_bc12 : event (4)
[ 1.852877] [E/hisi_pd] pd_dpm_vbus_notifier_call: pd_dpm_vbus_notifier_call!!!,++++
[ 1.852882] [dwc3_otg_work]+
[ 1.852882] evt = 1
[ 1.852886] [dwc3_otg_stop_host]+
[ 1.853024] xhci-hcd xhci-hcd.0.auto: remove, state 1
[ 1.853065] usb usb2: USB disconnect, device number 1
[ 1.853078] usb 2-1: USB disconnect, device number 2
[ 1.855577] xhci-hcd xhci-hcd.0.auto: USB bus 2 deregistered
[ 1.855606] xhci-hcd xhci-hcd.0.auto: remove, state 1
[ 1.855633] usb usb1: USB disconnect, device number 1
[ 1.867301] Unable to handle kernel NULL pointer dereference at virtual address 00000090
[ 1.867305] Mem abort info:
[ 1.867311] Exception class = DABT (current EL), IL = 32 bits
[ 1.867315] SET = 0, FnV = 0
[ 1.867318] EA = 0, S1PTW = 0
[ 1.867321] Data abort info:
[ 1.867325] ISV = 0, ISS = 0x00000004
[ 1.867328] CM = 0, WnR = 0
[ 1.867337] user pgtable: 4k pages, 48-bit VAs, pgd = ffff8000b95fb000
[ 1.867342] [0000000000000090] *pgd=0000000000000000
[ 1.867353] Internal error: Oops: 96000004 [#1] PREEMPT SMP
[ 1.867358] Modules linked in: ipv6
[ 1.867381] CPU: 0 PID: 1552 Comm: tcpc_timer_type Tainted: G S 4.14.0-linaro-hikey960 #1
[ 1.867385] Hardware name: HiKey960 (DT)
[ 1.867391] task: ffff8000b9d50000 task.stack: ffff00000c4c8000
[ 1.867412] PC is at xhci_irq+0x314/0x1340
[ 1.867418] LR is at xhci_irq+0x40/0x1340
[ 1.867424] pc : [] lr : [] pstate: 800001c5
[ 1.867427] sp : ffff000008003b20
[ 1.867431] x29: ffff000008003b20 x28: ffff8000b9b18228
[ 1.867440] x27: ffff000009d4d200 x26: ffff000008dbeb58
[ 1.867449] x25: ffff000009160bbb x24: ffff8000ba1d3000
[ 1.867458] x23: 0000000000000000 x22: 00000000000001c0
[ 1.867466] x21: ffff8000b9b18000 x20: ffff8000b9b18274
[ 1.867475] x19: ffff8000b9b18000 x18: 0000000000000010
[ 1.867483] x17: 0000000000000001 x16: 0000000000000019
[ 1.867491] x15: 0000000000000025 x14: 0720072007200720
[ 1.867500] x13: 0000000000000000 x12: 0000000000000025
[ 1.867508] x11: 0000000000000040 x10: ffff8000bb079940
[ 1.867517] x9 : ffff8000bb079950 x8 : 0000000000000000
[ 1.867525] x7 : ffff8000ba1d3000 x6 : 0000000000000001
[ 1.867532] x5 : 0000000000000000 x4 : ffff8000b9af1300
[ 1.867541] x3 : 0000000000000001 x2 : 0000000000000002
[ 1.867549] x1 : ffff8000b9b18000 x0 : 0000000000000003
[ 1.867560] Process tcpc_timer_type (pid: 1552, stack limit = 0xffff00000c4c8000)
[ 1.867565] Call trace:
[ 1.867574] Exception stack(0xffff0000080039e0 to 0xffff000008003b20)
[ 1.867583] 39e0: 0000000000000003 ffff8000b9b18000 0000000000000002 0000000000000001
[ 1.867591] 3a00: ffff8000b9af1300 0000000000000000 0000000000000001 ffff8000ba1d3000
[ 1.867599] 3a20: 0000000000000000 ffff8000bb079950 ffff8000bb079940 0000000000000040
[ 1.867607] 3a40: 0000000000000025 0000000000000000 0720072007200720 0000000000000025
[ 1.867615] 3a60: 0000000000000019 0000000000000001 0000000000000010 ffff8000b9b18000
[ 1.867622] 3a80: ffff8000b9b18274 ffff8000b9b18000 00000000000001c0 0000000000000000
[ 1.867631] 3aa0: ffff8000ba1d3000 ffff000009160bbb ffff000008dbeb58 ffff000009d4d200
[ 1.867640] 3ac0: ffff8000b9b18228 ffff000008003b20 ffff00000881bf70 ffff000008003b20
[ 1.867648] 3ae0: ffff00000881c244 00000000800001c5 ffff000008003af0 ffff000008003af0
[ 1.867656] 3b00: 0001000000000000 ffff00000868b144 ffff000008003b20 ffff00000881c244
[ 1.867666] [] xhci_irq+0x314/0x1340
[ 1.867678] [] usb_hcd_irq+0x2c/0x48
[ 1.867695] [] __handle_irq_event_percpu+0x9c/0x128
[ 1.867705] [] handle_irq_event_percpu+0x1c/0x58
[ 1.867714] [] handle_irq_event+0x48/0x78
[ 1.867723] [] handle_fasteoi_irq+0xa0/0x180
[ 1.867733] [] generic_handle_irq+0x24/0x38
[ 1.867742] [] __handle_domain_irq+0x5c/0xb8
[ 1.867754] [] gic_handle_irq+0x58/0xb0
[ 1.867759] Exception stack(0xffff000008003d90 to 0xffff000008003ed0)
[ 1.867766] 3d80: 0000000000000000 ffff000009033000
[ 1.867774] 3da0: 0000000000000000 000000000006cb80 0000000000000015 00ffffffffffffff
[ 1.867782] 3dc0: 0000000001c4078a 7fffffffffffffff 0000000000000020 ffff000009040380
[ 1.867790] 3de0: ffff8000bfef95b8 ffff000008a905f0 0000000000000025 0000000000000000
[ 1.867798] 3e00: 0720072007200720 0000000000000025 0000000000000019 0000000000000001
[ 1.867806] 3e20: 0000000000000010 ffff8000b9d50000 ffff000009034928 0000000000000000
[ 1.867815] 3e40: ffff00000917f680 ffff800032118000 ffff000009033000 ffff000009033000
[ 1.867823] 3e60: 0000000000000202 ffff000009059000 ffff8000b9d50000 ffff000008003ed0
[ 1.867832] 3e80: ffff00000808186c ffff000008003ed0 ffff0000080818a4 0000000040000145
[ 1.867840] 3ea0: ffff8000b9d50000 0000000000000003 0001000000000000 ffff00000917f680
[ 1.867846] 3ec0: ffff000008003ed0 ffff0000080818a4
[ 1.867854] [] el1_irq+0xb0/0x124
[ 1.867862] [] __do_softirq+0xa4/0x220
[ 1.867876] [] irq_exit+0xd0/0x108
[ 1.867884] [] __handle_domain_irq+0x60/0xb8
[ 1.867892] [] gic_handle_irq+0x58/0xb0
[ 1.867897] Exception stack(0xffff00000c4cb9a0 to 0xffff00000c4cbae0)
[ 1.867906] b9a0: 0000000000000000 ffff8000b9d50000 00008000b6eba000 ffffffffffffffff
[ 1.867914] b9c0: 0000000000000000 0000000000000000 ffff80001ad90f00 077907740720075d
[ 1.867923] b9e0: 0720073a07650770 0720072007200733 0720072007200720 0720072007200720
[ 1.867931] ba00: 0720072007200720 0720072007200720 0720072007200720 0000000000000006
[ 1.867939] ba20: 0000000000000019 0000000000000001 0000000000000010 0000000000000000
[ 1.867947] ba40: ffff000009184df8 ffff0000091a4bf8 ffff0000091a5380 0000000000000000
[ 1.867955] ba60: 0000000000000000 0000000000000140 ffff000009184e28 ffff000009059000
[ 1.867963] ba80: 000000000000003a ffff00000c4cbae0 ffff000008114bb0 ffff00000c4cbae0
[ 1.867971] baa0: ffff000008114bb4 0000000060000145 0000000000000140 ffff000009184e28
[ 1.867980] bac0: ffffffffffffffff 000000000000003a ffff00000c4cbae0 ffff000008114bb4
[ 1.867988] [] el1_irq+0xb0/0x124
[ 1.867997] [] console_unlock+0x284/0x438
[ 1.868006] [] vprintk_emit+0x260/0x2e0
[ 1.868014] [] vprintk_default+0x34/0x40
[ 1.868022] [] vprintk_func+0xf8/0x188
[ 1.868031] [] printk+0x4c/0x54
[ 1.868047] [] gpio_hub_switch_to_typec+0xa4/0xc8
[ 1.868061] [] tcpc_typec_handle_timeout+0x92c/0x11c0
[ 1.868072] [] tcpc_timer_thread+0x2a8/0x388
[ 1.868085] [] kthread+0xfc/0x128
[ 1.868097] [] ret_from_fork+0x10/0x18
[ 1.868109] Code: f9400797 34003300 7103fc1f 54004680 (b94092e5)
[ 1.868133] —[ end trace f6e740eabff70422 ]—
[ 1.868141] Kernel panic - not syncing: Fatal exception in interrupt
[ 1.868150] SMP: stopping secondary CPUs
[ 1.868396] Kernel Offset: disabled
[ 1.868403] CPU features: 0x082004
[ 1.868406] Memory Limit: none
[ 2.540656] —[ end Kernel panic - not syncing: Fatal exception in interrupt

Any kind of help is appreciated.


#2

This was posted under the HiKey section. I would suggest bring this topic over to the HiKey960 section:

Also, there should be new instructions for HiKey960 Linux installation here:

Hope this help!