Kirin 960 can not boot up using boot.img that built by me

Kirin 960 can not boot up, logs as follow:

[ 1.758992] [I/switch_usb_class] switch_usb_class_init: ------entry.
[ 1.759195] [I/switch_usb_class] switch_usb_class_init: ------end. ret=0
[ 1.759206] [I/switch_fsa9685] fsa9685_i2c_init: ------entry.
[ 1.759285] [I/switch_fsa9685] fsa9685_i2c_init: ------end.
[ 1.760093] hi6421v530-regulator hi6421v530-regulator.0: of_regulator_match return 15!
[ 1.763748] hi6421v530-regulator hi6421v530-regulator.0: hi6421v530_regulator driver Init
[ 1.764571] ufshcd-hi3660 ff3b0000.ufs: ufshcd_populate_vreg: Unable to find vdd-hba-supply regulator, assuming enabled
[ 1.764583] ufshcd-hi3660 ff3b0000.ufs: ufshcd_populate_vreg: Unable to find vcc-supply regulator, assuming enabled
[ 1.764590] ufshcd-hi3660 ff3b0000.ufs: ufshcd_populate_vreg: Unable to find vccq-supply regulator, assuming enabled
[ 1.764597] ufshcd-hi3660 ff3b0000.ufs: ufshcd_populate_vreg: Unable to find vccq2-supply regulator, assuming enabled
[ 1.786213] scsi host0: ufshcd
[ 1.794110] tun: Universal TUN/TAP device driver, 1.6
[ 1.794120] tun: (C) 1999-2004 Max Krasnyansky maxk@qualcomm.com
[ 1.794619] PPP generic driver version 2.4.2
[ 1.794720] PPP BSD Compression module registered
[ 1.794728] PPP Deflate Compression module registered
[ 1.794761] PPP MPPE Compression module registered
[ 1.794876] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[ 1.794920] usbcore: registered new interface driver pegasus
[ 1.794957] usbcore: registered new interface driver rtl8150
[ 1.794995] usbcore: registered new interface driver r8152
[ 1.795032] usbcore: registered new interface driver asix
[ 1.795074] usbcore: registered new interface driver ax88179_178a
[ 1.795111] usbcore: registered new interface driver cdc_ether
[ 1.795148] usbcore: registered new interface driver dm9601
[ 1.795191] usbcore: registered new interface driver CoreChips
[ 1.795229] usbcore: registered new interface driver smsc75xx
[ 1.795267] usbcore: registered new interface driver smsc95xx
[ 1.795309] usbcore: registered new interface driver net1080
[ 1.795352] usbcore: registered new interface driver plusb
[ 1.795389] usbcore: registered new interface driver cdc_subset
[ 1.795426] usbcore: registered new interface driver zaurus
[ 1.795465] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[ 1.795529] usbcore: registered new interface driver cdc_ncm
[ 1.795765] [USB3][hisi_dwc3_probe]+
[ 1.795951] [USB3][get_phy_param]eye diagram param: 0x1c466e3
[ 1.795957] [USB3][get_phy_param]eye diagram host param: 0x1c466e3
[ 1.795965] [USB3][get_phy_param]usb3_phy_cr_param: 0xb80
[ 1.795969] [USB3][get_phy_param]usb3_phy_host_cr_param: 0x980
[ 1.795976] [USB3][get_phy_param]usb3_phy_tx_vboost_lvl: 5
[ 1.796009] [USB3][get_resource]this is asic platform (fpga flag 0)
[ 1.796015] [USB3][create_attr_file]+
[ 1.796100] [USB3][create_attr_file]-
[ 1.796109] [USB3][hi3660_usb3phy_init]+
[ 1.808956] [USB3][config_femtophy_param]set hs phy param 0x1c466e3 for device
[ 1.809375] [USB3][config_femtophy_param]set ss phy rx equalization 0xb80
[ 1.810033] [USB3][config_femtophy_param]set ss RX_SCOPE_VDCC 0x1
[ 1.810040] [USB3][config_femtophy_param]set ss phy tx vboost lvl 0x5
[ 1.810045] [USB3][set_hisi_dwc3_power_flag]set hisi_dwc3_power_flag 1
[ 1.810050] [USB3][hi3660_usb3phy_init]-
[ 1.810695] [dwc3_probe]+
[ 1.810995] [dwc3_otg_init]+
[ 1.811004] DWC3_OCFG:\0x090x0
[ 1.811009] DWC3_OCTL:\0x090x40
[ 1.811015] DWC3_OEVT:\0x090x80000000
[ 1.811019] DWC3_OEVTEN:\0x090x0
[ 1.811023] DWC3_OSTS:\0x090x19
[ 1.811028] DWC3_BCFG:\0x090x0
[ 1.811032] DWC3_BCEVT:\0x090x0
[ 1.811037] DWC3_BCEVTEN:\0x090x0
[ 1.811041] [dwc3_otg_init]-
[ 1.811051] dwc3 ff100000.dwc3: dwc3_host_init enter.
[ 1.811063] dwc3 ff100000.dwc3: dwc3_host_init if otg, otg will do device_add.
[ 1.812364] [dwc3_probe]-
[ 1.812386] [USB3][hisi_dwc3_wake_lock]usb otg wake lock
[ 1.812398] [USB3][hisi_dwc3_probe]init state: OFF
[ 1.812404] [USB3][hisi_usb_otg_event]hisi_usb_otg_event in otg:1
[ 1.812409] [USB3][hisi_usb_otg_event]event: 1
[ 1.812426] [USB3][hisi_usb_otg_event]hisi_usb_otg_event in:1
[ 1.812431] [USB3][event_work]+
[ 1.812432] [USB3][hisi_dwc3_probe]-
[ 1.812439] [USB3][handle_event][handle_event] type: 1
[ 1.812449] [USB3][handle_event]cancel bc_again_work sync:0
[ 1.812454] [dwc3_otg_work]+
[ 1.812459] [dwc3_otg_stop_peripheral]+
[ 1.812472] [dwc3_otg_stop_peripheral]-
[ 1.812477] [dwc3_suspend_device]+
[ 1.812485] [dwc3_runtime_idle]+
[ 1.812494] [dwc3_runtime_suspend]+
[ 1.812499] [dwc3_runtime_suspend]-
[ 1.812506] [dwc3_runtime_idle]-
[ 1.812511] [dwc3_suspend_device]dwc3_suspend_device: 1
[ 1.812515] [dwc3_suspend_device]-
[ 1.812520] [dwc3_otg_work]-
[ 1.812526] [USB3][hisi_dwc3_wake_unlock]usb otg wake unlock
[ 1.812583] [USB3][handle_event]hisi usb status: DEVICE → OFF
[ 1.812589] [USB3][event_work]-
[ 1.813293] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 1.813302] ehci-pci: EHCI PCI platform driver
[ 1.813347] ehci-platform: EHCI generic platform driver
[ 1.813496] ohci_hcd: USB 1.1 ‘Open’ Host Controller (OHCI) Driver
[ 1.813526] ohci-pci: OHCI PCI platform driver
[ 1.813578] ohci-platform: OHCI generic platform driver
[ 1.813977] usbcore: registered new interface driver cdc_acm
[ 1.813982] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 1.814030] usbcore: registered new interface driver usb-storage
[ 1.814119] usbcore: registered new interface driver usbserial
[ 1.814171] usbcore: registered new interface driver usbserial_generic
[ 1.814202] usbserial: USB Serial support registered for generic
[ 1.814245] usbcore: registered new interface driver ftdi_sio
[ 1.814275] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 1.814305] usbcore: registered new interface driver option
[ 1.814352] usbserial: USB Serial support registered for GSM modem (1-port)
[ 1.814382] usbcore: registered new interface driver pl2303
[ 1.814410] usbserial: USB Serial support registered for pl2303
[ 1.814441] usbcore: registered new interface driver qcserial
[ 1.814469] usbserial: USB Serial support registered for Qualcomm USB modem
[ 1.814517] usbcore: registered new interface driver usb_serial_simple
[ 1.814563] usbserial: USB Serial support registered for carelink
[ 1.814597] usbserial: USB Serial support registered for zio
[ 1.814625] usbserial: USB Serial support registered for funsoft
[ 1.814653] usbserial: USB Serial support registered for flashloader
[ 1.814681] usbserial: USB Serial support registered for google
[ 1.814708] usbserial: USB Serial support registered for vivopay
[ 1.814736] usbserial: USB Serial support registered for moto_modem
[ 1.814764] usbserial: USB Serial support registered for novatel_gps
[ 1.814809] usbserial: USB Serial support registered for hp4x
[ 1.814838] usbserial: USB Serial support registered for suunto
[ 1.814866] usbserial: USB Serial support registered for siemens_mpi
[ 1.815190] [USB3][hisi_dwc3_runtime_idle]+
[ 1.815202] [USB3][hisi_dwc3_runtime_suspend]+
[ 1.815207] [USB3][hi3660_usb3phy_shutdown]+
[ 1.815213] [USB3][set_hisi_dwc3_power_flag]get dwc3 lock
[ 1.815216] [USB3][set_hisi_dwc3_power_flag]set hisi_dwc3_power_flag 0
[ 1.815220] [USB3][set_hisi_dwc3_power_flag]put dwc3 lock
[ 1.815259] [I/hisi_pd] pd_dpm_init
[ 1.815475] [I/hisi_pd] pd_dpm_probe : pd_dpm_probe +++++++++
[ 1.815567] [I/hisi_pd] pd_dpm_probe++++

[ 1.815567]

[ 1.815901] rt1711h_init (1.1.8_G): initializing…
[ 1.815942] rt1711h node found…
[ 1.816269] mousedev: PS/2 mouse device common for all mice
[ 1.817576] rtc-pl031 fff04000.rtc: rtc core: registered pl031 as rtc0
[ 1.817904] i2c /dev entries driver
[ 1.819090] device-mapper: uevent: version 1.0.3
[ 1.819246] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com
[ 1.819375] Bluetooth: HCI UART driver ver 2.3
[ 1.819384] Bluetooth: HCI UART protocol H4 registered
[ 1.819965] (stc): chnl_id list empty :4
[ 1.819971] (stk) : st_kim_start[ 1.820735] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 400 KHz
[ 1.820804] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 533000 KHz
[ 1.821182] cpufreq: cpufreq_online: CPU4: Running at unlisted freq: 533000 KHz
[ 1.821222] cpufreq: cpufreq_online: CPU4: Unlisted initial frequency changed to: 903000 KHz
[ 1.821406] DT idle-states: /cpus/idle-states/cpu-sleep-0 idle state not valid, bailing out
[ 1.822837] sdhci: Secure Digital Host Controller Interface driver
[ 1.822842] sdhci: Copyright(c) Pierre Ossman
[ 1.822893] Synopsys Designware Multimedia Card Interface Driver
[ 1.823785] dwmmc_k3 ff37f000.dwmmc1: fifo-depth property not found, using value of FIFOTH register as default
[ 1.823811] dwmmc_k3 ff37f000.dwmmc1: supports-highspeed property is deprecated.
[ 1.824946] dwmmc_k3 ff37f000.dwmmc1: IDMAC supports 64-bit address mode.
[ 1.825125] dwmmc_k3 ff37f000.dwmmc1: Using internal DMA controller.
[ 1.825135] dwmmc_k3 ff37f000.dwmmc1: Version ID is 270a
[ 1.825192] dwmmc_k3 ff37f000.dwmmc1: DW MMC controller at irq 50,32 bit host data width,256 deep fifo
[ 1.825451] dwmmc_k3 ff37f000.dwmmc1: Slot quirk ‘disable-wp’ is deprecated
[ 1.825501] dwmmc_k3 ff37f000.dwmmc1: Got CD GPIO
[ 1.842582] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[ 1.844852] [USB3][hi3660_usb3phy_shutdown]-
[ 1.844859] [USB3][hisi_dwc3_runtime_suspend]-
[ 1.844871] [USB3][hisi_dwc3_runtime_idle]-
[ 1.857325] dwmmc_k3 ff37f000.dwmmc1: 1 slots initialized
[ 1.857715] dwmmc_k3 ff3ff000.dwmmc2: fifo-depth property not found, using value of FIFOTH register as default
[ 1.857729] dwmmc_k3 ff3ff000.dwmmc2: supports-highspeed property is deprecated.
[ 1.858786] dwmmc_k3 ff3ff000.dwmmc2: IDMAC supports 64-bit address mode.
[ 1.858949] dwmmc_k3 ff3ff000.dwmmc2: Using internal DMA controller.
[ 1.858959] dwmmc_k3 ff3ff000.dwmmc2: Version ID is 270a
[ 1.859006] dwmmc_k3 ff3ff000.dwmmc2: DW MMC controller at irq 51,32 bit host data width,256 deep fifo
[ 1.859408] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.860759] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.861085] hidraw: raw HID events driver (C) Jiri Kosina
[ 1.862471] usbcore: registered new interface driver usbhid
[ 1.862480] usbhid: USB HID core driver
[ 1.862678] ashmem: initialized
[ 1.864268] usbcore: registered new interface driver snd-usb-audio
[ 1.865267] hisi_i2s e804f800.hisi_i2s: Registered as hisi_i2s
[ 1.866094] hisi_i2s e804f800.hisi_i2s: Failed to get DMA channel capabilities, falling back to period counting: -6
[ 1.866104] hisi-hdmi-audio 0.hisi_hdmi_card: hisi_hdmi_dai <-> e804f800.hisi_i2s mapping ok
[ 1.866800] u32 classifier
[ 1.866805] Actions configured
[ 1.866822] Netfilter messages via NETLINK v0.30.
[ 1.866888] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[ 1.867169] ctnetlink v0.93: registering with nfnetlink.
[ 1.867621] xt_time: kernel timezone is -0000
[ 1.867870] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 1.868041] arp_tables: (C) 2002 David S. Miller
[ 1.868107] Initializing XFRM netlink socket
[ 1.868904] NET: Registered protocol family 10
[ 1.869804] mip6: Mobile IPv6
[ 1.869836] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 1.870077] sit: IPv6 over IPv4 tunneling driver
[ 1.870678] NET: Registered protocol family 17
[ 1.870702] NET: Registered protocol family 15
[ 1.870743] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 1.870769] Bridge firewalling registered
[ 1.870950] Bluetooth: RFCOMM TTY layer initialized
[ 1.870961] Bluetooth: RFCOMM socket layer initialized
[ 1.870989] Bluetooth: RFCOMM ver 1.11
[ 1.871008] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 1.871020] Bluetooth: HIDP socket layer initialized
[ 1.871114] 8021q: 802.1Q VLAN Support v1.8
[ 1.871472] 9pnet: Installing 9P2000 support
[ 1.871569] Key type dns_resolver registered
[ 1.874096] Registered cp15_barrier emulation handler
[ 1.874401] Registered setend emulation handler
[ 1.874939] registered taskstats version 1
[ 1.883577] Btrfs loaded
[ 1.884115] Key type encrypted registered
[ 1.884489] pinctrl-single e896c000.pinmux: pin e896c0ec.0 already requested by kim; cannot claim for fdf01000.uart
[ 1.884496] pinctrl-single e896c000.pinmux: pin-59 (fdf01000.uart) status -22
[ 1.884503] pinctrl-single e896c000.pinmux: could not request pin 59 (e896c0ec.0) from group uart4_pmx_func on device pinctrl-single
[ 1.884510] uart-pl011 fdf01000.uart: Error applying setting, reverse things back
[ 1.884680] fdf01000.uart: ttyAMA4 at MMIO 0xfdf01000 (irq = 17, base_baud = 0) is a PL011 rev2
[ 1.885111] fdf05000.uart: ttyAMA5 at MMIO 0xfdf05000 (irq = 18, base_baud = 0) is a PL011 rev2
[ 1.885417] fff32000.uart: ttyAMA6 at MMIO 0xfff32000 (irq = 19, base_baud = 0) is a PL011 rev2
[ 2.158282] (stk) :ldisc_install = 1
[ 2.158282] ufshcd-hi3660 ff3b0000.ufs: ufshcd_read_desc_param: Failed reading descriptor. desc_id 5 param_offset 0 buff_len 32 ret 0
[ 2.158289] ufshcd-hi3660 ff3b0000.ufs: ufshcd_read_string_desc: reading String Desc failed after 10 retries. err = -22
[ 2.158293] ufshcd-hi3660 ff3b0000.ufs: ufs_get_device_info: Failed reading Product Name. err = -22
[ 2.158298] ufshcd-hi3660 ff3b0000.ufs: ufs_advertise_fixup_device: Failed getting device info. err = -22
[ 2.160623] ufs final power mode: gear = 3, lane = 1, pwr = 1, rate = 2
[ 2.160626] set TX_EQUALIZER 3.5db
[ 2.162577] check TX_EQUALIZER DB value lane0 = 0x1
[ 2.162785] ufshcd-hi3660 ff3b0000.ufs: ufshcd_find_max_sup_active_icc_level: Regulator capability was not set, actvIccLevel=0
[ 2.164380] scsi 0:0:0:49488: scsi_add_lun: correcting incorrect peripheral device type 0x0 for W-LUN 0x c150hN
[ 2.164389] scsi 0:0:0:49488: Well-known LUN SAMSUNG KLUBG4G1CE-B0B1 1100 PQ: 0 ANSI: 6
[ 2.166553] scsi 0:0:0:49456: scsi_add_lun: correcting incorrect peripheral device type 0x0 for W-LUN 0x c130hN
[ 2.166559] scsi 0:0:0:49456: Well-known LUN SAMSUNG KLUBG4G1CE-B0B1 1100 PQ: 0 ANSI: 6
[ 2.168225] scsi 0:0:0:49476: scsi_add_lun: correcting incorrect peripheral device type 0x0 for W-LUN 0x c144hN
[ 2.168231] scsi 0:0:0:49476: Well-known LUN SAMSUNG KLUBG4G1CE-B0B1 1100 PQ: 0 ANSI: 6
[ 2.170165] scsi 0:0:0:0: Direct-Access SAMSUNG KLUBG4G1CE-B0B1 1100 PQ: 0 ANSI: 6
[ 2.171742] sd 0:0:0:0: [sda] 1024 4096-byte logical blocks: (4.19 MB/4.00 MiB)
[ 2.171746] sd 0:0:0:0: [sda] 16384-byte physical blocks
[ 2.172281] sd 0:0:0:0: [sda] Write Protect is off
[ 2.172286] sd 0:0:0:0: [sda] Mode Sense: 00 32 00 10
[ 2.172388] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 2.175346] sd 0:0:0:0: [sda] Attached SCSI disk
[ 2.176475] scsi 0:0:0:1: Direct-Access SAMSUNG KLUBG4G1CE-B0B1 1100 PQ: 0 ANSI: 6
[ 2.178071] sd 0:0:0:1: [sdb] 1024 4096-byte logical blocks: (4.19 MB/4.00 MiB)
[ 2.178076] sd 0:0:0:1: [sdb] 16384-byte physical blocks
[ 2.178622] scsi 0:0:0:2: Direct-Access SAMSUNG KLUBG4G1CE-B0B1 1100 PQ: 0 ANSI: 6
[ 2.178652] sd 0:0:0:1: [sdb] Write Protect is off
[ 2.178657] sd 0:0:0:1: [sdb] Mode Sense: 00 32 00 10
[ 2.178943] sd 0:0:0:1: [sdb] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 2.180406] sd 0:0:0:2: [sdc] 2048 4096-byte logical blocks: (8.39 MB/8.00 MiB)
[ 2.180410] sd 0:0:0:2: [sdc] 16384-byte physical blocks
[ 2.181347] scsi 0:0:0:3: Direct-Access SAMSUNG KLUBG4G1CE-B0B1 1100 PQ: 0 ANSI: 6
[ 2.182121] sd 0:0:0:2: [sdc] Write Protect is off
[ 2.182127] sd 0:0:0:2: [sdc] Mode Sense: 00 32 00 10
[ 2.182540] sd 0:0:0:2: [sdc] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 2.183773] sd 0:0:0:3: [sdd] 7805952 4096-byte logical blocks: (32.0 GB/29.8 GiB)
[ 2.183777] sd 0:0:0:3: [sdd] 16384-byte physical blocks
[ 2.184204] sd 0:0:0:1: [sdb] Attached SCSI disk
[ 2.185088] sd 0:0:0:3: [sdd] Write Protect is off
[ 2.185094] sd 0:0:0:3: [sdd] Mode Sense: 00 32 00 10
[ 2.185285] sd 0:0:0:3: [sdd] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 2.186113] Alternate GPT is invalid, using primary GPT.
[ 2.186138] sdc: sdc1
[ 2.188219] sd 0:0:0:2: [sdc] Attached SCSI disk
[ 2.188265] Alternate GPT is invalid, using primary GPT.
[ 2.188292] sdd: sdd1 sdd2 sdd3 sdd4 sdd5 sdd6 sdd7 sdd8 sdd9 sdd10 sdd11 sdd12 sdd13
[ 2.191170] sd 0:0:0:3: [sdd] Attached SCSI disk
[ 2.921097] (stk) :ldisc installation timeout
[ 3.921097] (stk) :ldisc_install = 0
[ 4.028113] (stk) : timed out waiting for ldisc to be un-installed
[ 5.025113] (stk) :ldisc_install = 1
[ 5.025118] (stk) :ldisc installation timeout
[ 5.445238] (stk) :ldisc_install = 0
[ 5.445238] console [ttyAMA6] enabled
[ 5.453860] [I/switch_fsa9685] fsa9685_probe: ------entry.
[ 6.025122] (stk) : timed out waiting for ldisc to be un-installed
[ 6.138174] (stk) :ldisc_install = 1[ 6.458719] i2c_designware fdf0d000.i2c: controller timed out
[ 6.464489] [I/switch_fsa9685] fsa9685_read_reg: i2c read error!!! ret=-110
[ 6.471453] [E/switch_fsa9685] fsa9685_probe: read FSA9685_REG_DEVICE_ID error!!! reg_vendor=-110.
[ 6.480413] [E/switch_fsa9685] fsa9685_probe: ------FAIL!!! end. ret = 0.
[ 6.488015] rt1711_i2c_probe
[ 6.490901] I2C functionality : OK…
[ 6.497361] rt_parse_dt
[ 6.499813] rt1711h_chipID = 0x2171
[ 6.503310] regmap_device_register: name = rt1711-4e
[ 6.508310] rt_regmap_rt1711-4e: rt register cache data init
[ 6.514065] rt_regmap_rt1711-4e: cache cata init successfully
[ 6.520027] tcpc_device_register register tcpc device (type_c_port0)
[ 6.526470] [I/hisi_pd] tcpc_device_register register_pd_wake_unlock_notifier OK
[ 6.533867] PD Timer number = 37
[ 6.537425] tcpci_timer_init : init OK
[ 6.541750] pd_parse_pdata
[ 6.544478] pd_parse_pdata src pdo data =
[ 6.548504] pd_parse_pdata 0: 0x00019064
[ 6.552429] pd_parse_pdata snk pdo data =
[ 6.556440] pd_parse_pdata 0: 0x000190c8
[ 6.560360] pd_parse_pdata 1: 0x0002d0c8
[ 6.564284] pd_parse_pdata id vdos data =
[ 6.568292] pd_parse_pdata 0: 0xd00029cf
[ 6.572214] pd_parse_pdata 1: 0x00000000
[ 6.576134] pd_parse_pdata 2: 0x00010000
[ 6.580060] dp, svid

[ 6.582332] dp, ufp_np
[ 6.584688] dp, dfp_np
[ 6.587053] dp, 1st_connection
[ 6.590105] dp, 2nd_connection
[ 6.593158] dpm_caps: local_dr_power
[ 6.596726] dpm_caps: local_dr_data
[ 6.600214] dpm_caps: local_ext_power
[ 6.603871] dpm_caps: local_usb_comm
[ 6.607444] dpm_caps: local_usb_suspend
[ 6.611276] dpm_caps: local_high_cap
[ 6.614847] dpm_caps: local_give_back
[ 6.618506] dpm_caps: local_no_suspend
[ 6.622252] dpm_caps: local_vconn_supply
[ 6.626171] dpm_caps: attemp_discover_cable_dfp
[ 6.630697] dpm_caps: attemp_enter_dp_mode
[ 6.634791] dpm_caps: attemp_discover_cable
[ 6.638970] dpm_caps: attemp_discover_id
[ 6.642889] dpm_caps: pr_reject_as_source
[ 6.646894] dpm_caps: pr_reject_as_sink
[ 6.650727] dpm_caps: pr_check_gp_source
[ 6.654646] dpm_caps: pr_check_gp_sink
[ 6.658390] dpm_caps: dr_reject_as_dfp
[ 6.662135] dpm_caps: dr_reject_as_ufp
[ 6.665881] dpm_caps: snk_prefer_low_voltage
[ 6.670146] dpm_caps: snk_ignore_mismatch_current
[ 6.674848] dpm_caps = 0xc010c10b
[ 6.678159] [I/hisi_pd] PE:pd_core_init

[ 6.683730] rt1711_init_alert name = type_c_port0
[ 6.688439] rt1711_init_alert gpio # = 291
[ 6.692554] GPIO requested…
[ 6.695525] rt1711_init_alert : IRQ number = 277
[ 6.700138] rt1711_init_alert : irq initialized…
[ 6.705725] IRQF_NO_THREAD Test

[ 6.710707] [I/hisi_pd] [TCPC-I]SkipAlert:0x0000

[ 6.715426] [I/hisi_pd] TPC-I:typec_init: DRP

[ 6.770755] [E/hisi_pd] typec_wait_ps_change: typec_wait_ps_change!!!+++++++++++
[ 6.778151] [E/hisi_pd] typec_wait_ps_change: typec_wait_ps_change!!!-----------
[ 6.785545] [E/hisi_pd] typec_unattached_power_entry: typec_unattached_power_entry!!!+++++++++++
[ 6.795911] [E/hisi_pd] tcpci_disable_vbus_control: tcpci_disable_vbus_control!!!++++++++
[ 6.804095] [E/hisi_pd] pd_dpm_handle_pe_event: pd_dpm_handle_pe_event!!!,event=0,+++
[ 6.811928] [E/hisi_pd] typec_unattached_power_entry: typec_unattached_power_entry!!!-----------
[ 6.820798] [E/GPIO_HUB] gpio_hub_switch_to_hub: switch to hub
[ 6.826636] [I/GPIO_HUB] gpio_hub_change_typec_power: set typec vbus gpio to 0
[ 6.833857] [I/hisi_pd] [TPC-D]init otg host no insert.

[ 6.839174] [USB3][hisi_usb_otg_event]hisi_usb_otg_event in otg:1
[ 6.845268] [USB3][hisi_usb_otg_event]hisi_usb_otg_event in:1
[ 6.851015] [E/switch_fsa9685] fsa9685_read_reg: this_client=NULL!!! ret=-56
[ 6.858064] [E/switch_fsa9685] fsa9685_write_reg_mask: this_client=NULL!!! ret=-56
[ 6.865633] [E/switch_fsa9685] fsa9685_dcd_timeout_enable:write fsa9688c DCD enable_flag error!!!
[ 6.874503] [E/switch_fsa9685] fsa9685_manual_sw: this_client=NULL!!! ret=-56
[ 6.881640] [USB3][hisi_usb_otg_event]hisi_usb_otg_event in otg:2
[ 6.887729] [USB3][hisi_usb_otg_event]event: 2
[ 6.892179] [USB3][hisi_usb_otg_event]hisi_usb_otg_event in:2
[ 6.892421] [USB3][event_work]+
[ 6.892425] [USB3][handle_event][handle_event] type: 2
[ 6.892429] [USB3][set_vbus_power]set port power 1
[ 6.892432] [dwc3_otg_work]+
[ 6.892435] [dwc3_resume_device]+
[ 6.892444] [USB3][hisi_dwc3_runtime_resume]+
[ 6.892446] [USB3][hi3660_usb3phy_init]+
[ 6.905443] [USB3][config_femtophy_param]set hs phy param 0x1c466e3 for host
[ 6.905900] [USB3][config_femtophy_param]set ss phy rx equalization 0x980
[ 6.906656] [USB3][config_femtophy_param]set ss RX_SCOPE_VDCC 0x1
[ 6.906658] [USB3][config_femtophy_param]set ss phy tx vboost lvl 0x5
[ 6.906661] [USB3][set_hisi_dwc3_power_flag]get dwc3 lock
[ 6.906663] [USB3][set_hisi_dwc3_power_flag]set hisi_dwc3_power_flag 1
[ 6.906664] [USB3][set_hisi_dwc3_power_flag]put dwc3 lock
[ 6.906666] [USB3][hi3660_usb3phy_init]-
[ 6.906668] [USB3][hisi_dwc3_runtime_resume]-
[ 6.906675] [dwc3_runtime_resume]+
[ 6.906720] [dwc3_runtime_resume]-
[ 6.906723] [dwc3_resume_device]-
[ 6.906726] [dwc3_otg_start_host]+
[ 6.907031] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 6.907043] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[ 6.911275] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe65 hci version 0x110 quirks 0x00010010
[ 6.911311] xhci-hcd xhci-hcd.0.auto: irq 290, io mem 0xff100000
[ 6.911441] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 6.911444] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 6.911447] usb usb1: Product: xHCI Host Controller
[ 6.911450] usb usb1: Manufacturer: Linux 4.4.59-06377-gb242826 xhci-hcd
[ 6.911453] usb usb1: SerialNumber: xhci-hcd.0.auto
[ 6.911736] hub 1-0:1.0: USB hub found
[ 6.911756] hub 1-0:1.0: 1 port detected
[ 6.911934] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 6.911940] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[ 6.911989] usb usb2: We don’t know the algorithms for LPM for this host, disabling LPM.
[ 6.912065] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[ 6.912068] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 6.912071] usb usb2: Product: xHCI Host Controller
[ 6.912073] usb usb2: Manufacturer: Linux 4.4.59-06377-gb242826 xhci-hcd
[ 6.912076] usb usb2: SerialNumber: xhci-hcd.0.auto
[ 6.912333] hub 2-0:1.0: USB hub found
[ 6.912354] hub 2-0:1.0: 1 port detected
[ 6.912529] [dwc3_otg_start_host]-
[ 6.912531] [dwc3_otg_work]-
[ 6.912534] [USB3][hisi_dwc3_wake_lock]usb otg wake lock
[ 6.912540] [USB3][handle_event]hisi usb_status: OFF → HOST
[ 6.912542] [USB3][event_work]-
[ 7.136454] [I/hisi_pd] TPC-I:** Unattached.SNK

[ 7.141129] (stk) :ldisc installation timeout[ 7.144563] tcpc_device_irq_enable : tcpc irq enable OK!
[ 7.144567] rt1711_i2c_probe probe OK!
[ 7.146888] [I/hisi_pd] [TPC-D][Waring] DRP Toggling

[ 7.147268] [I/hisi_pd] [TCPC-I]ps_change=1

[ 7.147272] [I/hisi_pd] [TPC-D][Waring] DRP Toggling

[ 7.161339] pinctrl-single fff11000.pinmux: pin fff11024.0 already requested by ffd73000.i2c; cannot claim for fdf0b000.i2c
[ 7.161343] pinctrl-single fff11000.pinmux: pin-9 (fdf0b000.i2c) status -22
[ 7.161347] pinctrl-single fff11000.pinmux: could not request pin 9 (fff11024.0) from group i2c7_pmx_func on device pinctrl-single
[ 7.161351] i2c_designware fdf0b000.i2c: Error applying setting, reverse things back
[ 7.162347] [drm] dss irq = 57.[ 7.162386] [drm] dss_pri_clk:[400000000]->[400000000].
[ 7.162450] [drm] dss_pxl0_clk:[144000000]->[144000000].
[ 7.162460] get_domain_data_lpae:start_addr 0x8000, size 0xbfff8000 align 0x40000
[ 7.162629] [drm] host attach, client name=[dummy], id=0
[ 7.162645] kirin-drm e8600000.dpe: bound e8601000.dsi (ops dsi_ops)
[ 7.162649] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 7.162652] [drm] No driver support for vblank timestamp query.
[ 7.162986] [drm] num_crtc=1, num_connector=1.
[ 7.163295] kirin-drm e8600000.dpe: No connectors reported connected with modes
[ 7.163310] [drm] Cannot find any crtc or sizes - going 1024x768
[ 7.221367] usb 1-1: new high-speed USB device number 2 using xhci-hcd

[ 7.276176] (stk) :ldisc_install = 0
[ 7.276176] kirin-drm e8600000.dpe: fb0: dss frame buffer device
[ 7.297886] [drm] Initialized kirin 1.0.0 20170309 on minor 0
[ 7.304207] dwmmc_k3 ff3ff000.dwmmc2: fifo-depth property not found, using value of FIFOTH register as default
[ 7.314228] dwmmc_k3 ff3ff000.dwmmc2: supports-highspeed property is deprecated.
[ 7.322665] dwmmc_k3 ff3ff000.dwmmc2: IDMAC supports 64-bit address mode.
[ 7.329776] dwmmc_k3 ff3ff000.dwmmc2: Using internal DMA controller.
[ 7.336176] dwmmc_k3 ff3ff000.dwmmc2: Version ID is 270a
[ 7.341536] dwmmc_k3 ff3ff000.dwmmc2: DW MMC controller at irq 51,32 bit host data width,256 deep fifo
[ 7.351001] dwmmc_k3 ff3ff000.dwmmc2: No vqmmc regulator found
[ 7.368951] usb 1-1: New USB device found, idVendor=0424, idProduct=2734
[ 7.375660] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 7.382810] usb 1-1: Product: USB2734
[ 7.386471] usb 1-1: Manufacturer: Microchip Tech
[ 7.393043] hub 1-1:1.0: USB hub found
[ 7.397280] hub 1-1:1.0: 5 ports detected
[ 7.446122] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[ 7.469148] dwmmc_k3 ff3ff000.dwmmc2: 1 slots initialized
[ 7.474829] otg_wakelock_init: No USB transceiver found
[ 7.481027] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ 7.481919] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
[ 7.495010] dwmmc_k3 ff3ff000.dwmmc2: card claims to support voltages below defined range
[ 7.503216] rtc-pl031 fff04000.rtc: setting system clock to 1970-01-01 00:00:14 UTC (14)
[ 7.512959] usb 2-1: New USB device found, idVendor=0424, idProduct=5734
[ 7.519673] usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=0
[ 7.523183] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[ 7.524612] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
[ 7.525995] mmc1: new high speed SDIO card at address 0001
[ 7.527477] wl18xx_driver wl18xx.1.auto: Direct firmware load for ti-connectivity/wl1271-nvs.bin failed with error -2
[ 7.527481] wl18xx_driver wl18xx.1.auto: Falling back to user helper
[ 7.564508] usb 2-1: Product: USB5734
[ 7.568175] usb 2-1: Manufacturer: Microchip Tech
[ 7.568594] LDO10: disabling
[ 7.568632] LDO24: disabling
[ 7.568852] ALSA device list:
[ 7.568855] #0: hisi-hdmi
[ 7.584795] uart-pl011 fff32000.uart: no DMA platform data
[ 7.590669] Freeing unused kernel memory: 1028K (ffffff800905d000 - ffffff800915e000)
[ 7.600849] init: init first stage started!
[ 7.601093] hub 2-1:1.0: USB hub found
[ 7.601574] hub 2-1:1.0: 5 ports detected
[ 7.613069] init: Using Android DT directory /proc/device-tree/firmware/android/
[ 7.621047] init: [libfs_mgr]fs_mgr_read_fstab_dt(): failed to read fstab from dt
[ 7.628667] init: Failed to read fstab from device tree
[ 7.634218] init: [libfs_mgr]fs_mgr_read_fstab_default(): failed to find device default fstab
[ 7.642807] init: [libfs_mgr]fs_mgr_read_fstab_dt(): failed to read fstab from dt
[ 7.650395] init: First stage mount skipped (missing/incompatible/empty fstab in device tree)
[ 7.659065] init: Skipped setting INIT_AVB_VERSION (not in recovery mode)
[ 7.665937] init: Loading SELinux policy
[ 7.669893] selinux: SELinux: Could not open /sepolicy: No such file or directory
[ 7.669893]
[ 7.679033] init: Failed to load monolithic SELinux policy: No such file or directory
[ 7.686872] init: Unable to load SELinux policy
[ 7.691413] init: Reboot ending, jumping to kernel
[ 7.696674] wl18xx_driver wl18xx.1.auto: Direct firmware load for ti-connectivity/wl18xx-conf.bin failed with error -2
[ 7.701102] usb 1-1.5: new high-speed USB device number 3 using xhci-hcd
[ 7.714144] wl18xx_driver wl18xx.1.auto: Falling back to user helper
[ 7.811541] usb 1-1.5: New USB device found, idVendor=0424, idProduct=2740
[ 7.818427] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 7.825736] usb 1-1.5: Product: Hub Controller
[ 7.830178] usb 1-1.5: Manufacturer: Microchip Tech
[ 8.273997] (stk) : timed out waiting for ldisc to be un-installed
[ 8.387061] (stk) :ldisc_install = 1(stk) :ldisc installation timeout
[ 9.392936] (stk) :ldisc_install = 0(stk) : timed out waiting for ldisc to be un-installed
[ 10.506055] (stk) :ldisc_install = 1(stk) :ldisc installation timeout
[ 11.512917] (stk) :ldisc_install = 0[ 11.758038] (hci_tty): called dumb_hci_callback
[ 12.513199] (stk) : timed out waiting for ldisc to be un-installed
[ 12.626260] (stk) :ldisc_install = 1(stk) :ldisc installation timeout
[ 13.632191] (stk) :ldisc_install = 0(stk) : timed out waiting for ldisc to be un-installed
[ 14.640788] Bluetooth: st_register failed -22
[ 40.178921] random: nonblocking pool is initialized

Who can help me ?

Hi @GreatBoyFriend,

Which kernel did you use? Are you trying to run Debian or AOSP?

On branch working-android-hikey-linaro-4.4

Where is that branch even from? AOSP kernel is available here; kernel/hikey-linaro - Git at Google and there is no branch with prefix “working-”.

You should try branch “android-hikey-linaro-4.9” as it is the default kernel branch for AOSP.

Kernel download and build as follow:

Is there something wrong ?

By the way, my AOSP downloads as:
repo init -u platform/manifest - Git at Google -b master
repo sync

Which kernel branch should I Choose, master, android-poplar-linaro-4.9 or hikey-4.9-android-8.0.0_r4 ? Could I choose whatever I want?

Those instructions you linked to are out of date. The 4.4 kernel you linked to there hasn’t been updated in OVER A YEAR. AOSP has moved A LOT since then.

I can’t even understand how you managed to find those instructions.

From the hikey960 product page under “Build from Source”, the ONLY content it has is a link to here;
https://source.android.com/source/devices#hikey960 – and that link has complete instruction on building Android AND the kernel, including the branch to use.