Linux on Hikey960


#1

I follow the struction to install OpenEmbedded(OE) Linux on Hikey960

the output as followed:

I/TC:  Dynamic shared memory is enabled
[    0.284945] dmi: Firmware registration failed.
[    0.366135] [USB3][hisi_dwc3_probe]+
[    0.366545] [USB3][get_phy_param]eye diagram param: 0x1c466e3
[    0.366555] [USB3][get_phy_param]eye diagram host param: 0x1c466e3
[    0.366564] [USB3][get_phy_param]usb3_phy_cr_param: 0xb80
[    0.366570] [USB3][get_phy_param]usb3_phy_host_cr_param: 0x980
[    0.366577] [USB3][get_phy_param]usb3_phy_tx_vboost_lvl: 5
[    0.366606] [USB3][get_resource]this is asic platform (fpga flag 0)
[    0.366614] [USB3][create_attr_file]+
[    0.366675] [USB3][create_attr_file]-
[    0.366684] [USB3][hi3660_usb3phy_init]+
[    0.398035] [USB3][config_femtophy_param]set hs phy param 0x1c466e3 for device
[    0.398611] [USB3][config_femtophy_param]set ss phy rx equalization 0xb80
[    0.399495] [USB3][config_femtophy_param]set ss RX_SCOPE_VDCC 0x1
[    0.399503] [USB3][config_femtophy_param]set ss phy tx vboost lvl 0x5
[    0.399510] [USB3][set_hisi_dwc3_power_flag]set hisi_dwc3_power_flag 1
[    0.399517] [USB3][hi3660_usb3phy_init]-
[    0.400735] dwc3 ff100000.dwc3: dwc3_host_init if otg, otg will do device_add.
[    0.402622] [USB3][hisi_dwc3_wake_lock]usb otg wake lock
[    0.402638] [USB3][hisi_dwc3_probe]init state: OFF
[    0.402645] [USB3][hisi_usb_otg_event]hisi_usb_otg_event in:1
[    0.402651] [USB3][hisi_usb_otg_event]hisi_usb_otg_event in otg:1
[    0.402658] [USB3][hisi_usb_otg_event]event: 1
[    0.402672] [USB3][hisi_dwc3_probe]-
[    0.402675] [USB3][event_work]+
[    0.402677] [USB3][handle_event][handle_event] type: 1
[    0.402722] [USB3][hisi_dwc3_wake_unlock]usb otg wake unlock
[    0.402732] [USB3][handle_event]hisi usb status: DEVICE -> OFF
[    0.402739] [USB3][event_work]-
[    0.407937] hi3660_thermal fff30000.tsensor: failed to register thermal sensor0: -19
[    0.407969] hi3660_thermal fff30000.tsensor: failed to register thermal sensor1: -19
[    0.407985] hi3660_thermal fff30000.tsensor: failed to register thermal sensor2: -19
[    0.408002] hi3660_thermal fff30000.tsensor: failed to register thermal sensor3: -19
[    0.408043] hi3660_thermal fff30000.tsensor: failed to register thermal sensor5: -19
[    0.468594] ufshcd-hi3660 ff3b0000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[1, 1], lane[1, 1], pwr[SLOWAUTO_MODE, SLOWAUTO_MODE], rate = 0
[    0.684165] ufshcd-hi3660 ff3b0000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[3, 3], lane[2, 2], pwr[FAST MODE, FAST MODE], rate = 2
[    0.692632] [USB3][hisi_usb_otg_event]hisi_usb_otg_event in:1
[    0.692634] [USB3][hisi_usb_otg_event]hisi_usb_otg_event in otg:1
[    0.692640] [E/GPIO_HUB] gpio_hub_switch_to_hub: switch to hub
[    0.692641] [USB3][hisi_usb_otg_event]hisi_usb_otg_event in:2
[    0.692642] [USB3][hisi_usb_otg_event]hisi_usb_otg_event in otg:2
[    0.692644] [USB3][hisi_usb_otg_event]event: 2
[    0.692652] [E/hisi_pd] typec_wait_ps_change: typec_wait_ps_change!!!+++++++++++
[    0.692654] [USB3][event_work]+
[    0.692655] [E/hisi_pd] typec_wait_ps_change: typec_wait_ps_change!!!-----------
[    0.692656] [USB3][handle_event][handle_event] type: 2
[    0.692660] [USB3][set_vbus_power]set port power 1
[    0.695595] [USB3][hisi_dwc3_wake_lock]usb otg wake lock
[    0.695598] [USB3][handle_event]hisi usb_status: OFF -> HOST
[    0.695601] [USB3][event_work]-
[    0.814060] [E/hisi_pd] typec_wait_ps_change: typec_wait_ps_change!!!+++++++++++
[    0.821492] [E/hisi_pd] typec_wait_ps_change: typec_wait_ps_change!!!-----------
[    0.828913] [USB3][hisi_usb_otg_event]hisi_usb_otg_event in:3
[    0.834664] [USB3][hisi_usb_otg_event]hisi_usb_otg_event in otg:3
[    0.834665] [USB3][hisi_usb_otg_event]event: 3
[    0.834675] [E/GPIO_HUB] gpio_hub_switch_to_typec: switch to typec
[    0.834677] [USB3][hisi_usb_otg_event]hisi_usb_otg_event in:0
[    0.834677] [USB3][hisi_usb_otg_event]hisi_usb_otg_event in otg:0
[    0.834678] [USB3][hisi_usb_otg_event]event: 0
[    0.834680] [USB3][hisi_usb_otg_event]schedule event_work wait:0]
[    0.834681] [E/hisi_pd] typec_wait_ps_change: typec_wait_ps_change!!!+++++++++++
[    0.834682] [E/hisi_pd] typec_wait_ps_change: typec_wait_ps_change!!!-----------
[    0.834879] [USB3][event_work]+
[    0.834883] [USB3][handle_event][handle_event] type: 3
[    0.834885] [USB3][set_vbus_power]set port power 0
[    0.834894] [E/hisi_pd] pd_dpm_vbus_notifier_call: pd_dpm_vbus_notifier_call!!!,++++
[    0.835889] [E/hisi_pd] pd_dpm_handle_pe_event:!!!,event=3,+++
[    0.835893] [E/hisi_pd] pd_dpm_vbus_notifier_call: pd_dpm_vbus_notifier_call!!!,++++
[    0.835895] [E/hisi_pd] pd_dpm_handle_pe_event:!!!,event=7,+++
[    0.921928] hub 2-0:1.0: activate --> -108
[    0.921958] hub 2-0:1.0: hub_ext_port_status failed (err = -108)
[    0.942608] [USB3][hisi_dwc3_wake_unlock]usb otg wake unlock
[    0.948283] [USB3][handle_event]hiusb_status: HOST -> OFF
[    0.953690] [USB3][handle_event][handle_event] type: 0
[    1.210997] [E/hisi_pd] pd_dpm_handle_pe_event:!!!,event=6,+++
[    1.217106] [E/hisi_pd] pd_dpm_handle_pe_event:!!!,event=5,+++
[    1.223073] [E/hisi_pd] pd_dpm_handle_pe_event:!!!,event=3,+++
[    1.270210] [USB3][detect_charger_type]DCD done
[    1.302219] [USB3][detect_charger_type]Primary Detection done
[    1.334203] [USB3][detect_charger_type]Secondary Detection done
[    1.366253] [USB3][detect_charger_type]type: 1
[    1.370719] [E/hisi_pd] pd_dpm_vbus_notifier_call: pd_dpm_vbus_notifier_call!!!,++++
[    1.379060] [USB3][hisi_dwc3_wake_lock]usb otg wake lock
[    1.384379] [USB3][handle_event]hisi usb status: OFF -> DEVICE
[    1.390223] [USB3][event_work]-
[    2.302287] ufshcd-hi3660 ff3b0000.ufs: ufshcd_query_flag: Sending flag query for idn 3 failed, err = -11
[    3.838742] ufshcd-hi3660 ff3b0000.ufs: ufshcd_query_flag: Sending flag query for idn 3 failed, err = -11
[    5.375002] ufshcd-hi3660 ff3b0000.ufs: ufshcd_query_flag: Sending flag query for idn 3 failed, err = -11
[    5.384659] ufshcd-hi3660 ff3b0000.ufs: ufshcd_query_flag_retry: query attribute, opcode 5, idn 3, failed with error -11 after 3 retires
[    5.931877] [E/hisi_pd] pd_dpm_handle_pe_event:!!!,event=6,+++
[    5.937996] [E/hisi_pd] pd_dpm_handle_pe_event:!!!,event=5,+++
[    5.943960] [E/hisi_pd] pd_dpm_handle_pe_event:!!!,event=3,+++
[    6.911027] ufshcd-hi3660 ff3b0000.ufs: __ufshcd_query_descriptor: opcode 0x01 for idn 8 failed, index 0, err = -11
[    8.447020] ufshcd-hi3660 ff3b0000.ufs: __ufshcd_query_descriptor: opcode 0x01 for idn 8 failed, index 0, err = -11
[    9.983015] ufshcd-hi3660 ff3b0000.ufs: __ufshcd_query_descriptor: opcode 0x01 for idn 8 failed, index 0, err = -11
[    9.993619] ufshcd-hi3660 ff3b0000.ufs: ufshcd_read_desc_param: Failed reading descriptor. desc_id 8, desc_index 0, param_offset 0, ret -11
[   10.006167] ufshcd-hi3660 ff3b0000.ufs: ufshcd_init_icc_levels: Failed reading power descriptor.len = 98 ret = -11
[   10.652759] [E/hisi_pd] pd_dpm_handle_pe_event:!!!,event=6,+++
[   10.658877] [E/hisi_pd] pd_dpm_handle_pe_event:!!!,event=5,+++
[   10.664839] [E/hisi_pd] pd_dpm_handle_pe_event:!!!,event=3,+++
[   15.370717] [E/hisi_pd] pd_dpm_handle_pe_event:!!!,event=3,+++
[   15.376571] [E/hisi_pd] pd_dpm_vbus_notifier_call: pd_dpm_vbus_notifier_call!!!,++++
[   15.384333] [E/hisi_pd] pd_dpm_handle_pe_event:!!!,event=8,+++
[   31.006743] ufshcd-hi3660 ff3b0000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[1, 1], lane[1, 1], pwr[SLOWAUTO_MODE, SLOWAUTO_MODE], rate = 0
[   31.020166] ufshcd-hi3660 ff3b0000.ufs: UPIU[0] - issue time 10014820 us
[   31.026875] ufshcd-hi3660 ff3b0000.ufs: UPIU[0] - Transfer Request Descriptor phys@0xdf058000
[   31.035416] UPIU TRD: 00000000: 15000000 00000000 0000000f 00000000
[   31.041689] UPIU TRD: 00000010: df040000 00000000 00800080 01000001
[   31.047960] ufshcd-hi3660 ff3b0000.ufs: UPIU[0] - Request UPIU phys@0xdf040000
[   31.055192] UPIU REQ: 00000000: 00d04001 00000000 00000000 24000000
[   31.061465] UPIU REQ: 00000010: 00000012 00000024 00000000 00000000
[   31.067736] ufshcd-hi3660 ff3b0000.ufs: UPIU[0] - Response UPIU phys@0xdf040200
[   31.075053] UPIU RSP: 00000000: 00000000 00000000 00000000 00000000
[   31.081326] UPIU RSP: 00000010: 00000000 00000000 00000000 00000000
[   31.087598] UPIU RSP: 00000020: 00000000 00000000 00000000 00000000
[   31.093867] UPIU RSP: 00000030: 00000000
[   31.097792] ufshcd-hi3660 ff3b0000.ufs: UPIU[0] - PRDT - 1 entries  phys@0xdf040400
[   31.105457] UPIU PRDT: 00000000: 1943e000 00000002 00000000 00000023
[   31.226801] ufshcd-hi3660 ff3b0000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[3, 3], lane[2, 2], pwr[FAST MODE, FAST MODE], rate = 2

what is the problem?How can I solve it?


#2

Hi @zqq,

Did you follow the latest OE guide for HiKey960?

Thanks,
Mani